Patent Document ID: 8214735
Application ID: 12327984

Base Claim:
1. A computer program product to process structured documents, comprising: a computer readable storage medium having computer usable program code embodied therewith, the computer usable program code comprising: computer usable program code configured to enable a user to select a predetermined graphical template; computer usable program code configured to analyze the structure of said predetermined graphical template and identify: at least one content area for setting or editing different contents according to documents to which said predetermined template is applied and at least one common area to be used in common among said documents to which said predetermined template is applied; computer usable program code configured to enable a user to select a first structured document that said predetermined graphical template is to be applied to; computer usable program code configured to analyze the structure of said first structured document so as to identify various structural components of said first structured document; computer usable program code configured to enable a user to select at least one content area of said predetermined template; computer usable program code configured to enable a user to select a particular structural component of said first structured document to be inserted into each selected content area of said predetermined template; computer usable program code configured to store an association between template structure information and document structure information for each selected content area and the corresponding selected particular structural component; computer usable program code configured to apply said predetermined structural template to said first structured document so as to insert each said particular structural component into the corresponding selected content area of said predetermined template and to include said at least one common area of said predetermined template into said first structured document; and computer usable program code configured to perform for a plurality of additional documents having: computer usable program code configured to select a next one of said plurality of additional structured documents; computer usable program code configured to analyze the structure of said next one of said plurality of additional structured documents so as to identify various structural components thereof; computer usable program code configured to use the stored associations between template structure information and document structure information to automatically select a similarly situated structural component of said next one of said plurality of additional structured documents to be inserted into each selected content area of said predetermined template; computer usable program code configured to iteratively repeat until insertion is valid from a structural viewpoint for each particular selected structural component: computer usable program code configured to check whether insertion of said particular structural component selected for the corresponding content area of said predetermined template is valid from a structural viewpoint; and computer usable program code configured to expand from said selected particular structural component to select a higher structural component based upon the analysis of said structure of said next one of said plurality of additional structured documents if a check indicates that an insertion into its corresponding content area is invalid from a structural viewpoint; and computer usable program code configured to apply said predetermined structural template to said next one of said plurality of additional structured documents so as to insert each validated structural component into the corresponding selected content area of said predetermined template and to include said at least one common area of said predetermined template into said next one of said plurality of additional structured documents.

---

Claim 8:
8. The computer program product according to claim 1 , wherein: computer usable program code configured to analyze the structure of said first structured document so as to identify various structural components of said first structured document comprises: computer usable program code configured to generate information for a display to display the structure of said first structured document as an expandable hierarchy; and computer usable program code configured to select a particular structural component of said first structured document to be inserted into each selected content area of said predetermined template comprises: computer usable program code configured to enable a user to select structural components from the displayed structure to be inserted into each selected content area of said predetermined template.