/aoo42x/main/editeng/source/editeng/ |
H A D | editattr.cxx | 101 void EditCharAttribFont::SetFont( SvxFont& rFont, OutputDevice* ) in SetFont() argument 105 rFont.SetName( rAttr.GetFamilyName() ); in SetFont() 106 rFont.SetFamily( rAttr.GetFamily() ); in SetFont() 107 rFont.SetPitch( rAttr.GetPitch() ); in SetFont() 108 rFont.SetCharSet( rAttr.GetCharSet() ); in SetFont() 183 …rFont.SetSize( Size( rFont.GetSize().Width(), ((const SvxFontHeightItem*)GetItem())->GetHeight() )… in SetFont() 268 rFont.SetPropr( (sal_uInt8)nProp ); in SetFont() 275 rFont.SetEscapement( nEsc ); in SetFont() 333 rFont.SetFillColor( *pFldColor ); in SetFont() 334 rFont.SetTransparent( sal_False ); in SetFont() [all …]
|
H A D | editattr.hxx | 117 virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ); 175 virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ); 186 virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ); 196 virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ); 207 virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ); 218 virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ); 229 virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ); 240 virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ); 251 virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ); 262 virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ); [all …]
|
H A D | editdoc.cxx | 1255 Font aPrevFont( rFont ); in CreateFont() 1256 rFont.SetAlign( ALIGN_BASELINE ); in CreateFont() 1257 rFont.SetTransparent( sal_True ); in CreateFont() 1268 rFont.SetName( rFontItem.GetFamilyName() ); in CreateFont() 1269 rFont.SetFamily( rFontItem.GetFamily() ); in CreateFont() 1270 rFont.SetPitch( rFontItem.GetPitch() ); in CreateFont() 1271 rFont.SetCharSet( rFontItem.GetCharSet() ); in CreateFont() 1278 …rFont.SetSize( Size( rFont.GetSize().Width(), ((const SvxFontHeightItem&)rSet.Get( nWhich_FontHeig… in CreateFont() 1298 rFont.SetPropr( (sal_uInt8)nProp ); in CreateFont() 1305 rFont.SetEscapement( nEsc ); in CreateFont() [all …]
|
/aoo42x/main/vcl/source/gdi/ |
H A D | font.cxx | 259 Font::Font( const Font& rFont ) in Font() argument 262 DBG_CHKOBJ( &rFont, Font, NULL ); in Font() 265 mpImplFont = rFont.mpImplFont; in Font() 683 mpImplFont = rFont.mpImplFont; in operator =() 707 if ( rFont.GetName().Len() ) in Merge() 709 SetName( rFont.GetName() ); in Merge() 728 if ( rFont.GetSize().Height() ) in Merge() 729 SetSize( rFont.GetSize() ); in Merge() 752 SetShadow( rFont.IsShadow() ); in Merge() 753 SetRelief( rFont.GetRelief() ); in Merge() [all …]
|
/aoo42x/main/editeng/source/uno/ |
H A D | unofdesc.cxx | 51 rFont.SetName( rDesc.Name ); in ConvertToFont() 52 rFont.SetStyleName( rDesc.StyleName ); in ConvertToFont() 54 rFont.SetFamily( (FontFamily)rDesc.Family ); in ConvertToFont() 55 rFont.SetCharSet( (CharSet)rDesc.CharSet ); in ConvertToFont() 56 rFont.SetPitch( (FontPitch)rDesc.Pitch ); in ConvertToFont() 58 rFont.SetKerning( rDesc.Kerning ); in ConvertToFont() 60 rFont.SetItalic( (FontItalic)rDesc.Slant ); in ConvertToFont() 68 rDesc.Name = rFont.GetName(); in ConvertFromFont() 69 rDesc.StyleName = rFont.GetStyleName(); in ConvertFromFont() 73 rDesc.CharSet = rFont.GetCharSet(); in ConvertFromFont() [all …]
|
/aoo42x/main/sw/source/core/txtnode/ |
H A D | swfont.cxx | 438 pBackColor = rFont.pBackColor ? new Color( *rFont.pBackColor ) : NULL; in SwFont() 445 bFntChg = rFont.bFntChg; in SwFont() 446 bOrgChg = rFont.bOrgChg; in SwFont() 449 bURL = rFont.bURL; in SwFont() 452 bNoHyph = rFont.bNoHyph; in SwFont() 453 bBlink = rFont.bBlink; in SwFont() 573 pMagic = rFont.pMagic; in operator =() 578 aSize = rFont.aSize; in operator =() 589 pBackColor = rFont.pBackColor ? new Color( *rFont.pBackColor ) : NULL; in operator =() 600 bURL = rFont.bURL; in operator =() [all …]
|
/aoo42x/main/drawinglayer/source/primitive2d/ |
H A D | textlayoutdevice.cxx | 155 mrDevice.SetFont( rFont ); in setFont() 434 const Font& rFont, in getFontAttributeFromVclFont() argument 439 rFont.GetName(), in getFontAttributeFromVclFont() 440 rFont.GetStyleName(), in getFontAttributeFromVclFont() 443 rFont.IsVertical(), in getFontAttributeFromVclFont() 444 ITALIC_NONE != rFont.GetItalic(), in getFontAttributeFromVclFont() 446 rFont.IsOutline(), in getFontAttributeFromVclFont() 452 o_rSize.setY(rFont.GetSize().getHeight() > 0 ? rFont.GetSize().getHeight() : 0); in getFontAttributeFromVclFont() 461 if(rFont.GetSize().getWidth() > 0) in getFontAttributeFromVclFont() 463 Font aUnscaledFont(rFont); in getFontAttributeFromVclFont() [all …]
|
H A D | metafileprimitive2d.cxx | 186 void setFont(const Font& rFont) { if(rFont != maFont) maFont = rFont; } in setFont() argument 1214 bool isUnderlineAbove(const Font& rFont) in isUnderlineAbove() argument 1216 if(!rFont.IsVertical()) in isUnderlineAbove() 1221 …if((LANGUAGE_JAPANESE == rFont.GetLanguage()) || (LANGUAGE_JAPANESE == rFont.GetCJKContextLanguage… in isUnderlineAbove() 1236 const Font& rFont = rProperty.getFont(); in createFontAttributeTransformAndAlignment() local 1242 rFont, in createFontAttributeTransformAndAlignment() 1268 if(rFont.GetOrientation()) in createFontAttributeTransformAndAlignment() 1315 || RELIEF_NONE != rFont.GetRelief() in proccessMetaTextAction() 1316 || rFont.IsShadow() in proccessMetaTextAction() 1346 switch(rFont.GetRelief()) in proccessMetaTextAction() [all …]
|
/aoo42x/main/starmath/source/ |
H A D | utility.cxx | 197 void SmFontPickList::Insert(const Font &rFont) in Insert() argument 199 SmPickList::Insert((void *)&rFont); in Insert() 207 void SmFontPickList::Remove(const Font &rFont) in Remove() argument 209 SmPickList::Remove((void *)&rFont); in Remove() 275 SmFontPickList::Insert(rFont); in Insert() 290 SmFontPickList::Update(rFont, rNewFont); in Update() 300 SmFontPickList::Remove(rFont); in Remove() 309 sal_Bool IsItalic( const Font &rFont ) in IsItalic() argument 311 FontItalic eItalic = rFont.GetItalic(); in IsItalic() 317 sal_Bool IsBold( const Font &rFont ) in IsBold() argument [all …]
|
/aoo42x/main/editeng/source/items/ |
H A D | bulitem.cxx | 45 rStream << rFont.GetColor(); in StoreFont() 46 nTemp = (sal_uInt16)rFont.GetFamily(); rStream << nTemp; in StoreFont() 52 nTemp = (sal_uInt16)rFont.GetPitch(); rStream << nTemp; in StoreFont() 53 nTemp = (sal_uInt16)rFont.GetAlign(); rStream << nTemp; in StoreFont() 54 nTemp = (sal_uInt16)rFont.GetWeight(); rStream << nTemp; in StoreFont() 60 rStream.WriteByteString(rFont.GetName()); in StoreFont() 62 rStream << rFont.IsOutline(); in StoreFont() 63 rStream << rFont.IsShadow(); in StoreFont() 64 rStream << rFont.IsTransparent(); in StoreFont() 124 aFont = rFont; in SvxBulletItem() [all …]
|
H A D | svxfont.cxx | 65 : Font( rFont ) in SvxFont() 78 : Font( rFont ) in SvxFont() 82 nPropr = rFont.GetPropr(); in SvxFont() 84 eLang = rFont.GetLanguage(); in SvxFont() 657 Font::operator=( rFont ); in operator =() 663 Font::operator=( rFont ); in operator =() 664 eLang = rFont.eLang; in operator =() 665 eCaseMap = rFont.eCaseMap; in operator =() 666 nEsc = rFont.nEsc; in operator =() 667 nPropr = rFont.nPropr; in operator =() [all …]
|
/aoo42x/main/cui/source/tabpages/ |
H A D | chardlg.cxx | 240 rFont.SetUnderline( eUnderline ); in ActivatePage() 256 rFont.SetOverline( eOverline ); in ActivatePage() 271 rFont.SetStrikeout( eStrikeout ); in ActivatePage() 291 rFont.SetEmphasisMark( eMark ); in ActivatePage() 313 rFont.SetCaseMap( eCaseMap ); in ActivatePage() 325 rFont.SetOutline( bOutline ); in ActivatePage() 336 rFont.SetShadow( bShadow ); in ActivatePage() 394 rFont.SetColor( aCol ); in ActivatePage() 408 rFont.SetFixKerning( nKern ); in ActivatePage() 458 rFont.SetSize( Size( 0, nH ) ); in SetPrevFontSize() [all …]
|
/aoo42x/main/accessibility/source/helper/ |
H A D | characterattributeshelper.cxx | 36 CharacterAttributesHelper::CharacterAttributesHelper( const Font& rFont, sal_Int32 nBackColor, sal_… in CharacterAttributesHelper() argument 42 …rtl::OUString::createFromAscii( "CharFontCharSet" ), makeAny( (sal_Int16) rFont.GetCharSet() ) ) ); in CharacterAttributesHelper() 43 …::rtl::OUString::createFromAscii( "CharFontFamily" ), makeAny( (sal_Int16) rFont.GetFamily() ) ) ); in CharacterAttributesHelper() 44 …rtl::OUString::createFromAscii( "CharFontName" ), makeAny( (::rtl::OUString) rFont.GetName() ) ) ); in CharacterAttributesHelper() 45 …( ::rtl::OUString::createFromAscii( "CharFontPitch" ), makeAny( (sal_Int16) rFont.GetPitch() ) ) ); in CharacterAttributesHelper() 47 …e( ::rtl::OUString::createFromAscii( "CharHeight" ), makeAny( (sal_Int16) rFont.GetSize().Height()… in CharacterAttributesHelper() 48 …:rtl::OUString::createFromAscii( "CharScaleWidth" ), makeAny( (sal_Int16) rFont.GetSize().Width() … in CharacterAttributesHelper() 49 …::rtl::OUString::createFromAscii( "CharStrikeout" ), makeAny( (sal_Int16) rFont.GetStrikeout() ) )… in CharacterAttributesHelper() 50 …::rtl::OUString::createFromAscii( "CharUnderline" ), makeAny( (sal_Int16) rFont.GetUnderline() ) )… in CharacterAttributesHelper() 51 …e_type( ::rtl::OUString::createFromAscii( "CharWeight" ), makeAny( (float) rFont.GetWeight() ) ) ); in CharacterAttributesHelper() [all …]
|
/aoo42x/main/starmath/inc/ |
H A D | utility.hxx | 92 sal_Bool IsItalic( const Font &rFont ); 93 sal_Bool IsBold( const Font &rFont ); 104 SmFace(const Font& rFont) : in SmFace() argument 105 Font(rFont), nBorderWidth(-1) { Impl_Init(); } in SmFace() 283 virtual void Insert(const Font &rFont); 285 virtual void Update(const Font &rFont, const Font &rNewFont); 287 virtual void Remove(const Font &rFont); 290 inline sal_Bool Contains(const Font &rFont) const; 318 return SmPickList::Contains((void *)&rFont); in Contains() 364 virtual void Insert(const Font &rFont); [all …]
|
/aoo42x/main/vcl/unx/generic/gdi/ |
H A D | salgdi3.cxx | 295 bool isCairoRenderable(const ServerFont& rFont); 426 return rFont.GetFtFace() && isValid() && rFont.GetAntialiasAdvice() && in isCairoRenderable() 542 ServerFont& rFont = rLayout.GetServerFont(); in DrawCairoAAFontString() local 546 void *pId = rFont.GetFtFace(); in DrawCairoAAFontString() 566 if (rFont.NeedsArtificialItalic()) in DrawCairoAAFontString() 620 ServerFont& rFont = rLayout.GetServerFont(); in DrawServerAAFontString() local 651 ServerFont& rFont = rLayout.GetServerFont(); in DrawServerAAForcedString() local 880 ServerFont& rFont = rSalLayout.GetServerFont(); in DrawServerSimpleFontString() local 928 ServerFont& rFont = rLayout.GetServerFont(); in DrawServerFontLayout() local 936 if( rGlyphPeer.GetGlyphSet( rFont, m_nScreen ) ) in DrawServerFontLayout() [all …]
|
/aoo42x/main/vcl/inc/vcl/ |
H A D | settings.hxx | 737 void SetAppFont( const Font& rFont ) in SetAppFont() argument 741 void SetHelpFont( const Font& rFont ) in SetHelpFont() argument 745 void SetTitleFont( const Font& rFont ) in SetTitleFont() argument 749 void SetFloatTitleFont( const Font& rFont ) in SetFloatTitleFont() argument 753 void SetMenuFont( const Font& rFont ) in SetMenuFont() argument 757 void SetToolFont( const Font& rFont ) in SetToolFont() argument 761 void SetGroupFont( const Font& rFont ) in SetGroupFont() argument 765 void SetLabelFont( const Font& rFont ) in SetLabelFont() argument 769 void SetInfoFont( const Font& rFont ) in SetInfoFont() argument 781 void SetFieldFont( const Font& rFont ) in SetFieldFont() argument [all …]
|
/aoo42x/main/svtools/source/filter/wmf/ |
H A D | winmtf.cxx | 196 if ( ( rFont.lfCharSet == OEM_CHARSET ) || ( rFont.lfCharSet == DEFAULT_CHARSET ) ) in WinMtfFontStyle() 269 if( rFont.lfItalic ) in WinMtfFontStyle() 272 if( rFont.lfUnderline ) in WinMtfFontStyle() 275 if( rFont.lfStrikeOut ) in WinMtfFontStyle() 278 if ( rFont.lfOrientation ) in WinMtfFontStyle() 283 Size aFontSize( Size( rFont.lfWidth, rFont.lfHeight ) ); in WinMtfFontStyle() 284 if ( rFont.lfHeight > 0 ) in WinMtfFontStyle() 304 if ( !rFont.lfWidth ) in WinMtfFontStyle() 563 rFont.SetSize( aFontSize ); in ImplMap() 566 rFont.SetOrientation( 3600 - rFont.GetOrientation() ); in ImplMap() [all …]
|
/aoo42x/main/svx/source/dialog/ |
H A D | fntctrl.cxx | 282 SvxFont &rFont ) in CalcTextSize() argument 322 calcFontHeightAnyAscent(pWin,rFont,nHeight,nAscent); in CalcTextSize() 360 Point &rPt, SvxFont &rFont ) in DrawPrev() argument 649 SvxFont& rFont = pImpl->aFont; in Paint() local 669 pImpl->aText = rFont.GetName(); in Paint() 699 Size aTxtSize = pImpl->CalcTextSize( this, pPrinter, rFont ); in Paint() 737 SvxFont aSmallFont( rFont ); in Paint() 753 nEndBracketWidth = rFont.GetTxtSize( pPrinter, sBracket ).Width(); in Paint() 784 rFont.DrawPrev( this, pPrinter, aTmpPoint, sBracket ); in Paint() 792 SetLineColor( rFont.GetColor() ); in Paint() [all …]
|
/aoo42x/main/cui/source/dialogs/ |
H A D | cuicharmap.cxx | 140 void SvxCharacterMap::SetCharFont( const Font& rFont ) in SetCharFont() argument 142 mpCharMapData->SetCharFont( rFont ); in SetCharFont() 154 const Font& rFont( GetCharFont() ); in Execute() local 156 pSet->Put( SvxFontItem( rFont.GetFamily(), rFont.GetName(), in Execute() 157 …rFont.GetStyleName(), rFont.GetPitch(), rFont.GetCharSet(), pPool->GetWhich(SID_ATTR_CHAR_FONT) ) … in Execute() 158 pSet->Put( SfxStringItem( pPool->GetWhich(SID_FONT_NAME), rFont.GetName() ) ); in Execute() 229 void SvxShowText::SetFont( const Font& rFont ) in SetFont() argument 232 Font aFont = rFont; in SetFont() 356 void SvxCharMapData::SetCharFont( const Font& rFont ) in SetCharFont() argument 360 Font aTmp( mpDialog->GetFontMetric( rFont ) ); in SetCharFont()
|
/aoo42x/main/sc/source/ui/miscdlgs/ |
H A D | autofmt.cxx | 517 Font& rFont, in lcl_SetFontProperties() argument 522 rFont.SetFamily ( rFontItem.GetFamily() ); in lcl_SetFontProperties() 523 rFont.SetName ( rFontItem.GetFamilyName() ); in lcl_SetFontProperties() 524 rFont.SetStyleName ( rFontItem.GetStyleName() ); in lcl_SetFontProperties() 525 rFont.SetCharSet ( rFontItem.GetCharSet() ); in lcl_SetFontProperties() 526 rFont.SetPitch ( rFontItem.GetPitch() ); in lcl_SetFontProperties() 527 rFont.SetWeight ( (FontWeight)rWeightItem.GetValue() ); in lcl_SetFontProperties() 528 rFont.SetItalic ( (FontItalic)rPostureItem.GetValue() ); in lcl_SetFontProperties() 535 rFont = rCJKFont = rCTLFont = GetFont(); in MakeFonts() 536 Size aFontSize( rFont.GetSize().Width(), 10 ); in MakeFonts() [all …]
|
/aoo42x/main/vcl/source/glyphs/ |
H A D | gcach_layout.cxx | 47 ServerFontLayout::ServerFontLayout( ServerFont& rFont ) in ServerFontLayout() argument 48 : mrServerFont( rFont ) in ServerFontLayout() 99 FreetypeServerFont& rFont = static_cast<FreetypeServerFont&>(rLayout.GetServerFont()); in operator ()() local 119 sal_GlyphId aGlyphId = rFont.GetGlyphIndex( cChar ); in operator ()() 130 int nKernValue = rFont.GetGlyphKernValue( nOldGlyphId, aGlyphId ); in operator ()() 142 const GlyphMetric& rGM = rFont.GetGlyphMetric( aGlyphId ); in operator ()() 194 IcuFontFromServerFont( FreetypeServerFont& rFont ) in IcuFontFromServerFont() argument 195 : mrServerFont( rFont ) in IcuFontFromServerFont() 532 nGlyphIndex = rFont.FixupGlyphIndex( nGlyphIndex, aChar ); in operator ()() 541 const GlyphMetric& rGM = rFont.GetGlyphMetric( nGlyphIndex ); in operator ()() [all …]
|
/aoo42x/main/sc/source/core/data/ |
H A D | patattr.cxx | 379 rFont.SetLanguage(eLang); in GetFont() 401 rFont.SetSize( aEffSize ); in GetFont() 476 rFont.SetWeight( eWeight ); in GetFont() 477 rFont.SetItalic( eItalic ); in GetFont() 478 rFont.SetUnderline( eUnder ); in GetFont() 479 rFont.SetOverline( eOver ); in GetFont() 481 rFont.SetStrikeout( eStrike ); in GetFont() 482 rFont.SetOutline( bOutline ); in GetFont() 483 rFont.SetShadow( bShadow ); in GetFont() 485 rFont.SetRelief( eRelief ); in GetFont() [all …]
|
/aoo42x/main/sw/source/ui/misc/ |
H A D | insfnote.cxx | 77 SvxFontItem &rFont = (SvxFontItem &) aSet.Get( RES_CHRATR_FONT ); in Apply() local 78 SvxFontItem aFont( rFont.GetFamily(), aFontName, in Apply() 79 rFont.GetStyleName(), rFont.GetPitch(), in Apply() 164 const SvxFontItem &rFont = (SvxFontItem &) aSet.Get( RES_CHRATR_FONT ); in IMPL_LINK_INLINE_END() local 168 aAllSet.Put( rFont ); in IMPL_LINK_INLINE_END() 309 const SvxFontItem &rFont = (SvxFontItem &) aSet.Get( RES_CHRATR_FONT ); in Init() local 312 aFontName = rFont.GetFamilyName(); in Init() 313 eCharSet = rFont.GetCharSet(); in Init()
|
/aoo42x/main/sdext/source/pdfimport/inc/ |
H A D | contentsink.hxx | 85 bool operator==(const FontAttributes& rFont) const in operator ==() 87 return familyName == rFont.familyName && in operator ==() 88 !isBold == !rFont.isBold && in operator ==() 89 !isItalic == !rFont.isItalic && in operator ==() 90 !isUnderline == !rFont.isUnderline && in operator ==() 91 !isOutline == !rFont.isOutline && in operator ==() 92 size == rFont.size; in operator ==() 127 virtual void setFont( const FontAttributes& rFont ) = 0;
|
/aoo42x/main/sc/source/filter/excel/ |
H A D | xlstyle.cxx | 172 FillFromVclFont( rFont ); in XclFontData() 177 FillFromSvxFont( rFont ); in XclFontData() 198 maColor = rFont.GetColor(); in FillFromVclFont() 199 SetScUnderline( rFont.GetUnderline() ); in FillFromVclFont() 202 SetScWeight( rFont.GetWeight() ); in FillFromVclFont() 203 SetScFamily( rFont.GetFamily() ); in FillFromVclFont() 204 SetFontEncoding( rFont.GetCharSet() ); in FillFromVclFont() 205 SetScPosture( rFont.GetItalic() ); in FillFromVclFont() 207 mbOutline = rFont.IsOutline(); in FillFromVclFont() 208 mbShadow = rFont.IsShadow(); in FillFromVclFont() [all …]
|