-
Notifications
You must be signed in to change notification settings - Fork 218
PDF Primitive Objects
galkahana edited this page Aug 15, 2011
·
3 revisions
PDF defines a few primitive objects. Apart from the trivial number objects, there are several strings and constructs. The library defines classes for these primitive objects. These are important if you are planning to extend the library, as well as in some usages in the library itself.
The following lists the primitive objects classes:
-
ObjectIDType
is a typedef of an integer number, signifying a PDF Object ID. you can find its definition in ObjectsBasicTypes. -
PDFRectangle
is a simple structure signifying a rectangle. its definition is in PDFRectangle. -
PDFDate
matches a PDF date object. This is implemented as a string formatted in a special way, to hold date information. you can find its definition in PDFDate. note that this class has a method that sets it with the current time – use SetToCurrentTime. -
PDFTextString
represents a PDF text string, which is either formatted in PDFDocEncoded or UTF-16BE. The class implementation receives unicode text as input (encoded as UTF8), and internally formats it as required, so that when written it will appear according to these PDF definitions. you can find it here PDFTextString.
- 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