Lines Matching refs:rEle
2823 sal_Int32 PDFWriterImpl::emitStructure( PDFStructureElement& rEle ) in emitStructure() argument
2827 rEle.m_eType == PDFWriter::NonStructElement && in emitStructure()
2828 rEle.m_nOwnElement != rEle.m_nParentElement // but of course emit the struct tree root in emitStructure()
2832 …for( std::list< sal_Int32 >::const_iterator it = rEle.m_aChildren.begin(); it != rEle.m_aChildren.… in emitStructure()
2839 if( rChild.m_nParentElement == rEle.m_nOwnElement ) in emitStructure()
2860 aLine.append( rEle.m_nObject ); in emitStructure()
2864 if( rEle.m_nOwnElement == rEle.m_nParentElement ) in emitStructure()
2891 if( rEle.m_aAlias.getLength() > 0 ) in emitStructure()
2892 aLine.append( rEle.m_aAlias ); in emitStructure()
2894 aLine.append( getStructureTag( rEle.m_eType ) ); in emitStructure()
2897 aLine.append( m_aStructure[ rEle.m_nParentElement ].m_nObject ); in emitStructure()
2900 aLine.append( rEle.m_nFirstPageObject ); in emitStructure()
2902 if( rEle.m_aActualText.getLength() ) in emitStructure()
2905 appendUnicodeTextStringEncrypt( rEle.m_aActualText, rEle.m_nObject, aLine ); in emitStructure()
2908 if( rEle.m_aAltText.getLength() ) in emitStructure()
2911 appendUnicodeTextStringEncrypt( rEle.m_aAltText, rEle.m_nObject, aLine ); in emitStructure()
2915 if( ! rEle.m_aBBox.IsEmpty() || rEle.m_aAttributes.size() ) in emitStructure()
2917 OString aAttribs = emitStructureAttributes( rEle ); in emitStructure()
2925 if( rEle.m_aLocale.Language.getLength() > 0 ) in emitStructure()
2928 aLocBuf.append( rEle.m_aLocale.Language.toAsciiLowerCase() ); in emitStructure()
2929 if( rEle.m_aLocale.Country.getLength() > 0 ) in emitStructure()
2932 aLocBuf.append( rEle.m_aLocale.Country ); in emitStructure()
2935 appendLiteralStringEncrypt( aLocBuf.makeStringAndClear(), rEle.m_nObject, aLine ); in emitStructure()
2938 if( ! rEle.m_aKids.empty() ) in emitStructure()
2943 rEle.m_aKids.begin(); it != rEle.m_aKids.end(); ++it, i++ ) in emitStructure()
2953 if( it->nObject == rEle.m_nFirstPageObject ) in emitStructure()
2972 CHECK_RETURN( updateObject( rEle.m_nObject ) ); in emitStructure()
2977 return rEle.m_nObject; in emitStructure()
11089 PDFStructureElement& rEle = m_aStructure[ m_nCurrentStructElement ]; in beginStructureElementMCSeq() local
11093 if( rEle.m_aAlias.getLength() > 0 ) in beginStructureElementMCSeq()
11094 aLine.append( rEle.m_aAlias ); in beginStructureElementMCSeq()
11096 aLine.append( getStructureTag( rEle.m_eType ) ); in beginStructureElementMCSeq()
11107 rEle.m_nFirstPageObject ); in beginStructureElementMCSeq()
11109 … rEle.m_aKids.push_back( PDFStructureElementKid( nMCID, m_aPages[m_nCurrentPage].m_nPageObject ) ); in beginStructureElementMCSeq()
11111 m_aPages[ m_nCurrentPage ].m_aMCIDParents.push_back( rEle.m_nObject ); in beginStructureElementMCSeq()
11113 rEle.m_bOpenMCSeq = true; in beginStructureElementMCSeq()
11206 PDFStructureElement& rEle = m_aStructure.back(); in beginStructureElement() local
11207 rEle.m_eType = eType; in beginStructureElement()
11208 rEle.m_nOwnElement = nNewId; in beginStructureElement()
11209 rEle.m_nParentElement = m_nCurrentStructElement; in beginStructureElement()
11210 rEle.m_nFirstPageObject = m_aPages[ m_nCurrentPage ].m_nPageObject; in beginStructureElement()
11220 rEle.m_aAlias = aAliasName; in beginStructureElement()
11229 if( rEle.m_aAlias.getLength() ) in beginStructureElement()
11232 aLine.append( rEle.m_aAlias ); in beginStructureElement()
11243 rEle.m_nObject = createObject(); in beginStructureElement()
11245 m_aStructure[ rEle.m_nParentElement ].m_aKids.push_back( rEle.m_nObject ); in beginStructureElement()
11300 void PDFWriterImpl::addInternalStructureContainer( PDFStructureElement& rEle ) in addInternalStructureContainer() argument
11302 if( rEle.m_eType == PDFWriter::NonStructElement && in addInternalStructureContainer()
11303 rEle.m_nOwnElement != rEle.m_nParentElement ) in addInternalStructureContainer()
11306 …for( std::list< sal_Int32 >::const_iterator it = rEle.m_aChildren.begin(); it != rEle.m_aChildren.… in addInternalStructureContainer()
11314 if( rChild.m_nParentElement == rEle.m_nOwnElement ) in addInternalStructureContainer()
11334 if( rEle.m_nOwnElement != rEle.m_nParentElement ) in addInternalStructureContainer()
11336 if( !rEle.m_aKids.empty() ) in addInternalStructureContainer()
11338 if( rEle.m_aKids.size() > ncMaxPDFArraySize ) { in addInternalStructureContainer()
11349 while( rEle.m_aKids.size() > ncMaxPDFArraySize ) in addInternalStructureContainer()
11351 sal_Int32 nCurrentStructElement = rEle.m_nOwnElement; in addInternalStructureContainer()
11360 … rEleNew.m_nFirstPageObject = m_aStructure[ rEle.m_aChildren.front() ].m_nFirstPageObject; in addInternalStructureContainer()
11366 std::list< sal_Int32 >::iterator aChildEndIt( rEle.m_aChildren.begin() ); in addInternalStructureContainer()
11367 std::list< PDFStructureElementKid >::iterator aKidEndIt( rEle.m_aKids.begin() ); in addInternalStructureContainer()
11372 rEle.m_aKids, in addInternalStructureContainer()
11373 rEle.m_aKids.begin(), in addInternalStructureContainer()
11376 rEle.m_aChildren, in addInternalStructureContainer()
11377 rEle.m_aChildren.begin(), in addInternalStructureContainer()
11387 rEle.m_aKids.insert( rEle.m_aKids.begin(), aNewKids.begin(), aNewKids.end() ); in addInternalStructureContainer()
11388 … rEle.m_aChildren.insert( rEle.m_aChildren.begin(), aNewChildren.begin(), aNewChildren.end() ); in addInternalStructureContainer()