| /AOO41X/main/vcl/unx/generic/fontmanager/ |
| H A D | fontmanager.cxx | 1329 Type1FontFile* pFont = new Type1FontFile(); in analyzeFontFile() local 1330 pFont->m_nDirectory = nDirID; in analyzeFontFile() 1332 pFont->m_aFontFile = rFontFile; in analyzeFontFile() 1333 pFont->m_aMetricFile = aAfmFile; in analyzeFontFile() 1335 if( ! pFont->readAfmMetrics( getAfmFile( pFont ), m_pAtoms, false, true ) ) in analyzeFontFile() 1337 delete pFont; in analyzeFontFile() 1338 pFont = NULL; in analyzeFontFile() 1340 if( pFont && rXLFDs.size() ) in analyzeFontFile() 1341 getFontAttributesFromXLFD( pFont, rXLFDs ); in analyzeFontFile() 1342 if( pFont ) in analyzeFontFile() [all …]
|
| H A D | fontcache.cxx | 346 PrintFontManager::PrintFont* pFont = NULL; in read() local 350 pFont = new PrintFontManager::TrueTypeFontFile(); in read() 353 pFont = new PrintFontManager::Type1FontFile(); in read() 356 pFont = new PrintFontManager::BuiltinFont(); in read() 364 pFont->m_nFamilyName = pAtoms->getAtom( ATOM_FAMILYNAME, in read() 375 … pFont->m_aAliases.push_back( pAtoms->getAtom( ATOM_FAMILYNAME, aAlias, sal_True ) ); in read() 398 delete pFont; in read() 402 …pFont->m_nPSName = pAtoms->getAtom( ATOM_PSNAME, OUString( pLine + nTokenPos[1], nTokenPos[2]-n… in read() 403 pFont->m_eItalic = (italic::type)atoi( pLine+nTokenPos[2] ); in read() 404 pFont->m_eWeight = (weight::type)atoi( pLine+nTokenPos[3] ); in read() [all …]
|
| /AOO41X/main/vcl/inc/vcl/ |
| H A D | fontmanager.hxx | 400 rtl::OString getAfmFile( PrintFont* pFont ) const; 401 rtl::OString getFontFile( PrintFont* pFont ) const; 403 … void getFontAttributesFromXLFD( PrintFont* pFont, const std::list< rtl::OString >& rXLFDs ) const; 408 bool analyzeTrueTypeFile( PrintFont* pFont ) const; 422 rtl::OString getXLFD( PrintFont* pFont ) const; 423 void fillPrintFontInfo( PrintFont* pFont, FastPrintFontInfo& rInfo ) const; 424 void fillPrintFontInfo( PrintFont* pFont, PrintFontInfo& rInfo ) const; 507 PrintFont* pFont = getFont( nFontID ); in getFontType() local 508 return pFont ? pFont->m_eType : fonttype::Unknown; in getFontType() 514 PrintFont* pFont = getFont( nFontID ); in getFontItalic() local [all …]
|
| /AOO41X/main/editeng/source/items/ |
| H A D | svxfont.cxx | 682 SvxFont* pFont; member in SvxDoGetCapitalSize 690 pFont( _pFnt ), in SvxDoGetCapitalSize() 706 sal_uInt8 nProp = pFont->GetPropr(); in Do() 707 pFont->SetProprRel( KAPITAELCHENPROP ); in Do() 708 pFont->SetPhysFont( pOut ); in Do() 712 pFont->SetPropr( nProp ); in Do() 713 pFont->SetPhysFont( pOut ); in Do() 754 SvxFont *pFont; member in SvxDoDrawCapital 763 pFont( pFnt ), in SvxDoDrawCapital() 776 if ( bDraw || pFont->IsWordLineMode() ) in DoSpace() [all …]
|
| /AOO41X/main/sd/source/ui/slidesorter/view/ |
| H A D | SlsTheme.cxx | 253 ::boost::shared_ptr<Font> pFont; in GetFont() 258 pFont.reset(new Font(Application::GetSettings().GetStyleSettings().GetAppFont())); in GetFont() 259 pFont->SetTransparent(sal_True); in GetFont() 260 pFont->SetWeight(WEIGHT_BOLD); in GetFont() 264 pFont.reset(new Font(Application::GetSettings().GetStyleSettings().GetAppFont())); in GetFont() 265 pFont->SetTransparent(sal_True); in GetFont() 266 pFont->SetWeight(WEIGHT_NORMAL); in GetFont() 268 const Size aSize (pFont->GetSize()); in GetFont() 269 pFont->SetSize(Size(aSize.Width()*5/3, aSize.Height()*5/3)); in GetFont() 274 pFont.reset(new Font(Application::GetSettings().GetStyleSettings().GetAppFont())); in GetFont() [all …]
|
| /AOO41X/main/sc/source/filter/xml/ |
| H A D | xmlfonte.cxx | 67 const SvxFontItem *pFont((const SvxFontItem *)pItem); in AddFontItems() local 68 Add( pFont->GetFamilyName(), pFont->GetStyleName(), in AddFontItems() 69 sal::static_int_cast<sal_Int16>(pFont->GetFamily()), in AddFontItems() 70 sal::static_int_cast<sal_Int16>(pFont->GetPitch()), in AddFontItems() 71 pFont->GetCharSet() ); in AddFontItems() 78 const SvxFontItem *pFont((const SvxFontItem *)pItem); in AddFontItems() local 79 Add( pFont->GetFamilyName(), pFont->GetStyleName(), in AddFontItems() 80 sal::static_int_cast<sal_Int16>(pFont->GetFamily()), in AddFontItems() 81 sal::static_int_cast<sal_Int16>(pFont->GetPitch()), in AddFontItems() 82 pFont->GetCharSet() ); in AddFontItems()
|
| /AOO41X/main/vcl/win/source/gdi/ |
| H A D | salgdi3.cxx | 1390 const ImplFontSelectData* pFont, in ImplGetLogFontFromFontSelect() argument 1395 if ( pFont->mpFontData ) in ImplGetLogFontFromFontSelect() 1396 aName = pFont->mpFontData->maName; in ImplGetLogFontFromFontSelect() 1398 aName = pFont->maName.GetToken( 0 ); in ImplGetLogFontFromFontSelect() 1406 if( !pFont->mpFontData ) in ImplGetLogFontFromFontSelect() 1408 rLogFont.lfCharSet = pFont->IsSymbolFont() ? SYMBOL_CHARSET : DEFAULT_CHARSET; in ImplGetLogFontFromFontSelect() 1409 rLogFont.lfPitchAndFamily = ImplPitchToWin( pFont->mePitch ) in ImplGetLogFontFromFontSelect() 1410 | ImplFamilyToWin( pFont->meFamily ); in ImplGetLogFontFromFontSelect() 1414 … const ImplWinFontData* pWinFontData = static_cast<const ImplWinFontData*>( pFont->mpFontData ); in ImplGetLogFontFromFontSelect() 1419 rLogFont.lfWeight = ImplWeightToWin( pFont->meWeight ); in ImplGetLogFontFromFontSelect() [all …]
|
| /AOO41X/main/sw/source/filter/writer/ |
| H A D | writer.cxx | 428 const Font* pFont; in PutNumFmtFontsInAttrPool() local 439 if( 0 == ( pFont = pFmt->GetBulletFont() ) ) in PutNumFmtFontsInAttrPool() 440 pFont = pDefFont; in PutNumFmtFontsInAttrPool() 444 if( *pFont == *pDefFont ) in PutNumFmtFontsInAttrPool() 447 else if( *pFont == *pDefFont ) in PutNumFmtFontsInAttrPool() 450 _AddFontItem( rPool, SvxFontItem( pFont->GetFamily(), in PutNumFmtFontsInAttrPool() 451 pFont->GetName(), pFont->GetStyleName(), in PutNumFmtFontsInAttrPool() 452 pFont->GetPitch(), pFont->GetCharSet(), RES_CHRATR_FONT )); in PutNumFmtFontsInAttrPool() 480 const SvxFontItem* pFont = (const SvxFontItem*)&rPool.GetDefaultItem( nW ); in _AddFontItems() local 481 _AddFontItem( rPool, *pFont ); in _AddFontItems() [all …]
|
| /AOO41X/main/vcl/source/gdi/ |
| H A D | pdffontcache.cxx | 33 PDFFontCache::FontIdentifier::FontIdentifier( const ImplFontData* pFont, bool bVertical ) : in FontIdentifier() argument 34 m_nFontId( pFont->GetFontId() ), in FontIdentifier() 35 m_nMagic( pFont->GetFontMagic() ), in FontIdentifier() 40 PDFFontCache::FontData& PDFFontCache::getFont( const ImplFontData* pFont, bool bVertical ) in getFont() argument 42 FontIdentifier aId( pFont, bVertical ); in getFont() 51 sal_Int32 PDFFontCache::getGlyphWidth( const ImplFontData* pFont, sal_GlyphId nGlyph, bool bVertica… in getGlyphWidth() argument 54 FontData& rFontData( getFont( pFont, bVertical ) ); in getGlyphWidth() 57 … pGraphics->GetGlyphWidths( pFont, bVertical, rFontData.m_nWidths, rFontData.m_aGlyphIdToIndex ); in getGlyphWidth() 69 && pFont->IsSymbolFont() in getGlyphWidth()
|
| /AOO41X/main/editeng/source/rtf/ |
| H A D | svxrtf.cxx | 506 Font* pFont = new Font(); in ReadFontTable() local 512 pFont->SetCharSet( nSystemChar ); in ReadFontTable() 550 pFont->SetFamily( FAMILY_ROMAN ); in ReadFontTable() 553 pFont->SetFamily( FAMILY_SWISS ); in ReadFontTable() 556 pFont->SetFamily( FAMILY_MODERN ); in ReadFontTable() 559 pFont->SetFamily( FAMILY_SCRIPT ); in ReadFontTable() 562 pFont->SetFamily( FAMILY_DECORATIVE ); in ReadFontTable() 566 pFont->SetCharSet( RTL_TEXTENCODING_SYMBOL ); in ReadFontTable() 569 pFont->SetFamily( FAMILY_DONTKNOW ); in ReadFontTable() 576 pFont->SetCharSet(nCharSet); in ReadFontTable() [all …]
|
| /AOO41X/main/sc/source/filter/inc/ |
| H A D | lotfntbf.hxx | 44 SvxFontItem* pFont; member 51 pFont = NULL; in ENTRY() 60 if( pFont ) in ~ENTRY() 61 delete pFont; in ~ENTRY() 76 if( pFont ) in Font() 77 delete pFont; in Font() 78 pFont = &rNew; in Font()
|
| /AOO41X/main/sw/source/core/txtnode/ |
| H A D | swfont.cxx | 237 const SvxFontItem *pFont = (const SvxFontItem *)pItem; in SetDiffFnt() local 238 aSub[SW_LATIN].SetFamily( pFont->GetFamily() ); in SetDiffFnt() 239 aSub[SW_LATIN].Font::SetName( pFont->GetFamilyName() ); in SetDiffFnt() 240 aSub[SW_LATIN].Font::SetStyleName( pFont->GetStyleName() ); in SetDiffFnt() 241 aSub[SW_LATIN].Font::SetPitch( pFont->GetPitch() ); in SetDiffFnt() 242 aSub[SW_LATIN].Font::SetCharSet( pFont->GetCharSet() ); in SetDiffFnt() 267 const SvxFontItem *pFont = (const SvxFontItem *)pItem; in SetDiffFnt() local 268 aSub[SW_CJK].SetFamily( pFont->GetFamily() ); in SetDiffFnt() 269 aSub[SW_CJK].Font::SetName( pFont->GetFamilyName() ); in SetDiffFnt() 270 aSub[SW_CJK].Font::SetStyleName( pFont->GetStyleName() ); in SetDiffFnt() [all …]
|
| /AOO41X/main/sw/source/filter/xml/ |
| H A D | xmlfonte.cxx | 84 const SvxFontItem *pFont = in SwXMLFontAutoStylePool_Impl() local 86 Add( pFont->GetFamilyName(), pFont->GetStyleName(), in SwXMLFontAutoStylePool_Impl() 87 … static_cast< sal_uInt16 >(pFont->GetFamily()), static_cast< sal_uInt16 >(pFont->GetPitch()), in SwXMLFontAutoStylePool_Impl() 88 pFont->GetCharSet() ); in SwXMLFontAutoStylePool_Impl()
|
| /AOO41X/main/vcl/os2/source/gdi/ |
| H A D | salgdi3.cxx | 818 USHORT Os2SalGraphics::SetFont( ImplFontSelectData* pFont, int nFallbackLevel ) in SetFont() argument 822 if( !pFont ) in SetFont() 844 DBG_ASSERT( pFont->mpFontData, "WinSalGraphics mpFontData==NULL"); in SetFont() 845 mpOs2FontEntry[ nFallbackLevel ] = reinterpret_cast<ImplOs2FontEntry*>( pFont->mpFontEntry ); in SetFont() 846 mpOs2FontData[ nFallbackLevel ] = static_cast<const ImplOs2FontData*>( pFont->mpFontData ); in SetFont() 848 ImplDoSetFont( pFont, mfFontScale, nFallbackLevel); in SetFont() 1500 const ImplFontData* pFont, sal_GlyphId* pGlyphIds, sal_uInt8* pEncoding, in CreateFontSubset() argument 1508 ImplFontSelectData aIFSD( *pFont, Size(0,1000), 1000.0, 0, false ); in CreateFontSubset() 1603 if( (aGlyphId == 0) && pFont->IsSymbolFont() ) in CreateFontSubset() 1650 const void* Os2SalGraphics::GetEmbedFontData( const ImplFontData* pFont, in GetEmbedFontData() argument [all …]
|
| /AOO41X/main/vcl/unx/headless/ |
| H A D | svptext.cxx | 340 const ImplFontData* pFont, in CreateFontSubset() argument 353 psp::fontID aFont = pFont->GetFontId(); in CreateFontSubset() 368 const Ucs2SIntMap* SvpSalGraphics::GetFontEncodingVector( const ImplFontData* pFont, const Ucs2OStr… in GetFontEncodingVector() argument 375 psp::fontID aFont = pFont->GetFontId(); in GetFontEncodingVector() 382 const ImplFontData* pFont, in GetEmbedFontData() argument 394 psp::fontID aFont = pFont->GetFontId(); in GetEmbedFontData() 405 void SvpSalGraphics::GetGlyphWidths( const ImplFontData* pFont, in GetGlyphWidths() argument 415 psp::fontID aFont = pFont->GetFontId(); in GetGlyphWidths()
|
| /AOO41X/main/editeng/source/editeng/ |
| H A D | textconv.cxx | 286 const Font *pFont, sal_uInt16 nFontWhichId ) in SetLanguageAndFont() argument 296 DBG_ASSERT( pFont, "target font missing?" ); in SetLanguageAndFont() 297 if (pFont) in SetLanguageAndFont() 301 aFontItem.SetFamilyName( pFont->GetName()); in SetLanguageAndFont() 302 aFontItem.SetFamily( pFont->GetFamily()); in SetLanguageAndFont() 303 aFontItem.SetStyleName( pFont->GetStyleName()); in SetLanguageAndFont() 304 aFontItem.SetPitch( pFont->GetPitch()); in SetLanguageAndFont() 305 aFontItem.SetCharSet(pFont->GetCharSet()); in SetLanguageAndFont()
|
| /AOO41X/main/sw/source/core/doc/ |
| H A D | notxtfrm.cxx | 104 static Font *pFont = 0; in lcl_PaintReplacement() local 105 if ( !pFont ) in lcl_PaintReplacement() 107 pFont = new Font(); in lcl_PaintReplacement() 108 pFont->SetWeight( WEIGHT_BOLD ); in lcl_PaintReplacement() 109 pFont->SetStyleName( aEmptyStr ); in lcl_PaintReplacement() 110 pFont->SetName( String::CreateFromAscii( in lcl_PaintReplacement() 112 pFont->SetFamily( FAMILY_SWISS ); in lcl_PaintReplacement() 113 pFont->SetTransparent( sal_True ); in lcl_PaintReplacement() 144 pFont->SetUnderline( eUnderline ); in lcl_PaintReplacement() 145 pFont->SetColor( aCol ); in lcl_PaintReplacement() [all …]
|
| /AOO41X/main/vcl/source/glyphs/ |
| H A D | graphite_serverfont.cxx | 47 GraphiteServerFontLayout::GraphiteServerFontLayout(GraphiteFontAdaptor * pFont) throw() in GraphiteServerFontLayout() argument 48 : ServerFontLayout(pFont->font()), mpFont(pFont), in GraphiteServerFontLayout() 49 maImpl(*mpFont, mpFont->features(), pFont) in GraphiteServerFontLayout()
|
| /AOO41X/main/starmath/source/ |
| H A D | utility.cxx | 175 Font *pFont; in GetStringItem() local 179 pFont = (Font *)pItem; in GetStringItem() 181 aString = pFont->GetName(); in GetStringItem() 183 if (IsItalic( *pFont )) in GetStringItem() 188 if (IsBold( *pFont )) // bold? in GetStringItem()
|
| /AOO41X/main/sc/source/filter/excel/ |
| H A D | xistyle.cxx | 489 XclImpFont* pFont = new XclImpFont( GetRoot() ); in ReadFont() local 490 pFont->ReadFont( rStrm ); in ReadFont() 491 maFontList.Append( pFont ); in ReadFont() 495 UpdateAppFont( pFont->GetFontData(), pFont->HasCharSet() ); in ReadFont() 497 SetAppFontEncoding( pFont->GetFontEncoding() ); in ReadFont() 503 if( XclImpFont* pFont = maFontList.Last() ) in ReadEfont() local 504 pFont->ReadEfont( rStrm ); in ReadEfont() 511 if( const XclImpFont* pFont = GetFont( nFontIdx ) ) in FillToItemSet() local 512 pFont->FillToItemSet( rItemSet, eType, bSkipPoolDefs ); in FillToItemSet() 518 if( const XclImpFont* pFont = GetFont( nFontIdx ) ) in WriteFontProperties() local [all …]
|
| H A D | xestring.cxx | 477 …rStrm, const ScfUInt16Vec& rBuffer, sal_uInt16 nStart, sal_Int32 nLength, const XclExpFont* pFont ) in lcl_WriteRun() argument 485 if( pFont ) in lcl_WriteRun() 487 const XclFontData& rFontData = pFont->GetFontData(); in lcl_WriteRun() 517 const XclExpFont* pFont = NULL; in WriteXml() local 521 nStart, aIt->mnChar-nStart, pFont ); in WriteXml() 522 pFont = rFonts.GetFont( aIt->mnFontIdx ); in WriteXml() 525 nStart, GetUnicodeBuffer().size() - nStart, pFont ); in WriteXml()
|
| /AOO41X/main/sw/source/ui/lingu/ |
| H A D | hhcwrp.cxx | 185 const Font *pFont = GetTargetFont(); in ~SwHHCWrapper() local 186 if (pFont) in ~SwHHCWrapper() 188 SvxFontItem aFontItem( pFont->GetFamily(), pFont->GetName(), in ~SwHHCWrapper() 189 pFont->GetStyleName(), pFont->GetPitch(), in ~SwHHCWrapper() 190 pFont->GetCharSet(), RES_CHRATR_CJK_FONT ); in ~SwHHCWrapper()
|
| /AOO41X/main/sw/source/filter/ww8/ |
| H A D | wrtw8sty.cxx | 767 const SvxFontItem* pFont = (const SvxFontItem*)GetDfltAttr(RES_CHRATR_FONT); in InitFontTable() local 769 GetId(wwFont(pFont->GetFamilyName(), pFont->GetPitch(), in InitFontTable() 770 pFont->GetFamily(), pFont->GetCharSet(),bWrtWW8)); in InitFontTable() 773 if (0 != (pFont = (const SvxFontItem*)rPool.GetPoolDefaultItem(RES_CHRATR_FONT))) in InitFontTable() 775 GetId(wwFont(pFont->GetFamilyName(), pFont->GetPitch(), in InitFontTable() 776 pFont->GetFamily(), pFont->GetCharSet(),bWrtWW8)); in InitFontTable() 788 pFont = (const SvxFontItem*)rPool.GetItem2( *pId, nGet ); in InitFontTable() 789 if (0 != pFont) in InitFontTable() 791 GetId(wwFont(pFont->GetFamilyName(), pFont->GetPitch(), in InitFontTable() 792 pFont->GetFamily(), pFont->GetCharSet(),bWrtWW8)); in InitFontTable()
|
| /AOO41X/main/sw/source/filter/rtf/ |
| H A D | rtffld.cxx | 613 for( Font* pFont = rTbl.First(); pFont; in MakeFieldInst() local 614 pFont = rTbl.Next() ) in MakeFieldInst() 615 if( pFont->GetName() == sParam ) in MakeFieldInst() 618 pFont->GetFamily(), in MakeFieldInst() 620 pFont->GetStyleName(), in MakeFieldInst() 621 pFont->GetPitch(), in MakeFieldInst() 622 pFont->GetCharSet(), in MakeFieldInst()
|
| /AOO41X/main/oox/source/xls/ |
| H A D | richstring.cxx | 49 inline bool lclNeedsRichTextFormat( const Font* pFont ) in lclNeedsRichTextFormat() argument 51 return pFont && pFont->needsRichTextFormat(); in lclNeedsRichTextFormat() 89 void RichStringPortion::convert( const Reference< XText >& rxText, const Font* pFont, bool bReplace… in convert() argument 112 else if( lclNeedsRichTextFormat( pFont ) ) in convert() 115 pFont->writeToPropertySet( aPropSet, FONT_PROPTYPE_TEXT ); in convert()
|