public class DictObject extends Dict
Constructor and Description |
---|
DictObject(com.pd4ml.pdf.parser.Objects xref) |
Modifier and Type | Method and Description |
---|---|
int |
addAll(DictObject source,
boolean override) |
void |
addEntry(String key,
Obj value) |
void |
assignXref(com.pd4ml.pdf.parser.Objects xRef) |
boolean |
equals(Object o) |
PdfObject |
get(String key) |
PdfObject |
get(String key1,
String key2) |
PdfObject |
get(String key1,
String key2,
String key3) |
int |
getInt(String key) |
PdfObject |
getObject(String key) |
List<PdfObject> |
getPageObjects() |
int |
getType() |
boolean |
has(String key) |
boolean |
isEmpty() |
void |
remove(String key) |
void |
set(String key,
Obj value) |
void |
setToBeWritten() |
String |
toString() |
void |
touch(HashMap<Id,Ref> duplicates) |
Collection<Obj> |
values() |
void |
write(com.pd4ml.pdf.parser.CountingStream out,
com.pd4ml.pdf.parser.PdfDoc doc,
HashMap<Integer,Long> objects,
com.pd4ml.pdf.parser.Crypto.CipherTransform cipher) |
getDict, hasStream, reassignParents, setStream
resolveReferences, storeOffset
public int addAll(DictObject source, boolean override)
public Collection<Obj> values()
public void assignXref(com.pd4ml.pdf.parser.Objects xRef)
assignXref
in class Dict
public void touch(HashMap<Id,Ref> duplicates) throws IOException
touch
in class Dict
IOException
public void setToBeWritten() throws IOException
setToBeWritten
in class Dict
IOException
public void write(com.pd4ml.pdf.parser.CountingStream out, com.pd4ml.pdf.parser.PdfDoc doc, HashMap<Integer,Long> objects, com.pd4ml.pdf.parser.Crypto.CipherTransform cipher) throws IOException
write
in class Dict
IOException
public List<PdfObject> getPageObjects() throws com.pd4ml.pdf.parser.InvalidPdfFileFormatException
getPageObjects
in class Dict
com.pd4ml.pdf.parser.InvalidPdfFileFormatException
public boolean isEmpty()
public int getType()
Revision 4.0.15 / 20220727-0149