/trunk/main/dbaccess/source/ui/app/ |
H A D | AppSwapWindow.cxx | 109 Font aFont; in ImplInitSettings() local 110 aFont = rStyleSettings.GetFieldFont(); in ImplInitSettings() 111 aFont.SetColor( rStyleSettings.GetWindowTextColor() ); in ImplInitSettings() 112 SetPointFont( aFont ); in ImplInitSettings()
|
/trunk/main/svtools/source/control/ |
H A D | calendar.cxx | 452 Font aFont = aOldFont; in ImplFormat() local 454 aFont.SetWeight( WEIGHT_BOLD ); in ImplFormat() 456 aFont.SetWeight( WEIGHT_NORMAL ); in ImplFormat() 457 SetFont( aFont ); in ImplFormat() 873 Font aFont = aOldFont; in ImplDrawDate() local 875 aFont.SetWeight( WEIGHT_BOLD ); in ImplDrawDate() 877 aFont.SetWeight( WEIGHT_NORMAL ); in ImplDrawDate() 878 SetFont( aFont ); in ImplDrawDate() 2613 Font aFont = aOldFont; in CalcWindowSizePixel() local 2615 aFont.SetWeight( WEIGHT_BOLD ); in CalcWindowSizePixel() [all …]
|
/trunk/main/sw/source/ui/misc/ |
H A D | insrule.cxx | 195 Font aFont = pDev->GetFont(); in UserDraw() local 196 Size aSize = aFont.GetSize(); in UserDraw() 199 aFont.SetSize(aSize); in UserDraw() 200 pDev->SetFont(aFont); in UserDraw()
|
/trunk/main/formula/source/ui/dlg/ |
H A D | structpg.cxx | 50 Font aFont( GetFont() ); in StructListBox() local 51 Size aSize = aFont.GetSize(); in StructListBox() 53 aFont.SetSize( aSize ); in StructListBox() 54 SetFont( aFont ); in StructListBox()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xlroot.cxx | 216 Font aFont( rFontData.maName, Size( 0, rFontData.mnHeight ) ); in SetCharWidth() local 217 aFont.SetFamily( rFontData.GetScFamily( GetTextEncoding() ) ); in SetCharWidth() 218 aFont.SetCharSet( rFontData.GetFontEncoding() ); in SetCharWidth() 219 aFont.SetWeight( rFontData.GetScWeight() ); in SetCharWidth() 220 pPrinter->SetFont( aFont ); in SetCharWidth()
|
/trunk/main/sw/source/ui/shells/ |
H A D | textsh.cxx | 1133 SvxFontItem aFont( RES_CHRATR_FONT ); in InsertSymbol() local 1139 aFont = *(SvxFontItem*)pI; in InsertSymbol() 1141 aFont = (SvxFontItem&)aSet.Get( GetWhichOfScript( in InsertSymbol() 1145 aFontName = aFont.GetFamilyName(); in InsertSymbol() 1160 aAllSet.Put( SfxStringItem( SID_FONT_NAME, aFont.GetFamilyName() ) ); in InsertSymbol() 1208 aFont = *(SvxFontItem*)pI; in InsertSymbol() 1210 aFont = (SvxFontItem&)aSet.Get( GetWhichOfScript( in InsertSymbol() 1222 SvxFontItem aNewFontItem( aFont ); in InsertSymbol() 1266 aFont = aNewFontItem; in InsertSymbol()
|
/trunk/main/chart2/source/tools/ |
H A D | CharacterProperties.cxx | 508 …Font aFont = OutputDevice::GetDefaultFont( DEFAULTFONT_LATIN_SPREADSHEET, nLang, DEFAULTFONT_FLAGS… in AddDefaultsToMap() local 514 …::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_CHAR_FONT_NAME, OUString( aFont.Ge… in AddDefaultsToMap() 515 …per::setPropertyValueDefault( rOutMap, PROP_CHAR_FONT_STYLE_NAME, OUString(aFont.GetStyleName()) ); in AddDefaultsToMap() 516 …elper::setPropertyValueDefault( rOutMap, PROP_CHAR_FONT_FAMILY, sal_Int16(aFont.GetFamily()) );//a… in AddDefaultsToMap() 517 …per::setPropertyValueDefault( rOutMap, PROP_CHAR_FONT_CHAR_SET, sal_Int16(aFont.GetCharSet()) );//… in AddDefaultsToMap() 518 …Helper::setPropertyValueDefault( rOutMap, PROP_CHAR_FONT_PITCH, sal_Int16(aFont.GetPitch()) );//aw… in AddDefaultsToMap()
|
/trunk/main/sd/source/ui/notes/ |
H A D | EditWindow.cxx | 181 Font aFont = Application::GetDefaultDevice()->GetDefaultFont( in CreateEditEngine() local 185 aFont.GetFamily(), in CreateEditEngine() 186 aFont.GetName(), in CreateEditEngine() 187 aFont.GetStyleName(), in CreateEditEngine() 188 aFont.GetPitch(), in CreateEditEngine() 189 aFont.GetCharSet(), in CreateEditEngine()
|
/trunk/main/sdext/source/pdfimport/xpdfwrapper/ |
H A D | pdfioutdev_gpl.cxx | 642 FontAttributes aFont; in updateFont() local 662 aFont = it->second; in updateFont() 664 boost::shared_array<char> pEsc( lcl_escapeLineFeeds(aFont.familyName.getCString()) ); in updateFont() 666 aFont.isEmbedded, in updateFont() 667 aFont.isBold, in updateFont() 668 aFont.isItalic, in updateFont() 669 aFont.isUnderline, in updateFont()
|
/trunk/main/filter/source/flash/ |
H A D | swfwriter1.cxx | 579 Font aFont(aOldFont); in Impl_writeText() local 580 short nOrientation = aFont.GetOrientation(); in Impl_writeText() 581 aFont.SetOrientation( 0 ); in Impl_writeText() 582 aFont.SetUnderline(UNDERLINE_NONE); in Impl_writeText() 583 aFont.SetStrikeout(STRIKEOUT_NONE); in Impl_writeText() 584 mpVDev->SetFont( aFont ); in Impl_writeText() 588 FlashFont& rFlashFont = Impl_getFont( aFont ); in Impl_writeText() 640 if( 0 != aFont.GetSize().Width() ) in Impl_writeText() 642 Font aTmpFont( aFont ); in Impl_writeText() 647 mpVDev->SetFont( aFont ); in Impl_writeText() [all …]
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 129 Font aFont; in SV_IMPL_VARARR_SORT() local 130 aFont.SetTransparent( sal_False ); in SV_IMPL_VARARR_SORT() 133 aFont.SetFillColor( aFillColor ); in SV_IMPL_VARARR_SORT() 134 SetFont( aFont ); in SV_IMPL_VARARR_SORT() 1230 Font aFont; in GetCharPos() local 1232 mpRefDev->SetFont( aFont); in GetCharPos() 1333 Font aFont; in CalcTextWidth() local 1335 mpRefDev->SetFont( aFont ); in CalcTextWidth() 2141 Font aFont; in ImpPaint() local 2147 pOutDev->SetFont( aFont ); in ImpPaint() [all …]
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | TableWindow.cxx | 530 Font aFont = m_aTitle.GetFont(); in SetBoldTitle() local 531 aFont.SetWeight( bBold?WEIGHT_BOLD:WEIGHT_NORMAL ); in SetBoldTitle() 532 m_aTitle.SetFont( aFont ); in SetBoldTitle() 610 Font aFont = rStyleSettings.GetGroupFont(); in StateChanged() local 612 aFont.Merge( GetControlFont() ); in StateChanged() 613 SetZoomedPointFont( aFont ); in StateChanged()
|
/trunk/main/sw/source/ui/table/ |
H A D | tautofmt.cxx | 771 Font aFont, aCJKFont, aCTLFont; in DrawString() local 772 MakeFonts( nFmtIndex, aFont, aCJKFont, aCTLFont ); in DrawString() 773 aScriptedText.SetFonts( &aFont, &aCJKFont, &aCTLFont ); in DrawString() 1008 Font aFont; in DoPaint() local 1010 aFont = aVD.GetFont(); in DoPaint() 1011 aFont.SetTransparent( sal_True ); in DoPaint() 1013 aVD.SetFont ( aFont ); in DoPaint()
|
/trunk/main/starmath/source/ |
H A D | symbol.cxx | 306 Font aFont( rSym.GetFace() ); in Load() local 307 DBG_ASSERT( aFont.GetItalic() == ITALIC_NONE, "expected Font with ITALIC_NONE, failed." ); in Load() 308 aFont.SetItalic( ITALIC_NORMAL ); in Load() 311 SmSym aSymbol( aSymbolName, aFont, rSym.GetCharacter(), in Load()
|
H A D | unomodel.cxx | 728 Font aFont; in _setPropertyValues() local 729 aFont.SetName ( pDescriptor->sFontName ); in _setPropertyValues() 730 aFont.SetCharSet ( static_cast < rtl_TextEncoding > (pDescriptor->nCharSet) ); in _setPropertyValues() 731 aFont.SetFamily ( static_cast < FontFamily > (pDescriptor->nFamily ) ); in _setPropertyValues() 732 aFont.SetPitch ( static_cast < FontPitch > (pDescriptor->nPitch ) ); in _setPropertyValues() 733 aFont.SetWeight ( static_cast < FontWeight > (pDescriptor->nWeight ) ); in _setPropertyValues() 734 aFont.SetItalic ( static_cast < FontItalic > (pDescriptor->nItalic ) ); in _setPropertyValues() 735 … SmSym aSymbol ( pDescriptor->sName, aFont, static_cast < sal_Unicode > (pDescriptor->nCharacter), in _setPropertyValues()
|
/trunk/main/toolkit/source/controls/ |
H A D | accessiblecontrolcontext.cxx | 342 Font aFont; in getForeground() local 344 aFont = pWindow->GetControlFont(); in getForeground() 346 aFont = pWindow->GetFont(); in getForeground() 347 nColor = aFont.GetColor().GetColor(); in getForeground()
|
/trunk/main/vcl/source/control/ |
H A D | tabctrl.cxx | 391 Font aFont( GetFont() ); in ImplGetTabRect() local 392 Font aLightFont = aFont; in ImplGetTabRect() 393 aFont.SetTransparent( sal_True ); in ImplGetTabRect() 394 aFont.SetWeight( (!ImplGetSVData()->maNWFData.mbNoBoldTabFocus) ? WEIGHT_BOLD : WEIGHT_LIGHT ); in ImplGetTabRect() 405 SetFont( aFont ); in ImplGetTabRect() 698 Font aFont( aOldFont ); in ImplShowFocus() local 699 aFont.SetWeight( (!ImplGetSVData()->maNWFData.mbNoBoldTabFocus) ? WEIGHT_BOLD : WEIGHT_LIGHT ); in ImplShowFocus() 700 SetFont( aFont ); in ImplShowFocus() 911 Font aFont( GetFont() ); in ImplDrawItem() local 912 aFont.SetTransparent( sal_True ); in ImplDrawItem() [all …]
|
/trunk/main/vcl/unx/generic/fontmanager/ |
H A D | fontmanager.cxx | 2193 fontID aFont = m_nNextFontID++; in initialize() local 2194 m_aFonts[ aFont ] = *it; in initialize() 2206 fprintf( stderr, "adding cached font %d: \"%s\" from %s\n", aFont, in initialize() 2208 getFontFileSysPath( aFont ).getStr() ); in initialize() 2281 fontID aFont = m_nNextFontID++; in initialize() local 2282 m_aFonts[ aFont ] = *font_it; in initialize() 2283 m_aFontFileToFontID[ aFileName ].insert( aFont ); in initialize() 2289 getFontFileSysPath( aFont ).getStr() ); in initialize() 2326 fontID aFont = m_nNextFontID++; in initialize() local 2327 m_aFonts[ aFont ] = *it; in initialize() [all …]
|
/trunk/main/cui/source/options/ |
H A D | optHeaderTabListbox.cxx | 50 Font aFont( aOldFont ); in Paint() local 53 aFont.SetColor( Application::GetSettings().GetStyleSettings().GetDeactiveTextColor() ); in Paint() 54 rDev.SetFont( aFont ); in Paint()
|
/trunk/main/sw/source/ui/config/ |
H A D | uinums.cxx | 471 Font aFont( nFamily, Size( nWidth, nHeight ) ); in _SwNumFmtGlobal() local 472 aFont.SetName( aName ); in _SwNumFmtGlobal() 473 aFont.SetCharSet( (CharSet)nCharSet ); in _SwNumFmtGlobal() 474 aFont.SetPitch( (FontPitch)nPitch ); in _SwNumFmtGlobal() 476 aFmt.SetBulletFont( &aFont ); in _SwNumFmtGlobal()
|
/trunk/main/svx/source/mnuctrls/ |
H A D | fntctl.cxx | 111 String aFont; in StateChanged() local 114 aFont = pFontItem->GetFamilyName(); in StateChanged() 115 pMenu->SetCurName( aFont ); in StateChanged()
|
/trunk/main/reportdesign/source/ui/misc/ |
H A D | UITools.cxx | 238 const Font aFont( lcl_getReportControlFont( _rxReportControlFormat, aControlFont,_nWhich ) ); in lcl_setFont() local 244 …_rItemSet.Put(SvxFontHeightItem(OutputDevice::LogicToLogic(Size(0, (sal_Int32)aFont.GetHeight()), … in lcl_setFont() 261 _rItemSet.Put(SvxPostureItem(aFont.GetItalic(),_nPosture)); in lcl_setFont() 262 _rItemSet.Put(SvxWeightItem(aFont.GetWeight(),_nWeight)); in lcl_setFont() 263 return aFont; in lcl_setFont() 331 …const Font aFont( lcl_setFont(_rxReportControlFormat, _rItemSet,WESTERN,ITEMID_FONT,ITEMID_FONTHEI… in lcl_CharPropertiesToItems() local 334 _rItemSet.Put(SvxWordLineModeItem(aFont.IsWordLineMode(),ITEMID_WORDLINEMODE)); in lcl_CharPropertiesToItems() 337 _rItemSet.Put(SvxCrossedOutItem(aFont.GetStrikeout(),ITEMID_CROSSEDOUT)); in lcl_CharPropertiesToItems() 344 SvxUnderlineItem aUnderLineItem(aFont.GetUnderline(),ITEMID_UNDERLINE); in lcl_CharPropertiesToItems()
|
/trunk/main/sc/source/core/tool/ |
H A D | autoform.cxx | 225 aFont( ATTR_FONT ), in ScAutoFormatDataField() 261 aFont( rCopy.aFont ), in ScAutoFormatDataField() 316 READ( aFont, SvxFontItem, rVersions.nFontVersion) in Load() 385 if( eSrcSet != eSysSet && aFont.GetCharSet() == eSrcSet ) in Load() 386 aFont.SetCharSet(eSysSet); in Load() 402 READ( aFont, SvxFontItem, rVersions.nFontVersion) in LoadOld() 432 aFont.Store ( rStream, aFont.GetVersion( SOFFICE_FILEFORMAT_40 ) ); in Save()
|
/trunk/main/vcl/inc/vcl/ |
H A D | ctrl.hxx | 194 Font aFont( GetCanonicalFont( GetSettings().GetStyleSettings() ) ); in GetUnzoomedControlPointFont() local 196 aFont.Merge( GetControlFont() ); in GetUnzoomedControlPointFont() 197 return aFont; in GetUnzoomedControlPointFont()
|
/trunk/main/editeng/source/editeng/ |
H A D | eehtml.cxx | 675 Font aFont = OutputDevice::GetDefaultFont( DEFAULTFONT_FIXED, LANGUAGE_SYSTEM, 0 ); in ImpSetStyleSheet() local 676 …SvxFontItem aFontItem( aFont.GetFamily(), aFont.GetName(), XubString(), aFont.GetPitch(), aFont.Ge… in ImpSetStyleSheet()
|