w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Object Class Reference

#include <Object.h>

Collaboration diagram for Object:
[legend]

Public Member Functions

 Object ()
 
ObjectinitBool (GBool boolnA)
 
ObjectinitInt (int intgA)
 
ObjectinitReal (double realA)
 
ObjectinitString (GString *stringA)
 
ObjectinitName (const char *nameA)
 
ObjectinitNull ()
 
ObjectinitArray (XRef *xref)
 
ObjectinitDict (XRef *xref)
 
ObjectinitDict (Dict *dictA)
 
ObjectinitStream (Stream *streamA)
 
ObjectinitRef (int numA, int genA)
 
ObjectinitCmd (char *cmdA)
 
ObjectinitError ()
 
ObjectinitEOF ()
 
Objectcopy (Object *obj)
 
Objectfetch (XRef *xref, Object *obj, int recursion=0)
 
void free ()
 
ObjType getType ()
 
GBool isBool ()
 
GBool isInt ()
 
GBool isReal ()
 
GBool isNum ()
 
GBool isString ()
 
GBool isName ()
 
GBool isNull ()
 
GBool isArray ()
 
GBool isDict ()
 
GBool isStream ()
 
GBool isRef ()
 
GBool isCmd ()
 
GBool isError ()
 
GBool isEOF ()
 
GBool isNone ()
 
GBool isName (const char *nameA)
 
GBool isDict (const char *dictType)
 
GBool isStream (char *dictType)
 
GBool isCmd (const char *cmdA)
 
GBool getBool ()
 
int getInt ()
 
double getReal ()
 
double getNum ()
 
GStringgetString ()
 
char * getName ()
 
ArraygetArray ()
 
DictgetDict ()
 
StreamgetStream ()
 
Ref getRef ()
 
int getRefNum ()
 
int getRefGen ()
 
char * getCmd ()
 
int arrayGetLength ()
 
void arrayAdd (Object *elem)
 
ObjectarrayGet (int i, Object *obj, int recursion=0)
 
ObjectarrayGetNF (int i, Object *obj)
 
int dictGetLength ()
 
void dictAdd (char *key, Object *val)
 
GBool dictIs (const char *dictType)
 
ObjectdictLookup (const char *key, Object *obj, int recursion=0)
 
ObjectdictLookupNF (const char *key, Object *obj)
 
char * dictGetKey (int i)
 
ObjectdictGetVal (int i, Object *obj)
 
ObjectdictGetValNF (int i, Object *obj)
 
GBool streamIs (char *dictType)
 
void streamReset ()
 
void streamClose ()
 
int streamGetChar ()
 
int streamLookChar ()
 
int streamGetBlock (char *blk, int size)
 
char * streamGetLine (char *buf, int size)
 
GFileOffset streamGetPos ()
 
void streamSetPos (GFileOffset pos, int dir=0)
 
DictstreamGetDict ()
 
const char * getTypeName ()
 
void print (FILE *f=stdout)
 
 Object ()
 
 ~Object ()
 
 Object (bool boolnA)
 
 Object (int intgA)
 
 Object (ObjType typeA)
 
 Object (double realA)
 
 Object (GooString *stringA)
 
 Object (ObjType typeA, GooString *stringA)
 
 Object (ObjType typeA, const char *stringA)
 
 Object (long long int64gA)
 
 Object (Array *arrayA)
 
 Object (Dict *dictA)
 
 Object (Stream *streamA)
 
 Object (const Ref r)
 
template<typename T >
 Object (T)=delete
 
 Object (Object &&other) noexcept
 
Objectoperator= (Object &&other) noexcept
 
Objectoperator= (const Object &other)=delete
 
 Object (const Object &other)=delete
 
void setToNull ()
 
Object copy () const
 
Object fetch (XRef *xref, int recursion=0) const
 
ObjType getType () const
 
bool isBool () const
 
bool isInt () const
 
bool isReal () const
 
bool isNum () const
 
bool isString () const
 
bool isHexString () const
 
bool isName () const
 
bool isNull () const
 
bool isArray () const
 
bool isDict () const
 
bool isStream () const
 
bool isRef () const
 
bool isCmd () const
 
bool isError () const
 
bool isEOF () const
 
bool isNone () const
 
bool isInt64 () const
 
bool isIntOrInt64 () const
 
bool isName (const char *nameA) const
 
bool isDict (const char *dictType) const
 
bool isCmd (const char *cmdA) const
 
bool getBool () const
 
int getInt () const
 
double getReal () const
 
double getNum () const
 
double getNum (bool *ok) const
 
const GooStringgetString () const
 
GooStringtakeString ()
 
const GooStringgetHexString () const
 
GooStringtakeHexString ()
 
const char * getName () const
 
ArraygetArray () const
 
DictgetDict () const
 
StreamgetStream () const
 
Ref getRef () const
 
int getRefNum () const
 
int getRefGen () const
 
const char * getCmd () const
 
long long getInt64 () const
 
long long getIntOrInt64 () const
 
int arrayGetLength () const
 
void arrayAdd (Object &&elem)
 
void arrayRemove (int i)
 
Object arrayGet (int i, int recursion) const
 
const ObjectarrayGetNF (int i) const
 
int dictGetLength () const
 
void dictAdd (char *key, Object &&val)=delete
 
void dictAdd (const char *key, Object &&val)
 
void dictSet (const char *key, Object &&val)
 
void dictRemove (const char *key)
 
bool dictIs (const char *dictType) const
 
Object dictLookup (const char *key, int recursion=0) const
 
const ObjectdictLookupNF (const char *key) const
 
const char * dictGetKey (int i) const
 
Object dictGetVal (int i) const
 
const ObjectdictGetValNF (int i) const
 
void streamReset ()
 
void streamClose ()
 
int streamGetChar ()
 
int streamGetChars (int nChars, unsigned char *buffer)
 
void streamSetPos (Goffset pos, int dir=0)
 
DictstreamGetDict () const
 
const char * getTypeName () const
 
void print (FILE *f=stdout) const
 
double getNumWithDefaultValue (double defaultValue) const
 
bool getBoolWithDefaultValue (bool defaultValue) const
 
 Object ()
 
 ~Object ()
 
 Object (bool boolnA)
 
 Object (int intgA)
 
 Object (ObjType typeA)
 
 Object (double realA)
 
 Object (GooString *stringA)
 
 Object (ObjType typeA, GooString *stringA)
 
 Object (ObjType typeA, const char *stringA)
 
 Object (long long int64gA)
 
 Object (Array *arrayA)
 
 Object (Dict *dictA)
 
 Object (Stream *streamA)
 
 Object (const Ref r)
 
template<typename T >
 Object (T)=delete
 
 Object (Object &&other) noexcept
 
Objectoperator= (Object &&other) noexcept
 
Objectoperator= (const Object &other)=delete
 
 Object (const Object &other)=delete
 
void setToNull ()
 
Object copy () const
 
Object fetch (XRef *xref, int recursion=0) const
 
ObjType getType () const
 
bool isBool () const
 
bool isInt () const
 
bool isReal () const
 
bool isNum () const
 
bool isString () const
 
bool isHexString () const
 
bool isName () const
 
bool isNull () const
 
bool isArray () const
 
bool isDict () const
 
bool isStream () const
 
bool isRef () const
 
bool isCmd () const
 
bool isError () const
 
bool isEOF () const
 
bool isNone () const
 
bool isInt64 () const
 
bool isIntOrInt64 () const
 
bool isName (const char *nameA) const
 
bool isDict (const char *dictType) const
 
bool isCmd (const char *cmdA) const
 
bool getBool () const
 
int getInt () const
 
double getReal () const
 
double getNum () const
 
double getNum (bool *ok) const
 
const GooStringgetString () const
 
GooStringtakeString ()
 
const GooStringgetHexString () const
 
GooStringtakeHexString ()
 
const char * getName () const
 
ArraygetArray () const
 
DictgetDict () const
 
StreamgetStream () const
 
Ref getRef () const
 
int getRefNum () const
 
int getRefGen () const
 
const char * getCmd () const
 
long long getInt64 () const
 
long long getIntOrInt64 () const
 
int arrayGetLength () const
 
void arrayAdd (Object &&elem)
 
void arrayRemove (int i)
 
Object arrayGet (int i, int recursion) const
 
const ObjectarrayGetNF (int i) const
 
int dictGetLength () const
 
void dictAdd (char *key, Object &&val)=delete
 
void dictAdd (const char *key, Object &&val)
 
void dictSet (const char *key, Object &&val)
 
void dictRemove (const char *key)
 
bool dictIs (const char *dictType) const
 
Object dictLookup (const char *key, int recursion=0) const
 
const ObjectdictLookupNF (const char *key) const
 
const char * dictGetKey (int i) const
 
Object dictGetVal (int i) const
 
const ObjectdictGetValNF (int i) const
 
void streamReset ()
 
void streamClose ()
 
int streamGetChar ()
 
int streamGetChars (int nChars, unsigned char *buffer)
 
void streamSetPos (Goffset pos, int dir=0)
 
DictstreamGetDict () const
 
const char * getTypeName () const
 
void print (FILE *f=stdout) const
 
double getNumWithDefaultValue (double defaultValue) const
 
bool getBoolWithDefaultValue (bool defaultValue) const
 

Static Public Member Functions

static void memCheck (FILE *f)
 

Private Member Functions

void free ()
 
void free ()
 

Private Attributes

ObjType type
 
union {
   GBool   booln
 
   int   intg
 
   double   real
 
   GString *   string
 
   char *   name
 
   Array *   array
 
   Dict *   dict
 
   Stream *   stream
 
   Ref   ref
 
   char *   cmd
 
}; 
 
union {
   bool   booln
 
   int   intg
 
   long long   int64g
 
   double   real
 
   GooString *   string
 
   char *   cString
 
   Array *   array
 
   Dict *   dict
 
   Stream *   stream
 
   Ref   ref
 
}; 
 
union {
   bool   booln
 
   int   intg
 
   long long   int64g
 
   double   real
 
   GooString *   string
 
   char *   cString
 
   Array *   array
 
   Dict *   dict
 
   Stream *   stream
 
   Ref   ref
 
}; 
 

Detailed Description

Definition at line 84 of file Object.h.

Constructor & Destructor Documentation

◆ Object() [1/33]

Object::Object ( )
inline

Definition at line 88 of file Object.h.

◆ Object() [2/33]

Object::Object ( )
inline

Definition at line 168 of file Object.h.

◆ ~Object() [1/2]

Object::~Object ( )
inline

Definition at line 169 of file Object.h.

References free().

Referenced by XRef::resize().

◆ Object() [3/33]

Object::Object ( bool  boolnA)
inlineexplicit

Definition at line 171 of file Object.h.

References booln, objBool, and type.

◆ Object() [4/33]

Object::Object ( int  intgA)
inlineexplicit

Definition at line 176 of file Object.h.

References intg, objInt, and type.

◆ Object() [5/33]

Object::Object ( ObjType  typeA)
inlineexplicit

Definition at line 181 of file Object.h.

References type.

◆ Object() [6/33]

Object::Object ( double  realA)
inlineexplicit

Definition at line 182 of file Object.h.

References objReal, and type.

◆ Object() [7/33]

Object::Object ( GooString stringA)
inlineexplicit

Definition at line 187 of file Object.h.

References assert(), objString, and type.

◆ Object() [8/33]

Object::Object ( ObjType  typeA,
GooString stringA 
)
inline

Definition at line 193 of file Object.h.

References assert(), objHexString, and type.

◆ Object() [9/33]

Object::Object ( ObjType  typeA,
const char *  stringA 
)
inline

Definition at line 200 of file Object.h.

References assert(), copyString(), cString, objCmd, objName, and type.

◆ Object() [10/33]

Object::Object ( long long  int64gA)
inlineexplicit

Definition at line 207 of file Object.h.

References int64g, objInt64, and type.

◆ Object() [11/33]

Object::Object ( Array arrayA)
inlineexplicit

Definition at line 212 of file Object.h.

References assert(), objArray, and type.

◆ Object() [12/33]

Object::Object ( Dict dictA)
inlineexplicit

Definition at line 218 of file Object.h.

References assert(), dict, objDict, and type.

◆ Object() [13/33]

Object::Object ( Stream streamA)
inlineexplicit

Definition at line 224 of file Object.h.

References assert(), objStream, and type.

◆ Object() [14/33]

Object::Object ( const Ref  r)
inlineexplicit

Definition at line 230 of file Object.h.

References objRef, r, ref, and type.

◆ Object() [15/33]

template<typename T >
Object::Object ( T  )
delete

◆ Object() [16/33]

Object::Object ( Object &&  other)
inlinenoexcept

Definition at line 239 of file Object.h.

References memcpy, objDead, and other.

◆ Object() [17/33]

Object::Object ( const Object other)
delete

◆ Object() [18/33]

Object::Object ( )
inline

Definition at line 168 of file Object.h.

◆ ~Object() [2/2]

Object::~Object ( )
inline

Definition at line 169 of file Object.h.

References free().

◆ Object() [19/33]

Object::Object ( bool  boolnA)
inlineexplicit

Definition at line 171 of file Object.h.

References booln, objBool, and type.

◆ Object() [20/33]

Object::Object ( int  intgA)
inlineexplicit

Definition at line 176 of file Object.h.

References intg, objInt, and type.

◆ Object() [21/33]

Object::Object ( ObjType  typeA)
inlineexplicit

Definition at line 181 of file Object.h.

References type.

◆ Object() [22/33]

Object::Object ( double  realA)
inlineexplicit

Definition at line 182 of file Object.h.

References objReal, and type.

◆ Object() [23/33]

Object::Object ( GooString stringA)
inlineexplicit

Definition at line 187 of file Object.h.

References assert(), objString, and type.

◆ Object() [24/33]

Object::Object ( ObjType  typeA,
GooString stringA 
)
inline

Definition at line 193 of file Object.h.

References assert(), objHexString, and type.

◆ Object() [25/33]

Object::Object ( ObjType  typeA,
const char *  stringA 
)
inline

Definition at line 200 of file Object.h.

References assert(), copyString(), cString, objCmd, objName, and type.

◆ Object() [26/33]

Object::Object ( long long  int64gA)
inlineexplicit

Definition at line 207 of file Object.h.

References int64g, objInt64, and type.

◆ Object() [27/33]

Object::Object ( Array arrayA)
inlineexplicit

Definition at line 212 of file Object.h.

References assert(), objArray, and type.

◆ Object() [28/33]

Object::Object ( Dict dictA)
inlineexplicit

Definition at line 218 of file Object.h.

References assert(), dict, objDict, and type.

◆ Object() [29/33]

Object::Object ( Stream streamA)
inlineexplicit

Definition at line 224 of file Object.h.

References assert(), objStream, and type.

◆ Object() [30/33]

Object::Object ( const Ref  r)
inlineexplicit

Definition at line 230 of file Object.h.

References objRef, r, ref, and type.

◆ Object() [31/33]

template<typename T >
Object::Object ( T  )
delete

◆ Object() [32/33]

Object::Object ( Object &&  other)
inlinenoexcept

Definition at line 239 of file Object.h.

References memcpy, objDead, and other.

◆ Object() [33/33]

Object::Object ( const Object other)
delete

Member Function Documentation

◆ arrayAdd() [1/3]

void Object::arrayAdd ( Object &&  elem)
inline

Definition at line 553 of file Object.h.

References objArray, and OBJECT_TYPE_CHECK.

◆ arrayAdd() [2/3]

void Object::arrayAdd ( Object &&  elem)

◆ arrayAdd() [3/3]

◆ arrayGet() [1/3]

Object Object::arrayGet ( int  i,
int  recursion = 0 
) const
inline

Definition at line 565 of file Object.h.

References i, objArray, and OBJECT_TYPE_CHECK.

◆ arrayGet() [2/3]

Object Object::arrayGet ( int  i,
int  recursion 
) const

◆ arrayGet() [3/3]

Object * Object::arrayGet ( int  i,
Object obj,
int  recursion = 0 
)
inline

Definition at line 242 of file Object.h.

References i.

Referenced by Stream::addFilters(), Annot::Annot(), AnnotIconFit::AnnotIconFit(), Annots::Annots(), Catalog::cachePageTree(), AnnotRichMedia::Configuration::Configuration(), AnnotRichMedia::Content::Content(), Catalog::countPageTree(), PSOutputDev::createDeviceNTintFunc(), PDFDoc::createTrailerDict(), Gfx::display(), Gfx::doForm(), Gfx::doImage(), Gfx::doSoftMask(), AcroFormField::drawAnnot(), Gfx::drawAnnot(), Gfx::drawForm(), AcroFormField::drawNewAppearance(), OCGs::evalOCVisibilityExpr(), OptionalContent::evalOCVisibilityExpr(), ExponentialFunction::ExponentialFunction(), FormFieldChoice::fillChoices(), Catalog::findDestInTree(), FormFieldChoice::FormFieldChoice(), Annot::generateLineAppearance(), Annot::generatePolygonAppearance(), Annot::generatePolyLineAppearance(), AcroFormField::getAnnotObj(), AcroFormField::getBBox(), Catalog::getDestOutputProfile(), GfxFont::getFontType(), Linearization::getHintsLength(), Linearization::getHintsLength2(), Linearization::getHintsOffset(), Linearization::getHintsOffset2(), PDFDoc::getID(), AcroFormField::getResources(), FormFieldSignature::getSignedRangeBounds(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), JPXStream::init(), Function::init(), GfxShading::init(), Gfx::initDisplayProfile(), Annot::initialize(), AnnotFreeText::initialize(), AnnotLine::initialize(), AnnotPolygon::initialize(), Link::Link(), Links::Links(), main(), OCGs::OCGs(), PSOutputDev::opiBegin13(), PSOutputDev::opiBegin20(), Gfx::opSetExtGState(), OptionalContent::OptionalContent(), GfxCalGrayColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxLabColorSpace::parse(), GfxICCBasedColorSpace::parse(), PageLabelInfo::parse(), StructElement::parse(), StructTreeRoot::parse(), GfxDeviceNColorSpace::parse(), GfxFunctionShading::parse(), GfxAxialShading::parse(), GfxRadialShading::parse(), GfxGouraudTriangleShading::parse(), GfxPatchMeshShading::parse(), GfxColorSpace::parse(), GfxShadingPattern::parse(), OCDisplayNode::parse(), GfxTilingPattern::parse(), StructElement::parseAttributes(), GfxState::parseBlendMode(), StructElement::parseChildren(), AnnotBorder::parseDashArray(), StructTreeRoot::parseNumberTreeNode(), Annot::readArrayNum(), PageAttrs::readBox(), Catalog::readEmbeddedFileTree(), Catalog::readFileAttachmentAnnots(), GfxFont::readFontDescriptor(), Catalog::readPageLabelTree2(), XFAScanner::readXFAStreams(), XRef::readXRefStream(), SampledFunction::SampledFunction(), AcroForm::scanField(), Annot::setFillColor(), PSOutputDev::setupForm(), StandardSecurityHandler::StandardSecurityHandler(), StitchingFunction::StitchingFunction(), FormFieldSignature::validateSignature(), write_epdf(), and PSOutputDev::writeDocSetup().

◆ arrayGetLength() [1/3]

int Object::arrayGetLength ( )
inline

Definition at line 236 of file Object.h.

Referenced by Stream::addFilters(), Annot::Annot(), AnnotIconFit::AnnotIconFit(), Annots::Annots(), AcroForm::buildAnnotPageList(), Catalog::cachePageTree(), Gfx::checkForContentStreamLoop(), AnnotRichMedia::Configuration::Configuration(), AnnotRichMedia::Content::Content(), copyObject(), copyProcSet(), Catalog::countPageTree(), PSOutputDev::createDeviceNTintFunc(), Gfx::display(), Gfx::doImage(), doMergeFormDict(), doMergeNameTree(), AcroFormField::draw(), AcroFormField::drawAnnot(), Gfx::drawAnnot(), Gfx::drawForm(), AcroFormField::drawNewAppearance(), OptionalContent::evalOCObject(), OCGs::evalOCVisibilityExpr(), OptionalContent::evalOCVisibilityExpr(), ExponentialFunction::ExponentialFunction(), FormFieldChoice::fillChoices(), Catalog::findDestInTree(), FormField::FormField(), FormFieldChoice::FormFieldChoice(), Annot::generateLineAppearance(), Annot::generatePolygonAppearance(), Annot::generatePolyLineAppearance(), AcroFormField::getAnnotObj(), AcroFormField::getBBox(), Catalog::getDestOutputProfile(), GfxFont::getFontType(), Linearization::getHintsLength(), Linearization::getHintsLength2(), Linearization::getHintsOffset(), Linearization::getHintsOffset2(), PDFDoc::getID(), OCGs::getOrderArray(), AcroFormField::getPageNum(), OCGs::getRBGroupsArray(), AcroFormField::getResources(), FormFieldSignature::getSignedRangeBounds(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxFontDict::hashFontObject1(), JPXStream::init(), Function::init(), GfxShading::init(), Gfx::initDisplayProfile(), Annot::initialize(), AnnotFreeText::initialize(), AnnotLine::initialize(), AnnotPolygon::initialize(), LinkOCGState::LinkOCGState(), LinkResetForm::LinkResetForm(), Links::Links(), AcroForm::load(), Catalog::loadPage2(), main(), OCGs::OCGs(), PSOutputDev::opiBegin13(), PSOutputDev::opiBegin20(), Gfx::opSetExtGState(), OptionalContent::OptionalContent(), GfxCalGrayColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxLabColorSpace::parse(), GfxICCBasedColorSpace::parse(), PageLabelInfo::parse(), NameTree::parse(), StructElement::parse(), StructTreeRoot::parse(), GfxDeviceNColorSpace::parse(), GfxFunctionShading::parse(), GfxAxialShading::parse(), GfxRadialShading::parse(), GfxGouraudTriangleShading::parse(), GfxPatchMeshShading::parse(), GfxColorSpace::parse(), GfxShadingPattern::parse(), OCDisplayNode::parse(), GfxTilingPattern::parse(), StructElement::parseAttributes(), GfxState::parseBlendMode(), StructElement::parseChildren(), AnnotBorder::parseDashArray(), StructTreeRoot::parseNumberTreeNode(), print(), PageAttrs::readBox(), Catalog::readEmbeddedFileTree(), Catalog::readFileAttachmentAnnots(), GfxFont::readFontDescriptor(), Catalog::readPageLabelTree2(), XFAScanner::readXFAStreams(), XRef::readXRefStream(), Page::removeAnnot(), SampledFunction::SampledFunction(), AcroForm::scanField(), Annot::setFillColor(), StitchingFunction::StitchingFunction(), FormFieldSignature::validateSignature(), write_epdf(), and PSOutputDev::writeDocSetup().

◆ arrayGetLength() [2/3]

int Object::arrayGetLength ( ) const
inline

Definition at line 547 of file Object.h.

References objArray, and OBJECT_TYPE_CHECK.

◆ arrayGetLength() [3/3]

int Object::arrayGetLength ( ) const

◆ arrayGetNF() [1/3]

const Object & Object::arrayGetNF ( int  i) const
inline

Definition at line 571 of file Object.h.

References i, objArray, and OBJECT_TYPE_CHECK.

◆ arrayGetNF() [2/3]

const Object& Object::arrayGetNF ( int  i) const

◆ arrayGetNF() [3/3]

◆ arrayRemove() [1/2]

void Object::arrayRemove ( int  i)
inline

Definition at line 559 of file Object.h.

References i, objArray, and OBJECT_TYPE_CHECK.

Referenced by main(), and Page::removeAnnot().

◆ arrayRemove() [2/2]

void Object::arrayRemove ( int  i)

◆ copy() [1/3]

Object Object::copy ( ) const

◆ copy() [2/3]

Object Object::copy ( ) const

◆ copy() [3/3]

Object * Object::copy ( Object obj)

Definition at line 80 of file Object.cc.

References cmd, GString::copy(), Stream::copy(), copyString(), dict, gAtomicIncrement(), Dict::incRef(), name, objArray, objCmd, objDict, objName, objStream, objString, stream, string, and type.

Referenced by AcroForm::AcroForm(), AcroFormField::AcroFormField(), Catalog::addEmbeddedFile(), XRef::addIndirectObject(), Annot::Annot(), AnnotAppearance::AnnotAppearance(), AnnotSound::AnnotSound(), Attribute::Attribute(), XRef::constructXRef(), FileStream::copy(), MemStream::copy(), EmbedStream::copy(), XRef::copy(), CachedFileStream::copy(), createAnnotDrawFont(), FormWidgetSignature::createSignature(), PDFDoc::createTrailerDict(), AcroFormField::drawNewAppearance(), SplashOutputDev::drawSoftMaskedImage(), EmbeddedFile::EmbeddedFile(), XRef::fetch(), FileSpec::FileSpec(), FormWidget::FormWidget(), AnnotWidget::generateFieldAppearance(), Annot::generateFreeTextAppearance(), AnnotFreeText::generateFreeTextAppearance(), Annot::generateLineAppearance(), Annot::generatePolygonAppearance(), Annot::generatePolyLineAppearance(), AcroFormField::getAnnotObj(), AcroFormField::getAnnotResources(), AnnotAppearance::getAppearanceStream(), Gfx8BitFont::getCharProcNF(), XRef::getDocInfoNF(), AcroFormField::getFieldRef(), getFileSpecName(), getFileSpecNameForPlatform(), FormField::getFullyQualifiedName(), Array::getNF(), Parser::getObj(), ObjectStream::getObject(), Movie::getPoster(), Dict::getValNF(), GfxDeviceNColorSpace::GfxDeviceNColorSpace(), GfxTilingPattern::GfxTilingPattern(), Annot::initialize(), AnnotScreen::initialize(), AnnotWidget::initialize(), JBIG2Stream::JBIG2Stream(), Lexer::Lexer(), LinkHide::LinkHide(), LinkSubmitForm::LinkSubmitForm(), Page::loadStandaloneFields(), GfxResources::lookupGStateNF(), GfxResources::lookupMarkedContentNF(), GfxResources::lookupXObjectNF(), main(), Parser::makeStream(), PDFDoc::markAcroForm(), PDFDoc::markDictionnary(), PDFDoc::markPageObjects(), XRef::markUnencrypted(), MediaRendition::MediaRendition(), OutlineItem::OutlineItem(), Page::Page(), PageAttrs::PageAttrs(), StructElement::parseChild(), Movie::parseMovie(), Catalog::readFileAttachmentAnnots(), XRef::readXRefStream(), XRef::readXRefTable(), PDFDoc::replacePageDict(), Page::replaceXRef(), PDFDoc::savePageAs(), AnnotWidget::setFormAdditionalAction(), XRef::setModifiedObject(), Sound::Sound(), FormFieldButton::updateState(), PDFDoc::writeDictionnary(), and XRef::XRef().

◆ dictAdd() [1/5]

void Object::dictAdd ( char *  key,
Object &&  val 
)
delete

◆ dictAdd() [2/5]

void Object::dictAdd ( char *  key,
Object &&  val 
)
delete

◆ dictAdd() [3/5]

◆ dictAdd() [4/5]

void Object::dictAdd ( const char *  key,
Object &&  val 
)
inline

Definition at line 589 of file Object.h.

References Dict::add(), dict, key, objDict, and OBJECT_TYPE_CHECK.

◆ dictAdd() [5/5]

void Object::dictAdd ( const char *  key,
Object &&  val 
)

◆ dictGetKey() [1/3]

◆ dictGetKey() [2/3]

const char * Object::dictGetKey ( int  i) const
inline

Definition at line 630 of file Object.h.

References dict, Dict::getKey(), i, objDict, and OBJECT_TYPE_CHECK.

◆ dictGetKey() [3/3]

const char* Object::dictGetKey ( int  i) const

◆ dictGetLength() [1/3]

◆ dictGetLength() [2/3]

int Object::dictGetLength ( ) const
inline

Definition at line 583 of file Object.h.

References dict, Dict::getLength(), objDict, and OBJECT_TYPE_CHECK.

◆ dictGetLength() [3/3]

int Object::dictGetLength ( ) const

◆ dictGetVal() [1/3]

Object Object::dictGetVal ( int  i) const
inline

Definition at line 636 of file Object.h.

References dict, Dict::getVal(), i, objDict, and OBJECT_TYPE_CHECK.

◆ dictGetVal() [2/3]

Object Object::dictGetVal ( int  i) const

◆ dictGetVal() [3/3]

◆ dictGetValNF() [1/3]

const Object & Object::dictGetValNF ( int  i) const
inline

Definition at line 642 of file Object.h.

References dict, Dict::getValNF(), i, objDict, and OBJECT_TYPE_CHECK.

◆ dictGetValNF() [2/3]

const Object& Object::dictGetValNF ( int  i) const

◆ dictGetValNF() [3/3]

◆ dictIs() [1/3]

GBool Object::dictIs ( const char *  dictType)
inline

Definition at line 260 of file Object.h.

References dict, and Dict::is().

Referenced by isDict().

◆ dictIs() [2/3]

bool Object::dictIs ( const char *  dictType) const
inline

Definition at line 607 of file Object.h.

References dict, Dict::is(), objDict, and OBJECT_TYPE_CHECK.

◆ dictIs() [3/3]

bool Object::dictIs ( const char *  dictType) const

◆ dictLookup() [1/3]

Object Object::dictLookup ( const char *  key,
int  recursion = 0 
) const
inline

Definition at line 618 of file Object.h.

References dict, key, Dict::lookup(), objDict, and OBJECT_TYPE_CHECK.

◆ dictLookup() [2/3]

Object Object::dictLookup ( const char *  key,
int  recursion = 0 
) const

◆ dictLookup() [3/3]

Object * Object::dictLookup ( const char *  key,
Object obj,
int  recursion = 0 
)
inline

Definition at line 266 of file Object.h.

References dict, key, and Dict::lookup().

Referenced by Stream::addFilters(), Annot::Annot(), Annots::Annots(), AcroFormField::buildDefaultResourceDict(), Gfx::buildImageStream(), Catalog::cachePageTree(), Catalog::Catalog(), PDFDoc::checkEncryption(), Gfx::checkTransparencyGroup(), Catalog::countPageTree(), Annots::createAnnot(), PSOutputDev::createDeviceNTintFunc(), Catalog::createLinkDest(), Gfx::doForm(), AcroFormField::draw(), AcroFormField::drawAnnot(), AcroFormField::drawExistingAppearance(), Gfx::drawForm(), AcroFormField::drawNewAppearance(), EmbFile::EmbFile(), OptionalContent::evalOCObject(), AcroFormField::fieldLookup(), FileSpec::FileSpec(), Catalog::findDest(), Catalog::findDestInTree(), AcroFormField::findFontName(), FontInfo::FontInfo(), Form::Form(), FormField::FormField(), FormWidgetButton::FormWidgetButton(), Annot::generateFreeTextAppearance(), Annot::generateLineAppearance(), Annot::generatePolygonAppearance(), Annot::generatePolyLineAppearance(), getAdditionalAction(), Catalog::getAdditionalAction(), Page::getAdditionalAction(), AcroFormField::getAnnotObj(), AcroFormField::getAnnotResources(), AcroFormField::getBBox(), Gfx8BitFont::getCharProc(), Catalog::getDestNameTree(), Catalog::getDestOutputProfile(), XRef::getDocInfo(), PDFDoc::getDocInfoStringEntry(), Catalog::getEmbeddedFileNameTree(), getFileSpecName(), LinkAction::getFileSpecName(), getFileSpecNameForPlatform(), AnnotWidget::getFormAdditionalAction(), Catalog::getFormType(), FormField::getFullyQualifiedName(), Linearization::getHintsLength(), Linearization::getHintsLength2(), Linearization::getHintsOffset(), Linearization::getHintsOffset2(), PDFDoc::getID(), Catalog::getJS(), Catalog::getJSNameTree(), Catalog::getMarkInfo(), Catalog::getNames(), Catalog::getPageLabelInfo(), Catalog::getPageLayout(), Catalog::getPageMode(), AcroFormField::getPageNum(), AcroFormField::getResources(), AcroFormField::getValue(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), Gfx::initDisplayProfile(), PageLabelInfo::Interval::Interval(), Annot::invalidateAppearance(), PDFDoc::isLinearized(), Linearization::Linearization(), LinkHide::LinkHide(), LinkLaunch::LinkLaunch(), LinkMovie::LinkMovie(), LinkOCGState::LinkOCGState(), LinkRendition::LinkRendition(), LinkResetForm::LinkResetForm(), Links::Links(), LinkSound::LinkSound(), AcroFormField::load(), AcroForm::load(), Catalog::loadPage2(), GfxResources::lookupColorSpace(), GfxResources::lookupGState(), GfxResources::lookupPattern(), GfxResources::lookupShading(), GfxResources::lookupXObject(), main(), SecurityHandler::make(), Parser::makeStream(), MediaRendition::MediaRendition(), OCGs::OCGs(), Gfx::opSetExtGState(), OptionalContent::OptionalContent(), OptionalContentGroup::OptionalContentGroup(), GfxCalGrayColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxLabColorSpace::parse(), PageLabelInfo::parse(), NameTree::parse(), GfxColorSpace::parse(), GfxPattern::parse(), OptionalContentGroup::parse(), LinkAction::parseAction(), StructElement::parseChild(), FormFieldText::parseDA(), MediaWindowParameters::parseFWParams(), FormFieldSignature::parseInfo(), MediaParameters::parseMediaPlayParameters(), MediaParameters::parseMediaScreenParameters(), Movie::parseMovie(), MovieActivationParameters::parseMovieActivation(), printInfoString(), Catalog::readEmbeddedFile(), Catalog::readEmbeddedFileList(), Catalog::readFileAttachmentAnnots(), GfxFont::readFontDescriptor(), Catalog::readPageTree(), AcroForm::scanField(), scanFont(), PSOutputDev::setupResources(), and StandardSecurityHandler::StandardSecurityHandler().

◆ dictLookupNF() [1/3]

const Object & Object::dictLookupNF ( const char *  key) const
inline

Definition at line 624 of file Object.h.

References dict, key, Dict::lookupNF(), objDict, and OBJECT_TYPE_CHECK.

◆ dictLookupNF() [2/3]

const Object& Object::dictLookupNF ( const char *  key) const

◆ dictLookupNF() [3/3]

◆ dictRemove() [1/2]

void Object::dictRemove ( const char *  key)
inline

Definition at line 601 of file Object.h.

References dict, key, objDict, OBJECT_TYPE_CHECK, and Dict::remove().

Referenced by XRef::removeDocInfo().

◆ dictRemove() [2/2]

void Object::dictRemove ( const char *  key)

◆ dictSet() [1/2]

◆ dictSet() [2/2]

void Object::dictSet ( const char *  key,
Object &&  val 
)

◆ fetch() [1/3]

Object Object::fetch ( XRef xref,
int  recursion = 0 
) const

Definition at line 74 of file Object.cc.

References CHECK_NOT_DEAD, copy(), objRef, ref, type, and xref.

◆ fetch() [2/3]

Object Object::fetch ( XRef xref,
int  recursion = 0 
) const

◆ fetch() [3/3]

Object * Object::fetch ( XRef xref,
Object obj,
int  recursion = 0 
)

Definition at line 114 of file Object.cc.

References copy(), Ref::gen, Ref::num, objRef, ref, type, and xref.

Referenced by copyFont(), Page::display(), Page::displaySlice(), Gfx::doShowText(), SplashOutputDev::doUpdateFont(), Annot::draw(), AnnotText::draw(), AnnotMovie::draw(), AnnotLink::draw(), AnnotFreeText::draw(), AnnotLine::draw(), AnnotTextMarkup::draw(), AnnotGeometry::draw(), AnnotPolygon::draw(), AnnotInk::draw(), AnnotFileAttachment::draw(), AnnotSound::draw(), AnnotWidget::draw(), AcroFormField::draw(), Gfx::drawAnnot(), Gfx::drawForm(), Catalog::embeddedFile(), OptionalContent::evalOCObject(), Annot::generateAnnotAppearance(), Array::get(), Page::getActions(), getAdditionalAction(), Catalog::getAdditionalAction(), Page::getAdditionalAction(), Page::getAnnots(), Page::getAnnotsObject(), Annot::getAppearance(), Annot::getAppearanceResDict(), Page::getContents(), FileSpec::getEmbeddedFile(), Catalog::getEmbeddedFileStreamObj(), GfxFont::getFontType(), AnnotWidget::getFormAdditionalAction(), Page::getThumb(), Page::getThumbnail(), Page::getTrans(), Dict::getVal(), GfxFontDict::GfxFontDict(), GfxResources::GfxResources(), AcroFormField::load(), AcroForm::load(), Catalog::loadPage2(), Page::loadThumb(), GfxFont::locateFont(), PDFDoc::markAcroForm(), PDFDoc::markAnnotations(), OCGs::optContentIsVisible(), OptionalContent::OptionalContent(), OCDisplayNode::parse(), GfxFont::readEmbFontFile(), Catalog::readPageTree(), AcroForm::scanField(), FontInfoScanner::scanFonts(), AnnotWidget::setFormAdditionalAction(), PSOutputDev::setupEmbeddedType1Font(), PSOutputDev::setupFonts(), AnnotTextMarkup::shouldCreateApperance(), and AnnotWidget::updateAppearanceStream().

◆ free() [1/3]

void Object::free ( )

Definition at line 119 of file Object.cc.

References array, cmd, Dict::decRef(), dict, gAtomicDecrement(), gfree, name, objArray, objCmd, objDict, objName, objNone, objStream, objString, stream, string, and type.

Referenced by Stream::addFilters(), Annot::Annot(), Annots::Annots(), AcroForm::buildAnnotPageList(), AcroFormField::buildDefaultResourceDict(), Gfx::buildImageStream(), Catalog::Catalog(), PDFDoc::checkEncryption(), Gfx::checkForContentStreamLoop(), XRef::constructObjectStreamEntries(), XRef::constructTrailerDict(), XRef::constructXRef(), Catalog::countPageTree(), PSOutputDev::createDeviceNTintFunc(), Gfx::display(), Page::displaySlice(), Gfx::doForm(), Gfx::doImage(), Gfx::doShowText(), Gfx::doSoftMask(), SplashOutputDev::doUpdateFont(), AcroFormField::draw(), AcroFormField::drawAnnot(), Gfx::drawAnnot(), AcroFormField::drawExistingAppearance(), Gfx::drawForm(), SplashOutputDev::drawMaskedImage(), AcroFormField::drawNewAppearance(), OptionalContent::evalOCObject(), OptionalContent::evalOCVisibilityExpr(), ExponentialFunction::ExponentialFunction(), XRef::fetch(), AcroFormField::fieldLookup(), Catalog::findDest(), Catalog::findDestInTree(), AcroFormField::findFontName(), Annot::generateAnnotAppearance(), Annot::generateFreeTextAppearance(), Annot::generateLineAppearance(), Annot::generatePolygonAppearance(), Annot::generatePolyLineAppearance(), AcroFormField::getAnnotObj(), AcroFormField::getAnnotResources(), AcroFormField::getBBox(), Lexer::getChar(), AcroFormField::getColor(), Gfx::getContentObj(), Catalog::getDestOutputProfile(), PDFDoc::getEmbeddedFileMem(), Catalog::getEmbeddedFileStreamObj(), LinkAction::getFileSpecName(), AcroFormField::getFont(), HTMLGen::getFontFile(), GfxFont::getFontType(), Page::getLinks(), AcroFormField::getMaxLen(), Parser::getObj(), AcroFormField::getPageNum(), AcroFormField::getResources(), AcroFormField::getValue(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxFontDict::GfxFontDict(), GfxImageColorMap::GfxImageColorMap(), GfxResources::GfxResources(), Gfx::go(), GfxFontDict::hashFontObject1(), Function::init(), GfxShading::init(), PDFDoc::isLinearized(), Link::Link(), LinkDest::LinkDest(), LinkLaunch::LinkLaunch(), Links::Links(), AcroFormField::load(), AcroForm::load(), PDFCore::loadAnnots(), Catalog::loadPage2(), GfxFont::locateFont(), GfxResources::lookupColorSpace(), GfxResources::lookupGState(), GfxResources::lookupPattern(), GfxResources::lookupPropertiesNF(), GfxResources::lookupShading(), GfxResources::lookupXObject(), GfxResources::lookupXObjectNF(), main(), SecurityHandler::make(), Stream::makeFilter(), GfxFont::makeFont(), Parser::makeStream(), ObjectStream::ObjectStream(), Gfx::opBeginMarkedContent(), operator=(), Gfx::opSetDash(), Gfx::opSetExtGState(), Gfx::opSetFillColorSpace(), Gfx::opSetStrokeColorSpace(), Gfx::opShowSpaceText(), OptionalContent::OptionalContent(), Gfx::opXObject(), OutlineItem::OutlineItem(), Page::Page(), PageAttrs::PageAttrs(), PageLabelNode::PageLabelNode(), GfxCalGrayColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxLabColorSpace::parse(), GfxICCBasedColorSpace::parse(), GfxIndexedColorSpace::parse(), GfxSeparationColorSpace::parse(), GfxDeviceNColorSpace::parse(), GfxPatternColorSpace::parse(), CMap::parse(), GfxFunctionShading::parse(), GfxAxialShading::parse(), GfxRadialShading::parse(), GfxGouraudTriangleShading::parse(), GfxPatchMeshShading::parse(), GfxColorSpace::parse(), Function::parse(), GfxShading::parse(), OCDisplayNode::parse(), GfxPattern::parse(), GfxShadingPattern::parse(), GfxTilingPattern::parse(), OptionalContentGroup::parse(), LinkAction::parseAction(), GfxState::parseBlendMode(), print(), printInfoString(), PageAttrs::readBox(), Catalog::readEmbeddedFile(), Catalog::readEmbeddedFileList(), Catalog::readEmbeddedFileTree(), GfxFont::readEmbFontFile(), Catalog::readFileAttachmentAnnots(), GfxFont::readFontDescriptor(), OutlineItem::readItemList(), Catalog::readMetadata(), Catalog::readPageLabelTree2(), Catalog::readPageTree(), GfxFont::readToUnicodeCMap(), XFAScanner::readXFAStreams(), XRef::readXRef(), XRef::readXRefStream(), XRef::readXRefTable(), SampledFunction::SampledFunction(), PDFDoc::saveEmbeddedFile2(), XRef::saveTrailerDict(), AcroForm::scanField(), scanFont(), scanFonts(), AcroFormField::setColor(), Annot::setFillColor(), setToNull(), PSOutputDev::setupEmbeddedType1Font(), PSOutputDev::setupFonts(), PSOutputDev::setupForm(), PSOutputDev::setupForms(), PSOutputDev::setupImage(), PSOutputDev::setupImages(), PSOutputDev::setupResources(), PSOutputDev::setupType3Font(), Parser::shift(), StandardSecurityHandler::StandardSecurityHandler(), StitchingFunction::StitchingFunction(), write_epdf(), PSOutputDev::writeDocSetup(), PSOutputDev::writeHeader(), writeRefs(), XRef::XRef(), AcroForm::~AcroForm(), AcroFormField::~AcroFormField(), Annot::~Annot(), BaseStream::~BaseStream(), Catalog::~Catalog(), Dict::~Dict(), EmbeddedFile::~EmbeddedFile(), Gfx8BitFont::~Gfx8BitFont(), GfxDeviceNColorSpace::~GfxDeviceNColorSpace(), GfxResources::~GfxResources(), GfxTilingPattern::~GfxTilingPattern(), JBIG2Stream::~JBIG2Stream(), Lexer::~Lexer(), ~Object(), ObjectStream::~ObjectStream(), OutlineItem::~OutlineItem(), Page::~Page(), PageAttrs::~PageAttrs(), Parser::~Parser(), and XRef::~XRef().

◆ free() [2/3]

void Object::free ( )
private

◆ free() [3/3]

void Object::free ( )
private

◆ getArray() [1/3]

◆ getArray() [2/3]

Array* Object::getArray ( ) const
inline

Definition at line 434 of file Object.h.

References array, objArray, and OBJECT_TYPE_CHECK.

◆ getArray() [3/3]

Array* Object::getArray ( ) const
inline

Definition at line 434 of file Object.h.

References array, objArray, and OBJECT_TYPE_CHECK.

◆ getBool() [1/3]

◆ getBool() [2/3]

bool Object::getBool ( ) const
inline

Definition at line 375 of file Object.h.

References booln, objBool, and OBJECT_TYPE_CHECK.

◆ getBool() [3/3]

bool Object::getBool ( ) const
inline

Definition at line 375 of file Object.h.

References booln, objBool, and OBJECT_TYPE_CHECK.

◆ getBoolWithDefaultValue() [1/2]

◆ getBoolWithDefaultValue() [2/2]

bool Object::getBoolWithDefaultValue ( bool  defaultValue) const
inline

Definition at line 520 of file Object.h.

References booln, objBool, and type.

◆ getCmd() [1/3]

char* Object::getCmd ( )
inline

Definition at line 166 of file Object.h.

References cmd.

Referenced by XRef::fetch(), Gfx::go(), and PDFDoc::writeObject().

◆ getCmd() [2/3]

const char* Object::getCmd ( ) const
inline

Definition at line 464 of file Object.h.

References cString, objCmd, and OBJECT_TYPE_CHECK.

◆ getCmd() [3/3]

const char* Object::getCmd ( ) const
inline

Definition at line 464 of file Object.h.

References cString, objCmd, and OBJECT_TYPE_CHECK.

◆ getDict() [1/3]

Dict* Object::getDict ( )
inline

Definition at line 161 of file Object.h.

References dict.

Referenced by Catalog::addEmbeddedFile(), Catalog::addFormToAcroForm(), Annot::Annot(), Annot3D::Annot3D(), AnnotAppearanceCharacs::AnnotAppearanceCharacs(), AnnotCaret::AnnotCaret(), AnnotFileAttachment::AnnotFileAttachment(), AnnotFreeText::AnnotFreeText(), AnnotGeometry::AnnotGeometry(), AnnotInk::AnnotInk(), AnnotLine::AnnotLine(), AnnotLink::AnnotLink(), AnnotMarkup::AnnotMarkup(), AnnotMovie::AnnotMovie(), AnnotPolygon::AnnotPolygon(), AnnotPopup::AnnotPopup(), AnnotRichMedia::AnnotRichMedia(), Annots::Annots(), AnnotScreen::AnnotScreen(), AnnotSound::AnnotSound(), AnnotStamp::AnnotStamp(), AnnotText::AnnotText(), AnnotTextMarkup::AnnotTextMarkup(), AnnotWidget::AnnotWidget(), Catalog::cachePageTree(), Catalog::Catalog(), Gfx::checkTransparencyGroup(), AnnotRichMedia::Configuration::Configuration(), XRef::constructTrailerDict(), AnnotRichMedia::Content::Content(), XRef::createDocInfoIfNeeded(), PDFDoc::createTrailerDict(), Gfx::doForm(), doMergeNameDict(), Gfx::doSoftMask(), AcroFormField::drawAnnot(), Gfx::drawAnnot(), AcroFormField::drawNewAppearance(), AcroFormField::fieldLookup(), fieldLookup(), FormFieldChoice::fillChoices(), FormFieldText::fillContent(), Form::Form(), FormField::FormField(), FormFieldButton::FormFieldButton(), FormFieldChoice::FormFieldChoice(), FormFieldText::FormFieldText(), AnnotWidget::generateFieldAppearance(), AnnotFreeText::generateFreeTextAppearance(), PageAttrs::getBoxColorInfo(), Gfx8BitFont::getCharProcs(), StructTreeRoot::getClassMap(), BaseStream::getDict(), FileSpec::getEmbeddedFile(), Linearization::getEndFirst(), HTMLGen::getFontFile(), GfxFont::getFontType(), Linearization::getLength(), Linearization::getMainXRefEntriesOffset(), Linearization::getNumPages(), Parser::getObj(), Linearization::getObjectNumberFirst(), Linearization::getPageFirst(), PageAttrs::getPieceInfo(), GfxTilingPattern::getResDict(), PageAttrs::getResourceDict(), Gfx8BitFont::getResources(), AcroFormField::getResources(), StructTreeRoot::getRoleMap(), PageAttrs::getSeparationInfo(), GfxCIDFont::GfxCIDFont(), GfxFontDict::GfxFontDict(), GfxResources::GfxResources(), AnnotMarkup::initialize(), AnnotScreen::initialize(), AnnotLink::initialize(), AnnotFreeText::initialize(), AnnotLine::initialize(), AnnotGeometry::initialize(), AnnotPolygon::initialize(), AnnotInk::initialize(), AnnotWidget::initialize(), Annot3D::initialize(), AnnotRichMedia::initialize(), AnnotRichMedia::Instance::Instance(), Links::Links(), Catalog::loadPage2(), GfxResources::lookupPattern(), main(), PDFDoc::markAcroForm(), PDFDoc::markAnnotations(), PDFDoc::markObject(), XRef::markUnencrypted(), OCGs::OCGs(), PSOutputDev::opiBegin(), OCGs::optContentIsVisible(), Gfx::opXObject(), NameTree::parse(), StructElement::parse(), StructTreeRoot::parse(), GfxDeviceNColorSpace::parse(), GfxShading::parse(), GfxShadingPattern::parse(), Function::parse(), StructElement::parseChild(), StructTreeRoot::parseNumberTreeNode(), PDFDoc::parsePage(), OutlineItem::readItemList(), Catalog::readPageLabelTree2(), XRef::readXRefTable(), Catalog::removeFormFromAcroForm(), Page::replaceXRef(), FormFieldButton::reset(), FormFieldText::reset(), PDFDoc::savePageAs(), FontInfoScanner::scan(), scanFonts(), FontInfoScanner::scanFonts(), FormFieldText::setContentCopy(), FormField::setPartialName(), FormField::setReadOnly(), AnnotRichMedia::Settings::Settings(), PSOutputDev::setupFonts(), PSOutputDev::setupForm(), PSOutputDev::setupResources(), FormFieldChoice::updateSelection(), FormFieldButton::updateState(), write_epdf(), PSOutputDev::writeDocSetup(), PDFDoc::writeObject(), and XRef::XRef().

◆ getDict() [2/3]

Dict* Object::getDict ( ) const
inline

Definition at line 439 of file Object.h.

References dict, objDict, and OBJECT_TYPE_CHECK.

◆ getDict() [3/3]

Dict* Object::getDict ( ) const
inline

Definition at line 439 of file Object.h.

References dict, objDict, and OBJECT_TYPE_CHECK.

◆ getHexString() [1/2]

const GooString* Object::getHexString ( ) const
inline

Definition at line 418 of file Object.h.

References OBJECT_TYPE_CHECK, objHexString, and string.

Referenced by PDFDoc::writeObject().

◆ getHexString() [2/2]

const GooString* Object::getHexString ( ) const
inline

Definition at line 418 of file Object.h.

References OBJECT_TYPE_CHECK, objHexString, and string.

◆ getInt() [1/3]

int Object::getInt ( )
inline

Definition at line 155 of file Object.h.

References intg.

Referenced by Annot::Annot(), AnnotAppearanceCharacs::AnnotAppearanceCharacs(), Gfx::buildImageStream(), XRef::constructObjectStreamEntries(), copyObject(), DCTStream::DCTStream(), Gfx::doForm(), Gfx::doImage(), Gfx::doSoftMask(), AcroFormField::drawAnnot(), AcroFormField::drawNewAppearance(), EmbFile::EmbFile(), XRef::fetch(), Form::Form(), FormField::FormField(), FormFieldButton::FormFieldButton(), FormFieldChoice::FormFieldChoice(), FormFieldText::FormFieldText(), Annot::generateFreeTextAppearance(), Linearization::getHintsLength(), Linearization::getHintsLength2(), Linearization::getHintsOffset(), Linearization::getHintsOffset2(), AcroFormField::getMaxLen(), Parser::getObj(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxFontDict::hashFontObject1(), JPXStream::init(), Annot::initialize(), AnnotFreeText::initialize(), PageLabelInfo::Interval::Interval(), LinkDest::LinkDest(), LinkRendition::LinkRendition(), LinkResetForm::LinkResetForm(), LinkSubmitForm::LinkSubmitForm(), AcroFormField::load(), Catalog::loadPage2(), main(), Stream::makeFilter(), Parser::makeStream(), ObjectStream::ObjectStream(), PSOutputDev::opiBegin13(), PSOutputDev::opiBegin20(), Gfx::opSetExtGState(), OutlineItem::OutlineItem(), PageAttrs::PageAttrs(), PageLabelNode::PageLabelNode(), PageTransition::PageTransition(), GfxICCBasedColorSpace::parse(), PageLabelInfo::parse(), StructElement::parse(), GfxIndexedColorSpace::parse(), GfxGouraudTriangleShading::parse(), GfxPatchMeshShading::parse(), GfxShading::parse(), GfxPattern::parse(), Function::parse(), GfxTilingPattern::parse(), StructElement::parseChild(), XRef::parseEntry(), MediaWindowParameters::parseFWParams(), MediaParameters::parseMediaPlayParameters(), MediaParameters::parseMediaScreenParameters(), Movie::parseMovie(), MovieActivationParameters::parseMovieActivation(), GfxFont::readFontDescriptor(), Catalog::readPageTree(), Hints::readTables(), XRef::readXRef(), XRef::readXRefStream(), XRef::readXRefTable(), SampledFunction::SampledFunction(), FormField::setReadOnly(), PSOutputDev::setupEmbeddedType1Font(), PSOutputDev::setupImage(), Sound::Sound(), StandardSecurityHandler::StandardSecurityHandler(), testForNumericNames(), ViewerPreferences::ViewerPreferences(), PDFDoc::writeObject(), PDFDoc::writeRawStream(), and XRef::XRef().

◆ getInt() [2/3]

int Object::getInt ( ) const
inline

Definition at line 380 of file Object.h.

References intg, OBJECT_TYPE_CHECK, and objInt.

◆ getInt() [3/3]

int Object::getInt ( ) const
inline

Definition at line 380 of file Object.h.

References intg, OBJECT_TYPE_CHECK, and objInt.

◆ getInt64() [1/2]

◆ getInt64() [2/2]

long long Object::getInt64 ( ) const
inline

Definition at line 469 of file Object.h.

References int64g, OBJECT_TYPE_CHECK, and objInt64.

◆ getIntOrInt64() [1/2]

long long Object::getIntOrInt64 ( ) const
inline

◆ getIntOrInt64() [2/2]

long long Object::getIntOrInt64 ( ) const
inline

Definition at line 474 of file Object.h.

References int64g, intg, OBJECT_2TYPES_CHECK, objInt, objInt64, and type.

◆ getName() [1/3]

char* Object::getName ( )
inline

Definition at line 159 of file Object.h.

References name.

Referenced by Annot3D::Activation::Activation(), AnnotRichMedia::Activation::Activation(), Stream::addFilters(), Annot::Annot(), AnnotBorderBS::AnnotBorderBS(), AnnotBorderEffect::AnnotBorderEffect(), AnnotIconFit::AnnotIconFit(), Gfx::buildImageStream(), AnnotRichMedia::Configuration::Configuration(), copyFont(), copyObject(), copyProcSet(), Annots::createAnnot(), AnnotRichMedia::Deactivation::Deactivation(), Gfx::doImage(), AcroFormField::drawExistingAppearance(), AcroFormField::drawNewAppearance(), AnnotAppearanceBuilder::drawSignatureFieldText(), EmbFile::EmbFile(), AcroFormField::getAnnotResources(), FormFieldButton::getAppearanceState(), FormFieldButton::getDefaultAppearanceState(), Catalog::getJS(), Parser::getObj(), AcroFormField::getValue(), Gfx8BitFont::Gfx8BitFont(), GfxFontDict::hashFontObject1(), Annot::initialize(), AnnotMarkup::initialize(), AnnotText::initialize(), AnnotLink::initialize(), AnnotFreeText::initialize(), AnnotLine::initialize(), AnnotTextMarkup::initialize(), AnnotStamp::initialize(), AnnotGeometry::initialize(), AnnotPolygon::initialize(), AnnotCaret::initialize(), AnnotSound::initialize(), AnnotWidget::initialize(), AnnotRichMedia::Instance::Instance(), LinkGoTo::LinkGoTo(), LinkGoToR::LinkGoToR(), LinkMovie::LinkMovie(), LinkNamed::LinkNamed(), LinkOCGState::LinkOCGState(), LinkResetForm::LinkResetForm(), AcroFormField::load(), SecurityHandler::make(), GfxFont::makeFont(), PDFDoc::markAnnotations(), MediaRendition::MediaRendition(), PSOutputDev::opiBegin13(), PSOutputDev::opiBegin20(), Gfx::opXObject(), PageLabelNode::PageLabelNode(), PageTransition::PageTransition(), CMap::parse(), StructElement::parse(), GfxSeparationColorSpace::parse(), GfxDeviceNColorSpace::parse(), GfxColorSpace::parse(), LinkAction::parseAction(), parseAnnotExternalData(), StructElement::parseAttributes(), GfxState::parseBlendMode(), MovieActivationParameters::parseMovieActivation(), Attribute::parseUserProperty(), GfxFont::readFontDescriptor(), Catalog::readMetadata(), roleMapResolve(), AnnotAppearanceBuilder::setTextFont(), Sound::Sound(), StandardSecurityHandler::StandardSecurityHandler(), testForNumericNames(), ViewerPreferences::ViewerPreferences(), and PDFDoc::writeObject().

◆ getName() [2/3]

const char* Object::getName ( ) const
inline

Definition at line 429 of file Object.h.

References cString, OBJECT_TYPE_CHECK, and objName.

◆ getName() [3/3]

const char* Object::getName ( ) const
inline

Definition at line 429 of file Object.h.

References cString, OBJECT_TYPE_CHECK, and objName.

◆ getNum() [1/5]

double Object::getNum ( )
inline

Definition at line 157 of file Object.h.

References intg, objInt, and type.

Referenced by Annot::Annot(), AnnotBorderArray::AnnotBorderArray(), AnnotColor::AnnotColor(), AnnotQuadrilaterals::AnnotQuadrilaterals(), Gfx::checkTransparencyGroup(), copyFont(), copyObject(), Gfx::doForm(), Gfx::doImage(), Gfx::doSoftMask(), AcroFormField::drawAnnot(), Gfx::drawAnnot(), Gfx::drawForm(), AcroFormField::drawNewAppearance(), ExponentialFunction::ExponentialFunction(), Annot::generateLineAppearance(), Annot::generatePolygonAppearance(), Annot::generatePolyLineAppearance(), AcroFormField::getBBox(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxImageColorMap::GfxImageColorMap(), Function::init(), GfxShading::init(), PDFDoc::isLinearized(), isRGBColor(), Linearization::Linearization(), Link::Link(), LinkDest::LinkDest(), LinkSound::LinkSound(), PSOutputDev::opiBegin13(), PSOutputDev::opiBegin20(), Gfx::opSetExtGState(), Gfx::opShowSpaceText(), Page::Page(), PageAttrs::PageAttrs(), PageTransition::PageTransition(), GfxCalRGBColorSpace::parse(), GfxLabColorSpace::parse(), GfxCalGrayColorSpace::parse(), GfxICCBasedColorSpace::parse(), GfxAxialShading::parse(), GfxRadialShading::parse(), GfxFunctionShading::parse(), GfxGouraudTriangleShading::parse(), GfxPatchMeshShading::parse(), GfxShadingPattern::parse(), GfxTilingPattern::parse(), AnnotBorder::parseDashArray(), MediaParameters::parseMediaPlayParameters(), MediaParameters::parseMediaScreenParameters(), Movie::parseMovie(), MovieActivationParameters::parseMovieActivation(), AnnotPath::parsePathArray(), Annot::readArrayNum(), PageAttrs::readBox(), GfxFont::readFontDescriptor(), SampledFunction::SampledFunction(), AcroFormField::setColor(), Annot::setFillColor(), PSOutputDev::setupForm(), and StitchingFunction::StitchingFunction().

◆ getNum() [2/5]

double Object::getNum ( ) const
inline

Definition at line 393 of file Object.h.

References int64g, intg, OBJECT_3TYPES_CHECK, objInt, objInt64, objReal, real, and type.

◆ getNum() [3/5]

double Object::getNum ( ) const
inline

Definition at line 393 of file Object.h.

References int64g, intg, OBJECT_3TYPES_CHECK, objInt, objInt64, objReal, real, and type.

◆ getNum() [4/5]

double Object::getNum ( bool ok) const
inline

Definition at line 398 of file Object.h.

References int64g, intg, objInt, objInt64, objReal, real, type, and unlikely.

◆ getNum() [5/5]

double Object::getNum ( bool ok) const
inline

Definition at line 398 of file Object.h.

References int64g, intg, objInt, objInt64, objReal, real, type, and unlikely.

◆ getNumWithDefaultValue() [1/2]

◆ getNumWithDefaultValue() [2/2]

double Object::getNumWithDefaultValue ( double  defaultValue) const
inline

Definition at line 512 of file Object.h.

References int64g, intg, objInt, objInt64, objReal, real, type, and unlikely.

◆ getReal() [1/3]

double Object::getReal ( )
inline

Definition at line 156 of file Object.h.

References real.

Referenced by copyObject(), Gfx::doImage(), GfxFontDict::hashFontObject1(), and PDFDoc::writeObject().

◆ getReal() [2/3]

double Object::getReal ( ) const
inline

Definition at line 385 of file Object.h.

References OBJECT_TYPE_CHECK, objReal, and real.

◆ getReal() [3/3]

double Object::getReal ( ) const
inline

Definition at line 385 of file Object.h.

References OBJECT_TYPE_CHECK, objReal, and real.

◆ getRef() [1/3]

Ref Object::getRef ( )
inline

Definition at line 163 of file Object.h.

References ref.

Referenced by Page::addAnnot(), OCGs::allOff(), OCGs::allOn(), Annot::Annot(), Annots::Annots(), OCGs::anyOff(), OCGs::anyOn(), Catalog::cachePageTree(), copyFont(), copyObject(), Annots::createAnnot(), doMergeNameTree(), Gfx::doShowText(), OptionalContent::evalOCObject(), AcroFormField::findFontName(), Form::Form(), Array::get(), GfxFont::getFontType(), StructElement::getPageRef(), GfxFontDict::GfxFontDict(), GfxResources::GfxResources(), Annot::initialize(), AnnotPopup::initialize(), AnnotMarkup::initialize(), JBIG2Stream::JBIG2Stream(), LinkDest::LinkDest(), LinkMovie::LinkMovie(), LinkOCGState::LinkOCGState(), LinkRendition::LinkRendition(), LinkResetForm::LinkResetForm(), Catalog::loadPage2(), GfxResources::lookupGState(), PDFDoc::markAcroForm(), PDFDoc::markAnnotations(), PDFDoc::markObject(), XRef::markUnencrypted(), OCGs::OCGs(), Gfx::opSetExtGState(), OCGs::optContentIsVisible(), OptionalContent::OptionalContent(), Gfx::opXObject(), GfxICCBasedColorSpace::parse(), StructElement::parse(), OCDisplayNode::parse(), LinkAction::parseAction(), StructElement::parseChild(), StructTreeRoot::parseNumberTreeNode(), OutlineItem::readItemList(), Catalog::readPageTree(), AnnotAppearance::referencesStream(), Page::removeAnnot(), XRef::removeDocInfo(), Catalog::removeFormFromAcroForm(), AnnotAppearance::removeStateStreams(), scanFonts(), FontInfoScanner::scanFonts(), AnnotWidget::setFormAdditionalAction(), PSOutputDev::setupFonts(), PSOutputDev::setupForm(), PSOutputDev::setupImages(), PSOutputDev::setupResources(), and PDFDoc::writeObject().

◆ getRef() [2/3]

Ref Object::getRef ( ) const
inline

Definition at line 449 of file Object.h.

References OBJECT_TYPE_CHECK, objRef, and ref.

◆ getRef() [3/3]

Ref Object::getRef ( ) const
inline

Definition at line 449 of file Object.h.

References OBJECT_TYPE_CHECK, objRef, and ref.

◆ getRefGen() [1/3]

◆ getRefGen() [2/3]

int Object::getRefGen ( ) const
inline

Definition at line 459 of file Object.h.

References Ref::gen, OBJECT_TYPE_CHECK, objRef, and ref.

◆ getRefGen() [3/3]

int Object::getRefGen ( ) const
inline

Definition at line 459 of file Object.h.

References Ref::gen, OBJECT_TYPE_CHECK, objRef, and ref.

◆ getRefNum() [1/3]

◆ getRefNum() [2/3]

int Object::getRefNum ( ) const
inline

Definition at line 454 of file Object.h.

References Ref::num, OBJECT_TYPE_CHECK, objRef, and ref.

◆ getRefNum() [3/3]

int Object::getRefNum ( ) const
inline

Definition at line 454 of file Object.h.

References Ref::num, OBJECT_TYPE_CHECK, objRef, and ref.

◆ getStream() [1/3]

◆ getStream() [2/3]

Stream* Object::getStream ( ) const
inline

Definition at line 444 of file Object.h.

References OBJECT_TYPE_CHECK, objStream, and stream.

◆ getStream() [3/3]

Stream* Object::getStream ( ) const
inline

Definition at line 444 of file Object.h.

References OBJECT_TYPE_CHECK, objStream, and stream.

◆ getString() [1/3]

GString* Object::getString ( )
inline

Definition at line 158 of file Object.h.

References string.

Referenced by AnnotAppearanceCharacs::AnnotAppearanceCharacs(), Catalog::Catalog(), AnnotRichMedia::Configuration::Configuration(), AnnotRichMedia::Content::Content(), copyObject(), PDFDoc::createTrailerDict(), doMergeNameTree(), AcroFormField::drawNewAppearance(), EmbFile::EmbFile(), FileSpec::FileSpec(), FormFieldChoice::fillChoices(), FormFieldText::fillContent(), Catalog::findDestInTree(), Form::Form(), FormField::FormField(), FormFieldChoice::FormFieldChoice(), Annot::generateFreeTextAppearance(), AcroFormField::getColor(), FileSpec::getFileNameForPlatform(), LinkAction::getFileSpecName(), AcroFormField::getFont(), FormField::getFullyQualifiedName(), PDFDoc::getID(), getInfoDate(), getInfoString(), Catalog::getJS(), PageAttrs::getLastModified(), Parser::getObj(), Array::getString(), AcroFormField::getValue(), GfxCIDFont::GfxCIDFont(), GfxFontDict::hashFontObject1(), Annot::initialize(), AnnotMarkup::initialize(), AnnotText::initialize(), AnnotMovie::initialize(), AnnotScreen::initialize(), AnnotFreeText::initialize(), PageLabelInfo::Interval::Interval(), LinkGoTo::LinkGoTo(), LinkGoToR::LinkGoToR(), LinkHide::LinkHide(), LinkJavaScript::LinkJavaScript(), LinkLaunch::LinkLaunch(), LinkMovie::LinkMovie(), LinkRendition::LinkRendition(), LinkSubmitForm::LinkSubmitForm(), LinkURI::LinkURI(), AcroFormField::load(), main(), GfxFont::makeFont(), MediaRendition::MediaRendition(), Gfx::opBeginMarkedContent(), PSOutputDev::opiBegin13(), PSOutputDev::opiBegin20(), Gfx::opShowSpaceText(), OptionalContentGroup::OptionalContentGroup(), OutlineItem::OutlineItem(), PageLabelNode::PageLabelNode(), AnnotRichMedia::Params::Params(), GfxIndexedColorSpace::parse(), OCDisplayNode::parse(), OptionalContentGroup::parse(), FormFieldText::parseDA(), FormFieldSignature::parseInfo(), Movie::parseMovie(), Attribute::parseUserProperty(), printInfoDate(), printInfoString(), printISODate(), Catalog::readEmbeddedFile(), Sound::Sound(), StandardSecurityHandler::StandardSecurityHandler(), PSOutputDev::writeHeader(), and PDFDoc::writeObject().

◆ getString() [2/3]

const GooString* Object::getString ( ) const
inline

Definition at line 406 of file Object.h.

References OBJECT_TYPE_CHECK, objString, and string.

◆ getString() [3/3]

const GooString* Object::getString ( ) const
inline

Definition at line 406 of file Object.h.

References OBJECT_TYPE_CHECK, objString, and string.

◆ getType() [1/3]

◆ getType() [2/3]

ObjType Object::getType ( ) const
inline

Definition at line 273 of file Object.h.

References CHECK_NOT_DEAD, and type.

◆ getType() [3/3]

ObjType Object::getType ( ) const
inline

Definition at line 273 of file Object.h.

References CHECK_NOT_DEAD, and type.

◆ getTypeName() [1/3]

◆ getTypeName() [2/3]

const char * Object::getTypeName ( ) const

Definition at line 114 of file Object.cc.

References objTypeNames, and type.

◆ getTypeName() [3/3]

const char* Object::getTypeName ( ) const

◆ initArray()

◆ initBool()

Object* Object::initBool ( GBool  boolnA)
inline

Definition at line 92 of file Object.h.

References booln, initObj, and objBool.

Referenced by Lexer::getObj().

◆ initCmd()

Object* Object::initCmd ( char *  cmdA)
inline

Definition at line 110 of file Object.h.

References cmd, copyString(), initObj, and objCmd.

Referenced by Lexer::getObj().

◆ initDict() [1/2]

Object * Object::initDict ( Dict dictA)

Definition at line 67 of file Object.cc.

References dict, Dict::incRef(), initObj, and objDict.

◆ initDict() [2/2]

◆ initEOF()

Object* Object::initEOF ( )
inline

Definition at line 114 of file Object.h.

References initObj, and objEOF.

Referenced by Lexer::getObj().

◆ initError()

Object* Object::initError ( )
inline

Definition at line 112 of file Object.h.

References initObj, and objError.

Referenced by Gfx::getContentObj(), Lexer::getObj(), and Parser::getObj().

◆ initInt()

◆ initName()

◆ initNull()

◆ initReal()

◆ initRef()

◆ initStream()

◆ initString()

Object* Object::initString ( GString stringA)
inline

Definition at line 98 of file Object.h.

References initObj, and objString.

Referenced by Lexer::getObj(), and Parser::getObj().

◆ isArray() [1/3]

GBool Object::isArray ( )
inline

Definition at line 136 of file Object.h.

References objArray, and type.

Referenced by Page::addAnnot(), Stream::addFilters(), Annot::Annot(), AnnotAppearanceCharacs::AnnotAppearanceCharacs(), AnnotBorderArray::AnnotBorderArray(), AnnotBorderBS::AnnotBorderBS(), AnnotIconFit::AnnotIconFit(), Annots::Annots(), Catalog::cachePageTree(), Gfx::checkArg(), Gfx::checkForContentStreamLoop(), AnnotRichMedia::Configuration::Configuration(), AnnotRichMedia::Content::Content(), copyObject(), copyProcSet(), Catalog::countPageTree(), PSOutputDev::createDeviceNTintFunc(), Catalog::createLinkDest(), PDFDoc::createTrailerDict(), Gfx::display(), Gfx::doForm(), Gfx::doImage(), doMergeFormDict(), doMergeNameTree(), Gfx::doSoftMask(), AcroFormField::draw(), AcroFormField::drawAnnot(), Gfx::drawAnnot(), Gfx::drawForm(), AcroFormField::drawNewAppearance(), OptionalContent::evalOCObject(), OCGs::evalOCVisibilityExpr(), OptionalContent::evalOCVisibilityExpr(), ExponentialFunction::ExponentialFunction(), FormFieldChoice::fillChoices(), Catalog::findDest(), Catalog::findDestInTree(), Form::Form(), FormField::FormField(), FormFieldChoice::FormFieldChoice(), Annot::generateLineAppearance(), Annot::generatePolygonAppearance(), Annot::generatePolyLineAppearance(), AcroFormField::getAnnotObj(), AcroFormField::getBBox(), Catalog::getDestOutputProfile(), GfxFont::getFontType(), Catalog::getFormType(), Linearization::getHintsLength(), Linearization::getHintsLength2(), Linearization::getHintsOffset(), Linearization::getHintsOffset2(), PDFDoc::getID(), OCGs::getOrderArray(), AcroFormField::getPageNum(), OCGs::getRBGroupsArray(), AcroFormField::getResources(), FormFieldSignature::getSignedRangeBounds(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), JPXStream::init(), Function::init(), GfxShading::init(), Gfx::initDisplayProfile(), Annot::initialize(), AnnotLink::initialize(), AnnotFreeText::initialize(), AnnotLine::initialize(), AnnotTextMarkup::initialize(), AnnotGeometry::initialize(), AnnotPolygon::initialize(), AnnotCaret::initialize(), AnnotInk::initialize(), Link::Link(), LinkGoTo::LinkGoTo(), LinkGoToR::LinkGoToR(), LinkHide::LinkHide(), LinkOCGState::LinkOCGState(), LinkResetForm::LinkResetForm(), Links::Links(), LinkSubmitForm::LinkSubmitForm(), AcroForm::load(), Catalog::loadPage2(), main(), PDFDoc::markAnnotations(), OCGs::OCGs(), PSOutputDev::opiBegin13(), PSOutputDev::opiBegin20(), Gfx::opSetExtGState(), OCGs::optContentIsVisible(), OptionalContent::OptionalContent(), Page::Page(), GfxCalGrayColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxLabColorSpace::parse(), GfxICCBasedColorSpace::parse(), PageLabelInfo::parse(), NameTree::parse(), StructElement::parse(), StructTreeRoot::parse(), GfxDeviceNColorSpace::parse(), GfxFunctionShading::parse(), GfxAxialShading::parse(), GfxRadialShading::parse(), GfxGouraudTriangleShading::parse(), GfxPatchMeshShading::parse(), GfxColorSpace::parse(), GfxShadingPattern::parse(), OCDisplayNode::parse(), GfxTilingPattern::parse(), LinkAction::parseAction(), StructElement::parseAttributes(), GfxState::parseBlendMode(), StructElement::parseChildren(), MediaWindowParameters::parseFWParams(), AnnotInk::parseInkList(), MediaParameters::parseMediaScreenParameters(), Movie::parseMovie(), MovieActivationParameters::parseMovieActivation(), StructTreeRoot::parseNumberTreeNode(), PageAttrs::readBox(), Catalog::readFileAttachmentAnnots(), GfxFont::readFontDescriptor(), XFAScanner::readXFAStreams(), XRef::readXRefStream(), Page::removeAnnot(), Page::replaceXRef(), SampledFunction::SampledFunction(), AcroForm::scanField(), Annot::setFillColor(), PSOutputDev::setupForm(), PSOutputDev::setupImages(), StandardSecurityHandler::StandardSecurityHandler(), StitchingFunction::StitchingFunction(), FormFieldSignature::validateSignature(), ViewerPreferences::ViewerPreferences(), write_epdf(), and PSOutputDev::writeDocSetup().

◆ isArray() [2/3]

bool Object::isArray ( ) const
inline

Definition at line 318 of file Object.h.

References CHECK_NOT_DEAD, objArray, and type.

◆ isArray() [3/3]

bool Object::isArray ( ) const
inline

Definition at line 318 of file Object.h.

References CHECK_NOT_DEAD, objArray, and type.

◆ isBool() [1/3]

◆ isBool() [2/3]

bool Object::isBool ( ) const
inline

Definition at line 278 of file Object.h.

References CHECK_NOT_DEAD, objBool, and type.

◆ isBool() [3/3]

bool Object::isBool ( ) const
inline

Definition at line 278 of file Object.h.

References CHECK_NOT_DEAD, objBool, and type.

◆ isCmd() [1/6]

◆ isCmd() [2/6]

bool Object::isCmd ( ) const
inline

Definition at line 338 of file Object.h.

References CHECK_NOT_DEAD, objCmd, and type.

◆ isCmd() [3/6]

bool Object::isCmd ( ) const
inline

Definition at line 338 of file Object.h.

References CHECK_NOT_DEAD, objCmd, and type.

◆ isCmd() [4/6]

GBool Object::isCmd ( const char *  cmdA)
inline

Definition at line 150 of file Object.h.

References cmd, objCmd, strcmp(), and type.

◆ isCmd() [5/6]

bool Object::isCmd ( const char *  cmdA) const
inline

Definition at line 372 of file Object.h.

References cString, objCmd, strcmp(), and type.

◆ isCmd() [6/6]

bool Object::isCmd ( const char *  cmdA) const
inline

Definition at line 372 of file Object.h.

References cString, objCmd, strcmp(), and type.

◆ isDict() [1/6]

GBool Object::isDict ( )
inline

Definition at line 137 of file Object.h.

References objDict, and type.

Referenced by Catalog::addEmbeddedFile(), Annot::Annot(), AnnotAppearance::AnnotAppearance(), AnnotAppearanceCharacs::AnnotAppearanceCharacs(), Annots::Annots(), AcroFormField::buildDefaultResourceDict(), Catalog::cachePageTree(), Catalog::Catalog(), Gfx::checkArg(), PDFDoc::checkEncryption(), PDFDoc::checkLinearization(), Gfx::checkTransparencyGroup(), AnnotRichMedia::Configuration::Configuration(), XRef::constructTrailerDict(), XRef::constructXRef(), AnnotRichMedia::Content::Content(), copyDict(), copyFont(), copyFontDict(), copyFontResources(), copyObject(), copyOtherResources(), Catalog::countPageTree(), createAnnotDrawFont(), PSOutputDev::createDeviceNTintFunc(), XRef::createDocInfoIfNeeded(), Catalog::createLinkDest(), PDFDoc::createTrailerDict(), Gfx::doForm(), doMergeNameDict(), Gfx::doSoftMask(), AcroFormField::drawAnnot(), Gfx::drawAnnot(), AcroFormField::drawExistingAppearance(), Gfx::drawForm(), AcroFormField::drawNewAppearance(), Catalog::embeddedFile(), EmbFile::EmbFile(), OptionalContent::evalOCObject(), AcroFormField::fieldLookup(), fieldLookup(), FileSpec::FileSpec(), Catalog::findDest(), Catalog::findDestInTree(), AcroFormField::findFontName(), FontInfo::FontInfo(), Form::Form(), FormField::FormField(), FormWidgetButton::FormWidgetButton(), AnnotWidget::generateFieldAppearance(), Annot::generateFreeTextAppearance(), AnnotFreeText::generateFreeTextAppearance(), Annot::generateLineAppearance(), Annot::generatePolygonAppearance(), Annot::generatePolyLineAppearance(), getAdditionalAction(), Catalog::getAdditionalAction(), Page::getAdditionalAction(), AcroFormField::getAnnotResources(), Annot::getAppearanceResDict(), AnnotAppearance::getAppearanceStream(), PageAttrs::getBoxColorInfo(), Gfx8BitFont::getCharProc(), Gfx8BitFont::getCharProcNF(), Gfx8BitFont::getCharProcs(), StructTreeRoot::getClassMap(), Catalog::getDestOutputProfile(), Catalog::getDestsDest(), Catalog::getDestsName(), PDFDoc::getDocInfoStringEntry(), FileSpec::getEmbeddedFile(), Linearization::getEndFirst(), getFileSpecName(), LinkAction::getFileSpecName(), getFileSpecNameForPlatform(), HTMLGen::getFontFile(), GfxFont::getFontType(), AnnotWidget::getFormAdditionalAction(), FormField::getFullyQualifiedName(), Linearization::getHintsLength(), Linearization::getHintsLength2(), Linearization::getHintsOffset(), Linearization::getHintsOffset2(), Catalog::getJS(), Linearization::getLength(), Linearization::getMainXRefEntriesOffset(), Catalog::getMarkInfo(), Catalog::getNames(), Linearization::getNumPages(), AnnotAppearance::getNumStates(), Linearization::getObjectNumberFirst(), Linearization::getPageFirst(), Catalog::getPageLabelInfo(), Catalog::getPageLayout(), Catalog::getPageMode(), PageAttrs::getPieceInfo(), GfxTilingPattern::getResDict(), PageAttrs::getResourceDict(), Gfx8BitFont::getResources(), AcroFormField::getResources(), StructTreeRoot::getRoleMap(), PageAttrs::getSeparationInfo(), AnnotAppearance::getStateKey(), AcroFormField::getValue(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxFontDict::GfxFontDict(), GfxResources::GfxResources(), Gfx::initDisplayProfile(), Annot::initialize(), AnnotMarkup::initialize(), AnnotMovie::initialize(), AnnotScreen::initialize(), AnnotLink::initialize(), AnnotFreeText::initialize(), AnnotLine::initialize(), AnnotGeometry::initialize(), AnnotPolygon::initialize(), AnnotInk::initialize(), AnnotFileAttachment::initialize(), AnnotWidget::initialize(), Annot3D::initialize(), AnnotRichMedia::initialize(), AnnotRichMedia::Instance::Instance(), PDFDoc::isLinearized(), Linearization::Linearization(), Link::Link(), LinkHide::LinkHide(), LinkLaunch::LinkLaunch(), LinkRendition::LinkRendition(), Links::Links(), LinkSound::LinkSound(), AcroFormField::load(), AcroForm::load(), Catalog::loadPage2(), GfxResources::lookupColorSpace(), GfxResources::lookupGState(), GfxResources::lookupGStateNF(), GfxResources::lookupMarkedContentNF(), GfxResources::lookupPattern(), GfxResources::lookupPropertiesNF(), GfxResources::lookupShading(), GfxResources::lookupXObject(), GfxResources::lookupXObjectNF(), main(), PDFDoc::markAcroForm(), PDFDoc::markAnnotations(), MediaRendition::MediaRendition(), Movie::Movie(), Catalog::numDests(), OCGs::OCGs(), PSOutputDev::opiBegin(), PSOutputDev::opiEnd(), Gfx::opSetExtGState(), OCGs::optContentIsVisible(), OptionalContent::OptionalContent(), OptionalContentGroup::OptionalContentGroup(), Gfx::opXObject(), Outline::Outline(), Page::Page(), PageAttrs::PageAttrs(), GfxCalGrayColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxLabColorSpace::parse(), PageLabelInfo::parse(), NameTree::parse(), StructElement::parse(), StructTreeRoot::parse(), GfxDeviceNColorSpace::parse(), GfxColorSpace::parse(), GfxShading::parse(), GfxPattern::parse(), GfxShadingPattern::parse(), Function::parse(), GfxTilingPattern::parse(), OptionalContentGroup::parse(), LinkAction::parseAction(), StructElement::parseChild(), StructElement::parseChildren(), FormFieldText::parseDA(), FormFieldSignature::parseInfo(), MediaParameters::parseMediaPlayParameters(), MediaParameters::parseMediaScreenParameters(), StructTreeRoot::parseNumberTreeNode(), PDFDoc::parsePage(), printInfoString(), Catalog::readEmbeddedFile(), Catalog::readEmbeddedFileList(), Catalog::readEmbeddedFileTree(), Catalog::readFileAttachmentAnnots(), GfxFont::readFontDescriptor(), OutlineItem::readItemList(), Catalog::readPageLabelTree2(), Catalog::readPageTree(), XRef::readXRefTable(), AnnotAppearance::referencesStream(), PDFDoc::savePageAs(), FontInfoScanner::scan(), AcroForm::scanField(), scanFont(), scanFonts(), FontInfoScanner::scanFonts(), AnnotWidget::setFormAdditionalAction(), FormFieldText::setTextFontSize(), AnnotRichMedia::Settings::Settings(), PSOutputDev::setupFonts(), PSOutputDev::setupForm(), PSOutputDev::setupForms(), PSOutputDev::setupImages(), PSOutputDev::setupResources(), StandardSecurityHandler::StandardSecurityHandler(), poppler::page::transition(), write_epdf(), PSOutputDev::writeDocSetup(), XRef::XRef(), and Gfx8BitFont::~Gfx8BitFont().

◆ isDict() [2/6]

bool Object::isDict ( ) const
inline

Definition at line 323 of file Object.h.

References CHECK_NOT_DEAD, objDict, and type.

◆ isDict() [3/6]

bool Object::isDict ( ) const
inline

Definition at line 323 of file Object.h.

References CHECK_NOT_DEAD, objDict, and type.

◆ isDict() [4/6]

GBool Object::isDict ( const char *  dictType)
inline

Definition at line 263 of file Object.h.

References dictIs(), objDict, and type.

◆ isDict() [5/6]

bool Object::isDict ( const char *  dictType) const
inline

Definition at line 613 of file Object.h.

References dictIs(), objDict, and type.

◆ isDict() [6/6]

bool Object::isDict ( const char *  dictType) const

◆ isEOF() [1/3]

GBool Object::isEOF ( )
inline

Definition at line 142 of file Object.h.

References objEOF, and type.

Referenced by Gfx::buildImageStream(), Parser::getObj(), and Gfx::go().

◆ isEOF() [2/3]

bool Object::isEOF ( ) const
inline

Definition at line 348 of file Object.h.

References CHECK_NOT_DEAD, objEOF, and type.

◆ isEOF() [3/3]

bool Object::isEOF ( ) const
inline

Definition at line 348 of file Object.h.

References CHECK_NOT_DEAD, objEOF, and type.

◆ isError() [1/3]

GBool Object::isError ( )
inline

Definition at line 141 of file Object.h.

References objError, and type.

Referenced by Gfx::buildImageStream(), and Parser::getObj().

◆ isError() [2/3]

bool Object::isError ( ) const
inline

Definition at line 343 of file Object.h.

References CHECK_NOT_DEAD, objError, and type.

◆ isError() [3/3]

bool Object::isError ( ) const
inline

Definition at line 343 of file Object.h.

References CHECK_NOT_DEAD, objError, and type.

◆ isHexString() [1/2]

bool Object::isHexString ( ) const
inline

Definition at line 303 of file Object.h.

References CHECK_NOT_DEAD, objHexString, and type.

◆ isHexString() [2/2]

bool Object::isHexString ( ) const
inline

Definition at line 303 of file Object.h.

References CHECK_NOT_DEAD, objHexString, and type.

◆ isInt() [1/3]

GBool Object::isInt ( )
inline

Definition at line 130 of file Object.h.

References objInt, and type.

Referenced by Annot::Annot(), AnnotAppearanceCharacs::AnnotAppearanceCharacs(), Gfx::buildImageStream(), Gfx::checkArg(), XRef::constructObjectStreamEntries(), copyObject(), DCTStream::DCTStream(), Gfx::doForm(), Gfx::doImage(), Gfx::doSoftMask(), AcroFormField::drawAnnot(), AcroFormField::drawNewAppearance(), EmbFile::EmbFile(), XRef::fetch(), Form::Form(), FormField::FormField(), FormFieldButton::FormFieldButton(), FormFieldChoice::FormFieldChoice(), FormFieldText::FormFieldText(), Annot::generateFreeTextAppearance(), Linearization::getHintsLength(), Linearization::getHintsLength2(), Linearization::getHintsOffset(), Linearization::getHintsOffset2(), Parser::getObj(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), JPXStream::init(), Annot::initialize(), AnnotFreeText::initialize(), PageLabelInfo::Interval::Interval(), PDFDoc::isLinearized(), Linearization::Linearization(), LinkDest::LinkDest(), LinkRendition::LinkRendition(), LinkResetForm::LinkResetForm(), LinkSubmitForm::LinkSubmitForm(), AcroFormField::load(), Catalog::loadPage2(), Stream::makeFilter(), Parser::makeStream(), ObjectStream::ObjectStream(), Gfx::opSetExtGState(), OutlineItem::OutlineItem(), PageAttrs::PageAttrs(), PageLabelNode::PageLabelNode(), PageTransition::PageTransition(), GfxICCBasedColorSpace::parse(), PageLabelInfo::parse(), StructElement::parse(), GfxIndexedColorSpace::parse(), GfxGouraudTriangleShading::parse(), GfxPatchMeshShading::parse(), GfxShading::parse(), GfxPattern::parse(), Function::parse(), GfxTilingPattern::parse(), StructElement::parseChild(), StructElement::parseChildren(), XRef::parseEntry(), MediaWindowParameters::parseFWParams(), MediaParameters::parseMediaPlayParameters(), MediaParameters::parseMediaScreenParameters(), Movie::parseMovie(), MovieActivationParameters::parseMovieActivation(), GfxFont::readFontDescriptor(), Catalog::readPageLabelTree2(), Catalog::readPageTree(), Hints::readTables(), XRef::readXRef(), XRef::readXRefStream(), XRef::readXRefTable(), SampledFunction::SampledFunction(), FormField::setReadOnly(), PSOutputDev::setupEmbeddedType1Font(), PSOutputDev::setupImage(), Sound::Sound(), StandardSecurityHandler::StandardSecurityHandler(), testForNumericNames(), ViewerPreferences::ViewerPreferences(), PDFDoc::writeRawStream(), and XRef::XRef().

◆ isInt() [2/3]

bool Object::isInt ( ) const
inline

Definition at line 283 of file Object.h.

References CHECK_NOT_DEAD, objInt, and type.

◆ isInt() [3/3]

bool Object::isInt ( ) const
inline

Definition at line 283 of file Object.h.

References CHECK_NOT_DEAD, objInt, and type.

◆ isInt64() [1/2]

bool Object::isInt64 ( ) const
inline

◆ isInt64() [2/2]

bool Object::isInt64 ( ) const
inline

Definition at line 358 of file Object.h.

References CHECK_NOT_DEAD, objInt64, and type.

◆ isIntOrInt64() [1/2]

bool Object::isIntOrInt64 ( ) const
inline

◆ isIntOrInt64() [2/2]

bool Object::isIntOrInt64 ( ) const
inline

Definition at line 363 of file Object.h.

References CHECK_NOT_DEAD, objInt, objInt64, and type.

◆ isName() [1/6]

GBool Object::isName ( )
inline

Definition at line 134 of file Object.h.

References objName, and type.

Referenced by Annot3D::Activation::Activation(), AnnotRichMedia::Activation::Activation(), Stream::addFilters(), Annot::Annot(), AnnotBorderBS::AnnotBorderBS(), AnnotBorderEffect::AnnotBorderEffect(), AnnotIconFit::AnnotIconFit(), Annots::Annots(), Gfx::buildImageStream(), Gfx::checkArg(), Gfx::checkTransparencyGroup(), AnnotRichMedia::Configuration::Configuration(), copyObject(), copyOtherResources(), copyProcSet(), Annots::createAnnot(), PSOutputDev::createDeviceNTintFunc(), Form::createFieldFromDict(), AnnotRichMedia::Deactivation::Deactivation(), Gfx::doForm(), Gfx::doImage(), AcroFormField::drawExistingAppearance(), AcroFormField::drawNewAppearance(), EmbFile::EmbFile(), OptionalContent::evalOCObject(), FormField::FormField(), AcroFormField::getAnnotResources(), FormFieldButton::getAppearanceState(), FormFieldButton::getDefaultAppearanceState(), Catalog::getJS(), Parser::getObj(), Catalog::getPageLayout(), Catalog::getPageMode(), FormFieldButton::getState(), AcroFormField::getValue(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), JPXStream::init(), Annot::initialize(), AnnotMarkup::initialize(), AnnotText::initialize(), AnnotLink::initialize(), AnnotFreeText::initialize(), AnnotLine::initialize(), AnnotTextMarkup::initialize(), AnnotStamp::initialize(), AnnotGeometry::initialize(), AnnotPolygon::initialize(), AnnotCaret::initialize(), AnnotSound::initialize(), AnnotWidget::initialize(), AnnotRichMedia::Instance::Instance(), PageLabelInfo::Interval::Interval(), LinkDest::LinkDest(), LinkGoTo::LinkGoTo(), LinkGoToR::LinkGoToR(), LinkMovie::LinkMovie(), LinkNamed::LinkNamed(), LinkOCGState::LinkOCGState(), LinkResetForm::LinkResetForm(), Links::Links(), AcroFormField::load(), AcroForm::load(), SecurityHandler::make(), GfxFont::makeFont(), PDFDoc::markAnnotations(), MediaRendition::MediaRendition(), OCGs::OCGs(), PSOutputDev::opiBegin13(), PSOutputDev::opiBegin20(), Gfx::opSetExtGState(), OCGs::optContentIsVisible(), OptionalContent::OptionalContent(), OptionalContentGroup::OptionalContentGroup(), Gfx::opXObject(), PageLabelNode::PageLabelNode(), PageTransition::PageTransition(), CMap::parse(), StructElement::parse(), GfxSeparationColorSpace::parse(), GfxDeviceNColorSpace::parse(), GfxColorSpace::parse(), Function::parse(), OptionalContentGroup::parse(), LinkAction::parseAction(), parseAnnotExternalData(), StructElement::parseAttributes(), GfxState::parseBlendMode(), FormFieldSignature::parseInfo(), Annot::parseLineEndType(), MovieActivationParameters::parseMovieActivation(), Attribute::parseUserProperty(), Catalog::readFileAttachmentAnnots(), GfxFont::readFontDescriptor(), Catalog::readMetadata(), roleMapResolve(), AnnotAppearanceBuilder::setTextFont(), PSOutputDev::setupForms(), PSOutputDev::setupImages(), Sound::Sound(), StandardSecurityHandler::StandardSecurityHandler(), testForNumericNames(), ViewerPreferences::ViewerPreferences(), and PDFDoc::writeObject().

◆ isName() [2/6]

bool Object::isName ( ) const
inline

Definition at line 308 of file Object.h.

References CHECK_NOT_DEAD, objName, and type.

◆ isName() [3/6]

bool Object::isName ( ) const
inline

Definition at line 308 of file Object.h.

References CHECK_NOT_DEAD, objName, and type.

◆ isName() [4/6]

GBool Object::isName ( const char *  nameA)
inline

Definition at line 146 of file Object.h.

References name, objName, strcmp(), and type.

◆ isName() [5/6]

bool Object::isName ( const char *  nameA) const
inline

Definition at line 370 of file Object.h.

References cString, objName, strcmp(), and type.

◆ isName() [6/6]

bool Object::isName ( const char *  nameA) const
inline

Definition at line 370 of file Object.h.

References cString, objName, strcmp(), and type.

◆ isNone() [1/3]

◆ isNone() [2/3]

bool Object::isNone ( ) const
inline

Definition at line 353 of file Object.h.

References CHECK_NOT_DEAD, objNone, and type.

◆ isNone() [3/3]

bool Object::isNone ( ) const
inline

Definition at line 353 of file Object.h.

References CHECK_NOT_DEAD, objNone, and type.

◆ isNull() [1/3]

GBool Object::isNull ( )
inline

Definition at line 135 of file Object.h.

References objNull, and type.

Referenced by Page::addAnnot(), Stream::addFilters(), Gfx::checkTransparencyGroup(), AnnotRichMedia::Content::Content(), copyObject(), Annots::createAnnot(), PDFDoc::createTrailerDict(), Page::display(), Page::displaySlice(), Gfx::doForm(), Gfx::doImage(), doMergeNameDict(), doMergeNameTree(), Gfx::doSoftMask(), AnnotText::draw(), AnnotMovie::draw(), AnnotFreeText::draw(), AnnotLine::draw(), AnnotGeometry::draw(), AnnotPolygon::draw(), AnnotInk::draw(), AnnotFileAttachment::draw(), AnnotSound::draw(), AnnotWidget::draw(), Gfx::drawForm(), OptionalContent::evalOCObject(), AcroFormField::fieldLookup(), fieldLookup(), AnnotFreeText::getAppearanceResDict(), AnnotLine::getAppearanceResDict(), AnnotAppearance::getAppearanceStream(), Catalog::getMarkInfo(), GfxCIDFont::GfxCIDFont(), AnnotLink::initialize(), Annot::invalidateAppearance(), LinkHide::isOk(), Link::Link(), LinkDest::LinkDest(), LinkLaunch::LinkLaunch(), LinkRendition::LinkRendition(), Links::Links(), LinkSubmitForm::LinkSubmitForm(), AcroForm::load(), Page::loadThumb(), GfxResources::lookupColorSpace(), GfxResources::lookupGState(), GfxResources::lookupGStateNF(), GfxResources::lookupMarkedContentNF(), GfxResources::lookupPattern(), GfxResources::lookupPropertiesNF(), GfxResources::lookupShading(), GfxResources::lookupXObject(), GfxResources::lookupXObjectNF(), main(), PDFDoc::markDictionnary(), Gfx::opSetExtGState(), Gfx::opSetFillColorSpace(), Gfx::opSetStrokeColorSpace(), OCGs::optContentIsVisible(), OutlineItem::OutlineItem(), Page::Page(), GfxSeparationColorSpace::parse(), GfxDeviceNColorSpace::parse(), GfxICCBasedColorSpace::parse(), CMap::parse(), StructElement::parse(), StructTreeRoot::parse(), GfxGouraudTriangleShading::parse(), GfxPatchMeshShading::parse(), GfxColorSpace::parse(), StructElement::parseAttributes(), Movie::parseMovie(), StructTreeRoot::parseNumberTreeNode(), Attribute::parseUserProperty(), XRef::removeDocInfo(), roleMapResolve(), PDFDoc::savePageAs(), AcroForm::scanField(), PDFDoc::setDocInfoStringEntry(), FormFieldButton::setState(), PSOutputDev::setupImage(), AnnotTextMarkup::shouldCreateApperance(), Sound::Sound(), and write_epdf().

◆ isNull() [2/3]

bool Object::isNull ( ) const
inline

Definition at line 313 of file Object.h.

References CHECK_NOT_DEAD, objNull, and type.

◆ isNull() [3/3]

bool Object::isNull ( ) const
inline

Definition at line 313 of file Object.h.

References CHECK_NOT_DEAD, objNull, and type.

◆ isNum() [1/3]

GBool Object::isNum ( )
inline

Definition at line 132 of file Object.h.

References objInt, objReal, and type.

Referenced by Annot::Annot(), AnnotBorderArray::AnnotBorderArray(), AnnotColor::AnnotColor(), AnnotQuadrilaterals::AnnotQuadrilaterals(), Gfx::checkArg(), Gfx::checkTransparencyGroup(), copyObject(), Gfx::doForm(), Gfx::doImage(), Gfx::doSoftMask(), AcroFormField::drawAnnot(), Gfx::drawAnnot(), Gfx::drawForm(), AcroFormField::drawNewAppearance(), ExponentialFunction::ExponentialFunction(), Annot::generateFreeTextAppearance(), Annot::generateLineAppearance(), Annot::generatePolygonAppearance(), Annot::generatePolyLineAppearance(), AcroFormField::getBBox(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxImageColorMap::GfxImageColorMap(), Function::init(), PDFDoc::isLinearized(), isRGBColor(), Linearization::Linearization(), Link::Link(), LinkDest::LinkDest(), LinkSound::LinkSound(), PSOutputDev::opiBegin13(), PSOutputDev::opiBegin20(), Gfx::opSetExtGState(), Gfx::opShowSpaceText(), Page::Page(), PageAttrs::PageAttrs(), PageTransition::PageTransition(), GfxCalRGBColorSpace::parse(), GfxCalGrayColorSpace::parse(), GfxShadingPattern::parse(), GfxTilingPattern::parse(), AnnotBorder::parseDashArray(), MediaParameters::parseMediaPlayParameters(), MediaParameters::parseMediaScreenParameters(), Movie::parseMovie(), MovieActivationParameters::parseMovieActivation(), AnnotPath::parsePathArray(), Sound::parseSound(), Annot::readArrayNum(), PageAttrs::readBox(), GfxFont::readFontDescriptor(), SampledFunction::SampledFunction(), Annot::setFillColor(), and StitchingFunction::StitchingFunction().

◆ isNum() [2/3]

bool Object::isNum ( ) const
inline

Definition at line 293 of file Object.h.

References CHECK_NOT_DEAD, objInt, objInt64, objReal, and type.

◆ isNum() [3/3]

bool Object::isNum ( ) const
inline

Definition at line 293 of file Object.h.

References CHECK_NOT_DEAD, objInt, objInt64, objReal, and type.

◆ isReal() [1/3]

GBool Object::isReal ( )
inline

Definition at line 131 of file Object.h.

References objReal, and type.

Referenced by copyObject(), and Gfx::doImage().

◆ isReal() [2/3]

bool Object::isReal ( ) const
inline

Definition at line 288 of file Object.h.

References CHECK_NOT_DEAD, objReal, and type.

◆ isReal() [3/3]

bool Object::isReal ( ) const
inline

Definition at line 288 of file Object.h.

References CHECK_NOT_DEAD, objReal, and type.

◆ isRef() [1/3]

GBool Object::isRef ( )
inline

Definition at line 139 of file Object.h.

References objRef, and type.

Referenced by Page::addAnnot(), OCGs::allOff(), OCGs::allOn(), Annot::Annot(), Annots::Annots(), OCGs::anyOff(), OCGs::anyOn(), AcroForm::buildAnnotPageList(), Catalog::cachePageTree(), Gfx::checkForContentStreamLoop(), XRef::constructXRef(), copyFontResources(), copyObject(), Annots::createAnnot(), doMergeNameTree(), Gfx::doShowText(), Catalog::embeddedFile(), OptionalContent::evalOCObject(), FileSpec::FileSpec(), AcroFormField::findFontName(), Form::Form(), FormField::FormField(), AnnotAppearance::getAppearanceStream(), Gfx::getContentObj(), GfxFont::getFontType(), StructElement::getPageRef(), GfxFontDict::GfxFontDict(), GfxResources::GfxResources(), OutlineItem::hasKids(), StructElement::hasPageRef(), Annot::initialize(), AnnotPopup::initialize(), AnnotMarkup::initialize(), JBIG2Stream::JBIG2Stream(), LinkDest::LinkDest(), LinkHide::LinkHide(), LinkMovie::LinkMovie(), LinkOCGState::LinkOCGState(), LinkRendition::LinkRendition(), LinkResetForm::LinkResetForm(), AcroForm::load(), Catalog::loadPage2(), AcroForm::lookupAnnotPage(), GfxResources::lookupGState(), PDFDoc::markAcroForm(), PDFDoc::markAnnotations(), XRef::markUnencrypted(), OCGs::OCGs(), Gfx::opSetExtGState(), OCGs::optContentIsVisible(), OptionalContent::OptionalContent(), Gfx::opXObject(), Page::Page(), GfxICCBasedColorSpace::parse(), StructElement::parse(), OCDisplayNode::parse(), LinkAction::parseAction(), StructElement::parseChild(), Movie::parseMovie(), StructTreeRoot::parseNumberTreeNode(), Catalog::readEmbeddedFile(), Catalog::readFileAttachmentAnnots(), OutlineItem::readItemList(), Catalog::readPageTree(), XRef::readXRefTable(), AnnotAppearance::referencesStream(), Page::removeAnnot(), XRef::removeDocInfo(), Catalog::removeFormFromAcroForm(), AnnotAppearance::removeStateStreams(), XRef::saveTrailerDict(), scanFonts(), FontInfoScanner::scanFonts(), AnnotWidget::setFormAdditionalAction(), PSOutputDev::setupFonts(), PSOutputDev::setupForms(), PSOutputDev::setupImages(), PSOutputDev::setupResources(), write_epdf(), and XRef::XRef().

◆ isRef() [2/3]

bool Object::isRef ( ) const
inline

Definition at line 333 of file Object.h.

References CHECK_NOT_DEAD, objRef, and type.

◆ isRef() [3/3]

bool Object::isRef ( ) const
inline

Definition at line 333 of file Object.h.

References CHECK_NOT_DEAD, objRef, and type.

◆ isStream() [1/4]

GBool Object::isStream ( )
inline

Definition at line 138 of file Object.h.

References objStream, and type.

Referenced by XRef::constructXRef(), copyObject(), Gfx::display(), Gfx::doImage(), Gfx::doShowText(), SplashOutputDev::doUpdateFont(), EmbFile::EmbFile(), FontInfo::FontInfo(), Annot::generateAnnotAppearance(), AcroFormField::getAnnotResources(), Annot::getAppearanceResDict(), Lexer::getChar(), Catalog::getEmbeddedFileStreamObj(), GfxFont::getFontType(), Catalog::getFormType(), Catalog::getJS(), PageAttrs::getMetadata(), Lexer::getPos(), Lexer::getStream(), GfxCIDFont::GfxCIDFont(), EmbFile::isOk(), Lexer::Lexer(), LinkJavaScript::LinkJavaScript(), LinkRendition::LinkRendition(), Page::loadThumb(), GfxFont::locateFont(), main(), MediaRendition::MediaRendition(), ObjectStream::ObjectStream(), Gfx::opSetExtGState(), Gfx::opXObject(), Page::Page(), GfxSeparationColorSpace::parse(), GfxDeviceNColorSpace::parse(), GfxICCBasedColorSpace::parse(), CMap::parse(), GfxIndexedColorSpace::parse(), GfxShading::parse(), GfxPattern::parse(), Function::parse(), GfxTilingPattern::parse(), Movie::parseMovie(), Sound::parseSound(), PostScriptFunction::PostScriptFunction(), GfxFont::readEmbFontFile(), Catalog::readMetadata(), Hints::readTables(), GfxFont::readToUnicodeCMap(), XFAScanner::readXFAStreams(), XRef::readXRef(), JBIG2Stream::reset(), SampledFunction::SampledFunction(), EmbFile::save2(), scanFont(), scanFonts(), FontInfoScanner::scanFonts(), CairoOutputDev::setMimeDataForJBIG2Globals(), Lexer::setPos(), PSOutputDev::setupEmbeddedType1Font(), PSOutputDev::setupForms(), PSOutputDev::setupImages(), PSOutputDev::setupResources(), AnnotTextMarkup::shouldCreateApperance(), write_epdf(), PSOutputDev::writeDocSetup(), ImageOutputDev::writeImage(), and writeRefs().

◆ isStream() [2/4]

bool Object::isStream ( ) const
inline

Definition at line 328 of file Object.h.

References CHECK_NOT_DEAD, objStream, and type.

◆ isStream() [3/4]

bool Object::isStream ( ) const
inline

Definition at line 328 of file Object.h.

References CHECK_NOT_DEAD, objStream, and type.

◆ isStream() [4/4]

GBool Object::isStream ( char *  dictType)
inline

Definition at line 290 of file Object.h.

References objStream, streamIs(), and type.

◆ isString() [1/3]

GBool Object::isString ( )
inline

Definition at line 133 of file Object.h.

References objString, and type.

Referenced by AnnotAppearanceCharacs::AnnotAppearanceCharacs(), Catalog::Catalog(), Gfx::checkArg(), AnnotRichMedia::Configuration::Configuration(), AnnotRichMedia::Content::Content(), copyObject(), PDFDoc::createTrailerDict(), doMergeNameTree(), AcroFormField::drawNewAppearance(), EmbFile::EmbFile(), FileSpec::FileSpec(), FormFieldChoice::fillChoices(), FormFieldText::fillContent(), Catalog::findDestInTree(), Form::Form(), FormField::FormField(), FormFieldChoice::FormFieldChoice(), Annot::generateFreeTextAppearance(), PDFDoc::getDocInfoStringEntry(), FileSpec::getFileNameForPlatform(), getFileSpecName(), LinkAction::getFileSpecName(), getFileSpecNameForPlatform(), FormField::getFullyQualifiedName(), PDFDoc::getID(), getInfoDate(), getInfoString(), Catalog::getJS(), PageAttrs::getLastModified(), Parser::getObj(), Array::getString(), AcroFormField::getValue(), GfxCIDFont::GfxCIDFont(), Annot::initialize(), AnnotMarkup::initialize(), AnnotText::initialize(), AnnotMovie::initialize(), AnnotScreen::initialize(), AnnotFreeText::initialize(), AnnotFileAttachment::initialize(), PageLabelInfo::Interval::Interval(), LinkGoTo::LinkGoTo(), LinkGoToR::LinkGoToR(), LinkHide::LinkHide(), LinkJavaScript::LinkJavaScript(), LinkLaunch::LinkLaunch(), LinkMovie::LinkMovie(), LinkRendition::LinkRendition(), LinkSubmitForm::LinkSubmitForm(), LinkURI::LinkURI(), AcroFormField::load(), main(), GfxFont::makeFont(), MediaRendition::MediaRendition(), PSOutputDev::opiBegin13(), PSOutputDev::opiBegin20(), Gfx::opShowSpaceText(), OptionalContentGroup::OptionalContentGroup(), OutlineItem::OutlineItem(), PageLabelNode::PageLabelNode(), AnnotRichMedia::Params::Params(), StructElement::parse(), GfxIndexedColorSpace::parse(), OCDisplayNode::parse(), OptionalContentGroup::parse(), FormFieldText::parseDA(), FormFieldSignature::parseInfo(), Movie::parseMovie(), MovieActivationParameters::parseMovieActivation(), Attribute::parseUserProperty(), printInfoDate(), printInfoString(), printISODate(), Catalog::readEmbeddedFile(), Sound::Sound(), and StandardSecurityHandler::StandardSecurityHandler().

◆ isString() [2/3]

bool Object::isString ( ) const
inline

Definition at line 298 of file Object.h.

References CHECK_NOT_DEAD, objString, and type.

◆ isString() [3/3]

bool Object::isString ( ) const
inline

Definition at line 298 of file Object.h.

References CHECK_NOT_DEAD, objString, and type.

◆ memCheck()

void Object::memCheck ( FILE f)
static

Definition at line 227 of file Object.cc.

References f, fprintf, i, numObjTypes, objTypeNames, and t.

Referenced by main().

◆ operator=() [1/4]

Object& Object::operator= ( const Object other)
delete

◆ operator=() [2/4]

Object& Object::operator= ( const Object other)
delete

◆ operator=() [3/4]

Object& Object::operator= ( Object &&  other)
inlinenoexcept

Definition at line 245 of file Object.h.

References free(), memcpy, objDead, and other.

◆ operator=() [4/4]

Object& Object::operator= ( Object &&  other)
inlinenoexcept

Definition at line 245 of file Object.h.

References free(), memcpy, objDead, and other.

◆ print() [1/3]

◆ print() [2/3]

◆ print() [3/3]

void Object::print ( FILE f = stdout) const

◆ setToNull() [1/2]

◆ setToNull() [2/2]

void Object::setToNull ( )
inline

Definition at line 259 of file Object.h.

References free(), objNull, and type.

◆ streamClose() [1/3]

◆ streamClose() [2/3]

void Object::streamClose ( )

◆ streamClose() [3/3]

void Object::streamClose ( )

◆ streamGetBlock()

int Object::streamGetBlock ( char *  blk,
int  size 
)
inline

◆ streamGetChar() [1/3]

◆ streamGetChar() [2/3]

int Object::streamGetChar ( )

◆ streamGetChar() [3/3]

int Object::streamGetChar ( )

◆ streamGetChars() [1/2]

int Object::streamGetChars ( int  nChars,
unsigned char *  buffer 
)
inline

Definition at line 672 of file Object.h.

References OBJECT_TYPE_CHECK, and objStream.

Referenced by GfxIndexedColorSpace::parse().

◆ streamGetChars() [2/2]

int Object::streamGetChars ( int  nChars,
unsigned char *  buffer 
)

◆ streamGetDict() [1/3]

◆ streamGetDict() [2/3]

Dict * Object::streamGetDict ( ) const
inline

Definition at line 678 of file Object.h.

References OBJECT_TYPE_CHECK, and objStream.

◆ streamGetDict() [3/3]

Dict* Object::streamGetDict ( ) const

◆ streamGetLine()

char * Object::streamGetLine ( char *  buf,
int  size 
)
inline

Definition at line 308 of file Object.h.

References buf, and size.

◆ streamGetPos()

GFileOffset Object::streamGetPos ( )
inline

Definition at line 311 of file Object.h.

Referenced by Lexer::getPos().

◆ streamIs()

GBool Object::streamIs ( char *  dictType)
inline

Definition at line 287 of file Object.h.

Referenced by isStream().

◆ streamLookChar()

int Object::streamLookChar ( )
inline

Definition at line 302 of file Object.h.

Referenced by Lexer::lookChar().

◆ streamReset() [1/3]

◆ streamReset() [2/3]

void Object::streamReset ( )

◆ streamReset() [3/3]

void Object::streamReset ( )

◆ streamSetPos() [1/3]

void Object::streamSetPos ( GFileOffset  pos,
int  dir = 0 
)
inline

Definition at line 314 of file Object.h.

References dir, and pos.

Referenced by Lexer::setPos().

◆ streamSetPos() [2/3]

void Object::streamSetPos ( Goffset  pos,
int  dir = 0 
)

◆ streamSetPos() [3/3]

void Object::streamSetPos ( Goffset  pos,
int  dir = 0 
)

◆ takeHexString() [1/2]

GooString* Object::takeHexString ( )
inline

Definition at line 423 of file Object.h.

References objDead, OBJECT_TYPE_CHECK, objHexString, string, and type.

◆ takeHexString() [2/2]

GooString* Object::takeHexString ( )
inline

Definition at line 423 of file Object.h.

References objDead, OBJECT_TYPE_CHECK, objHexString, string, and type.

◆ takeString() [1/2]

GooString* Object::takeString ( )
inline

Definition at line 412 of file Object.h.

References objDead, OBJECT_TYPE_CHECK, objString, string, and type.

Referenced by PDFDoc::getDocInfoStringEntry(), and StructElement::parse().

◆ takeString() [2/2]

GooString* Object::takeString ( )
inline

Definition at line 412 of file Object.h.

References objDead, OBJECT_TYPE_CHECK, objString, string, and type.

Member Data Documentation

◆ 

Object::@1311 { ... } union

◆ 

Object::@1337 { ... } union

◆ 

Object::@82 { ... } union

◆ array

Array* Object::array

Definition at line 212 of file Object.h.

Referenced by free(), and getArray().

◆ booln [1/2]

GBool Object::booln

Definition at line 207 of file Object.h.

Referenced by getBool(), getBoolWithDefaultValue(), initBool(), Object(), and print().

◆ booln [2/2]

bool Object::booln

Definition at line 528 of file Object.h.

◆ cmd

char* Object::cmd

Definition at line 216 of file Object.h.

Referenced by copy(), free(), getCmd(), initCmd(), isCmd(), and print().

◆ cString

char* Object::cString

Definition at line 533 of file Object.h.

Referenced by copy(), getCmd(), getName(), isCmd(), isName(), Object(), and print().

◆ dict

◆ int64g

long long Object::int64g

Definition at line 530 of file Object.h.

Referenced by getInt64(), getIntOrInt64(), getNum(), getNumWithDefaultValue(), Object(), and print().

◆ intg

int Object::intg

Definition at line 208 of file Object.h.

Referenced by getInt(), getIntOrInt64(), getNum(), getNumWithDefaultValue(), initInt(), Object(), and print().

◆ name

◆ real

double Object::real

Definition at line 209 of file Object.h.

Referenced by getNum(), getNumWithDefaultValue(), and getReal().

◆ ref

Ref Object::ref

Definition at line 215 of file Object.h.

Referenced by fetch(), getRef(), getRefGen(), getRefNum(), initRef(), Object(), and print().

◆ stream

Stream* Object::stream

Definition at line 214 of file Object.h.

Referenced by pdf-org.Obj::__str__(), pdf.Obj::__str__(), copy(), free(), and getStream().

◆ string [1/2]

GString* Object::string

Definition at line 210 of file Object.h.

Referenced by copy(), free(), getHexString(), getString(), takeHexString(), and takeString().

◆ string [2/2]

GooString* Object::string

Definition at line 532 of file Object.h.

◆ type


The documentation for this class was generated from the following files: