/aoo41x/main/reportdesign/source/filter/xml/ |
H A D | xmlHelper.cxx | 279 ::com::sun::star::awt::FontDescriptor aFont; in copyStyleElements() 315 xProp->getPropertyValue(PROPERTY_FONTNAME) >>= aFont.Name; in copyStyleElements() 317 xProp->getPropertyValue(PROPERTY_FONTWIDTH) >>= aFont.Width; in copyStyleElements() 319 xProp->getPropertyValue(PROPERTY_FONTFAMILY) >>= aFont.Family; in copyStyleElements() 320 xProp->getPropertyValue(PROPERTY_FONTCHARSET) >>= aFont.CharSet; in copyStyleElements() 321 xProp->getPropertyValue(PROPERTY_FONTPITCH) >>= aFont.Pitch; in copyStyleElements() 323 xProp->getPropertyValue(PROPERTY_FONTWEIGHT) >>= aFont.Weight; in copyStyleElements() 324 xProp->getPropertyValue(PROPERTY_CHARPOSTURE) >>= aFont.Slant; in copyStyleElements() 330 xProp->getPropertyValue(PROPERTY_FONTTYPE) >>= aFont.Type; in copyStyleElements() 332 if ( xReportControlModel.is() && aFont.Name.getLength() ) in copyStyleElements() [all …]
|
/aoo41x/main/editeng/source/items/ |
H A D | bulitem.cxx | 71 Font aFont; in CreateFont() local 92 aFont.SetName( aName ); in CreateFont() 98 aFont.SetSize( aSize ); in CreateFont() 105 return aFont; in CreateFont() 124 aFont = rFont; in SvxBulletItem() 133 aFont = rFont; in SvxBulletItem() 228 aFont = rItem.aFont; in SvxBulletItem() 268 aFont.SetAlign( ALIGN_BOTTOM); in SetDefaultFont_Impl() 269 aFont.SetTransparent( sal_True ); in SetDefaultFont_Impl() 344 if( ( nStyle != BS_BMP ) && ( aFont != rBullet.aFont ) ) in operator ==() [all …]
|
/aoo41x/main/cui/source/dialogs/ |
H A D | cuicharmap.cxx | 83 SetCharFont( aFont ); in SvxCharacterMap() 87 Font aFont( GetCharFont() ); in SvxCharacterMap() local 89 SetCharFont( aFont ); in SvxCharacterMap() 107 return mpCharMapData->aFont; in GetCharFont() 232 Font aFont = rFont; in SetFont() local 234 aFont.SetAlign( ALIGN_TOP ); in SetFont() 237 Control::SetFont( aFont ); in SetFont() 279 aFont = pDialog->GetFont(); in SvxCharMapData() 366 aFont = aTmp; in SetCharFont() 404 aShowSet.SetFont( aFont ); in IMPL_LINK() [all …]
|
/aoo41x/main/svx/source/sidebar/tools/ |
H A D | ValueSetWithTextControl.cxx | 314 aFont.SetSize( aSize ); in UserDraw() 315 pDev->SetFont(aFont); in UserDraw() 361 aFont.SetSize( aSize ); in UserDraw() 362 pDev->SetFont(aFont); in UserDraw() 368 aFont.SetSize( aSize ); in UserDraw() 369 pDev->SetFont(aFont); in UserDraw() 451 aFont.SetSize( aSize ); in UserDraw() 452 pDev->SetFont(aFont); in UserDraw() 495 aFont.SetSize( aSize ); in UserDraw() 496 pDev->SetFont(aFont); in UserDraw() [all …]
|
/aoo41x/main/vcl/unx/kde4/ |
H A D | KDESalFrame.cxx | 173 return aFont; in toFont() 221 style.SetToolFont( aFont ); in UpdateSettings() 287 style.SetAppFont( aFont ); in UpdateSettings() 288 style.SetHelpFont( aFont ); in UpdateSettings() 292 style.SetTitleFont( aFont ); in UpdateSettings() 295 style.SetFloatTitleFont( aFont ); in UpdateSettings() 298 style.SetLabelFont( aFont ); in UpdateSettings() 299 style.SetInfoFont( aFont ); in UpdateSettings() 302 style.SetFieldFont( aFont ); in UpdateSettings() 303 style.SetIconFont( aFont ); in UpdateSettings() [all …]
|
/aoo41x/main/canvas/source/directx/ |
H A D | dx_textlayout_drawhelper.cxx | 153 Font aFont( in drawText() local 163 aFont.SetPitch( in drawText() 170 aFont.SetColor( aColor ); in drawText() 171 aFont.SetFillColor( aColor ); in drawText() 185 aFont.SetWidth( nNewWidth ); in drawText() 189 aVirtualDevice.SetFont(aFont); in drawText() 291 Font aFont( in queryTextBounds() local 296 aFont.SetAlign( ALIGN_BASELINE ); in queryTextBounds() 301 aFont.SetPitch( in queryTextBounds() 317 aFont.SetWidth( nNewWidth ); in queryTextBounds() [all …]
|
/aoo41x/main/forms/source/component/ |
H A D | Grid.cxx | 960 _rxOutStream->writeLong( aFont.Width ); in write() 961 _rxOutStream->writeLong( aFont.Height ); in write() 965 _rxOutStream->writeUTF( aFont.Name ); in write() 967 _rxOutStream->writeShort( aFont.Family ); in write() 969 _rxOutStream->writeShort( aFont.Pitch ); in write() 1082 FontDescriptor aFont( getFont() ); in read() local 1102 aFont.Name = _rxInStream->readUTF(); in read() 1104 aFont.Family = _rxInStream->readShort(); in read() 1106 aFont.Pitch = _rxInStream->readShort(); in read() 1110 setFont( aFont ); in read() [all …]
|
/aoo41x/main/svtools/source/filter/ |
H A D | sgvtext.cxx | 591 Font aFont; in SetTextContext() local 605 if (pSgfFont->Fixd) aFont.SetPitch(PITCH_FIXED); else aFont.SetPitch(PITCH_VARIABLE); in SetTextContext() 608 aFont.SetName(FNam); in SetTextContext() 612 aFont.SetPitch(PITCH_VARIABLE); in SetTextContext() 622 aFont.SetFamily(FAMILY_ROMAN); in SetTextContext() 640 aFont.SetPitch(PITCH_FIXED); in SetTextContext() 644 aFont.SetName(FNam); in SetTextContext() 666 aFont.SetTransparent(sal_True); in SetTextContext() 667 aFont.SetAlign(ALIGN_BASELINE); in SetTextContext() 670 aFont.SetOrientation(Dreh); in SetTextContext() [all …]
|
/aoo41x/main/svtools/source/control/ |
H A D | hyperlabel.cxx | 137 Font aFont = GetControlFont( ); in MouseMove() local 142 DeactivateHyperMode(aFont, aColor); in MouseMove() 151 ActivateHyperMode( aFont, aColor); in MouseMove() 155 DeactivateHyperMode(aFont, aColor); in MouseMove() 159 void HyperLabel::ActivateHyperMode(Font aFont, const Color aColor) in ActivateHyperMode() argument 161 aFont.SetUnderline(UNDERLINE_SINGLE); in ActivateHyperMode() 164 SetControlFont( aFont); in ActivateHyperMode() 169 void HyperLabel::DeactivateHyperMode(Font aFont, const Color aColor) in DeactivateHyperMode() argument 172 aFont.SetUnderline(UNDERLINE_NONE); in DeactivateHyperMode() 174 SetControlFont( aFont); in DeactivateHyperMode()
|
/aoo41x/main/sd/source/ui/func/ |
H A D | fubullet.cxx | 174 Font aFont; in InsertSpecialCharacter() local 184 aFont = Font( aFontName, Size(1,1) ); in InsertSpecialCharacter() 192 aFont = Font( pFItem->GetFamilyName(), pFItem->GetStyleName(), Size( 1, 1 ) ); in InsertSpecialCharacter() 224 aFont.SetName( pFItem->GetFamilyName() ); in InsertSpecialCharacter() 225 aFont.SetStyleName( pFItem->GetStyleName() ); in InsertSpecialCharacter() 226 aFont.SetCharSet( pFItem->GetCharSet() ); in InsertSpecialCharacter() 227 aFont.SetPitch( pFItem->GetPitch() ); in InsertSpecialCharacter() 282 SvxFontItem aFontItem (aFont.GetFamily(), aFont.GetName(), in InsertSpecialCharacter() 283 aFont.GetStyleName(), aFont.GetPitch(), in InsertSpecialCharacter() 284 aFont.GetCharSet(), in InsertSpecialCharacter()
|
/aoo41x/main/sw/source/ui/docvw/ |
H A D | srcedtw.cxx | 364 aFont.SetFillColor( rCol ); in DataChanged() 526 Font aFont; in CreateTextEngine() local 528 aFont.SetFillColor( rCol ); in CreateTextEngine() 529 SetPointFont( aFont ); in CreateTextEngine() 530 aFont = GetFont(); in CreateTextEngine() 531 aFont.SetFillColor( rCol ); in CreateTextEngine() 532 pOutWin->SetFont( aFont ); in CreateTextEngine() 533 pTextEngine->SetFont( aFont ); in CreateTextEngine() 1062 Font aFont; in SetFont() local 1079 Font aFont(aInfo); in SetFont() local [all …]
|
/aoo41x/main/sw/source/ui/misc/ |
H A D | insfnote.cxx | 78 SvxFontItem aFont( rFont.GetFamily(), aFontName, in Apply() local 81 aSet.Put( aFont ); in Apply() 186 Font aFont( aFontName, pFontItem->GetStyleName(), aNumberCharEdit.GetFont().GetSize() ); in IMPL_LINK_INLINE_END() local 187 aFont.SetCharSet( pFontItem->GetCharSet() ); in IMPL_LINK_INLINE_END() 188 aFont.SetPitch( pFontItem->GetPitch() ); in IMPL_LINK_INLINE_END() 189 aNumberCharEdit.SetFont( aFont ); in IMPL_LINK_INLINE_END() 295 Font aFont; in Init() local 311 aFont = aNumberCharEdit.GetFont(); in Init() 314 aFont.SetName(aFontName); in Init() 315 aFont.SetCharSet(eCharSet); in Init() [all …]
|
/aoo41x/main/vcl/unx/generic/printergfx/ |
H A D | text_gfx.cxx | 117 std::list< sal_Int32 >::iterator aFont; in PSUploadPS1Font() local 119 for (aFont = maPS1Font.begin(); aFont != maPS1Font.end(); ++aFont ) in PSUploadPS1Font() 120 if( nFontID == *aFont ) in PSUploadPS1Font() 346 Font3 aFont(*this); in DrawText() local 348 if ( aFont.IsSymbolFont() ) in DrawText() 713 Font3 aFont(*this); in GetCharWidth() local 714 if (aFont.IsSymbolFont() && (nFrom < 256) && (nTo < 256)) in GetCharWidth() 723 getCharMetric (aFont, n + nFrom, &aBBox); in GetCharWidth() 793 std::list< sal_Int32 >::iterator aFont; in writeResources() local 795 for (aFont = maPS1Font.begin(); aFont != maPS1Font.end(); ++aFont) in writeResources() [all …]
|
/aoo41x/main/sd/source/ui/slideshow/ |
H A D | showwin.cxx | 584 aFont.SetSize( aTextSize ); in DrawPauseScene() 585 aFont.SetColor( COL_WHITE ); in DrawPauseScene() 586 aFont.SetCharSet( aOldFont.GetCharSet() ); in DrawPauseScene() 587 aFont.SetLanguage( aOldFont.GetLanguage() ); in DrawPauseScene() 617 aVDev.SetFont( aFont ); in DrawPauseScene() 638 SetFont( aFont ); in DrawPauseScene() 655 aFont.SetSize( aTextSize ); in DrawEndScene() 656 aFont.SetColor( COL_WHITE ); in DrawEndScene() 657 aFont.SetCharSet( aOldFont.GetCharSet() ); in DrawEndScene() 658 aFont.SetLanguage( aOldFont.GetLanguage() ); in DrawEndScene() [all …]
|
/aoo41x/main/filter/source/svg/ |
H A D | svgfontexport.cxx | 192 Font aFont( rFont ); in implEmbedFont() local 194 aFont.SetSize( Size( 0, nFontEM ) ); in implEmbedFont() 195 aFont.SetAlign( ALIGN_BASELINE ); in implEmbedFont() 198 aVDev.SetFont( aFont ); in implEmbedFont() 210 if( aFont.GetWeight() != WEIGHT_NORMAL ) in implEmbedFont() 216 if( aFont.GetItalic() != ITALIC_NONE ) in implEmbedFont() 312 Font aFont; in EmbedFonts() local 314 aFont.SetName( (*aGlyphTreeIter).first ); in EmbedFonts() 315 aFont.SetWeight( (*aFontWeightIter).first ); in EmbedFonts() 316 aFont.SetItalic( (*aFontItalicIter).first ); in EmbedFonts() [all …]
|
/aoo41x/main/svx/source/sidebar/line/ |
H A D | LineWidthValueSet.cxx | 122 …Font aFont(OutputDevice::GetDefaultFont(DEFAULTFONT_UI_SANS, MsLangId::getSystemLanguage(), DEFAUL… in UserDraw() local 123 Size aSize = aFont.GetSize(); in UserDraw() 125 aFont.SetSize( aSize ); in UserDraw() 139 aFont.SetColor(GetSettings().GetStyleSettings().GetFieldTextColor()); in UserDraw() 141 aFont.SetColor(GetSettings().GetStyleSettings().GetDisableColor()); in UserDraw() 143 pDev->SetFont(aFont); in UserDraw() 165 aFont.SetColor(COL_WHITE); in UserDraw() 167 aFont.SetColor(GetSettings().GetStyleSettings().GetFieldTextColor()); in UserDraw() 168 pDev->SetFont(aFont); in UserDraw()
|
H A D | LineStyleValueSet.cxx | 93 Font aFont(OutputDevice::GetDefaultFont( in UserDraw() local 95 Size aSize = aFont.GetSize(); in UserDraw() 98 aFont.SetColor(COL_WHITE); in UserDraw() 101 aFont.SetColor(GetSettings().GetStyleSettings().GetFieldTextColor()); //high contrast in UserDraw() 102 aFont.SetFillColor(COL_BLUE); in UserDraw() 103 aFont.SetSize( aSize ); in UserDraw() 104 pDev->SetFont(aFont); in UserDraw()
|
/aoo41x/main/vcl/source/window/ |
H A D | window.cxx | 562 aFont.SetHeight( defFontheight ); in ImplUpdateGlobalSettings() 565 aFont.SetHeight( defFontheight ); in ImplUpdateGlobalSettings() 568 aFont.SetHeight( defFontheight ); in ImplUpdateGlobalSettings() 593 aFont.SetHeight( defFontheight ); in ImplUpdateGlobalSettings() 5752 Font aFont = GetFont(); in CalcTitleWidth() local 6005 Font aFont = rFont; in SetPointFont() local 6006 ImplPointToLogic( aFont ); in SetPointFont() 6007 SetFont( aFont ); in SetPointFont() 6016 Font aFont = GetFont(); in GetPointFont() local 6017 ImplLogicToPoint( aFont ); in GetPointFont() [all …]
|
/aoo41x/main/sw/source/ui/app/ |
H A D | docshini.cxx | 210 Font aFont( sEntry, Size( 0, 10 ) ); in InitNew() local 213 aFont = pPrt->GetFontMetric( aFont ); in InitNew() 216 pFontItem = new SvxFontItem(aFont.GetFamily(), aFont.GetName(), in InitNew() 217 … aEmptyStr, aFont.GetPitch(), aFont.GetCharSet(), nFontWhich); in InitNew() 297 Font aFont( sEntry, Size( 0, 10 ) ); in InitNew() local 299 aFont = pPrt->GetFontMetric( aFont ); in InitNew() 306 pColl->SetFmtAttr(SvxFontItem(aFont.GetFamily(), aFont.GetName(), in InitNew() 307 aEmptyStr, aFont.GetPitch(), aFont.GetCharSet(), nFontWhich)); in InitNew()
|
/aoo41x/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeFontWork.cxx | 170 Font aFont; in CalculateHorizontalScalingFactor() local 173 aFont.SetAlign( ALIGN_TOP ); in CalculateHorizontalScalingFactor() 174 aFont.SetName( rFontItem.GetFamilyName() ); in CalculateHorizontalScalingFactor() 175 aFont.SetFamily( rFontItem.GetFamily() ); in CalculateHorizontalScalingFactor() 177 aFont.SetOrientation( 0 ); in CalculateHorizontalScalingFactor() 182 aVirDev.SetFont( aFont ); in CalculateHorizontalScalingFactor() 259 Font aFont; in GetTextAreaOutline() local 261 aFont.SetAlign( ALIGN_TOP ); in GetTextAreaOutline() 267 aFont.SetOrientation( 0 ); in GetTextAreaOutline() 278 aVirDev.SetFont( aFont ); in GetTextAreaOutline() [all …]
|
/aoo41x/main/sw/source/ui/chrdlg/ |
H A D | drpcps.cxx | 239 Font aFont; in UpdatePaintSettings() local 272 aFont.SetFamily (rFmtFont.GetFamily()); in UpdatePaintSettings() 273 aFont.SetName (rFmtFont.GetFamilyName()); in UpdatePaintSettings() 274 aFont.SetPitch (rFmtFont.GetPitch()); in UpdatePaintSettings() 275 aFont.SetCharSet(rFmtFont.GetCharSet()); in UpdatePaintSettings() 280 aFont.SetSize(Size(0, mnTextH)); in UpdatePaintSettings() 284 aFont.SetTransparent(sal_True); in UpdatePaintSettings() 299 SetFont(aFont); in UpdatePaintSettings() 300 aFont.SetSize(Size(0, aFont.GetSize().Height() + mnLeading)); in UpdatePaintSettings() 301 SetFont(aFont); in UpdatePaintSettings() [all …]
|
/aoo41x/main/toolkit/source/helper/ |
H A D | vclunohelper.cxx | 349 Font aFont( rInitFont ); in CreateFont() local 351 aFont.SetName( rDescr.Name ); in CreateFont() 353 aFont.SetStyleName( rDescr.StyleName ); in CreateFont() 359 aFont.SetCharSet( (CharSet)rDescr.CharSet ); in CreateFont() 361 aFont.SetPitch( (FontPitch)rDescr.Pitch ); in CreateFont() 367 aFont.SetItalic( (FontItalic)rDescr.Slant ); in CreateFont() 375 aFont.SetKerning( rDescr.Kerning ); in CreateFont() 378 return aFont; in CreateFont() 383 Font aFont; in CreateFont() local 386 aFont = pVCLXFont->GetFont(); in CreateFont() [all …]
|
/aoo41x/main/svx/source/tbxctrls/ |
H A D | tbxcolorupdate.cxx | 188 Font aFont = aOldFont; in DrawChar() local 189 Size aSz = aFont.GetSize(); in DrawChar() 191 aFont.SetSize( aSz ); in DrawChar() 192 aFont.SetWeight( WEIGHT_BOLD ); in DrawChar() 196 aFont.SetColor( rCol ); in DrawChar() 197 aFont.SetFillColor( Color( IMAGE_COL_TRANSPARENT ) ); in DrawChar() 205 aFont.SetFillColor( rCol ); in DrawChar() 207 rVirDev.SetFont( aFont ); in DrawChar()
|
/aoo41x/main/sc/source/ui/navipi/ |
H A D | scenwnd.cxx | 52 Font aFont( GetFont() ); in ScScenarioListBox() local 53 aFont.SetTransparent( sal_True ); in ScScenarioListBox() 54 aFont.SetWeight( WEIGHT_LIGHT ); in ScScenarioListBox() 55 SetFont( aFont ); in ScScenarioListBox() 218 Font aFont( GetFont() ); in ScScenarioWindow() local 219 aFont.SetTransparent( sal_True ); in ScScenarioWindow() 220 aFont.SetWeight( WEIGHT_LIGHT ); in ScScenarioWindow() 221 aEdComment.SetFont( aFont ); in ScScenarioWindow()
|
/aoo41x/main/sw/source/core/txtnode/ |
H A D | fntcap.cxx | 596 SwSubFont aFont( *this ); in DoOnCapitals() local 599 const sal_Bool bTextLines = aFont.GetUnderline() != UNDERLINE_NONE in DoOnCapitals() 600 || aFont.GetOverline() != UNDERLINE_NONE in DoOnCapitals() 601 || aFont.GetStrikeout() != STRIKEOUT_NONE; in DoOnCapitals() 610 aFont.SetWordLineMode( sal_False ); in DoOnCapitals() 611 pSpaceFontAccess = new SwFntAccess( pMagic2, nIndex2, &aFont, in DoOnCapitals() 619 aFont.SetUnderline( UNDERLINE_NONE ); in DoOnCapitals() 620 aFont.SetOverline( UNDERLINE_NONE ); in DoOnCapitals() 621 aFont.SetStrikeout( STRIKEOUT_NONE ); in DoOnCapitals() 624 pBigFontAccess = new SwFntAccess( pMagic2, nIndex2, &aFont, in DoOnCapitals() [all …]
|