5#ifndef JAWSMAKO_PDFOBJECTS_H
6#define JAWSMAKO_PDFOBJECTS_H
71 virtual IPDFObjectPtr
clone()
const = 0;
110 %apply
double &OUTPUT {
double &number };
120 %clear
double &number;
124 %apply
float &OUTPUT {
float &number };
137 %apply int32_t &OUTPUT {
int32 &number };
141 %apply int32_t &OUTPUT {
int32 &number };
152 %clear
int32 &number;
171 #define obj2IPDFObject(obj) JawsMako::IPDFObjectPtr(dynamic_cast<JawsMako::IPDFObject *>((IRCObject *) (obj)), true)
175 template <
typename T>
178 if (!
object || object->getType() != type)
208 #define pdfObj2IPDFInteger(obj) JawsMako::pdfObj2Type<JawsMako::IPDFInteger>(obj, JawsMako::ePOTInteger)
209 #define obj2IPDFInteger(obj) JawsMako::IPDFIntegerPtr(dynamic_cast<JawsMako::IPDFInteger *>((IRCObject *) (obj)), true)
234 #define pdfObj2IPDFBoolean(obj) JawsMako::pdfObj2Type<JawsMako::IPDFBoolean>(obj, JawsMako::ePOTBoolean)
235 #define obj2IPDFBoolean(obj) JawsMako::IPDFBooleanPtr(dynamic_cast<JawsMako::IPDFBoolean *>((IRCObject *) (obj)), true)
261 #define pdfObj2IPDFReal(obj) JawsMako::pdfObj2Type<JawsMako::IPDFReal>(obj, JawsMako::ePOTReal)
262 #define obj2IPDFReal(obj) JawsMako::IPDFRealPtr(dynamic_cast<JawsMako::IPDFReal *>((IRCObject *) (obj)), true)
280 #define pdfObj2IPDFNull(obj) JawsMako::pdfObj2Type<JawsMako::IPDFNull>(obj, JawsMako::ePOTNull)
281 #define obj2IPDFNull(obj) JawsMako::IPDFNullPtr(dynamic_cast<JawsMako::IPDFNull *>((IRCObject *) (obj)), true)
320 static JAWSMAKO_API IPDFStringPtr
create(
const IInputStreamPtr &stream,
bool executable =
false,
bool pdf2 =
false,
int64 startOffset = 0);
341 #define pdfObj2IPDFString(obj) JawsMako::pdfObj2Type<JawsMako::IPDFString>(obj, JawsMako::ePOTString)
342 #define obj2IPDFString(obj) JawsMako::IPDFStringPtr(dynamic_cast<JawsMako::IPDFString *>((IRCObject *) (obj)), true)
384 #define pdfObj2IPDFName(obj) JawsMako::pdfObj2Type<JawsMako::IPDFName>(obj, JawsMako::ePOTName)
385 #define obj2IPDFName(obj) JawsMako::IPDFNamePtr(dynamic_cast<JawsMako::IPDFName *>((IRCObject *) (obj)), true)
408 m_objectNum = objectNum;
409 m_generation = generation;
433 return ((m_objectNum == other.m_objectNum) && (m_generation == other.m_generation));
437 if (m_objectNum < other.m_objectNum)
439 else if (m_objectNum > other.m_objectNum)
441 else if (m_generation < other.m_generation)
503 #define pdfObj2IPDFReference(obj) JawsMako::pdfObj2Type<IPDFReference>(obj, JawsMako::ePOTReference)
504 #define obj2IPDFReference(obj) JawsMako::IPDFReferencePtr(dynamic_cast<JawsMako::IPDFReference *>((IRCObject *) (obj)), true)
533 m_allocatorId = allocatorId;
534 m_objectNum = objectNum;
535 m_generation = generation;
541 return (m_docId == other.m_docId &&
542 m_allocatorId == other.m_allocatorId &&
543 m_objectNum == other.m_objectNum &&
544 m_generation == other.m_generation);
549 return !(other == *
this);
554 if (m_docId < other.m_docId)
556 else if (m_docId > other.m_docId)
558 else if (m_allocatorId < other.m_allocatorId)
560 else if (m_allocatorId > other.m_allocatorId)
562 else if (m_objectNum < other.m_objectNum)
564 else if (m_objectNum > other.m_objectNum)
566 else if (m_generation < other.m_generation)
589 return m_allocatorId;
641 #define pdfObj2IPDFFarReference(obj) pdfObj2Type<JawsMako::IPDFFarReference>(obj, JawsMako::ePOTFarReference)
642 #define obj2IPDFFarReference(obj) JawsMako::IPDFFarReferencePtr(dynamic_cast<JawsMako::IPDFFarReference *>((IRCObject *) (obj)), true)
679 %apply
double [] {
const double *numbers };
682 %apply
double INPUT[] {
const double *numbers };
693 %clear
const double *numbers;
733 virtual void put(
uint32 index,
const IPDFObjectPtr &value) = 0;
756 virtual void append(
const IPDFObjectPtr &value) = 0;
766 virtual void copy(
uint32 destIndex,
const IPDFArrayPtr &sourceArray,
uint32 sourceIndex) = 0;
798 #define pdfObj2IPDFArray(obj) JawsMako::pdfObj2Type<JawsMako::IPDFArray>(obj, JawsMako::ePOTArray)
799 #define obj2IPDFArray(obj) JawsMako::IPDFArrayPtr(dynamic_cast<JawsMako::IPDFArray *>((IRCObject *) (obj)), true)
853 virtual IPDFObjectPtr
get(
const char *key)
const = 0;
867 virtual IPDFObjectPtr
get(
const IPDFNamePtr &key)
const = 0;
874 virtual void put(
const char *key,
const IPDFObjectPtr &value) = 0;
881 virtual void put(
const RawString &key,
const IPDFObjectPtr &value) = 0;
888 virtual void put(
const IPDFNamePtr &key,
const IPDFObjectPtr &value) = 0;
915 virtual void copy(
const IPDFDictionaryPtr &sourceDict,
uint32 sourceIndex) = 0;
929 virtual void putReal(
const IPDFNamePtr &key,
double real) = 0;
953 m_limit = dict->getSize();
958 if (m_limit > 0 && dict->getKeyAtIndex(0) == NULL)
1001 return (m_index == other.m_index &&
1002 m_dict == other.m_dict);
1006 return (m_index != other.m_index ||
1007 m_dict != other.m_dict);
1033 if (m_index == m_limit)
1037 IPDFNamePtr key = m_dict->getKeyAtIndex(m_index);
1055 if (m_index == m_limit)
1059 return m_dict->getValueAtIndex(m_index);
1072 if (m_index == m_limit)
1076 return m_dict->getValueTypeAtIndex(m_index);
1081 m_dict = other.m_dict;
1082 m_index = other.m_index;
1083 m_limit = other.m_limit;
1087 if (m_index == m_limit)
1095 while (m_index < m_limit && m_dict->
getKeyAtIndex(m_index) == NULL);
1100 IPDFDictionaryPtr m_dict;
1117 static IPDFDictionaryPtr pdfObj2IPDFDictionary(
const IPDFObjectPtr &
object)
1121 return IPDFDictionaryPtr();
1123 return IPDFDictionaryPtr(
static_cast<IPDFDictionary *
>((IPDFObject *)
object),
true);
1125 #define obj2IPDFDictionary(obj) JawsMako::IPDFDictionaryPtr(dynamic_cast<JawsMako::IPDFDictionary *>((IRCObject *) (obj)), true)
1161 #define pdfObj2IPDFStream(obj) JawsMako::pdfObj2Type<JawsMako::IPDFStream>(obj, JawsMako::ePOTStream)
1162 #define obj2IPDFStream(obj) JawsMako::IPDFStreamPtr(dynamic_cast<JawsMako::IPDFStream *>((IRCObject *) (obj)), true)
1190 #define pdfObj2IPDFOperator(obj) JawsMako::pdfObj2Type<JawsMako::IPDFOperator>(obj, JawsMako::ePOTOperator)
1191 #define obj2IPDFOperator(obj) JawsMako::IPDFOperatorPtr(dynamic_cast<JawsMako::IPDFOperator *>((IRCObject *) (obj)), true)
1210 virtual IPDFObjectStorePtr
clone()
const = 0;
1242 virtual IPDFObjectPtr
resolve(
const IPDFObjectPtr &
object)
const = 0;
1282 virtual void store(
const IPDFObjectPtr &
object,
const IPDFReferencePtr &reference,
bool markDirty =
true) = 0;
1293 store(
object, reference,
true);
EDL Factory Interface allows one part of the EDL infrastructure to register class creation methods id...
Definition iedlfactory.h:31
Base class Interface for all Reference Counted objects.
Definition ircobject.h:35
A simple concrete class representing indirect reference data stored in a remote context,...
Definition pdfobjects.h:513
int32 getGeneration() const
Obtain the generation number of this reference data.
Definition pdfobjects.h:605
CPDFFarReference(DOMid docId, DOMid allocatorId, int32 objectNum, int32 generation)
Construct the reference data from remote document, allocator, object number and generator.
Definition pdfobjects.h:530
CPDFFarReference()
Definition pdfobjects.h:515
DOMid getAllocatorId() const
Obtain the id of the entity that allocated the object. If the same as the document id,...
Definition pdfobjects.h:587
int32 getObjectNum() const
Obtain the object number of this reference data.
Definition pdfobjects.h:596
bool operator!=(const CPDFFarReference &other) const
Definition pdfobjects.h:547
DOMid getDocumentId() const
Obtain the source document ID for this document.
Definition pdfobjects.h:576
bool operator<(const CPDFFarReference &other) const
Definition pdfobjects.h:552
bool operator==(const CPDFFarReference &other) const
Definition pdfobjects.h:539
A simple concrete class representing indirect reference data.
Definition pdfobjects.h:394
int32 getObjectNum() const
Obtain the object number of this reference data.
Definition pdfobjects.h:416
CPDFReference(int32 objectNum, int32 generation)
Construct the reference data from an object number and generation.
Definition pdfobjects.h:406
bool operator==(const CPDFReference &other) const
Definition pdfobjects.h:431
int32 getGeneration() const
Obtain the generation number of this reference data.
Definition pdfobjects.h:425
bool operator<(const CPDFReference &other) const
Definition pdfobjects.h:435
CPDFReference()
Definition pdfobjects.h:396
Simple interface to provide a consistent hashing method for Mako objects.
Definition hashable.h:25
A simple class representing a mutable array of other PDF objects.
Definition pdfobjects.h:650
static JAWSMAKO_API IPDFArrayPtr create(const CPDFObjectVect &objects, bool executable=false)
Create a new PDF array from a vector of IPDFObjects.
virtual bool containsCompositeObject(const IPDFObjectPtr &object) const =0
Recursively check to see if the array contains the given composite object (That is,...
virtual void insert(uint32 index, const IPDFObjectPtr &value)=0
Insert the given object in the array at the given index, moving the following objects forward to make...
static JAWSMAKO_API IPDFArrayPtr createFromFBox(const FBox &box)
Create from an FBox.
static JAWSMAKO_API IPDFArrayPtr createFromNumbersArray(const double *numbers, uint32 numNumbers)
Create from an array of numbers.
virtual bool getNumbers(CDoubleVect &numbers)=0
If the array consists entirely of numbers, retrieve those numbers.
virtual ePDFObjectType getTypeAtIndex(uint32 index) const =0
Get the type of the object stored at the given index. An exception will be thrown if the index is out...
virtual void append(const IPDFObjectPtr &value)=0
Convenience member to append an object to the end of the array.
virtual void put(uint32 index, const IPDFObjectPtr &value)=0
Store the given object in the array at the given index, replacing the currently stored object....
virtual ~IPDFArray()
Definition pdfobjects.h:652
virtual int32 getInteger(uint32 index) const =0
Convenience member to obtain an integer from the array at the given index. An exception will be throw...
virtual uint32 getSize() const =0
Get the current size of the array.
static JAWSMAKO_API IPDFArrayPtr create(uint32 size=0, bool executable=false)
Create a new PDF array of the given initial size.
virtual void copy(uint32 destIndex, const IPDFArrayPtr &sourceArray, uint32 sourceIndex)=0
Copy (but not clone) an entry from another array into an existing posision in this array,...
virtual bool getBox(FBox &box)=0
If the array consists of four numbers, retrieve those numbers as a box (left, bottom,...
static JAWSMAKO_API IPDFArrayPtr createFromNumbers(const CDoubleVect &numbers)
Create from a vector of numbers.
virtual IPDFObjectPtr get(uint32 index) const =0
Get the object stored at the given index. An exception will be thrown if the index is out of range.
virtual void remove(uint32 index)=0
Remove the object at the given index from the array, decreasing the size of the array by 1....
A simple immutable boolean PDF object type.
Definition pdfobjects.h:217
virtual bool getValue() const =0
Get the value of the boolean.
virtual ~IPDFBoolean()
Definition pdfobjects.h:219
static JAWSMAKO_API IPDFBooleanPtr create(bool boolean)
Create a boolean object.
Definition pdfobjects.h:944
uint32 getIndex() const
Get the index within the dictionary of the current iterator position.
Definition pdfobjects.h:1014
Iterator operator++(int)
Definition pdfobjects.h:993
Iterator()
Definition pdfobjects.h:975
Iterator(const IPDFDictionaryPtr &dict, bool begin)
Definition pdfobjects.h:946
IPDFObjectPtr getValue() const
Get the value within the dictionary at the current iterator position.
Definition pdfobjects.h:1049
Iterator & operator++()
Definition pdfobjects.h:988
ePDFObjectType getValueType() const
Get the type of the value within the dictionary at the current iterator position.
Definition pdfobjects.h:1066
const Iterator & operator=(const Iterator &other)
Definition pdfobjects.h:982
Iterator(const Iterator &other)
Definition pdfobjects.h:970
IPDFNamePtr getKey() const
Get the key within the dictionary at the current iterator position.
Definition pdfobjects.h:1027
bool operator!=(const Iterator &other) const
Definition pdfobjects.h:1004
bool operator==(const Iterator &other) const
Definition pdfobjects.h:999
A simple class representing a mutable dictionary of key-value pairs where the keys are PDF names and ...
Definition pdfobjects.h:808
static JAWSMAKO_API IPDFDictionaryPtr create(IEDLClassFactory *pFactory, uint32 size=0)
Create a new PDF dictionary of the given initial capacity.
virtual void undefine(const char *key)=0
Remove the object stored under the given key, if it exists.
virtual ~IPDFDictionary()
Definition pdfobjects.h:810
virtual void undefine(const IPDFNamePtr &key)=0
Remove the object stored under the given key, if it exists.
virtual Iterator begin()=0
Create an iterator to iterate through all the key-value pairs in the dictionary, beginning at the fir...
virtual Iterator end()=0
Obtain an iterator representing the end of the dictionary.
virtual IPDFObjectPtr get(const IPDFNamePtr &key) const =0
Get the object stored in the dictionary with the given DF name as key.
virtual IPDFObjectPtr get(const char *key) const =0
Get the object stored in the dictionary with the given null-terminated string as key.
virtual IPDFObjectPtr get(const RawString &key) const =0
Get the object stored in the dictionary with the given raw string as key.
virtual uint32 getSize() const =0
Get the current size of the dictionary, including currently empty entries.
virtual void undefine(const RawString &key)=0
Remove the object stored under the given key, if it exists.
virtual void putReal(const IPDFNamePtr &key, double real)=0
Convenience member to add a real to a dictionary.
virtual void putInteger(const IPDFNamePtr &key, int32 integer)=0
Convenience member to add an Integer to a dictionary.
virtual void put(const IPDFNamePtr &key, const IPDFObjectPtr &value)=0
Store an object in the dictionary under the given key.
virtual IPDFObjectPtr getValueAtIndex(uint32 index) const =0
Get the value stored in the dictionary entry at the given index.
virtual ePDFObjectType getValueTypeAtIndex(uint32 index) const =0
Get the type of the value stored in the dictionary entry at the given index. An exception is thrown i...
virtual void put(const char *key, const IPDFObjectPtr &value)=0
Store an object in the dictionary under the given key.
virtual bool containsCompositeObject(const IPDFObjectPtr &object) const =0
Recursively check to see if the dictionary contains the given composite object (That is,...
virtual void put(const RawString &key, const IPDFObjectPtr &value)=0
Store an object in the dictionary under the given key.
virtual IPDFNamePtr getKeyAtIndex(uint32 index) const =0
Get the key of the dictionary entry at the given index.
virtual void copy(const IPDFDictionaryPtr &sourceDict, uint32 sourceIndex)=0
Copy (but not clone) an entry from another dictionary into this dictionary, replacing any currently s...
A simple class representing an immutable PDF indirect reference from a remote context such as (for ex...
Definition pdfobjects.h:624
virtual ~IPDFFarReference()
Definition pdfobjects.h:626
virtual const CPDFFarReference & getValue() const =0
Obtain the CPDFFarReference data for this reference.
static JAWSMAKO_API IPDFFarReferencePtr create(const CPDFFarReference &reference)
Create a remote indirect reference object from CPDFFarReference data.
A simple immutable integer PDF object type.
Definition pdfobjects.h:191
virtual int32 getValue() const =0
Get the value of the integer.
virtual ~IPDFInteger()
Definition pdfobjects.h:193
static JAWSMAKO_API IPDFIntegerPtr create(int32 integer)
Create an integer object.
Definition pdfobjects.h:350
virtual const RawString & getValue() const =0
Get the raw string value of the name.
static JAWSMAKO_API IPDFNamePtr create(IEDLClassFactory *pFactory, const RawString &name)
Create a name object from the given raw string. An attempt will be made to reuse an existing name obj...
static JAWSMAKO_API IPDFNamePtr create(const RawString &name, bool executable=false)
Create a new name object from the given raw string.
virtual bool isValidUtf8() const =0
Determine if the string representing the name will validate as UTF-8.
virtual ~IPDFName()
Definition pdfobjects.h:352
A simple immutable "null" pdf object.
Definition pdfobjects.h:270
virtual ~IPDFNull()
Definition pdfobjects.h:272
static JAWSMAKO_API IPDFNullPtr create()
Create a "null" object.
Abstract interface for a PDF internal object and common interfaces. All non-composite objects are imm...
Definition pdfobjects.h:56
virtual bool containsReferences() const =0
Get whether the object contains indirect references to other objects (that is, does the object or any...
virtual ePDFObjectType getType() const =0
Get the type of this PDF object.
virtual bool getNumber(int32 &number) const =0
If the object is an integer (a integral real or integer) within the range of a 32-bit integer,...
virtual IPDFObjectPtr clone() const =0
Create a clone of this PDF object if appropriate. Note that simple immutable objects are not actually...
virtual void emitPostScriptCode(const IOutputStreamPtr &dest) const =0
Convert the object to PostScript code and write to the given stream. Only allowed for objects that ar...
virtual IPDFObjectPtr deepClone() const =0
Create a deep clone of this PDF object if appropriate. Note that simple immutable objects are not act...
virtual bool getIsExecutable() const =0
Get whether the object is considered executable, such as an executable name, array,...
static JAWSMAKO_API IPDFObjectPtr createNumber(double number)
If the given number is an integer, create an IPDFInteger, otherwise create an IPDFReal.
virtual bool getString(RawString &string) const =0
If the object is a string or a name, retrieve the raw string data.
virtual bool getNumber(float &number) const =0
If the object is a number (a real or integer) within the range of a 32-bit float, obtain that number....
virtual bool getNumber(double &number) const =0
If the object is a number (a real or integer) obtain that number.
A store of IPDFObjects holding a subset/subtree of an entire PDF object database, allowing storage,...
Definition pdfobjects.h:1202
virtual IPDFFarReferencePtr getFarReferenceForReference(const IPDFReferencePtr &reference) const =0
For a given resource present in this store, produce a far reference that can be used to point to it f...
virtual bool hasReferencedObject(const IPDFObjectPtr &reference) const =0
Is the object referred to by the given IPDFReference or IPDFFarReference present in this store?
virtual IPDFObjectPtr getRootObject() const =0
Get the root object from the store.
virtual IPDFFarReferencePtr getRootObjectReference() const =0
Get the far reference for the root object in this store.
virtual void store(const IPDFObjectPtr &object, const IPDFReferencePtr &reference, bool markDirty=true)=0
Store an object in the store under the given reference.
virtual IPDFObjectPtr resolve(const IPDFObjectPtr &object) const =0
Resolve the given object, if an IPDFReference or IPDFFarReference to the object it points to....
virtual IPDFObjectStorePtr clone() const =0
Return a clone of this object store.
virtual void resolveArray(IPDFArrayPtr &array) const =0
For the given array, if there are any indirect objects in the top level of the array,...
virtual IPDFReferencePtr newReference()=0
Allocate a new indirect reference to use for a stored object.
virtual void dirtyObject(const IPDFObjectPtr &object)=0
Mark the given object as dirty so that PDF output will know that it has changed. Only mutable objects...
virtual ~IPDFObjectStore()
Definition pdfobjects.h:1204
virtual void dirtyRootObject()=0
Convenience to mark the root object as dirty. See dirtyObject().
virtual IPDFReferencePtr storeUsingNewReference(const IPDFObjectPtr &object)
Store an object and return a new indirect reference to that object. A convenience that performs newRe...
Definition pdfobjects.h:1290
Definition pdfobjects.h:1171
virtual U8String getValue() const =0
Get the operator name as a string.
static JAWSMAKO_API IPDFOperatorPtr create(uint32 operatorId)
static JAWSMAKO_API IPDFOperatorPtr create(const U8String &operatorName)
virtual uint32 getOperatorId() const =0
Get the (internal) operator integral Id.
virtual ~IPDFOperator()
Definition pdfobjects.h:1173
A simple immutable floating-point PDF object type.
Definition pdfobjects.h:244
virtual double getValue() const =0
Get the value of the real.
virtual ~IPDFReal()
Definition pdfobjects.h:246
static JAWSMAKO_API IPDFRealPtr create(double real)
Create a real object.
A simple class representing an immutable PDF indirect reference.
Definition pdfobjects.h:457
static JAWSMAKO_API IPDFReferencePtr create(const CPDFReference &reference)
Create an indirect reference object from CPDFReference data.
int32 getObjectNum() const
Obtain the object number for this reference.
Definition pdfobjects.h:489
int32 getGeneration() const
Obtain the geneartion number for this reference.
Definition pdfobjects.h:498
static JAWSMAKO_API IPDFReferencePtr create(int32 objectNum, int32 generation)
Create an indirect reference object from an object number and generation.
Definition pdfobjects.h:474
virtual const CPDFReference & getValue() const =0
Obtain the CPDFReference data for this reference.
virtual ~IPDFReference()
Definition pdfobjects.h:459
Definition pdfobjects.h:1134
virtual IInputStreamPtr getRawStream() const =0
Get a clone of the attached stream.
static JAWSMAKO_API IPDFStreamPtr create(IEDLClassFactory *pFactory, const IInputStreamPtr &stream, uint32 size=0)
Create a new PDF stream of the given initial capacity.
virtual ~IPDFStream()
Definition pdfobjects.h:1136
virtual IRAInputStreamPtr getStream() const =0
Get a clone of the attached stream. If the stream is not random access, a new stream will be created ...
A simple immutable string pdf object containing raw unencoded data or PDF Text information.
Definition pdfobjects.h:290
static JAWSMAKO_API IPDFStringPtr create(const IInputStreamPtr &stream, bool executable=false, bool pdf2=false, int64 startOffset=0)
Create a raw string object using the contents of a string.
static JAWSMAKO_API IPDFStringPtr createText(const U8String &string, bool executable=false, bool pdf2=false)
Create a string object in PDF encoding from a UTF-8 string.
virtual bool isUtf8Encoded()=0
Determine if the string is UTF-8 encoded. Will only be true for strings from PDF 2....
static JAWSMAKO_API IPDFStringPtr create(const RawString &string, bool executable=false, bool pdf2=false)
Create a string object from a raw unencoded string.
virtual U8String getTextValue() const =0
Get the UTF-8 value of this PDF Text-encoded string.
virtual ~IPDFString()
Definition pdfobjects.h:292
virtual const RawString & getValue() const =0
Get the raw value of the string.
EDL_API void throwEDLError(uint32 errorcode)
Utility - Throw an IEDLError exception with the given error code.
BoxTmpl< double > FBox
Definition edlgeom.h:441
unsigned int uint32
Definition edltypes.h:34
signed int int32
Definition edltypes.h:29
signed long long int64
Definition edltypes.h:30
@ EDL_ERR_UNDEFINED
Undefined error.
Definition edlerrors.h:28
@ JM_ERR_RANGE_ERROR
An attempt was made to request or add an item from the API with an out-of-bounds index.
Definition edlerrors.h:54
@ EDL_ERR_BAD_ARGUMENTS
General error for bad arguments passed to an API function.
Definition edlerrors.h:42
EDL::uint64 DOMid
Type used to uniquely idenitify a DOM node.
Definition idomid.h:17
ePDFObjectType
An enumeration of PDF object types.
Definition pdfobjects.h:33
@ ePOTInteger
A PDF Integer object.
Definition pdfobjects.h:34
@ ePOTReference
An indirect reference to a local PDF object stored in the same context.
Definition pdfobjects.h:42
@ ePOTBoolean
A PDF Boolean object.
Definition pdfobjects.h:35
@ ePOTString
A PDF String object.
Definition pdfobjects.h:37
@ ePOTOperator
A PDF/PostScript Operator object.
Definition pdfobjects.h:45
@ ePOTName
A PDF Name object.
Definition pdfobjects.h:38
@ ePOTReal
A PDF Real Object.
Definition pdfobjects.h:36
@ ePOTFarReference
An indirect reference to a non-local PDF object.
Definition pdfobjects.h:43
@ ePOTNull
A PDF NULL object.
Definition pdfobjects.h:41
@ ePOTArray
A PDF Array object.
Definition pdfobjects.h:39
@ ePOTDictionary
A PDF Dictionary object.
Definition pdfobjects.h:40
@ ePOTStream
A PDF Stream object.
Definition pdfobjects.h:44
EDLSysString U8String
A UTF-8 String.
Definition types.h:144
EDLSysString RawString
A raw, 8 bit string. Encoding depends on context.
Definition types.h:150
An abstract interface for an object that can be hashed.
const DOMid INVALID_DOM_ID
Definition idomid.h:19
Definition apexcustompostprocess.h:17
CEDLVector< double > CDoubleVect
Definition types.h:186
CEDLVector< IPDFObjectPtr > CPDFObjectVect
Definition types.h:95
CSmartPtr< T > pdfObj2Type(const IPDFObjectPtr &object, ePDFObjectType type)
Definition pdfobjects.h:176
#define CSmartPtr
Definition smartptr.h:215
#define JAWSMAKO_API
Definition types.h:29