Lines Matching refs:it

711 …std::hash_map< rtl::OString, sal_Int32, rtl::OStringHash >::const_iterator it = m_aFieldNameMap.fi…  in createWidgetFieldName()  local
712 if( it == m_aFieldNameMap.end() ) in createWidgetFieldName()
728 it = m_aFieldNameMap.find( aParentDomain ); in createWidgetFieldName()
729 OSL_ENSURE( it != m_aFieldNameMap.end(), "field name not found" ); in createWidgetFieldName()
730 if( it != m_aFieldNameMap.end() ) in createWidgetFieldName()
732 … OSL_ENSURE( it->second < sal_Int32(m_aWidgets.size()), "invalid field number entry" ); in createWidgetFieldName()
733 if( it->second < sal_Int32(m_aWidgets.size()) ) in createWidgetFieldName()
735 PDFWidget& rParentField( m_aWidgets[it->second] ); in createWidgetFieldName()
743 else if( m_aWidgets[it->second].m_eType != PDFWriter::Hierarchy ) in createWidgetFieldName()
772 …std::hash_map< rtl::OString, sal_Int32, rtl::OStringHash >::const_iterator it = m_aFieldNameMap.fi… in createWidgetFieldName() local
773 if( it != m_aFieldNameMap.end() ) in createWidgetFieldName()
775 …OSL_ENSURE( it->second >= 0 && it->second < sal_Int32( m_aWidgets.size() ), "invalid field index" … in createWidgetFieldName()
776 if( it->second >= 0 && it->second < sal_Int32(m_aWidgets.size()) ) in createWidgetFieldName()
778 m_aWidgets[i_nWidgetIndex].m_nParent = m_aWidgets[it->second].m_nObject; in createWidgetFieldName()
779 m_aWidgets[it->second].m_aKids.push_back( m_aWidgets[i_nWidgetIndex].m_nObject); in createWidgetFieldName()
780 m_aWidgets[it->second].m_aKidsIndex.push_back( i_nWidgetIndex ); in createWidgetFieldName()
799 … std::hash_map<OString, sal_Int32, OStringHash>::iterator it = m_aFieldNameMap.find( aFullName ); in createWidgetFieldName() local
801 if( it != m_aFieldNameMap.end() ) // not unique in createWidgetFieldName()
1089 for( PDFWriterImpl::ResourceMap::const_iterator it = rList.begin(); it != rList.end(); ++it ) in appendResourceMap() local
1091 if( it->first.getLength() && it->second > 0 ) in appendResourceMap()
1094 rBuf.append( it->first ); in appendResourceMap()
1096 rBuf.append( it->second ); in appendResourceMap()
2512 for( std::list<BitmapEmit>::iterator it = m_aBitmaps.begin(); in endPage() local
2513 it != m_aBitmaps.end(); ++it ) in endPage()
2515 if( ! it->m_aBitmap.IsEmpty() ) in endPage()
2517 writeBitmapObject( *it ); in endPage()
2518 it->m_aBitmap = BitmapEx(); in endPage()
2620 std::map< PDFWriter::StructAttribute, const char* >::const_iterator it = in getAttributeTag() local
2624 if( it == aAttributeStrings.end() ) in getAttributeTag()
2628 return it != aAttributeStrings.end() ? it->second : ""; in getAttributeTag()
2665 std::map< PDFWriter::StructAttributeValue, const char* >::const_iterator it = in getAttributeValueTag() local
2669 if( it == aValueStrings.end() ) in getAttributeValueTag()
2673 return it != aValueStrings.end() ? it->second : ""; in getAttributeValueTag()
2702 for( PDFStructAttributes::const_iterator it = i_rEle.m_aAttributes.begin(); in emitStructureAttributes() local
2703 it != i_rEle.m_aAttributes.end(); ++it ) in emitStructureAttributes()
2705 if( it->first == PDFWriter::ListNumbering ) in emitStructureAttributes()
2706 appendStructureAttributeLine( it->first, it->second, aList, true ); in emitStructureAttributes()
2707 else if( it->first == PDFWriter::RowSpan || in emitStructureAttributes()
2708 it->first == PDFWriter::ColSpan ) in emitStructureAttributes()
2709 appendStructureAttributeLine( it->first, it->second, aTable, false ); in emitStructureAttributes()
2710 else if( it->first == PDFWriter::LinkAnnotation ) in emitStructureAttributes()
2712 sal_Int32 nLink = it->second.nValue; in emitStructureAttributes()
2755 appendStructureAttributeLine( it->first, it->second, aLayout, true ); in emitStructureAttributes()
2832 …for( std::list< sal_Int32 >::const_iterator it = rEle.m_aChildren.begin(); it != rEle.m_aChildren.… in emitStructure() local
2834 if( *it > 0 && *it < sal_Int32(m_aStructure.size()) ) in emitStructure()
2836 PDFStructureElement& rChild = m_aStructure[ *it ]; in emitStructure()
2845 …"PDFWriterImpl::emitStructure: invalid child structure elemnt with id %" SAL_PRIdINT32 "\n", *it ); in emitStructure()
2854 …tf( stderr, "PDFWriterImpl::emitStructure: invalid child structure id %" SAL_PRIdINT32 "\n", *it ); in emitStructure()
2876 it = m_aRoleMap.begin(); it != m_aRoleMap.end(); ++it ) in emitStructure() local
2879 aLine.append(it->first); in emitStructure()
2881 aLine.append( it->second ); in emitStructure()
2942 for( std::list< PDFStructureElementKid >::const_iterator it = in emitStructure() local
2943 rEle.m_aKids.begin(); it != rEle.m_aKids.end(); ++it, i++ ) in emitStructure()
2945 if( it->nMCID == -1 ) in emitStructure()
2947 aLine.append( it->nObject ); in emitStructure()
2953 if( it->nObject == rEle.m_nFirstPageObject ) in emitStructure()
2955 aLine.append( it->nMCID ); in emitStructure()
2961 aLine.append( it->nObject ); in emitStructure()
2963 aLine.append( it->nMCID ); in emitStructure()
2982 for( std::list<GradientEmit>::iterator it = m_aGradients.begin(); in emitGradients() local
2983 it != m_aGradients.end(); ++it ) in emitGradients()
2985 CHECK_RETURN( writeGradientFunction( *it ) ); in emitGradients()
2994 for( std::vector<TilingEmit>::iterator it = m_aTilings.begin(); it != m_aTilings.end(); ++it ) in emitTilings() local
2996 DBG_ASSERT( it->m_pTilingStream, "tiling without stream" ); in emitTilings()
2997 if( ! it->m_pTilingStream ) in emitTilings()
3006 sal_Int32 nX = (sal_Int32)it->m_aRectangle.Left(); in emitTilings()
3007 sal_Int32 nY = (sal_Int32)it->m_aRectangle.Top(); in emitTilings()
3008 sal_Int32 nW = (sal_Int32)it->m_aRectangle.GetWidth(); in emitTilings()
3009 sal_Int32 nH = (sal_Int32)it->m_aRectangle.GetHeight(); in emitTilings()
3010 if( it->m_aCellSize.Width() == 0 ) in emitTilings()
3011 it->m_aCellSize.Width() = nW; in emitTilings()
3012 if( it->m_aCellSize.Height() == 0 ) in emitTilings()
3013 it->m_aCellSize.Height() = nH; in emitTilings()
3015 bool bDeflate = compressStream( it->m_pTilingStream ); in emitTilings()
3016 it->m_pTilingStream->Seek( STREAM_SEEK_TO_END ); in emitTilings()
3017 sal_Size nTilingStreamSize = it->m_pTilingStream->Tell(); in emitTilings()
3018 it->m_pTilingStream->Seek( STREAM_SEEK_TO_BEGIN ); in emitTilings()
3021 aTilingObj.append( it->m_nObject ); in emitTilings()
3036 appendFixedInt( it->m_aCellSize.Width(), aTilingObj ); in emitTilings()
3039 appendFixedInt( it->m_aCellSize.Height(), aTilingObj ); in emitTilings()
3041 if( it->m_aTransform.matrix[0] != 1.0 || in emitTilings()
3042 it->m_aTransform.matrix[1] != 0.0 || in emitTilings()
3043 it->m_aTransform.matrix[3] != 0.0 || in emitTilings()
3044 it->m_aTransform.matrix[4] != 1.0 || in emitTilings()
3045 it->m_aTransform.matrix[2] != 0.0 || in emitTilings()
3046 it->m_aTransform.matrix[5] != 0.0 ) in emitTilings()
3050 appendDouble( it->m_aTransform.matrix[0], aTilingObj ); in emitTilings()
3052 appendDouble( it->m_aTransform.matrix[1], aTilingObj ); in emitTilings()
3054 appendDouble( it->m_aTransform.matrix[3], aTilingObj ); in emitTilings()
3056 appendDouble( it->m_aTransform.matrix[4], aTilingObj ); in emitTilings()
3058 appendDouble( it->m_aTransform.matrix[2], aTilingObj ); in emitTilings()
3060 appendDouble( it->m_aTransform.matrix[5], aTilingObj ); in emitTilings()
3064 it->m_aResources.append( aTilingObj, getFontDictObject() ); in emitTilings()
3070 CHECK_RETURN( updateObject( it->m_nObject ) ); in emitTilings()
3072 checkAndEnableStreamEncryption( it->m_nObject ); in emitTilings()
3073 nTilingStreamSize = writeBuffer( it->m_pTilingStream->GetData(), nTilingStreamSize ); in emitTilings()
3074 delete it->m_pTilingStream; in emitTilings()
3075 it->m_pTilingStream = NULL; in emitTilings()
3289 for( Ucs2SIntMap::const_iterator it = pEncoding->begin(); it != pEncoding->end(); ++it ) in emitEmbeddedFont() local
3291 if( it->second != -1 ) in emitEmbeddedFont()
3293 sal_Int32 nCode = (sal_Int32)(it->second & 0x000000ff); in emitEmbeddedFont()
3295 nEncodedCodes[ nCode ] = it->first; in emitEmbeddedFont()
3297 aUnicodes.push_back( it->first ); in emitEmbeddedFont()
3317 std::list< int >::const_iterator it; in emitEmbeddedFont() local
3350 …for( it = aSections.begin(); it != aSections.end() && (nIndex < *it || nIndex > ((*it) + 5) ); ++i… in emitEmbeddedFont()
3352 } while( it != aSections.end() && nIndex < nFontLen-4 ); in emitEmbeddedFont()
3365 …for( it = aSections.begin(); it != aSections.end() && (nIndex < *it || nIndex > ((*it) + 5) ); ++i… in emitEmbeddedFont()
3367 if( it == aSections.end() ) in emitEmbeddedFont()
3391 for( it = aSections.begin(); it != aSections.end(); ++it ) in emitEmbeddedFont()
3394 if( nIndex >= (*it) && (*it)+6 > nIndex ) in emitEmbeddedFont()
3395 nLength3 -= (*it)+6 - nIndex; in emitEmbeddedFont()
3396 else if( *it >= nIndex ) in emitEmbeddedFont()
3398 if( *it < nFontLen - 6 ) in emitEmbeddedFont()
3401 nLength3 -= (nFontLen - *it); in emitEmbeddedFont()
3409 …for( it = aSections.begin(); it != aSections.end() && (nIndex < *it || nIndex > ((*it) + 5) ); ++i… in emitEmbeddedFont()
3411 if( it != aSections.end() ) in emitEmbeddedFont()
3413 nIndex = (*it)-1; in emitEmbeddedFont()
3424 …for( it = aSections.begin(); it != aSections.end() && (nBeginBinaryIndex < *it || nBeginBinaryInde… in emitEmbeddedFont()
3429 it != aSections.end() ) ); in emitEmbeddedFont()
3435 …for( it = aSections.begin(); it != aSections.end() && (nEndAsciiIndex < *it || nEndAsciiIndex > ((… in emitEmbeddedFont()
3437 if( it != aSections.end() ) in emitEmbeddedFont()
3438 nEndAsciiIndex = (*it)-1; in emitEmbeddedFont()
3441 … for( it = aSections.begin(); it != aSections.end() && *it < nEndAsciiIndex; ++it ) in emitEmbeddedFont()
3457 for( it = aSections.begin(); it != aSections.end(); ++it ) in emitEmbeddedFont()
3458 if( *it > nBeginBinaryIndex && *it < nEndBinaryIndex ) in emitEmbeddedFont()
3466 … for( it = aSections.begin(); it != aSections.end() && *it < nBeginBinaryIndex; ++it ) in emitEmbeddedFont()
3468 if( it != aSections.end() ) in emitEmbeddedFont()
3469 nNextSectionIndex = *it; in emitEmbeddedFont()
3475 ++it; in emitEmbeddedFont()
3476 nNextSectionIndex = (it == aSections.end() ? 0 : *it ); in emitEmbeddedFont()
3530 it = aSections.begin(); in emitEmbeddedFont()
3531 nIndex = (*it)+6; in emitEmbeddedFont()
3532 ++it; in emitEmbeddedFont()
3533 while( *it < nEndAsciiIndex ) in emitEmbeddedFont()
3535 if( ! writeBuffer( pFontData+nIndex, (*it)-nIndex ) ) in emitEmbeddedFont()
3537 nIndex = (*it)+6; in emitEmbeddedFont()
3538 ++it; in emitEmbeddedFont()
3555 for( it = aSections.begin(); *it < nBeginBinaryIndex; ++it ) in emitEmbeddedFont()
3558 … if( ! writeBuffer( pFontData+nBeginBinaryIndex, (*it) - nBeginBinaryIndex ) ) in emitEmbeddedFont()
3561 while( it != aSections.end() ) in emitEmbeddedFont()
3563 nIndex = (*it)+6; in emitEmbeddedFont()
3564 ++it; in emitEmbeddedFont()
3567 … sal_Int32 nSectionLen = (it == aSections.end()) ? nFontLen - nIndex : (*it) - nIndex; in emitEmbeddedFont()
3581 … for( it = aSections.begin(); it != aSections.end() && *it < nBeginBinaryIndex; ++it ) in emitEmbeddedFont()
3583 if( it != aSections.end() ) in emitEmbeddedFont()
3584 nNextSectionIndex = *it; in emitEmbeddedFont()
3590 ++it; in emitEmbeddedFont()
3591 nNextSectionIndex = (it == aSections.end() ? nFontLen : *it ); in emitEmbeddedFont()
3624 while( it != aSections.end() ) in emitEmbeddedFont()
3626 nIndex = (*it)+6; in emitEmbeddedFont()
3627 ++it; in emitEmbeddedFont()
3630 … sal_Int32 nSectionLen = (it == aSections.end()) ? nFontLen - nIndex : (*it) - nIndex; in emitEmbeddedFont()
4029 for( std::map< sal_Int32, sal_Int32 >::const_iterator it = in appendBuiltinFontsToDict() local
4030 m_aBuiltinFontToObjectMap.begin(); it != m_aBuiltinFontToObjectMap.end(); ++it ) in appendBuiltinFontsToDict()
4032 rDict.append( m_aBuiltinFonts[it->first].getNameObject() ); in appendBuiltinFontsToDict()
4034 rDict.append( it->second ); in appendBuiltinFontsToDict()
4050 for( FontSubsetData::iterator it = m_aSubsets.begin(); it != m_aSubsets.end(); ++it ) in emitFonts() local
4052 …for( FontEmitList::iterator lit = it->second.m_aSubsets.begin(); lit != it->second.m_aSubsets.end(… in emitFonts()
4092 …if( m_pReferenceDevice->mpGraphics->CreateFontSubset( aTmpName, it->first, aGlyphIds, pEncoding, p… in emitFonts()
4207 …sal_Int32 nFontDescriptor = emitFontDescriptor( it->first, aSubsetInfo, lit->m_nFontID, nFontStrea… in emitFonts()
4251 const ImplFontData* pFont = it->first; in emitFonts()
4306 for( std::map< sal_Int32, sal_Int32 >::iterator it = m_aBuiltinFontToObjectMap.begin(); in emitFonts() local
4307 it != m_aBuiltinFontToObjectMap.end(); ++it ) in emitFonts()
4309 ImplPdfBuiltinFontData aData(m_aBuiltinFonts[it->first]); in emitFonts()
4310 it->second = emitBuiltinFont( &aData, it->second ); in emitFonts()
5607 …d::vector< OUString >::const_iterator it = rWidget.m_aListEntries.begin(); it != rWidget.m_aListEn… in emitWidgetAnnotations() local
5609 appendUnicodeTextStringEncrypt( *it, rWidget.m_nObject, aLine ); in emitWidgetAnnotations()
5611 if( *it == rWidget.m_aValue ) in emitWidgetAnnotations()
5764 for( std::vector<PDFPage>::iterator it = m_aPages.begin(); it != m_aPages.end(); ++it ) in emitCatalog() local
5765 if( ! it->emit( nTreeNode ) ) in emitCatalog()
6577 …for( std::vector< sal_uInt8 >::const_iterator it = m_aContext.Encryption.DocumentIdentifier.begin(… in emitTrailer() local
6578 it != m_aContext.Encryption.DocumentIdentifier.end(); ++it ) in emitTrailer()
6580 appendHex( sal_Int8(*it), aLine ); in emitTrailer()
6584 …for( std::vector< sal_uInt8 >::const_iterator it = m_aContext.Encryption.DocumentIdentifier.begin(… in emitTrailer() local
6585 it != m_aContext.Encryption.DocumentIdentifier.end(); ++it ) in emitTrailer()
6587 appendHex( sal_Int8(*it), aLine ); in emitTrailer()
6695 …::hash_map< sal_Int32, AnnotSortContainer >::iterator it = sorted.begin(); it != sorted.end(); ++i… in sortWidgets() local
6698 PDFPage& rPage = m_aPages[ it->first ]; in sortWidgets()
6701 if( it->second.aObjects.find( rPage.m_aAnnotations[nA] ) == it->second.aObjects.end()) in sortWidgets()
6702it->second.aSortedAnnots.push_back( AnnotationSortEntry( 10000, rPage.m_aAnnotations[nA], -1 ) ); in sortWidgets()
6705 std::stable_sort( it->second.aSortedAnnots.begin(), it->second.aSortedAnnots.end(), aLess ); in sortWidgets()
6707 if( it->second.aSortedAnnots.size() == nAnnots) in sortWidgets()
6710 rPage.m_aAnnotations[nA] = it->second.aSortedAnnots[nA].nObject; in sortWidgets()
6717 …" %ld sorted and %ld unsorted\n", (long int)it->first, (long int)it->second.aSortedAnnots.size(… in sortWidgets()
6864 FontEmbedData::iterator it = m_aSystemFonts.find( pDevFont ); in getSystemFont() local
6865 if( it != m_aSystemFonts.end() ) in getSystemFont()
6866 nFontID = it->second.m_nNormalFontID; in getSystemFont()
6899 FontEmbedData::iterator it = m_aEmbeddedFonts.find( pCurrentFont ); in registerGlyphs() local
6900 if( it != m_aEmbeddedFonts.end() ) in registerGlyphs()
6901 nFontID = it->second.m_nNormalFontID; in registerGlyphs()
6923 FontMapping::iterator it = rSubset.m_aMapping.find( nFontGlyphId ); in registerGlyphs() local
6924 if( it != rSubset.m_aMapping.end() ) in registerGlyphs()
6926 pMappedFontObjects[i] = it->second.m_nFontID; in registerGlyphs()
6927 pMappedGlyphs[i] = it->second.m_nSubsetGlyphID; in registerGlyphs()
6965 FontEmbedData::iterator it = m_aEmbeddedFonts.find( pCurrentFont ); in registerGlyphs() local
6966 if( it != m_aEmbeddedFonts.end() ) in registerGlyphs()
6967 nFontID = it->second.m_nNormalFontID; in registerGlyphs()
9184 for( std::vector<double>::const_iterator it = rInfo.m_aDashArray.begin(); in drawPolyLine() local
9185 it != rInfo.m_aDashArray.end(); ++it ) in drawPolyLine()
9187 m_aPages.back().appendMappedLength( *it, aLine ); in drawPolyLine()
10004 std::list< JPGEmit >::const_iterator it; in drawJPGBitmap() local
10005 for( it = m_aJPGs.begin(); it != m_aJPGs.end() && ! (aID == it->m_aID); ++it ) in drawJPGBitmap()
10007 if( it == m_aJPGs.end() ) in drawJPGBitmap()
10018 it = m_aJPGs.begin(); in drawJPGBitmap()
10032 aLine.append( it->m_nObject ); in drawJPGBitmap()
10039 aLine.append( it->m_nObject ); in drawJPGBitmap()
10046 aObjName.append( it->m_nObject ); in drawJPGBitmap()
10047 pushResource( ResXObject, aObjName.makeStringAndClear(), it->m_nObject ); in drawJPGBitmap()
10108 std::list< BitmapEmit >::const_iterator it; in createBitmapEmit() local
10109 for( it = m_aBitmaps.begin(); it != m_aBitmaps.end(); ++it ) in createBitmapEmit()
10111 if( aID == it->m_aID ) in createBitmapEmit()
10114 if( it == m_aBitmaps.end() ) in createBitmapEmit()
10121 it = m_aBitmaps.begin(); in createBitmapEmit()
10126 aObjName.append( it->m_nObject ); in createBitmapEmit()
10127 pushResource( ResXObject, aObjName.makeStringAndClear(), it->m_nObject ); in createBitmapEmit()
10129 return *it; in createBitmapEmit()
10180 std::list<GradientEmit>::iterator it; in createGradient() local
10185 for( it = m_aGradients.begin(); it != m_aGradients.end(); ++it ) in createGradient()
10187 if( it->m_aGradient == rGradient ) in createGradient()
10189 if( it->m_aSize == aPtSize ) in createGradient()
10193 if( it == m_aGradients.end() ) in createGradient()
10199 it = m_aGradients.begin(); in createGradient()
10204 aObjName.append( it->m_nObject ); in createGradient()
10205 pushResource( ResShading, aObjName.makeStringAndClear(), it->m_nObject ); in createGradient()
10207 return it->m_nObject; in createGradient()
10997 for( std::vector<sal_Int32>::iterator it = rParent.m_aChildren.begin(); in setOutlineItemParent() local
10998 it != rParent.m_aChildren.end(); ++it ) in setOutlineItemParent()
11000 if( *it == nItem ) in setOutlineItemParent()
11002 rParent.m_aChildren.erase( it ); in setOutlineItemParent()
11077 … std::map< PDFWriter::StructElement, const char* >::const_iterator it = aTagStrings.find( eType ); in getStructureTag() local
11079 return it != aTagStrings.end() ? it->second : "Div"; in getStructureTag()
11184 for( std::list< sal_Int32 >::const_iterator it = rRootChildren.begin(); in beginStructureElement() local
11185 childType != PDFWriter::Document && it != rRootChildren.end(); ++it ) in beginStructureElement()
11187 nNewCurElement = *it; in beginStructureElement()
11306 …for( std::list< sal_Int32 >::const_iterator it = rEle.m_aChildren.begin(); it != rEle.m_aChildren.… in addInternalStructureContainer() local
11308 if( *it > 0 && *it < sal_Int32(m_aStructure.size()) ) in addInternalStructureContainer()
11310 PDFStructureElement& rChild = m_aStructure[ *it ]; in addInternalStructureContainer()
11320 …addInternalStructureContainer: invalid child structure elemnt with id %" SAL_PRIdINT32 "\n", *it ); in addInternalStructureContainer()
11329 …WriterImpl::addInternalStructureContainer: invalid child structure id %" SAL_PRIdINT32 "\n", *it ); in addInternalStructureContainer()
11380 for( std::list< sal_Int32 >::const_iterator it = rEleNew.m_aChildren.begin(); in addInternalStructureContainer() local
11381 it != rEleNew.m_aChildren.end(); ++it ) in addInternalStructureContainer()
11383 m_aStructure[ *it ].m_nParentElement = nNewId; in addInternalStructureContainer()
11899 …std::map< sal_Int32, sal_Int32 >::const_iterator it = m_aRadioGroupWidgets.find( rBtn.RadioGroup ); in findRadioGroupWidget() local
11901 if( it == m_aRadioGroupWidgets.end() ) in findRadioGroupWidget()
11917 nRadioGroupWidget = it->second; in findRadioGroupWidget()
12187 PDFAppearanceStreams::iterator it = in endControlAppearance() local
12189 if( it != rWidget.m_aAppearances[ aState ].end() ) in endControlAppearance()
12190 delete it->second; in endControlAppearance()