Lines Matching refs:first
92 PDFGrammar( const iteratorT& first ) in PDFGrammar() argument
93 : m_fDouble( 0.0 ), m_aGlobalBegin( first ) {} in PDFGrammar()
288 rtl::OString iteratorToString( iteratorT first, iteratorT last ) const in iteratorToString() argument
291 while( first != last ) in iteratorToString()
293 aStr.append( *first ); in iteratorToString()
294 ++first; in iteratorToString()
314 void pushComment( iteratorT first, iteratorT last ) in pushComment() argument
318 new PDFComment(iteratorToString(first,last)); in pushComment()
323 parseError( "comment without container", first ); in pushComment()
381 void pushName( iteratorT first, iteratorT last ) in pushName() argument
383 insertNewValue( new PDFName(iteratorToString(first,last)), first ); in pushName()
386 void pushDouble( iteratorT first, iteratorT /*last*/ ) in pushDouble() argument
388 insertNewValue( new PDFNumber(m_fDouble), first ); in pushDouble()
391 void pushString( iteratorT first, iteratorT last ) in pushString() argument
393 insertNewValue( new PDFString(iteratorToString(first,last)), first ); in pushString()
396 void pushBool( iteratorT first, iteratorT last ) in pushBool() argument
398 insertNewValue( new PDFBool( (last-first == 4) ), first ); in pushBool()
401 void pushNull( iteratorT first, iteratorT ) in pushNull() argument
403 insertNewValue( new PDFNull(), first ); in pushNull()
407 void beginObject( iteratorT first, iteratorT /*last*/ ) in beginObject() argument
418 pObj->m_nOffset = first - m_aGlobalBegin; in beginObject()
429 parseError( "object in wrong place", first ); in beginObject()
432 void endObject( iteratorT first, iteratorT ) in endObject() argument
435 parseError( "endobj without obj", first ); in endObject()
437 parseError( "spurious endobj", first ); in endObject()
442 void pushObjectRef( iteratorT first, iteratorT ) in pushObjectRef() argument
448 insertNewValue( new PDFObjectRef(nObject,nGeneration), first ); in pushObjectRef()
451 void beginDict( iteratorT first, iteratorT ) in beginDict() argument
454 pDict->m_nOffset = first - m_aGlobalBegin; in beginDict()
456 insertNewValue( pDict, first ); in beginDict()
460 void endDict( iteratorT first, iteratorT ) in endDict() argument
464 parseError( "dictionary end without begin", first ); in endDict()
466 parseError( "spurious dictionary end", first ); in endDict()
477 parseError( m_aErrorString.getStr(), first ); in endDict()
481 void beginArray( iteratorT first, iteratorT ) in beginArray() argument
484 pArray->m_nOffset = first - m_aGlobalBegin; in beginArray()
486 insertNewValue( pArray, first ); in beginArray()
491 void endArray( iteratorT first, iteratorT ) in endArray() argument
494 parseError( "array end without begin", first ); in endArray()
496 parseError( "spurious array end", first ); in endArray()
501 void emitStream( iteratorT first, iteratorT last ) in emitStream() argument
504 parseError( "stream without object", first ); in emitStream()
509 parseError( "multiple streams in object", first ); in emitStream()
514 … PDFStream* pStream = new PDFStream( first - m_aGlobalBegin, last - m_aGlobalBegin, pDict ); in emitStream()
521 parseError( "stream without object", first ); in emitStream()
524 void beginTrailer( iteratorT first, iteratorT ) in beginTrailer() argument
530 pTrailer->m_nOffset = first - m_aGlobalBegin; in beginTrailer()
541 parseError( "trailer in wrong place", first ); in beginTrailer()
544 void endTrailer( iteratorT first, iteratorT ) in endTrailer() argument
547 parseError( "%%EOF without trailer", first ); in endTrailer()
549 parseError( "spurious %%EOF", first ); in endTrailer()