Home
last modified time | relevance | path

Searched refs:pFont (Results 1 – 25 of 99) sorted by relevance

1234

/trunk/main/vcl/unx/generic/fontmanager/
H A Dfontmanager.cxx1963 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()
1987pFont->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 Dfontcache.cxx398 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 …]
/trunk/main/vcl/inc/vcl/
H A Dfontmanager.hxx507 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 …]
/trunk/main/editeng/source/items/
H A Dsvxfont.cxx682 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 …]
/trunk/main/vcl/win/source/gdi/
H A Dsalgdi3.cxx1395 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 …]
/trunk/main/sd/source/ui/slidesorter/view/
H A DSlsTheme.cxx253 ::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 …]
/trunk/main/sc/source/filter/xml/
H A Dxmlfonte.cxx67 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()
/trunk/main/sw/source/filter/writer/
H A Dwriter.cxx428 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 …]
/trunk/main/vcl/source/gdi/
H A Dpdffontcache.cxx33 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()
/trunk/main/editeng/source/rtf/
H A Dsvxrtf.cxx506 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 …]
/trunk/main/sc/source/filter/inc/
H A Dlotfntbf.hxx44 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()
/trunk/main/sw/source/core/txtnode/
H A Dswfont.cxx237 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 …]
/trunk/main/vcl/os2/source/gdi/
H A Dsalgdi3.cxx822 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 …]
/trunk/main/sw/source/filter/xml/
H A Dxmlfonte.cxx84 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()
/trunk/main/vcl/unx/headless/
H A Dsvptext.cxx340 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()
/trunk/main/editeng/source/editeng/
H A Dtextconv.cxx286 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()
/trunk/main/sw/source/core/doc/
H A Dnotxtfrm.cxx104 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 …]
/trunk/main/vcl/source/glyphs/
H A Dgraphite_serverfont.cxx47 GraphiteServerFontLayout::GraphiteServerFontLayout(GraphiteFontAdaptor * pFont) throw() in GraphiteServerFontLayout() argument
48 : ServerFontLayout(pFont->font()), mpFont(pFont), in GraphiteServerFontLayout()
49 maImpl(*mpFont, mpFont->features(), pFont) in GraphiteServerFontLayout()
/trunk/main/sc/source/filter/excel/
H A Dxistyle.cxx489 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 Dxestring.cxx477 …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()
/trunk/main/starmath/source/
H A Dutility.cxx175 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()
/trunk/main/sw/source/ui/lingu/
H A Dhhcwrp.cxx185 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()
/trunk/main/sw/source/filter/ww8/
H A Dwrtw8sty.cxx767 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()
/trunk/main/sw/source/filter/rtf/
H A Drtffld.cxx613 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()
/trunk/main/oox/source/xls/
H A Drichstring.cxx49 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()

Completed in 151 milliseconds

1234