首页> 外国专利> 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.
机译:提供了有效文件分页的交叉浏览器技术。 在一组实施例中,计算机系统可以在文档的内容流中接收页面的起点的指示,并在从起点到估计的内容流的内容流的一部分中构建内容元素的DOM树 结束点,对应于页面的估计结束边界的估计结束点。 计算机系统可以进一步调用一个API,使Web浏览器的布局引擎基于DOM树创建页面的布局,并基于所述布局和内容流,内容流中的一个或多个内容元素来确定 这缺少页面的实际结束边界。 然后,计算机系统可以从DOM树中删除一个或多个内容元素,并将DOM树添加到文件设置的页面。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号