Patent ID: 7761788
Filing Date: 2010-07-20
Classification: G06F

Abstract:
1. A computer program product embodied in a computer readable medium for generating an output document, said computer program product comprising: at least one grammar template file, one said grammar template file for each of one or more sections of an output document in one or more programming languages, each said grammar template file for specifying the manner for parsing and defining the bounds of a section of said output document; at least one style template parsed from a user example document in a user preferred style using said grammar template file for defining the style of a section of said output document; a syntax template for finding and extracting style information for each section of said user example document and including a section identifier, an external pattern, an internal pattern, a before pattern, an after pattern, a repeatability indicator, and an ordering indicator; each said syntax template being associated with a single style template; said section identifier for identifying a section of said output document; said external pattern for finding a particular section in said input document; said internal pattern for indicating the textual elements to be considered as part of said particular section; said before pattern for indicating what should come before said particular section; said after pattern for indicating what should come after said particular section; said repeatability indicator for indicating whether said particular section is a repeatable section and, if so, that alignment offsets need to be calculated; and said ordering indicator for indicating if said particular section is part of a group of unique sections and, if so, whether the ordering of said group of unique sections is independent or whether the ordering of said group must be captured from said user example document.