Pinned Graphical Objects in Page Layout Rendering
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing page rendering technologies face inefficiencies when handling graphical objects with negative displacements, leading to overlap issues and repeated reflow iterations, which can result in divergent conditions and increased processing complexity.
Innovation Solution
A method and system that mark graphical objects with negative displacements as 'pinned' during the layout process, allowing the text stream to be wrapped around them, and subsequently ignore the anchors corresponding to these objects, thereby avoiding reflow iterations and ensuring consistent rendering.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If anchors with negative displacements are processed during standard layout, then graphical objects can be positioned relative to anchors, but text-stream placement is disrupted causing overlap situations and requiring repeated reflow iterations
Solution Approach 1:
The patent applies preliminary action by identifying and marking graphical objects as 'pinned' before performing text-stream placement. This allows the layout engine to pre-determine positions of graphical objects with negative displacements, preventing overlap situations before they occur and eliminating the need for repeated reflow iterations.
Solution Approach 2:
The patent segments the layout process into distinct phases: first placing pinned graphical objects at their calculated positions, then placing text streams around these fixed objects. This segmentation separates the positioning of graphical objects from text placement, allowing each to be handled independently and efficiently without disrupting the other.
2Adaptability or versatility
If graphical objects are placed according to negative displacement anchors, then design flexibility is maintained, but overlap situations occur requiring extra processing
Solution Approach 1:
The patent performs preliminary identification and marking of graphical objects with negative displacements as 'pinned' before text placement. This preliminary action maintains design flexibility by preserving the ability to position graphical objects relative to anchors, while simultaneously simplifying processing by preventing overlap situations before they occur.
Solution Approach 2:
The patent applies preliminary anti-action by proactively preventing overlap situations through the pinned object mechanism. Instead of allowing overlaps to occur and then resolving them through complex reflow iterations, the system preemptively positions pinned graphical objects in a way that prevents text-stream overlap, thereby reducing processing complexity.
3Manufacturing precision
If repeated reflow iterations are performed to resolve overlap situations, then text-stream placement accuracy is improved, but processing time and computational resources increase
Solution Approach 1:
The patent eliminates the need for repeated reflow iterations by performing preliminary placement of pinned graphical objects before text-stream placement. This ensures text-stream placement accuracy is achieved in a single pass, significantly reducing rendering processing time and computational resource consumption.
Data Source
AI summary
A method for rendering a page, including: obtaining an electronic document comprising a text stream and an anchor corresponding to a graphical object and specifying a first displacement of the graphical object relative to the anchor; placing the text stream within a region of the page; identifying a first location on the page corresponding to the anchor; calculating an area on the page for placing the graphical object; marking the graphical object as pinned; initiating a second layout of the page; placing the text stream on the page by wrapping a portion of the text stream around the area; identifying a second location on the page corresponding to the anchor, where the second position and the area are separated by a second displacement distinct from the first displacement; and outputting the page with at least the portion of the text stream and with the graphical object occupying the area.


