Constructor and Description |
---|
Array(com.pd4ml.pdf.parser.Objects xref) |
Modifier and Type | Method and Description |
---|---|
void |
add(int pos,
Obj element) |
void |
add(Obj element) |
void |
addAll(Array array) |
void |
addAllNames(Array other,
String prefix) |
void |
addPages(Ref otherDocPagesRef,
Ref mainPagesParentRef,
com.pd4ml.pdf.parser.PdfDoc otherDocument,
boolean append) |
boolean |
contains(Obj obj) |
boolean |
equals(Object o) |
void |
flattenNames(com.pd4ml.pdf.parser.PdfDoc doc,
Array namesM,
String prefix) |
Obj |
get(int index) |
Obj |
getFollowing(Obj obj) |
Obj |
getLast() |
int |
getType() |
int |
indexOf(Obj obj) |
boolean |
isEmpty() |
void |
remove(int index) |
void |
set(int index,
Obj o) |
void |
setToBeWritten(ArrayList referencedObjects) |
int |
size() |
PdfObject[] |
toArray() |
String |
toString() |
void |
touch(HashMap duplicates) |
void |
write(com.pd4ml.pdf.parser.CountingStream out,
com.pd4ml.pdf.parser.PdfDoc doc,
HashMap objects,
com.pd4ml.pdf.parser.Crypto.CipherTransform cipher) |
resolveReferences, setToBeWritten, storeOffset
public final List elements
public void add(Obj element)
public void add(int pos, Obj element)
public void addAll(Array array)
public boolean isEmpty()
public boolean contains(Obj obj)
public void addPages(Ref otherDocPagesRef, Ref mainPagesParentRef, com.pd4ml.pdf.parser.PdfDoc otherDocument, boolean append)
public Obj get(int index)
public Obj getLast()
public void set(int index, Obj o)
public void remove(int index)
public int indexOf(Obj obj)
public PdfObject[] toArray()
public int size()
public void touch(HashMap duplicates) throws IOException
touch
in class PdfObject
IOException
public void setToBeWritten(ArrayList referencedObjects) throws IOException
IOException
public void write(com.pd4ml.pdf.parser.CountingStream out, com.pd4ml.pdf.parser.PdfDoc doc, HashMap objects, com.pd4ml.pdf.parser.Crypto.CipherTransform cipher) throws IOException
write
in class PdfObject
IOException
public int getType()
public void flattenNames(com.pd4ml.pdf.parser.PdfDoc doc, Array namesM, String prefix) throws com.pd4ml.pdf.parser.InvalidPdfFileFormatException
com.pd4ml.pdf.parser.InvalidPdfFileFormatException
Revision 4.0.15 / 20220727-0149