Lines Matching refs:it
744 std::hash_map<OUString,OUString,OUStringHash>::const_iterator it = in familyNameOverride() local
746 bool bReplaced = (it != aPSNameToFamily.end() ); in familyNameOverride()
748 o_rFamilyName = it->second; in familyNameOverride()
979 … for( std::list< sal_Unicode >::const_iterator it = aCodes.begin(); it != aCodes.end(); ++it ) in readAfmMetrics() local
981 if( *it != 0 ) in readAfmMetrics()
983 m_aEncodingVector[ *it ] = pChar->code; in readAfmMetrics()
985 m_aNonEncoded[ *it ] = pChar->name; in readAfmMetrics()
987 pUnicodes[i] = *it; in readAfmMetrics()
1035 … for( std::list< sal_Unicode >::const_iterator it = aCodes.begin(); it != aCodes.end(); ++it ) in readAfmMetrics() local
1037 if( *it != 0 ) in readAfmMetrics()
1039 m_aEncodingVector[ *it ] = pChar->code; in readAfmMetrics()
1041 m_aNonEncoded[ *it ] = pChar->name; in readAfmMetrics()
1064 … for( std::list< sal_Unicode >::const_iterator it = aCodes.begin(); it != aCodes.end(); ++it ) in readAfmMetrics() local
1066 if( *it != 0 ) in readAfmMetrics()
1067 m_pMetrics->m_aMetrics[ *it ] = aMetric; in readAfmMetrics()
1076 … for( std::list< sal_Unicode >::const_iterator it = aCodes.begin(); it != aCodes.end(); ++it ) in readAfmMetrics() local
1078 if( *it != 0 ) in readAfmMetrics()
1079 m_pMetrics->m_aMetrics[ *it ] = aMetric; in readAfmMetrics()
1216 …std::hash_map< fontID, PrintFont* >::const_iterator it = m_aFonts.begin(); it != m_aFonts.end(); +… in ~PrintFontManager()
1217 delete (*it).second; in ~PrintFontManager()
1227 ::std::hash_map< int, OString >::const_iterator it( m_aAtomToDir.find( nAtom ) ); in getDirectory()
1228 return it != m_aAtomToDir.end() ? it->second : s_aEmptyOString; in getDirectory()
1236 ::std::hash_map< OString, int, OStringHash >::const_iterator it in getDirectoryAtom()
1238 if( it != m_aDirToAtom.end() ) in getDirectoryAtom()
1239 nAtom = it->second; in getDirectoryAtom()
1265 for( ::std::list< PrintFont* >::iterator it = aNewFonts.begin(); in addFontFile()
1266 it != aNewFonts.end(); ++it ) in addFontFile()
1268 m_aFonts[ nFontId = m_nNextFontID++ ] = *it; in addFontFile()
1270 m_pFontCache->updateFontCacheEntry( *it, true ); in addFontFile()
1420 ::std::hash_map< fontID, PrintFont* >::const_iterator it; in findFontBuiltinID()
1421 for( it = m_aFonts.begin(); nID == 0 && it != m_aFonts.end(); ++it ) in findFontBuiltinID()
1423 if( it->second->m_eType == fonttype::Builtin && in findFontBuiltinID()
1424 it->second->m_nPSName == nPSNameAtom ) in findFontBuiltinID()
1425 nID = it->first; in findFontBuiltinID()
1441 ::std::hash_map< fontID, PrintFont* >::const_iterator it = m_aFonts.find( *font_it ); in findFontFileID()
1442 if( it != m_aFonts.end() ) in findFontFileID()
1444 switch( it->second->m_eType ) in findFontFileID()
1448 … Type1FontFile* const pFont = static_cast< Type1FontFile* const >((*it).second); in findFontFileID()
1451 nID = it->first; in findFontFileID()
1456 … TrueTypeFontFile* const pFont = static_cast< TrueTypeFontFile* const >((*it).second); in findFontFileID()
1459 nID = it->first; in findFontFileID()
1463 if( static_cast<const BuiltinFont*>((*it).second)->m_nDirectory == nDirID && in findFontFileID()
1464 … static_cast<const BuiltinFont*>((*it).second)->m_aMetricFile == rFontFile ) in findFontFileID()
1465 nID = it->first; in findFontFileID()
1568 for( std::list< OString >::const_iterator it = rXLFDs.begin(); it != rXLFDs.end(); ++it ) in parseXLFD_appendAliases() local
1571 if( ! parseXLFD(*it, aEntry) ) in parseXLFD_appendAliases()
1593 for( std::list< XLFDEntry >::const_iterator it = aXLFDs.begin(); in getFontAttributesFromXLFD() local
1594 it != aXLFDs.end(); ++it ) in getFontAttributesFromXLFD()
1599 …OStringToOUString( it->aFamily, it->aAddStyle.indexOf( "utf8" ) != -1 ? RTL_TEXTENCODING_UTF8 : RT… in getFontAttributesFromXLFD()
1635 pFont->m_eWeight = it->eWeight; in getFontAttributesFromXLFD()
1637 pFont->m_eItalic = it->eItalic; in getFontAttributesFromXLFD()
1639 pFont->m_eWidth = it->eWidth; in getFontAttributesFromXLFD()
1641 pFont->m_ePitch = it->ePitch; in getFontAttributesFromXLFD()
1643 pFont->m_aEncoding = it->aEncoding; in getFontAttributesFromXLFD()
1851 for( ::std::set< OUString >::const_iterator it = aSet.begin(); it != aSet.end(); ++it ) in analyzeTrueTypeFamilyName()
1852 if( *it != aFamily ) in analyzeTrueTypeFamilyName()
1853 rNames.push_back( *it ); in analyzeTrueTypeFamilyName()
1897 for( ::std::list< OUString >::iterator it = aNames.begin(); it != aNames.end(); ++it ) in analyzeTrueTypeFile()
1899 if( it->getLength() ) in analyzeTrueTypeFile()
1901 int nAlias = m_pAtoms->getAtom( ATOM_FAMILYNAME, *it, sal_True ); in analyzeTrueTypeFile()
2103 …std::hash_map< fontID, PrintFont* >::const_iterator it = m_aFonts.begin(); it != m_aFonts.end(); +… in initialize()
2104 delete (*it).second; in initialize()
2191 … for( ::std::list< PrintFont* >::iterator it = aCacheFonts.begin(); it != aCacheFonts.end(); ++it ) in initialize()
2194 m_aFonts[ aFont ] = *it; in initialize()
2195 if( (*it)->m_eType == fonttype::Type1 ) in initialize()
2196 … m_aFontFileToFontID[ static_cast<Type1FontFile*>(*it)->m_aFontFile ].insert( aFont ); in initialize()
2197 else if( (*it)->m_eType == fonttype::TrueType ) in initialize()
2198 … m_aFontFileToFontID[ static_cast<TrueTypeFontFile*>(*it)->m_aFontFile ].insert( aFont ); in initialize()
2199 else if( (*it)->m_eType == fonttype::Builtin ) in initialize()
2200 … m_aFontFileToFontID[ static_cast<BuiltinFont*>(*it)->m_aMetricFile ].insert( aFont ); in initialize()
2202 if( (*it)->m_eType == fonttype::Builtin ) in initialize()
2269 … ::std::hash_map< OString, ::std::list<OString>, OStringHash >::const_iterator it = in initialize()
2271 if( it != aFontsDir.end() ) in initialize()
2272 aXLFDs = (*it).second; in initialize()
2324 … for( ::std::list< PrintFont* >::iterator it = aCacheFonts.begin(); it != aCacheFonts.end(); ++it ) in initialize()
2327 m_aFonts[ aFont ] = *it; in initialize()
2328 if( (*it)->m_eType == fonttype::Type1 ) in initialize()
2329 … m_aFontFileToFontID[ static_cast<Type1FontFile*>(*it)->m_aFontFile ].insert( aFont ); in initialize()
2330 else if( (*it)->m_eType == fonttype::TrueType ) in initialize()
2331 … m_aFontFileToFontID[ static_cast<TrueTypeFontFile*>(*it)->m_aFontFile ].insert( aFont ); in initialize()
2332 else if( (*it)->m_eType == fonttype::Builtin ) in initialize()
2333 … m_aFontFileToFontID[ static_cast<BuiltinFont*>(*it)->m_aMetricFile ].insert( aFont ); in initialize()
2335 if( (*it)->m_eType == fonttype::Builtin ) in initialize()
2372 … for( ::std::list< PrintFont* >::iterator it = aNewFonts.begin(); it != aNewFonts.end(); ++it ) in initialize()
2374 if( findFontBuiltinID( (*it)->m_nPSName ) == 0 ) in initialize()
2377 m_aFonts[ m_nNextFontID++ ] = *it; in initialize()
2378 m_pFontCache->updateFontCacheEntry( *it, false ); in initialize()
2384 delete *it; in initialize()
2403 ::std::hash_map< int, family::type >::const_iterator it = in initialize()
2405 if (it != m_aFamilyTypes.end()) in initialize()
2501 std::hash_map< fontID, PrintFont* >::const_iterator it; in getFontList() local
2544 for( it = m_aFonts.begin(); it != m_aFonts.end(); ++it ) in getFontList()
2546 PrintFont* pFont = it->second; in getFontList()
2547 if( it->second->m_eType == fonttype::Builtin && in getFontList()
2555 if( over != aOverridePSNames.end() && over->second != it->first ) in getFontList()
2561 …if( std::find( m_aOverrideFonts.begin(), m_aOverrideFonts.end(), it->first ) != m_aOverrideFonts.e… in getFontList()
2576 for( it = m_aFonts.begin(); it != m_aFonts.end(); ++it ) in getFontList()
2578 PrintFont* pFont = it->second; in getFontList()
2579 if( it->second->m_eType == fonttype::Builtin ) in getFontList()
2588 if( over != aOverridePSNames.end() && over->second != it->first ) in getFontList()
2594 …if( std::find( m_aOverrideFonts.begin(), m_aOverrideFonts.end(), it->first ) != m_aOverrideFonts.e… in getFontList()
2598 rFontIDs.push_back( it->first ); in getFontList()
2609 rFontIDs.push_back( it->first ); in getFontList()
2615 for( it = m_aFonts.begin(); it != m_aFonts.end(); ++it ) in getFontList()
2616 rFontIDs.push_back( it->first ); in getFontList()
2640 …for( ::std::list< int >::iterator it = pFont->m_aAliases.begin(); it != pFont->m_aAliases.end(); +… in fillPrintFontInfo()
2641 rInfo.m_aAliases.push_back( m_pAtoms->getString( ATOM_FAMILYNAME, *it ) ); in fillPrintFontInfo()
2675 ::std::list< fontID >::iterator it; in getFontListWithInfo()
2676 for( it = aFontList.begin(); it != aFontList.end(); ++it ) in getFontListWithInfo()
2679 aInfo.m_nID = *it; in getFontListWithInfo()
2680 fillPrintFontInfo( getFont( *it ), aInfo ); in getFontListWithInfo()
2693 ::std::list< fontID >::iterator it; in getFontListWithFastInfo()
2694 for( it = aFontList.begin(); it != aFontList.end(); ++it ) in getFontListWithFastInfo()
2697 aInfo.m_nID = *it; in getFontListWithFastInfo()
2698 fillPrintFontInfo( getFont( *it ), aInfo ); in getFontListWithFastInfo()
2841 ::std::hash_map< int, family::type >::const_iterator it = in getFontFamilyType()
2843 return (it != m_aFamilyTypes.end()) ? it->second : family::Unknown; in getFontFamilyType()
2895 … ::std::hash_map< int, OString >::const_iterator it = m_aAtomToDir.find( pPSFont->m_nDirectory ); in getFontFile()
2896 aPath = it->second; in getFontFile()
2903 … ::std::hash_map< int, OString >::const_iterator it = m_aAtomToDir.find( pTTFont->m_nDirectory ); in getFontFile()
2904 aPath = it->second; in getFontFile()
3017 …::std::hash_map< sal_Unicode, bool >::const_iterator it = pFont->m_pMetrics->m_bVerticalSubstituti… in hasVerticalSubstitutions()
3018 pHasSubst[i] = it != pFont->m_pMetrics->m_bVerticalSubstitutions.end(); in hasVerticalSubstitutions()
3122 ::std::hash_map< int, CharacterMetric >::const_iterator it = in getMetrics()
3125 if( bVertical && (it == pFont->m_pMetrics->m_aMetrics.end()) ) in getMetrics()
3126 it = pFont->m_pMetrics->m_aMetrics.find( pString[i] ); in getMetrics()
3128 if( it != pFont->m_pMetrics->m_aMetrics.end() ) in getMetrics()
3129 pArray[ i ] = it->second; in getMetrics()
3167 ::std::hash_map< int, CharacterMetric >::const_iterator it = in getMetrics()
3170 if( bVertical && (it == pFont->m_pMetrics->m_aMetrics.end()) ) in getMetrics()
3171 it = pFont->m_pMetrics->m_aMetrics.find( code ); in getMetrics()
3173 if( it != pFont->m_pMetrics->m_aMetrics.end() ) in getMetrics()
3174 pArray[ code - minCharacter ] = it->second; in getMetrics()
3321 ::std::list< PrintFont* >::iterator it; in importFonts()
3360 for( it = aNewFonts.begin(); it != aNewFonts.end(); ++it ) in importFonts()
3363 m_aFonts[ m_nNextFontID++ ] = *it; in importFonts()
3364 m_pFontCache->updateFontCacheEntry( *it, false ); in importFonts()
3482 …std::hash_map< fontID, PrintFont* >::const_iterator it = m_aFonts.begin(); it != m_aFonts.end(); +… in getFileDuplicates()
3484 if( nFont != it->first ) in getFileDuplicates()
3486 OString aCompFile( getFontFile( it->second ) ); in getFileDuplicates()
3489 rFonts.push_back( it->first ); in getFileDuplicates()
3503 for( ::std::list< fontID >::const_iterator it = rFonts.begin(); it != rFonts.end(); ++it ) in removeFonts()
3505 ::std::hash_map< fontID, PrintFont* >::const_iterator haveFont = m_aFonts.find( *it ); in removeFonts()
3510 bool bRemoveDuplicates = getFileDuplicates( *it, aDuplicates ); in removeFonts()
3536 m_aFonts.erase( *it ); in removeFonts()
3571 …::std::list< int >::const_iterator it = m_aPrivateFontDirectories.begin(); it != m_aPrivateFontDir… in isPrivateFontFile()
3573 if( nDirID == *it ) in isPrivateFontFile()
3841 for( std::hash_map< int, CharacterMetric >::const_iterator it = in getGlyphWidths() local
3843 it != pFont->m_pMetrics->m_aMetrics.end(); ++it ) in getGlyphWidths()
3845 if( (it->first & 0x00010000) == 0 || bVertical ) in getGlyphWidths()
3847 rUnicodeEnc[ sal_Unicode(it->first & 0x0000ffff) ] = sal_uInt32(rWidths.size()); in getGlyphWidths()
3848 rWidths.push_back( it->second.width ); in getGlyphWidths()