Lines Matching refs:m_aObjectStack
96 if( !m_aObjectStack.empty() ) in ~PDFGrammar()
97 delete m_aObjectStack.front(); in ~PDFGrammar()
102 std::vector< PDFEntry* > m_aObjectStack; member in PDFGrammar
301 if( m_aObjectStack.empty() ) in haveFile()
308 m_aObjectStack.push_back( pFile ); in haveFile()
319 if( m_aObjectStack.empty() ) in pushComment()
320 m_aObjectStack.push_back( new PDFPart() ); in pushComment()
321 PDFContainer* pContainer = dynamic_cast<PDFContainer*>(m_aObjectStack.back()); in pushComment()
331 if( ! m_aObjectStack.empty() && in insertNewValue()
332 (pContainer = dynamic_cast<PDFContainer*>(m_aObjectStack.back())) != NULL ) in insertNewValue()
409 if( m_aObjectStack.empty() ) in beginObject()
410 m_aObjectStack.push_back( new PDFPart() ); in beginObject()
420 PDFContainer* pContainer = dynamic_cast<PDFContainer*>(m_aObjectStack.back()); in beginObject()
426 m_aObjectStack.push_back( pObj ); in beginObject()
434 if( m_aObjectStack.empty() ) in endObject()
436 else if( dynamic_cast<PDFObject*>(m_aObjectStack.back()) == NULL ) in endObject()
439 m_aObjectStack.pop_back(); in endObject()
458 m_aObjectStack.push_back( pDict ); in beginDict()
463 if( m_aObjectStack.empty() ) in endDict()
465 else if( (pDict = dynamic_cast<PDFDict*>(m_aObjectStack.back())) == NULL ) in endDict()
468 m_aObjectStack.pop_back(); in endDict()
488 m_aObjectStack.push_back( pArray ); in beginArray()
493 if( m_aObjectStack.empty() ) in endArray()
495 else if( dynamic_cast<PDFArray*>(m_aObjectStack.back()) == NULL ) in endArray()
498 m_aObjectStack.pop_back(); in endArray()
503 if( m_aObjectStack.empty() ) in emitStream()
505 PDFObject* pObj = dynamic_cast<PDFObject*>(m_aObjectStack.back()); in emitStream()
526 if( m_aObjectStack.empty() ) in beginTrailer()
527 m_aObjectStack.push_back( new PDFPart() ); in beginTrailer()
532 PDFContainer* pContainer = dynamic_cast<PDFContainer*>(m_aObjectStack.back()); in beginTrailer()
538 m_aObjectStack.push_back( pTrailer ); in beginTrailer()
546 if( m_aObjectStack.empty() ) in endTrailer()
548 else if( dynamic_cast<PDFTrailer*>(m_aObjectStack.back()) == NULL ) in endTrailer()
551 m_aObjectStack.pop_back(); in endTrailer()
579 unsigned int nElem = aGrammar.m_aObjectStack.size(); in read()
582 fprintf( stderr, " %s\n", typeid( *(aGrammar.m_aObjectStack[i]) ).name() ); in read()
588 unsigned int nEntries = aGrammar.m_aObjectStack.size(); in read()
591 pRet = aGrammar.m_aObjectStack.back(); in read()
592 aGrammar.m_aObjectStack.pop_back(); in read()
657 unsigned int nElem = aGrammar.m_aObjectStack.size(); in read()
660 fprintf( stderr, " %s\n", typeid( *(aGrammar.m_aObjectStack[i]) ).name() ); in read()
666 unsigned int nEntries = aGrammar.m_aObjectStack.size(); in read()
669 pRet = aGrammar.m_aObjectStack.back(); in read()
670 aGrammar.m_aObjectStack.pop_back(); in read()
678 fprintf( stderr, "%s\n", typeid(*aGrammar.m_aObjectStack[i]).name() ); in read()
679 PDFObject* pObj = dynamic_cast<PDFObject*>(aGrammar.m_aObjectStack[i]); in read()
683 fprintf( stderr, "(type %s)\n", typeid(*aGrammar.m_aObjectStack[i]).name() ); in read()