de.intarsys.pdf.cds |
CDS (Common Data Structure) defines higher level data structures or types on top
of COS types that are used all over the PDF spec.
Examples of such data structures that are no longer COS "primitives"
(like strings and numbers) or "composites" (like arrays or dictionaries) but have
already domain specific behavior are the date or rectangle object.
The CDS objects are implemented as wrappers on COS objects. Every change is
reflected immediately in the implementation (COS) layer and vice versa.
|
Java Source File Name | Type | Comment |
CDSBase.java | Class | An abstract base class for all common data structures. |
CDSDate.java | Class | The implementation for a date string based on a
de.intarsys.pdf.cos.COSString . |
CDSMatrix.java | Class | The implementation of the pdf transformation matrix. |
CDSNameTreeEntry.java | Class | A helper class implementing an association object for the use in a PDF name
tree. |
CDSNameTreeNode.java | Class | Implementation of the PDF name tree. |
CDSNumberTreeEntry.java | Class | A helper class implementing an association object for the use in a PDF number
tree. |
CDSNumberTreeNode.java | Class | Implementation of the PDF number tree. |
CDSRectangle.java | Class | The implementation of the pdf rectangle data type.
The specification of the data type is found in [PDF} chapter 3.8.3.
A rectangle is defined by
[llx, lly, urx, ury ]
where
llx = lower left x coordinate
lly = lower left y coordinate
urx = upper right x coordinate
ury = upper right y coordinate
urx
|
v
+-----+ <-ury
| |
lly -> +-----+
ˆ
|
llx
An application should be prepared to get any two diagonally opposite corners
in the rectangle specification. |
CDSTreeEntry.java | Class | Abstract superclass for implementing entry objects in PDF name and number
trees. |
CDSTreeNode.java | Class | Abstract superclass for implementing name and number trees. |