5#ifndef JAWSMAKO_PDFOBJECTS_H
6#define JAWSMAKO_PDFOBJECTS_H
72 virtual IPDFObjectPtr
clone()
const = 0;
111 %apply
double &OUTPUT {
double &number };
121 %clear
double &number;
125 %apply
float &OUTPUT {
float &number };
138 %apply int32_t &OUTPUT {
int32 &number };
142 %apply int32_t &OUTPUT {
int32 &number };
153 %clear
int32 &number;
172 #define obj2IPDFObject(obj) JawsMako::IPDFObjectPtr(dynamic_cast<JawsMako::IPDFObject *>((IRCObject *) (obj)), true)
176 template <
typename T>
179 if (!
object || object->getType() != type)
209 #define pdfObj2IPDFInteger(obj) JawsMako::pdfObj2Type<JawsMako::IPDFInteger>(obj, JawsMako::ePOTInteger)
210 #define obj2IPDFInteger(obj) JawsMako::IPDFIntegerPtr(dynamic_cast<JawsMako::IPDFInteger *>((IRCObject *) (obj)), true)
235 #define pdfObj2IPDFBoolean(obj) JawsMako::pdfObj2Type<JawsMako::IPDFBoolean>(obj, JawsMako::ePOTBoolean)
236 #define obj2IPDFBoolean(obj) JawsMako::IPDFBooleanPtr(dynamic_cast<JawsMako::IPDFBoolean *>((IRCObject *) (obj)), true)
262 #define pdfObj2IPDFReal(obj) JawsMako::pdfObj2Type<JawsMako::IPDFReal>(obj, JawsMako::ePOTReal)
263 #define obj2IPDFReal(obj) JawsMako::IPDFRealPtr(dynamic_cast<JawsMako::IPDFReal *>((IRCObject *) (obj)), true)
281 #define pdfObj2IPDFNull(obj) JawsMako::pdfObj2Type<JawsMako::IPDFNull>(obj, JawsMako::ePOTNull)
282 #define obj2IPDFNull(obj) JawsMako::IPDFNullPtr(dynamic_cast<JawsMako::IPDFNull *>((IRCObject *) (obj)), true)
321 static JAWSMAKO_API IPDFStringPtr
create(
const IInputStreamPtr &stream,
bool executable =
false,
bool pdf2 =
false,
int64 startOffset = 0);
342 #define pdfObj2IPDFString(obj) JawsMako::pdfObj2Type<JawsMako::IPDFString>(obj, JawsMako::ePOTString)
343 #define obj2IPDFString(obj) JawsMako::IPDFStringPtr(dynamic_cast<JawsMako::IPDFString *>((IRCObject *) (obj)), true)
385 #define pdfObj2IPDFName(obj) JawsMako::pdfObj2Type<JawsMako::IPDFName>(obj, JawsMako::ePOTName)
386 #define obj2IPDFName(obj) JawsMako::IPDFNamePtr(dynamic_cast<JawsMako::IPDFName *>((IRCObject *) (obj)), true)
409 m_objectNum = objectNum;
410 m_generation = generation;
434 return ((m_objectNum == other.m_objectNum) && (m_generation == other.m_generation));
438 if (m_objectNum < other.m_objectNum)
440 else if (m_objectNum > other.m_objectNum)
442 else if (m_generation < other.m_generation)
504 #define pdfObj2IPDFReference(obj) JawsMako::pdfObj2Type<IPDFReference>(obj, JawsMako::ePOTReference)
505 #define obj2IPDFReference(obj) JawsMako::IPDFReferencePtr(dynamic_cast<JawsMako::IPDFReference *>((IRCObject *) (obj)), true)
534 m_allocatorId = allocatorId;
535 m_objectNum = objectNum;
536 m_generation = generation;
542 return (m_docId == other.m_docId &&
543 m_allocatorId == other.m_allocatorId &&
544 m_objectNum == other.m_objectNum &&
545 m_generation == other.m_generation);
550 return !(other == *
this);
555 if (m_docId < other.m_docId)
557 else if (m_docId > other.m_docId)
559 else if (m_allocatorId < other.m_allocatorId)
561 else if (m_allocatorId > other.m_allocatorId)
563 else if (m_objectNum < other.m_objectNum)
565 else if (m_objectNum > other.m_objectNum)
567 else if (m_generation < other.m_generation)
590 return m_allocatorId;
642 #define pdfObj2IPDFFarReference(obj) pdfObj2Type<JawsMako::IPDFFarReference>(obj, JawsMako::ePOTFarReference)
643 #define obj2IPDFFarReference(obj) JawsMako::IPDFFarReferencePtr(dynamic_cast<JawsMako::IPDFFarReference *>((IRCObject *) (obj)), true)
687 %apply
double [] {
const double *numbers };
690 %apply
double INPUT[] {
const double *numbers };
701 %clear
const double *numbers;
749 virtual void put(
uint32 index,
const IPDFObjectPtr &value) = 0;
772 virtual void append(
const IPDFObjectPtr &value) = 0;
782 virtual void copy(
uint32 destIndex,
const IPDFArrayPtr &sourceArray,
uint32 sourceIndex) = 0;
814 #define pdfObj2IPDFArray(obj) JawsMako::pdfObj2Type<JawsMako::IPDFArray>(obj, JawsMako::ePOTArray)
815 #define obj2IPDFArray(obj) JawsMako::IPDFArrayPtr(dynamic_cast<JawsMako::IPDFArray *>((IRCObject *) (obj)), true)
869 virtual IPDFObjectPtr
get(
const char *key)
const = 0;
883 virtual IPDFObjectPtr
get(
const IPDFNamePtr &key)
const = 0;
890 virtual void put(
const char *key,
const IPDFObjectPtr &value) = 0;
897 virtual void put(
const RawString &key,
const IPDFObjectPtr &value) = 0;
904 virtual void put(
const IPDFNamePtr &key,
const IPDFObjectPtr &value) = 0;
931 virtual void copy(
const IPDFDictionaryPtr &sourceDict,
uint32 sourceIndex) = 0;
952 virtual void putReal(
const IPDFNamePtr &key,
double real) = 0;
983 m_limit = dict->getSize();
988 if (m_limit > 0 && dict->getKeyAtIndex(0) == NULL)
1031 return (m_index == other.m_index &&
1032 m_dict == other.m_dict);
1036 return (m_index != other.m_index ||
1037 m_dict != other.m_dict);
1063 if (m_index == m_limit)
1067 IPDFNamePtr key = m_dict->getKeyAtIndex(m_index);
1085 if (m_index == m_limit)
1089 return m_dict->getValueAtIndex(m_index);
1102 if (m_index == m_limit)
1106 return m_dict->getValueTypeAtIndex(m_index);
1111 m_dict = other.m_dict;
1112 m_index = other.m_index;
1113 m_limit = other.m_limit;
1117 if (m_index == m_limit)
1125 while (m_index < m_limit && m_dict->
getKeyAtIndex(m_index) == NULL);
1130 IPDFDictionaryPtr m_dict;
1147 static IPDFDictionaryPtr pdfObj2IPDFDictionary(
const IPDFObjectPtr &
object)
1151 return IPDFDictionaryPtr();
1153 return IPDFDictionaryPtr(
static_cast<IPDFDictionary *
>((IPDFObject *)
object),
true);
1155 #define obj2IPDFDictionary(obj) JawsMako::IPDFDictionaryPtr(dynamic_cast<JawsMako::IPDFDictionary *>((IRCObject *) (obj)), true)
1191 #define pdfObj2IPDFStream(obj) JawsMako::pdfObj2Type<JawsMako::IPDFStream>(obj, JawsMako::ePOTStream)
1192 #define obj2IPDFStream(obj) JawsMako::IPDFStreamPtr(dynamic_cast<JawsMako::IPDFStream *>((IRCObject *) (obj)), true)
1220 #define pdfObj2IPDFOperator(obj) JawsMako::pdfObj2Type<JawsMako::IPDFOperator>(obj, JawsMako::ePOTOperator)
1221 #define obj2IPDFOperator(obj) JawsMako::IPDFOperatorPtr(dynamic_cast<JawsMako::IPDFOperator *>((IRCObject *) (obj)), true)
1240 virtual IPDFObjectStorePtr
clone()
const = 0;
1272 virtual IPDFObjectPtr
resolve(
const IPDFObjectPtr &
object)
const = 0;
1312 virtual void store(
const IPDFObjectPtr &
object,
const IPDFReferencePtr &reference,
bool markDirty =
true) = 0;
1323 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:514
int32 getGeneration() const
Obtain the generation number of this reference data.
Definition pdfobjects.h:606
CPDFFarReference(DOMid docId, DOMid allocatorId, int32 objectNum, int32 generation)
Construct the reference data from remote document, allocator, object number and generator.
Definition pdfobjects.h:531
CPDFFarReference()
Definition pdfobjects.h:516
DOMid getAllocatorId() const
Obtain the id of the entity that allocated the object. If the same as the document id,...
Definition pdfobjects.h:588
int32 getObjectNum() const
Obtain the object number of this reference data.
Definition pdfobjects.h:597
bool operator!=(const CPDFFarReference &other) const
Definition pdfobjects.h:548
DOMid getDocumentId() const
Obtain the source document ID for this document.
Definition pdfobjects.h:577
bool operator<(const CPDFFarReference &other) const
Definition pdfobjects.h:553
bool operator==(const CPDFFarReference &other) const
Definition pdfobjects.h:540
A simple concrete class representing indirect reference data.
Definition pdfobjects.h:395
int32 getObjectNum() const
Obtain the object number of this reference data.
Definition pdfobjects.h:417
CPDFReference(int32 objectNum, int32 generation)
Construct the reference data from an object number and generation.
Definition pdfobjects.h:407
bool operator==(const CPDFReference &other) const
Definition pdfobjects.h:432
int32 getGeneration() const
Obtain the generation number of this reference data.
Definition pdfobjects.h:426
bool operator<(const CPDFReference &other) const
Definition pdfobjects.h:436
CPDFReference()
Definition pdfobjects.h:397
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:651
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 createFromNames(IEDLClassFactory *pFactory, const CRawStringVect &nameStrings)
Create an array of names from a vector of strings.
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:653
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 position 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....
static JAWSMAKO_API IPDFArrayPtr createFromFloatNumbers(const CFloatVect &numbers)
Create from a vector of numbers as floats.
A simple immutable boolean PDF object type.
Definition pdfobjects.h:218
virtual bool getValue() const =0
Get the value of the boolean.
virtual ~IPDFBoolean()
Definition pdfobjects.h:220
static JAWSMAKO_API IPDFBooleanPtr create(bool boolean)
Create a boolean object.
Definition pdfobjects.h:974
uint32 getIndex() const
Get the index within the dictionary of the current iterator position.
Definition pdfobjects.h:1044
Iterator operator++(int)
Definition pdfobjects.h:1023
Iterator()
Definition pdfobjects.h:1005
Iterator(const IPDFDictionaryPtr &dict, bool begin)
Definition pdfobjects.h:976
IPDFObjectPtr getValue() const
Get the value within the dictionary at the current iterator position.
Definition pdfobjects.h:1079
Iterator & operator++()
Definition pdfobjects.h:1018
ePDFObjectType getValueType() const
Get the type of the value within the dictionary at the current iterator position.
Definition pdfobjects.h:1096
const Iterator & operator=(const Iterator &other)
Definition pdfobjects.h:1012
Iterator(const Iterator &other)
Definition pdfobjects.h:1000
IPDFNamePtr getKey() const
Get the key within the dictionary at the current iterator position.
Definition pdfobjects.h:1057
bool operator!=(const Iterator &other) const
Definition pdfobjects.h:1034
bool operator==(const Iterator &other) const
Definition pdfobjects.h:1029
A simple class representing a mutable dictionary of key-value pairs where the keys are PDF names and ...
Definition pdfobjects.h:824
static JAWSMAKO_API IPDFDictionaryPtr create(IEDLClassFactory *pFactory, uint32 size=0)
Create a new PDF dictionary of the given initial capacity.
virtual void putReal(const RawString &key, double real)=0
Convenience member to add a real to a dictionary.
virtual void undefine(const char *key)=0
Remove the object stored under the given key, if it exists.
virtual ~IPDFDictionary()
Definition pdfobjects.h:826
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 putInteger(const RawString &key, int32 integer)=0
Convenience member to add an Integer to a dictionary.
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:625
virtual ~IPDFFarReference()
Definition pdfobjects.h:627
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:192
virtual int32 getValue() const =0
Get the value of the integer.
virtual ~IPDFInteger()
Definition pdfobjects.h:194
static JAWSMAKO_API IPDFIntegerPtr create(int32 integer)
Create an integer object.
Definition pdfobjects.h:351
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:353
A simple immutable "null" pdf object.
Definition pdfobjects.h:271
virtual ~IPDFNull()
Definition pdfobjects.h:273
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:57
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:1232
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:1234
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:1320
Definition pdfobjects.h:1201
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:1203
A simple immutable floating-point PDF object type.
Definition pdfobjects.h:245
virtual double getValue() const =0
Get the value of the real.
virtual ~IPDFReal()
Definition pdfobjects.h:247
static JAWSMAKO_API IPDFRealPtr create(double real)
Create a real object.
A simple class representing an immutable PDF indirect reference.
Definition pdfobjects.h:458
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:490
int32 getGeneration() const
Obtain the generation number for this reference.
Definition pdfobjects.h:499
static JAWSMAKO_API IPDFReferencePtr create(int32 objectNum, int32 generation)
Create an indirect reference object from an object number and generation.
Definition pdfobjects.h:475
virtual const CPDFReference & getValue() const =0
Obtain the CPDFReference data for this reference.
virtual ~IPDFReference()
Definition pdfobjects.h:460
Definition pdfobjects.h:1164
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:1166
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:291
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:293
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
@ ePOTLargeInteger
A 64 bit integer object. Mako internal use only.
Definition pdfobjects.h:46
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
CEDLSysStringVect CRawStringVect
Definition types.h:168
CEDLVector< IPDFObjectPtr > CPDFObjectVect
Definition types.h:95
CEDLVector< float > CFloatVect
Definition types.h:185
CSmartPtr< T > pdfObj2Type(const IPDFObjectPtr &object, ePDFObjectType type)
Definition pdfobjects.h:177
#define CSmartPtr
Definition smartptr.h:215
#define JAWSMAKO_API
Definition types.h:29