Patent ID: 7461341

Claim:
A structured document display processor used in a display device for displaying a structured document based on a style definition, the structured document having at least one element, the structured document display processor comprising: a page number calculating unit for calculating a page character number based on information used for determining the page character number, the information for determining the page character number being defined in the style definition, the page character number indicating the number of characters which can be accommodated in a single page; a cumulative character count calculating unit for calculating a cumulative character count which is a total character count from the beginning of the structured document to a requested element which is requested to be displayed; a requested page determining unit for determining a page containing the requested element, based on the page character number obtained by the page number calculating unit and the cumulative character count obtained by the cumulative character count calculating unit, by dividing the cumulative character count by the page character number; a subtree extracting unit for examining the structured document and extracting a subtree corresponding to the page containing the requested element determined by the requested page determining unit; a layout processing unit for determining a layout of the page containing requested element according to the subtree extracted by the subtree extracting unit and the style definition, the layout processing unit determining the layout of the page without having to process the entire structured document; and a displaying unit for displaying the structured document based on the style definition.