PDF Dictionary object creator

PDF Dictionary object creator

Public fields

dict

TODO Initialize a new PDF Dict

Methods

Public methods


Method new()

Usage

PDFDict$new(...)

Arguments

...

named objects to add to dictionary Update values in the dictionary.Each named named argument to this function is considered a name/value pair to include in the dictionary. Unnamed arguments are silently dropped


Method update()

Usage

PDFDict$update(...)

Arguments

...

named objects to updated in dictionary Character representation of this dict and all sub dictionaries it contains


Method as_character()

Usage

PDFDict$as_character(depth = 0)

Arguments

depth

depth of dictionary currently being printed. default = 0

Returns

single character string Print


Method print()

Usage

PDFDict$print(...)

Arguments

...

other arguments ignored Convert this dict into a full PDF object representationThis object representation isfor inclusion in a PDFDocument


Method as_object()

Usage

PDFDict$as_object(obj_idx)

Arguments

obj_idx

the object index to use within the document


Method copy()

Perform a proper deep copy of this object

Since PDFDict objects can contain other PDFDict objects in a list need to do a deep copy to properly clone see private/deep_clone()

Usage

PDFDict$copy()


Method clone()

The objects of this class are cloneable with this method.

Usage

PDFDict$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.