Generating figures in a document formatter directly from a declarative tag
First Claim
Patent Images
1. A method of generating a graphic figure directly from a declarative tag in a document formatter, comprising the steps of:
- composing a document in a markup language, said composed document including a tag for a non-rectangular graphic figure which encloses variable text;
defining said graphic figure to result from an inclusion of said tag;
storing instructions and data representative of said defined graphic figure in a memory unit;
interpreting said composed document, wherein an interpretation of said tag causes the instructions and data representative of said defined graphic figure to be fetched from said memory unit; and
formatting said document according to the markup language of said document including the defined graphic figure, the size of said graphic figure being determined by the enclosed variable text at the time said document is formatted.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for generating a graphical figure in a textual markup language used for document composition. A special tag in the mark-up language calls a procedure. The procedure consists of drawing a series of contiguous rectangular boxes, of very small extent in at least one dimension, so as to appear as continuous lines representing the figure. Text can be associated with the tag and included within the figure. The size of the figure then depends on the extent of the text.
57 Citations
9 Claims
-
1. A method of generating a graphic figure directly from a declarative tag in a document formatter, comprising the steps of:
-
composing a document in a markup language, said composed document including a tag for a non-rectangular graphic figure which encloses variable text; defining said graphic figure to result from an inclusion of said tag; storing instructions and data representative of said defined graphic figure in a memory unit; interpreting said composed document, wherein an interpretation of said tag causes the instructions and data representative of said defined graphic figure to be fetched from said memory unit; and formatting said document according to the markup language of said document including the defined graphic figure, the size of said graphic figure being determined by the enclosed variable text at the time said document is formatted. - View Dependent Claims (2)
-
-
3. A method of combining text and a grapic illustration enclosing said text in a document formatter, comprising the steps of:
-
attaching in a markup language a tag, indicating a type of graphic illustration, to a string of text, said graphic illustration being associated with said string of text and the size of said graphic illustration depending upon said string of text; computing in a document formatting program markup language parameters associated with said string of text; computing separate portions of said graphic illustration dependent on said parameters associated with said string of text; and using a plurality of said computed portions to generate a graphic illustration enclosing said text in the formatted output of said program. - View Dependent Claims (4)
-
-
5. A document editor comprising:
-
means for composing a markup language version of a document including a non-rectangular graphic figure represented by a tag, said graphic figure enclosing variable text; means for defining a representation of said graphic figure, said graphic figure being defined by geometric shape only; means for storing said representation of said graphic figure; means for interpreting said composed markup language version and for fetching said stored representation of said graphic figure, when said tag is interpreted, the size of said graphic figure being computed by said means for interpreting as a function of the enclosed variable text; and means for formatting a visual version of said document responsive to said interpreting means. - View Dependent Claims (6, 7, 8, 9)
-
Specification