org.apache.fop.pdf
Class PDFResources
org.apache.fop.pdf.PDFObject
|
+--org.apache.fop.pdf.PDFResources
- public class PDFResources
- extends PDFObject
class representing a /Resources object.
/Resources object contain a list of references to the fonts for the
document
Constructor Summary |
PDFResources(int number) create a /Resources object. |
PDFResources
public PDFResources(int number)
- create a /Resources object.
- Parameters:
- number - the object's number
addFont
public void addFont(PDFFont font)
- add font object to resources list.
- Parameters:
- font - the PDFFont to add
addPattern
public void addPattern(PDFPattern thePattern)
addShading
public void addShading(PDFShading theShading)
setXObjects
public void setXObjects(Vector xObjects)
toPDF
public byte[] toPDF()
- represent the object in PDF
- Returns: the PDF
to Class java.util.Hashtable- /Font objects keyed by their internal name
to Class java.util.Vector
to Class java.util.Vector
to Class java.util.Vector