Abstract:
A method includes: receiving, by a user device (UD), a print job associated with an electronic document (ED) for printing on a printer; identifying, by the UD and within ED, a first element having a first processing requirement and a second element having a second processing requirement; comparing, by the UD, the first processing requirement with multiple processing requirements supported by the printer; generating, by the UD, a skeleton ED by replacing the first element in the ED with a coded marker; sending, by the UD, the skeleton ED to a rasterization service; sending, by the UD, the first image to the printer, where the printer receives a rasterized version of the skeleton ED from the rasterization service, generates a processed element by executing the first processing requirement against the first element, and generates the HD by replacing a marker in the rasterized version with the processed element.
Abstract:
A method for scaling including: obtaining an electronic document (ED) identifying a graphical feature; partitioning the ED into multiple tiles including a first tile and a second tile, where the graphical feature spans the first tile and the second tile; partitioning the graphical feature into a first fragment located solely within the first tile and a second fragment located solely within the second tile; adding the first fragment to a first display sub-list corresponding to the first tile; adding the second fragment to a second display sub-list corresponding to the second tile; receiving a first request to scale the ED specifying a resolution and a first region intersecting a subset of the plurality of tiles including the first tile but excluding the second tile; and generating, in response to the first request, a first scaled ED for the display device by rendering only the first display sub-list the resolution.
Abstract:
A method for placing a text string on a page includes obtaining an electronic document identifying a margin of the page, an exclusion region having a perimeter for placement on the page, a texture to fill the exclusion region, and the text string, calculating, using a path-fill algorithm inputting the perimeter, exclusion region geometric primitives, calculating, using the path-fill algorithm inputting a path based on the perimeter and the margin, text region geometric primitives, receiving the text string and the text region geometric primitives; calculating, for a line band crossing the page, segments corresponding to an intersection of the line band with the text region geometric primitives, rendering the page by filling the exclusion region geometric primitives with the texture, and placing the text string within the segments.
Abstract:
A method for scaling on a display device, including: obtaining an electronic document (ED) identifying multiple graphical features; generating, before receiving a request to scale the ED on the display device, multiple resolution-independent (RI) versions of the multiple graphical features; adding, before receiving the request to scale the ED on the display device, the multiple RI versions to a RI display list; receiving the request to scale the ED on the display device specifying a resolution; and generating, in response to the request, a scaled ED for the display device by rendering the multiple RI versions of the multiple graphical features in the RI display list at the resolution.
Abstract:
A method for scaling including: obtaining an electronic document (ED) identifying a graphical feature; partitioning the ED into multiple tiles including a first tile and a second tile, where the graphical feature spans the first tile and the second tile; partitioning the graphical feature into a first fragment located solely within the first tile and a second fragment located solely within the second tile; adding the first fragment to a first display sub-list corresponding to the first tile; adding the second fragment to a second display sub-list corresponding to the second tile; receiving a first request to scale the ED specifying a resolution and a first region intersecting a subset of the plurality of tiles including the first tile but excluding the second tile; and generating, in response to the first request, a first scaled ED for the display device by rendering only the first display sub-list the resolution.
Abstract:
A method for managing an electronic document (ED) concurrently accessed by multiple editors includes receiving a first chunk size for the ED, partitioning the ED into chunks, and receiving, from an editor, a selection of a first chunk, where the first chunk is of the first chunk size. The method further includes locking the first chunk in response to determining that the first chunk is available for editing, sending, to the first editor, a first message indicating that the first chunk has been locked, and sending, to a second editor, a second message indicating that the first chunk has been locked.
Abstract:
A method for managing an electronic document (ED) concurrently accessed by multiple editors includes receiving a first chunk size for the ED, partitioning the ED into chunks, and receiving, from an editor, a selection of a first chunk, where the first chunk is of the first chunk size. The method further includes locking the first chunk in response to determining that the first chunk is available for editing, sending, to the first editor, a first message indicating that the first chunk has been locked, and sending, to a second editor, a second message indicating that the first chunk has been locked.
Abstract:
A method for scaling on a display device, including: obtaining an electronic document (ED) identifying multiple graphical features; generating, before receiving a request to scale the ED on the display device, multiple resolution-independent (RI) versions of the multiple graphical features; adding, before receiving the request to scale the ED on the display device, the multiple RI versions to a RI display list; receiving the request to scale the ED on the display device specifying a resolution; and generating, in response to the request, a scaled ED for the display device by rendering the multiple RI versions of the multiple graphical features in the RI display list at the resolution.
Abstract:
A method for placing a text string on a page includes obtaining an electronic document identifying a margin of the page, an exclusion region having a perimeter for placement on the page, a texture to fill the exclusion region, and the text string, calculating, using a path-fill algorithm inputting the perimeter, exclusion region geometric primitives, calculating, using the path-fill algorithm inputting a path based on the perimeter and the margin, text region geometric primitives, receiving the text string and the text region geometric primitives; calculating, for a line band crossing the page, segments corresponding to an intersection of the line band with the text region geometric primitives, rendering the page by filling the exclusion region geometric primitives with the texture, and placing the text string within the segments.
Abstract:
A method for generating a page of an electronic document (ED), including: obtaining a common input/output (I/O) format of the ED, where the common I/O format comprises the properties, the objects, and fields corresponding to the objects; populating, during a first layout by a layout engine and based on the properties, the fields in the common I/O format of the ED with coordinates; and generating, from the common I/O format of the ED, the page by placing the objects on the page according to the coordinates.