DynamicPDF™ Generator 是一個(gè)高效、易用的,基于動態(tài)數(shù)據(jù)生成 PDF(Portable Document Format 可移植文檔格式)文檔的類庫。生成的 PDF 文檔可以被保存到硬盤。使用 DynamicPDF™ Generator 類庫生成的 PDF 文檔兼容 PDF1.4/1.5 版,并且遵守 Adobe 公司發(fā)布的 PDF 規(guī)范。
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 100% compatible with PDF version 1.4 and 1.5 and comply with the PDF specification as published by Adobe.
可擴(kuò)展性The Generator 對象模型是高度可擴(kuò)展的。您可以利用其所包含的應(yīng)用編程接口來開發(fā)所謂的“自定義的頁面元素”(Custom Page Elements),而且本產(chǎn)品中的很多類均可以作為基類來繼承。更多的詳細(xì)信息,您可以參考本產(chǎn)品用戶手冊——“自定義的頁面元素”(Custom Page Elements)部分中的源代碼和示例。
特征如下所示: 生成純PDF文件
DynamicPDF™ Generator “從零開始”產(chǎn)生PDF代碼,所謂“從零開始”是指本產(chǎn)品不是一個(gè)虛擬打印機(jī)驅(qū)動程序,并且生成PDF代碼也不需要使用任何此類型驅(qū)動程序的任何資源。可以說,本產(chǎn)品動態(tài)生成PDF文檔的方式基本上和JSP/Servlets動態(tài)生成HTML頁面的方式差不多。
高性能
DynamicPDF™ Generator 是一個(gè)可用C#、C++、Java等語言編寫的高性能產(chǎn)品。
可擴(kuò)展性
您可以在 DynamicPDF™ Generator 的基礎(chǔ)上開發(fā)自己的產(chǎn)品。
您可以通過繼承 com.cete.dynamicpdf.PageElement 類來創(chuàng)建“自定義的頁面元素”。
容易掌握
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 所要花費(fèi)的時(shí)間精力大大減少。短短幾分鐘內(nèi)您就可以生成您自己的動態(tài) PDF 文檔。
頁編號
您可以在文檔的任何一頁中加入當(dāng)前處理頁的頁碼和頁數(shù),本產(chǎn)品同樣也支持以章節(jié)頁面編號功能。至于頁碼不僅可以用數(shù)字來表示,還可以采用羅馬數(shù)字或者字母來表示。
文檔模板功能
所謂文檔模板是用來將某些公用的頁元素(例如:頁眉、頁腳等),自動的添加到文檔(或者文檔的某一章節(jié))中的所有頁。本產(chǎn)品支持的不同功能模板有:Document Templates,Section Templates,
Global and Even/Odd Templates。
內(nèi)置字庫量度功能
我們將14種PDF核心字體的度量文件編譯進(jìn) DynamicPDF™ Generator 中,所以在本產(chǎn)品中字體度量的計(jì)算處理是非常高效的。
文本延續(xù)(Text Continuation)
TextArea 和 HTMLTextArea 可以輕松的將溢出的文本延續(xù)到新的行或者新的頁中。
100%兼容PDF標(biāo)準(zhǔn)
DynamicPDF™ Generator 100%的與 Adobe 公司為 PDF1.4 版所發(fā)布的 PDF 標(biāo)準(zhǔn)。因此您用DynamicPDF™ Generator 生成的 PDF 文檔,可以用任何同樣遵守這些標(biāo)準(zhǔn)的閱讀器來閱讀。
HTML文本格式化
HTMLTextArea Page Element 支持 HTML 文本格式化。
條形碼處理
DynamicPDF™ Generator 包含有18種條形碼頁面元素來處理各種常用的條形碼。
支持多國字體
DynamicPDF™ Generator 支持日語,朝鮮語,簡體/繁體中文等等。
本產(chǎn)品同樣也能處理從右向左書寫的語言文字。
支持TrueType字體
DynamicPDF™ Generator 支持 TrueType 字體嵌入以及部分嵌入(嵌入一種完整的字庫,稱為 font embedding;只嵌入一種字庫中要用到的那些字符,稱為 font subsetting)
支持導(dǎo)航功能
DynamicPDF™ Generator 支持各種導(dǎo)航功能,如書簽,大綱等。
支持URL鏈接功能
您可以將 URL(統(tǒng)一資源定位符)鏈接置入您所生成的 PDF 文檔之中。
支持PDF加密功能
DynamicPDF™ Generator 支持生成40或128位加密的 PDF 文檔。您還可以通過密碼保護(hù),來設(shè)置多達(dá)8種的文檔訪問權(quán)限。
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.
- 100% Compliant With PDF Standard. DynamicPDF™ Generator for Java is 100% 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.