首页>
外国专利>
CROSS-BROWSER TECHNIQUES FOR EFFICIENT DOCUMENT PAGINATION
CROSS-BROWSER TECHNIQUES FOR EFFICIENT DOCUMENT PAGINATION
展开▼
机译:高效文件分页的跨浏览器技术
展开▼
页面导航
摘要
著录项
相似文献
摘要
Cross-browser techniques for efficient document pagination are provided. In one set of embodiments, a computer system can receive an indication of a starting point for a page in a content flow of a document and build a DOM tree of content elements in a portion of the content flow spanning from the starting point to an estimated ending point, the estimated ending point corresponding to an estimated ending boundary for the page. The computer system can further invoke an API that causes a layout engine of the web browser to create a layout of the page based on the DOM tree and determine, based on the layout and the content flow, one or more content elements in the content flow that fall beyond an actual ending boundary of the page. The computer system can then remove the one or more content elements from the DOM tree and add the DOM tree to a page set for the document.
展开▼