DynamicPDF™ Generator 是一个高效、易用的,基于动态数据生成 PDF(Portable Document Format 可移植文档格式)文档的类库。生成的 PDF 文档可以被保存到硬盘。使用 DynamicPDF™ Generator 类库生成的 PDF 文档兼容 PDF1.4/1.5 版,并且遵守 Adobe 公司发布的 PDF 规范。
DynamicPDF™ Generator for Java is a highly efficient and easy to use class library for the dynamic creation of PDF documents based on dynamic data. PDF documents can be saved to disk, output to a java.io.OutputStream object or output directly to Webserver's output stream using javax.servlet.ServletOutputStream. The generated PDF documents are 99% compatible with PDF version 1.4 and 1.5 and comply with the PDF specification as published by Adobe.
可扩展性The Generator 对象模型是高度可扩展的。您可以利用其所包含的应用编程接口来开发所谓的“自定义的页面元素”(Custom Page Elements),而且本产品中的很多类均可以作为基类来继承。更多的详细信息,您可以参考本产品用户手册——“自定义的页面元素”(Custom Page Elements)部分中的源代码和示例。
特征如下所示: 生成纯PDF文件
DynamicPDF™ Generator “从零开始”产生PDF代码,所谓“从零开始”是指本产品不是一个虚拟打印机驱动程序,并且生成PDF代码也不需要使用任何此类型驱动程序的任何资源。可以说,本产品动态生成PDF文档的方式基本上和JSP/Servlets动态生成HTML页面的方式差不多。
高性能
DynamicPDF™ Generator 是一个可用C#、C++、Java等语言编写的高性能产品。
可扩展性
您可以在 DynamicPDF™ Generator 的基础上开发自己的产品。
您可以通过继承 com.cete.dynamicpdf.PageElement 类来创建“自定义的页面元素”。
容易掌握
Our simple object model reduces the learning curve required to learn DynamicPDF™ Generator for Java. You will be generating your own dynamic PDF documents in minutes.
简单的对象模型使您掌握 DynamicPDF™ Generator 所要花费的时间精力大大减少。短短几分钟内您就可以生成您自己的动态 PDF 文档。
页编号
您可以在文档的任何一页中加入当前处理页的页码和页数,本产品同样也支持以章节页面编号功能。至于页码不仅可以用数字来表示,还可以采用罗马数字或者字母来表示。
文档模板功能
所谓文档模板是用来将某些公用的页元素(例如:页眉、页脚等),自动的添加到文档(或者文档的某一章节)中的所有页。本产品支持的不同功能模板有:Document Templates,Section Templates,
Global and Even/Odd Templates。
内置字库量度功能
我们将14种PDF核心字体的度量文件编译进 DynamicPDF™ Generator 中,所以在本产品中字体度量的计算处理是非常高效的。
文本延续(Text Continuation)
TextArea 和 HTMLTextArea 可以轻松的将溢出的文本延续到新的行或者新的页中。
99%兼容PDF标准
DynamicPDF™ Generator 99%的与 Adobe 公司为 PDF1.4 版所发布的 PDF 标准。因此您用DynamicPDF™ Generator 生成的 PDF 文档,可以用任何同样遵守这些标准的阅读器来阅读。
HTML文本格式化
HTMLTextArea Page Element 支持 HTML 文本格式化。
条形码处理
DynamicPDF™ Generator 包含有18种条形码页面元素来处理各种常用的条形码。
支持多国字体
DynamicPDF™ Generator 支持日语,朝鲜语,简体/繁体中文等等。
本产品同样也能处理从右向左书写的语言文字。
支持TrueType字体
DynamicPDF™ Generator 支持 TrueType 字体嵌入以及部分嵌入(嵌入一种完整的字库,称为 font embedding;只嵌入一种字库中要用到的那些字符,称为 font subsetting)
支持导航功能
DynamicPDF™ Generator 支持各种导航功能,如书签,大纲等。
支持URL链接功能
您可以将 URL(统一资源定位符)链接置入您所生成的 PDF 文档之中。
支持PDF加密功能
DynamicPDF™ Generator 支持生成40或128位加密的 PDF 文档。您还可以通过密码保护,来设置多达8种的文档访问权限。
Extensibility
The Generator for Java object model is highly extensible. It includes an API for the development of Custom Page Elements and allows many of the base classes to be inherited. Take a look at the Custom Page Elements page for source code and examples of Custom Page Elements.
Features
- True PDF Generation. DynamicPDF™ Generator for Java generates PDF code from scratch. It is NOT a printer driver and does not require the resources of such a driver. PDF documents are created dynamically in much the same way that JSP/Servlets creates HTML pages dynamically.
- High Performance. DynamicPDF™ Generator for Java is a highly efficient and and lightweight API written in java.
- JSP/Application Server Optimization. When using the DrawToWebPage method of the document object, DynamicPDF™ Generator for Java generates the PDF in memory and outputs it directly to JSP's/Servlet's response object. This results in superior performance and avoids the need for costly temp files.
- Extensibility. DynamicPDF™ Generator for Java can be used as a base component for other products. Custom Page Elements can be built by inheriting from the com.cete.dynamicpdf.PageElement base class.
- Easy to Learn. Our simple object model reduces the learning curve required to learn DynamicPDF™ Generator for Java. You will be generating your own dynamic PDF documents in minutes.
- Page Numbering. The current page number and total pages can be added to any page in the document.Section page numbering is supported. You can use numbers, roman numerals and letters.
- Document Templates. Supports Document Templates, Section Templates, Global and Even/Odd Templates.
- Built in Font Metrics. The font metrics for the core 14 PDF fonts are compiled into DynamicPDF™ Generator making font metric calculations highly efficient.
- Text Continuation. The TextArea and HTMLTextArea objects can easily continue overflow text to a new column or to multiple pages.
- 99% Compliant With PDF Standard. DynamicPDF™ Generator for Java is 99% compliant with Adobe's published PDF standard for PDF version 1.4. Generated PDF documents are viewable from any viewer that complies with these standards.
- HTML Text Formatting. HTML text formatting is supported by the HTMLTextArea Page Element.
- Bar Coding. 18 bar code page elements are included.
- International Font Support. Includes support for Japanese, Korean, Simplified and Traditional Chinese, etc. Also includes Right-to-Left text support for TextArea and Label class.
- TrueType Font Support. TrueType font embedding and sub setting is supported.
- Document Navigation Support. Bookmarks and outlines are supported.
- URL Linking Support. URL links can be placed in generated documents.
- PDF Encryption Support. DynamicPDF™ Generator for Java supports 40 and 128 bit encryption of generated PDF documents. Documents can be locked with a password and access can be restricted with up to 8 user permissions.