Method of and apparatus for preparing a document for display or printing

Information

  • Patent Application
  • 20070180359
  • Publication Number
    20070180359
  • Date Filed
    January 31, 2006
    18 years ago
  • Date Published
    August 02, 2007
    17 years ago
Abstract
A method is provided for facilitating the re-use of documents. The content, appearance and layout of the document are stored separately such that each can be manipulated or altered independently of the others.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will now be described, by way of example only, with reference to the accompanying figures, in which:



FIG. 1 shows an example of a document;



FIG. 2 schematically shows an example of a document split into component parts;



FIG. 3 shows an example of text content;



FIG. 4 shows an example of style information;



FIG. 5 shows an example of formatting information;



FIG. 6 shows an example of formatted text;



FIG. 7 schematically shows an example of a process according to an embodiment of the present invention;



FIG. 8 shows an example of alternative text content to that shown in FIG. 3;



FIG. 9 schematically shows the example process of FIG. 7 when using the alternative text content;



FIG. 10 schematically shows the example process of FIG. 7 when using an alternative image;



FIG. 11 shows a portion of a document including the alternative image;



FIG. 12 schematically shows the process of FIG. 10 when using an alternative layout;



FIG. 13 shows a portion of a document including the alternative image and the alternative layout; and



FIG. 14 shows an example of a computer system suitable for carrying out the present invention.


Claims
  • 1) A method of preparing a document for distribution, display or printing, where the document is defined by: data content;appearance information defining an appearance to be applied to the data content; andlayout information defining a layout to be applied to the data content; andwhere the data content is distinct from the layout information and the appearance information, the method comprising an input step where the data content, appearance information and layout information are made available to a data processor, and a processing step where the appearance information and layout information are applied to the data content so as to produce an electronic representation of the document.
  • 2) A method as claimed in claim 1, in which the appearance information comprises style information and formatting information, and the style information is distinct from the formatting information.
  • 3) A method as claimed in claim 2, in which the style information is in XSLT format.
  • 4) A method as claimed in claim 2, in which the formatting information is in one or more of XSLT and XSL-FO formats.
  • 5) A method as claimed in claim 1, in which at least one of the data content and the layout information is XML-compliant.
  • 6) A method as claimed in claim 1, in which the document for display or printing is XML-compliant or is produced in one of PPML, SVG and XML-FO format.
  • 7) A method as claimed in claim 1, in which the data content and the layout information are available as separate items.
  • 8) A method as claimed in claim 1, wherein the method further includes the step of reading the data content from at least one data content file.
  • 9) A method as claimed in claim 1, wherein the method further includes the step of reading the layout information from at least one layout information file.
  • 10) A method as claimed in claim 1, in which the method further includes reading the appearance information from at least one appearance information file.
  • 11) A method as claimed in claim 1, further including the step of outputting the electronic representation of the document.
  • 12) A method as claimed in claim 1, further comprising the step of defining a list of data content files to be processed such that multiple documents can be produced automatically.
  • 13) A method as claimed in claim 12, further including a step of defining the layout data and appearance data to be associated with a given data content file.
  • 14) An apparatus configured to prepare a document for distribution, display or printing, wherein the document is defined by: data content;appearance information defining an appearance to be applied to the data content; andlayout information defining a layout to be applied to the data content, wherein the apparatus comprises a data processor arranged to receive the data content, the appearance information and the layout information, and to apply the layout information so as to produce an electronic representation of the document.
  • 15) A apparatus as claimed in claim 14, in which the apparatus is arranged to read style information from a style file and read formatting information from a format file, wherein the style information and the formatting information collectively define the appearance information.
  • 16) An apparatus as claimed in claim 14, in which the apparatus is arranged to output the electronic representation of the document.
  • 17) An apparatus as claimed in claim 14, in which the apparatus is responsive to a process list specifying a plurality of data content files to be processed.
  • 18) A method of storing a document, comprising the steps of storing data content of the document in a data file, and storing information relating to layout of the data content in a layout file and storing information relating to the appearance of the data content in at least one appearance information file.
  • 19) A method of storing a document as claimed in claim 18, wherein the step of storing information relating to the appearance comprises storing style information in a style file and storing formatting information in a format file.
  • 20) A method of parsing a document comprising the steps of: a) reading an electronic representation of a document;b) processing the document so as to identify the textual content of the document and saving the textual content of the document to a data file;c) processing the document so as to identify layout information and saving the layout information to a layout file; andd) processing the document so as to identify appearance information and saving the appearance information to at least one appearance information file.
  • 21) A computer program for causing a programmable data processor to implement the method defined in claim 1.