-
Notifications
You must be signed in to change notification settings - Fork 218
PDFWriter Project
galkahana edited this page Sep 14, 2010
·
5 revisions
PDFWriter project is a library for creating PDF files. The library provides services for building a PDF file in a stream-like manner, writing objects directly to the output file as they are added. This model allows the library to maintain a relatively small memory signature.
the Project has some 3 main levels:
- PDFWriter class – The main class for accessing the library. you will use it for starting up and ending the PDF writing, as well as write to the PDF stream. other objects either are items that get written to the stream, or lower level classes. For Details on using the PDF Writer object go to The PDF Writer Object.
- Document context level – Loosely based on the PDDoc level of the Adobe PDF library, the document context level takes care of high level objects such as Pages, Resources dictionaries and content streams. the main class for controlling this level is DocumentContext. other classes of interest are PDFPage and PageContentContext, which serve for creating pages and pages graphics (respectively). For Details on using the DocumentContext object go to The DocumentContext Object.
- Object context level – Loosely based on the Cos level of the Adobe PDF library, the object context allows you to work with the basic objects of PDF such as text strings, streams, rectangles, Dates and even lower level primitives such as string, integer, dictionary. Main class of interest here is ObjectsContext which writes formatted PDF objects to the stream. For Details on using the ObjectsContext object got to The ObjectsContext Object.
other classes, of course, exist for utilities, such as log/trace, some template patterns for recurring behaviors etc.
- First Steps In Creating a PDF file
- Creating PDF Pages
- Images Support
- Text Support
- Adding Content to PDF Pages
- Links
- Unicode and UnicodeString class
- PDF Embedding
- Custom input and output
- Using Form XObjects
- Forward Referencing
- JPG Images Support
- TIFF Images Support
- PNG Images support