摘要 |
A method for rendering an electronic document (ED). The method includes obtaining an intermediate format of the ED having multiple containers corresponding to multiple linked textboxes in the ED; obtaining a data structure including a root node associated with a string for distribution across the multiple linked textboxes and multiple segment nodes including multiple pointers to the multiple containers; executing a traversal of the multiple segment nodes; generating, during the traversal, multiple intermediate pages by applying a layout engine to the multiple containers referenced by the multiple pointers, where the string is distributed across the multiple intermediate pages; and generating a rendered page of the ED by substituting the container with an intermediate page corresponding to the container. |