Method and Arrangement in a Display System
First Claim
1. A method in a display system, having a display (117), for rendering a compound graphical object, described by a markup language, ML, document and a style sheet, and comprising primitive content,wherein, by means of a parser (205), a structured document, corresponding to the ML document, is created, the structured document defining an hierarchical relationship between pieces of primitive content in the ML document as a tree of inter-related nodes, the tree having a top node (501), and,by means of a layout engine (207) and based on the structured document and said style sheet, a geometric document is created, the geometric document defining areas on said display to be covered by the pieces of primitive content, which jointly form the compound graphical object, characterized in that:
- the layout engine, in a metrics defining process, recursively traverses the tree of the structured document, such that, based on said style sheet and properties for the nodes, metrics for the nodes is defined, whereinthe layout engine tests (S709) the nodes to determine whether a current node has a layout surface competing, LSC, property,if the current node has an LSC property,the metrics defining process is interrupted,the layout engine, in an LSC job process, recursively traverses (S711) the sub-tree of the current node to define metrics ranges for nodes in the sub tree, andthe metrics defining process is resumed, wherein the metrics ranges for the nodes in the sub-tree are used (S713).
3 Assignments
0 Petitions
Accused Products
Abstract
The invention relates to a method in rendering of a compound graphical document described by a markup language document. It is characterized by that the method renders a first display type by recursively using at least two composing types, enters a first composition renderer that implements a first composing type at a first time point, and enters a second composition renderer that implements a second composing type at a second time point being later than the first time point.
34 Citations
20 Claims
-
1. A method in a display system, having a display (117), for rendering a compound graphical object, described by a markup language, ML, document and a style sheet, and comprising primitive content,
wherein, by means of a parser (205), a structured document, corresponding to the ML document, is created, the structured document defining an hierarchical relationship between pieces of primitive content in the ML document as a tree of inter-related nodes, the tree having a top node (501), and, by means of a layout engine (207) and based on the structured document and said style sheet, a geometric document is created, the geometric document defining areas on said display to be covered by the pieces of primitive content, which jointly form the compound graphical object, characterized in that: -
the layout engine, in a metrics defining process, recursively traverses the tree of the structured document, such that, based on said style sheet and properties for the nodes, metrics for the nodes is defined, wherein the layout engine tests (S709) the nodes to determine whether a current node has a layout surface competing, LSC, property, if the current node has an LSC property, the metrics defining process is interrupted, the layout engine, in an LSC job process, recursively traverses (S711) the sub-tree of the current node to define metrics ranges for nodes in the sub tree, and the metrics defining process is resumed, wherein the metrics ranges for the nodes in the sub-tree are used (S713). - View Dependent Claims (2, 3, 4, 5, 6, 7, 15, 16, 17, 18, 19, 20)
-
-
8. Arrangement in a display system, having a display (117), for rendering a compound graphical object, described by a markup language, ML, document and a style sheet, and comprising primitive content,
wherein, by means of a parser (205), a structured document, corresponding to the ML document, is created, the structured document defining an hierarchical relationship between pieces of primitive content in the ML document as a tree of inter-related nodes, the tree having a top node, and, by means of a layout engine (207) and based on the structured document and said style sheet, a geometric document is created, the geometric document defining areas on said display to be covered by the pieces of primitive content, which jointly form the compound graphical object, characterized in means in the layout engine for, in a metrics defining process, recursively traversing the tree of the structured document, such that, based on said style sheet and properties for the nodes, metrics for the nodes is defined, wherein the layout engine is arranged to test the nodes to determine whether a current node has a layout surface competing, LSC, property the layout engine is arranged, if the current node has an LSC property, to interrupt the metrics defining process, to recursively traverse, in an LSC job process, the sub-tree of the current node to define metrics ranges for nodes in the sub tree, and to resume the metrics defining process, wherein the metrics ranges for the nodes in the sub-tree are used.
-
9. Computer program for rendering, in a display system having a display, a compound graphical object, described by a markup language, ML, document and a style sheet, and comprising primitive content,
wherein, by means of a parser, a structured document, corresponding to the ML document, is created, the structured document defining an hierarchical relationship between pieces of primitive content in the ML document as a tree of inter-related nodes, the tree having a top node, and, by means of a layout engine and based on the structured document and said style sheet, a geometric document is created, the geometric document defining areas on said display to be covered by the pieces of primitive content, which jointly form the compound graphical object, characterized by instructions such that: -
the layout engine, in a metrics defining process, recursively traverses the tree of the structured document, such that, based on said style sheet and properties for the nodes, metrics for the nodes is defined, wherein the layout engine tests the nodes to determine whether a current node has a layout surface competing, LSC, property, if the current node has an LSC property, the metrics defining process is interrupted, the layout engine, in an LSC job process, recursively traverses the sub-tree of the current node to define metrics ranges for nodes in the sub tree, and the metrics defining process is resumed, wherein the metrics ranges for the nodes in the sub-tree are used. - View Dependent Claims (10)
-
-
11. A method in rendering of a compound graphical object described by a markup language document, characterized by that the method
a) renders a first display type by recursively using at least two composing types, b) enters a first composition renderer that implements a first composing type at a first time point, and c) enters a second composition renderer that implements a second composing type at a second time point being later than the first time point.
-
12. An arrangement for rendering of a compound graphical object described by a markup language document, characterized by means for rendering a first display type using at least two composing types, means for a first composition renderer that implements a first composing type and means for a second composition renderer that implements a second composing type.
-
13. A computer program for rendering of a compound graphical object described by a markup language document, characterized by instructions corresponding to
a) rendering a first display type by recursively using at least two composing types, b) entering a first composition renderer that implements a first composing type at a first time point, and c) entering a second composition renderer that implements a second composing type at a second time point being later than the first time point.
Specification