/aoo41x/main/vcl/unx/generic/fontmanager/ |
H A D | fontmanager.cxx | 1963 pFont->m_nLeading = pFont->m_nAscend + pFont->m_nDescend - 1000; in analyzeTrueTypeFile() 1984 pFont->m_nLeading = 15 * (pFont->m_nAscend+pFont->m_nDescend) / 100; in analyzeTrueTypeFile() 1987 …pFont->m_aGlobalMetricX.height = pFont->m_aGlobalMetricY.height = pFont->m_nAscend + pFont->m_nDes… in analyzeTrueTypeFile() 2737 … if( pFont->m_nXMin == 0 && pFont->m_nYMin == 0 && pFont->m_nXMax == 0 && pFont->m_nYMax == 0 ) in getFontBoundingBox() 2760 if( pFont && pFont->m_eType == fonttype::TrueType ) in getFontFaceNumber() 2892 if( pFont && pFont->m_eType == fonttype::Type1 ) in getFontFile() 2916 if( pFont && pFont->m_nPSName == 0 ) in getPSName() 2931 return pFont ? ( bHorizontal ? pFont->m_aGlobalMetricX : pFont->m_aGlobalMetricY ) : aMetric; in getGlobalFontMetric() 2939 if( pFont->m_nAscend == 0 && pFont->m_nDescend == 0 ) in getFontAscend() 2955 if( pFont->m_nAscend == 0 && pFont->m_nDescend == 0 ) in getFontDescend() [all …]
|
H A D | fontcache.cxx | 398 delete pFont; in read() 413 pFont->m_aGlobalMetricX.width in read() 417 pFont->m_aGlobalMetricY.width in read() 421 pFont->m_bUserOverride in read() 483 delete pFont; in read() 488 rEntry.push_back( pFont ); in read() 645 if( pFont ) in clonePrintFont() 647 copyPrintFont( pOldFont, pFont ); in clonePrintFont() 649 return pFont; in clonePrintFont() 669 rNewFonts.push_back( pFont ); in getFontCacheFile() [all …]
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | fontmanager.hxx | 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 515 return pFont ? pFont->m_eItalic : italic::Unknown; in getFontItalic() 521 PrintFont* pFont = getFont( nFontID ); in getFontWidth() local 522 return pFont ? pFont->m_eWidth : width::Unknown; in getFontWidth() 528 PrintFont* pFont = getFont( nFontID ); in getFontWeight() local 529 return pFont ? pFont->m_eWeight : weight::Unknown; in getFontWeight() 536 return pFont ? pFont->m_ePitch : pitch::Unknown; in getFontPitch() 543 return pFont ? pFont->m_aEncoding : RTL_TEXTENCODING_DONTKNOW; in getFontEncoding() [all …]
|
/aoo41x/main/editeng/source/items/ |
H A D | svxfont.cxx | 682 SvxFont* pFont; member in SvxDoGetCapitalSize 690 pFont( _pFnt ), in SvxDoGetCapitalSize() 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() 814 nProp = pFont->GetPropr(); in Do() 817 pFont->SetPhysFont( pOut ); in Do() 833 pFont->SetPropr( nProp ); in Do() [all …]
|
/aoo41x/main/sd/source/ui/slidesorter/view/ |
H A D | SlsTheme.cxx | 253 ::boost::shared_ptr<Font> pFont; in GetFont() 259 pFont->SetTransparent(sal_True); in GetFont() 260 pFont->SetWeight(WEIGHT_BOLD); in GetFont() 265 pFont->SetTransparent(sal_True); in GetFont() 266 pFont->SetWeight(WEIGHT_NORMAL); in GetFont() 268 const Size aSize (pFont->GetSize()); in GetFont() 275 pFont->SetTransparent(sal_True); in GetFont() 276 pFont->SetWeight(WEIGHT_BOLD); in GetFont() 278 const Size aSize (pFont->GetSize()); in GetFont() 284 if (pFont) 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 | 1395 if ( pFont->mpFontData ) in ImplGetLogFontFromFontSelect() 1406 if( !pFont->mpFontData ) in ImplGetLogFontFromFontSelect() 1430 if ( pFont->mnOrientation ) in ImplGetLogFontFromFontSelect() 1434 if ( pFont->mbNonAntialiased ) in ImplGetLogFontFromFontSelect() 1468 if( pFont->mpFontData ) in ImplGetLogFontFromFontSelect() 1480 if( !pFont->mpFontData ) in ImplGetLogFontFromFontSelect() 1504 if( pFont->mnOrientation ) in ImplGetLogFontFromFontSelect() 1508 if( pFont->mbNonAntialiased ) in ImplGetLogFontFromFontSelect() 1615 if( !pFont ) in SetFont() 2927 if( !pFont->IsEmbeddable() ) in GetFontEncodingVector() [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() 481 _AddFontItem( rPool, *pFont ); in _AddFontItems() 484 _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() 576 pFont->SetCharSet(nCharSet); in ReadFontTable() 621 pFont->SetName( sFntNm ); in ReadFontTable() 622 aFontTbl.Insert( nInsFontNo, pFont ); in ReadFontTable() 623 pFont = new Font(); in ReadFontTable() 624 pFont->SetCharSet( nSystemChar ); in ReadFontTable() 630 delete pFont; in ReadFontTable() 863 if( !pFont ) in GetFont() 870 pFont = pDfltFont; in GetFont() [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/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/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() 241 aSub[SW_LATIN].Font::SetPitch( pFont->GetPitch() ); in SetDiffFnt() 268 aSub[SW_CJK].SetFamily( pFont->GetFamily() ); in SetDiffFnt() 269 aSub[SW_CJK].Font::SetName( pFont->GetFamilyName() ); in SetDiffFnt() 271 aSub[SW_CJK].Font::SetPitch( pFont->GetPitch() ); in SetDiffFnt() 272 aSub[SW_CJK].Font::SetCharSet( pFont->GetCharSet() ); in SetDiffFnt() 304 aSub[SW_CTL].SetFamily( pFont->GetFamily() ); in SetDiffFnt() 305 aSub[SW_CTL].Font::SetName( pFont->GetFamilyName() ); in SetDiffFnt() 307 aSub[SW_CTL].Font::SetPitch( pFont->GetPitch() ); in SetDiffFnt() [all …]
|
/aoo41x/main/vcl/os2/source/gdi/ |
H A D | salgdi3.cxx | 822 if( !pFont ) in SetFont() 844 DBG_ASSERT( pFont->mpFontData, "WinSalGraphics mpFontData==NULL"); in SetFont() 848 ImplDoSetFont( pFont, mfFontScale, nFallbackLevel); in SetFont() 1508 ImplFontSelectData aIFSD( *pFont, Size(0,1000), 1000.0, 0, false ); in CreateFontSubset() 1603 if( (aGlyphId == 0) && pFont->IsSymbolFont() ) in CreateFontSubset() 1656 ImplFontSelectData aIFSD( *pFont, Size(0,1000), 1000.0, 0, false ); in GetEmbedFontData() 1707 if( !pFont->IsEmbeddable() ) in GetFontEncodingVector() 1738 void Os2SalGraphics::GetGlyphWidths( const ImplFontData* pFont, in GetGlyphWidths() argument 1745 ImplFontSelectData aIFSD( *pFont, Size(0,1000), 1000.0, 0, false ); in GetGlyphWidths() 1753 if( pFont->IsSubsettable() ) in GetGlyphWidths() [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()
|