Skip to content

Features

galkahana edited this page Apr 26, 2011 · 24 revisions

The main library features are listed here:

  1. PDF File Creation – the basic steps for creating a PDF file are described here First Steps In Creating a PDF file.
  2. Adding Pages – it is possible to add pages, set their dimensions etc. Pages creation is described here Creating PDF Pages.
  3. Pages Content – just creating pages is not enough. you can add content to the pages using PDF operators. details, here Adding Content to PDF Pages.
  4. Form XObjectsPDF files define reusable content via Form XObjects. Form XObjects creation is explained in Using Form XObjects.
  5. Images Support – you can use the library to embed JPG and TIFF images in the PDF stream. Read about it here Images Support.
    1. JPG Images support details- support of JPG Images is through the native DCT decoder. see JPG Images Support.
    2. TIFF Image support details – support of TIFF Images is through encoding/decoding with the assistance of LibTiff. see TIFF Images Support.
  6. PDF Document embedding – You can use existing PDFs pages. You can either append them as pages to the PDF, or create Form XObjects from them, allowing you to place them in pages as images. see PDF Embedding for details.
  7. Text – It is possible to display text using the library. supported font types are TrueType, OpenType and Type 1. see Text Support.
  8. State Saving – It is possible to stop using a current instance of the library, for instance when restarting a service, and later using another one to continue writing the PDF from the same spot. For this use State Saving. read State Saving for details.
  9. Parsing PDF – A by product of being able to embed PDF is that there’s also a basic parser for PDF. Good for parsing the basic objects of PDF (“COS” level in Adobe language). Very low on memory signature. read PDF Parsing for details.
  10. Extensibility – Extensibility is a key feature in the library. to read about the options for extending the library go to here – Extensibility
  11. Forward Referencing – depending in the algorithm you are using to write the PDF file, you may want to first use content, and only later define it. For example, first refer to a Form XObject, and only later define it. It is possible to do with Forward Referencing.
  12. IO in the library – how streams and files are used in the library. see IO.
  13. Streams Compression – all stream objects in the PDF are compressed by default using Flate. details about compression here Compression
  14. Logging and Tracing – logging and tracing are possible with the library. for details see Logging and Tracing.
  15. Primitive PDF Objects – The primitive PDF objects (string, date etc.) may be created for various purposes. they are explained in PDF Primitive Objects
  16. Timer – it is possible to add timer code to the library using the timer classes. for details see Timers
Clone this wiki locally