public class PdfArray extends PdfObject
_genNumber, _objNumber
Constructor and Description |
---|
PdfArray()
Creates a PdfArray object with empty contents.
|
PdfArray(int objNumber,
int genNumber)
Creates a PdfArray object.
|
Modifier and Type | Method and Description |
---|---|
void |
add(PdfObject obj)
Adds an object to the array.
|
Vector<PdfObject> |
getContent()
Return the contents of the array as a Vector.
|
boolean |
isPdfACompliant()
Report if it's within implementation limits defined for PDF/A.
|
String |
toPipeline()
Concatenate the elements, if they are PdfSimpleObjects,
into a string separated by spaces.
|
double[] |
toRectangle()
Attempts to convert this Array to a PDF rectangle.
|
getGenNumber, getObjNumber, setGenNumber, setObjNumber
public PdfArray(int objNumber, int genNumber)
objNumber
- The PDF object numbergenNumber
- The PDF generation numberpublic PdfArray()
public void add(PdfObject obj)
public boolean isPdfACompliant()
public String toPipeline()
public double[] toRectangle()
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.