/trunk/main/starmath/source/ |
H A D | view.cxx | 1076 aFont.SetAlign(ALIGN_TOP); in Impl_Print() 1077 aFont.SetWeight(WEIGHT_BOLD); in Impl_Print() 1078 aFont.SetSize(aSize650); in Impl_Print() 1080 rOutDev.SetFont(aFont); in Impl_Print() 1085 aFont.SetSize(aSize600); in Impl_Print() 1086 rOutDev.SetFont(aFont); in Impl_Print() 1096 aFont.SetWeight(WEIGHT_BOLD); in Impl_Print() 1097 aFont.SetSize(aSize650); in Impl_Print() 1098 rOutDev.SetFont(aFont); in Impl_Print() 1107 aFont.SetSize(aSize600); in Impl_Print() [all …]
|
H A D | document.cxx | 358 Font aFont = Application::GetDefaultDevice()->GetDefaultFont( in SetEditEngineDefaultFonts() local 361 ByteString aFntName( aFont.GetName(), 1 ); in SetEditEngineDefaultFonts() 362 int eFntFamily = aFont.GetFamily(); in SetEditEngineDefaultFonts() 363 ByteString aFntStyleName( aFont.GetStyleName(), 1 ); in SetEditEngineDefaultFonts() 364 int ePitch = aFont.GetPitch(); in SetEditEngineDefaultFonts() 365 int eCharSet = aFont.GetCharSet(); in SetEditEngineDefaultFonts() 373 SvxFontItem( aFont.GetFamily(), aFont.GetName(), in SetEditEngineDefaultFonts() 374 aFont.GetStyleName(), aFont.GetPitch(), aFont.GetCharSet(), in SetEditEngineDefaultFonts()
|
/trunk/main/sfx2/source/sidebar/ |
H A D | TitleBar.cxx | 190 Font aFont(GetFont()); in PaintTitle() local 191 aFont.SetWeight(WEIGHT_BOLD); in PaintTitle() 192 SetFont(aFont); in PaintTitle() 211 Font aFont(GetFont()); in PaintFocus() local 212 aFont.SetWeight(WEIGHT_BOLD); in PaintFocus() 213 SetFont(aFont); in PaintFocus()
|
/trunk/main/dbaccess/source/ui/tabledesign/ |
H A D | TableDesignControl.cxx | 92 Font aFont( GetDataWindow().GetFont() ); in Init() local 93 aFont.SetWeight( WEIGHT_NORMAL ); in Init() 94 GetDataWindow().SetFont( aFont ); in Init() 97 aFont = GetFont(); in Init() 98 aFont.SetWeight( WEIGHT_LIGHT ); in Init() 99 SetFont(aFont); in Init()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par3.cxx | 1116 Font aFont; in AdjustLVL() local 1121 aFont = numfunc::GetDefBulletFont(); in AdjustLVL() 1127 aFont.SetFamily( rFontItem.GetFamily() ); in AdjustLVL() 1128 aFont.SetName( rFontItem.GetFamilyName() ); in AdjustLVL() 1129 aFont.SetStyleName( rFontItem.GetStyleName() ); in AdjustLVL() 1133 aNumFmt.SetBulletFont( &aFont ); in AdjustLVL() 2424 Font aFont; in MiserableDropDownFormHack() local 2478 aFont.SetFamily( pFontItem->GetFamily() ); in MiserableDropDownFormHack() 2480 aFont.SetPitch( pFontItem->GetPitch() ); in MiserableDropDownFormHack() 2486 Size aSize( aFont.GetSize().Width(), in MiserableDropDownFormHack() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | tblafmt.cxx | 195 : aFont( *(SvxFontItem*)GetDfltAttr( RES_CHRATR_FONT ) ), in SwBoxAutoFmt() 239 : aFont( rNew.aFont ), in SwBoxAutoFmt() 282 aFont = rNew.aFont; in operator =() 332 READ( aFont, SvxFontItem , rVersions.nFontVersion) in Load() 334 if( rStream.GetStreamCharSet() == aFont.GetCharSet() ) in Load() 335 aFont.SetCharSet(::gsl_getSystemTextEncoding()); in Load() 420 READ( aFont, SvxFontItem , 0) in LoadOld() 422 if( rStream.GetStreamCharSet() == aFont.GetCharSet() ) in LoadOld() 423 aFont.SetCharSet(::gsl_getSystemTextEncoding()); in LoadOld() 451 aFont.Store( rStream, aFont.GetVersion(SOFFICE_FILEFORMAT_40) ); in Save() [all …]
|
/trunk/main/sw/source/ui/docvw/ |
H A D | SidebarWin.cxx | 309 Font aFont = aStyleSettings.GetFieldFont(); in InitControls() local 310 aFont.SetHeight(8); in InitControls() 311 aStyleSettings.SetFieldFont(aFont); in InitControls() 328 aFont.SetHeight(8); in InitControls() 329 aStyleSettings.SetFieldFont(aFont); in InitControls() 451 sal_Int32 nHeight = aFont.GetHeight(); in Rescale() 453 aFont.SetHeight( nHeight ); in Rescale() 454 mpMetadataAuthor->SetControlFont( aFont ); in Rescale() 459 sal_Int32 nHeight = aFont.GetHeight(); in Rescale() 461 aFont.SetHeight( nHeight ); in Rescale() [all …]
|
H A D | AnnotationMenuButton.cxx | 160 Font aFont(aOldFont); in Paint() local 162 aFont.SetColor( aCol ); in Paint() 163 aFont.SetHeight(200); in Paint() 164 aFont.SetWeight(WEIGHT_MEDIUM); in Paint() 165 SetFont( aFont ); in Paint()
|
/trunk/main/basctl/source/accessibility/ |
H A D | accessibledialogcontrolshape.cxx | 531 Font aFont; in getForeground() local 533 aFont = pWindow->GetControlFont(); in getForeground() 535 aFont = pWindow->GetFont(); in getForeground() 536 nColor = aFont.GetColor().GetColor(); in getForeground() 577 Font aFont; in getFont() local 579 aFont = pWindow->GetControlFont(); in getFont() 581 aFont = pWindow->GetFont(); in getFont() 583 pVCLXFont->Init( *xDev.get(), aFont ); in getFont()
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | TableWindowTitle.cxx | 89 Font aFont( GetFont() ); in DBG_NAME() local 90 aFont.SetTransparent( sal_True ); in DBG_NAME() 91 SetFont( aFont ); in DBG_NAME() 233 Font aFont = rStyleSettings.GetGroupFont(); in StateChanged() local 235 aFont.Merge( GetControlFont() ); in StateChanged() 236 SetZoomedPointFont( aFont ); in StateChanged()
|
/trunk/main/sc/source/ui/sidebar/ |
H A D | CellLineStyleValueSet.cxx | 100 …Font aFont(OutputDevice::GetDefaultFont(DEFAULTFONT_UI_SANS, MsLangId::getSystemLanguage(), DEFAUL… in UserDraw() local 101 Size aSize = aFont.GetSize(); in UserDraw() 103 aFont.SetSize( aSize ); in UserDraw() 127 aFont.SetColor(COL_WHITE); in UserDraw() 129 aFont.SetColor(GetSettings().GetStyleSettings().GetFieldTextColor()); // high contrast in UserDraw() 131 pDev->SetFont(aFont); in UserDraw()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | fntcache.cxx | 133 aFont( rFont ), in SwFntObj() 135 pPrtFont( &aFont ), in SwFntObj() 145 || UNDERLINE_NONE != aFont.GetOverline() in SwFntObj() 147 && !aFont.IsWordLineMode(); in SwFntObj() 148 aFont.SetLanguage(rFont.GetLanguage()); in SwFntObj() 155 if ( pPrtFont != &aFont ) in ~SwFntObj() 165 if( pPrtFont != &aFont ) in CreatePrtFont() 169 ((OutputDevice&)rPrt).SetFont( aFont ); in CreatePrtFont() 176 pPrtFont = new Font( aFont ); in CreatePrtFont() 2737 Font aFont( rFnt ); in ApplyAutoColor() local [all …]
|
/trunk/main/sw/source/ui/uiview/ |
H A D | srcview.cxx | 152 Font aFont( aOldFont ); in TYPEINIT1() local 153 aFont.SetWeight( WEIGHT_BOLD ); in TYPEINIT1() 154 aFont.SetAlign( ALIGN_BOTTOM ); in TYPEINIT1() 155 rOutDev.SetFont( aFont ); in TYPEINIT1() 175 aFont.SetWeight( WEIGHT_NORMAL ); in TYPEINIT1() 176 rOutDev.SetFont( aFont ); in TYPEINIT1() 773 Font aFont( aEditWin.GetOutWin()->GetFont() ); in PrintSource() local 774 Size aSize( aFont.GetSize() ); in PrintSource() 776 aFont.SetSize( aSize ); in PrintSource() 777 aFont.SetColor( COL_BLACK ); in PrintSource() [all …]
|
/trunk/main/sc/source/filter/excel/ |
H A D | xehelper.cxx | 411 SvxFont aFont( XclExpFontHelper::GetFontFromItemSet( rRoot, rItemSet, nScript ) ); in lclCreateFormattedString() local 420 sal_uInt16 nFontIdx = rFontBuffer.Insert( aFont, EXC_COLOR_CELLTEXT ); in lclCreateFormattedString() 529 aFont.SetEscapement( nEsc ); in lclCreateFormattedString() 532 aFont.SetColor( Color( COL_LIGHTBLUE ) ); in lclCreateFormattedString() 535 sal_uInt16 nFontIdx = rFontBuffer.Insert( aFont, EXC_COLOR_CELLTEXT ); in lclCreateFormattedString() 766 Font aFont; in AppendPortion() local 770 ScPatternAttr::GetFont( aFont, aItemSet, SC_AUTOCOL_RAW ); in AppendPortion() 773 aNewData.maName = XclTools::GetXclFontName( aFont.GetName() ); in AppendPortion() 775 aNewData.mbItalic = (aFont.GetItalic() != ITALIC_NONE); in AppendPortion() 808 switch( aFont.GetUnderline() ) in AppendPortion() [all …]
|
/trunk/main/filter/source/xsltdialog/ |
H A D | xmlfileview.cxx | 259 Font aFont( pTextView->GetTextEngine()->GetFont() ); in DataChanged() local 260 aFont.SetFillColor( rCol ); in DataChanged() 261 pTextView->GetTextEngine()->SetFont( aFont ); in DataChanged() 349 Font aFont; in CreateTextEngine() local 350 aFont.SetTransparent( sal_False ); in CreateTextEngine() 351 aFont.SetFillColor( rCol ); in CreateTextEngine() 352 SetPointFont( aFont ); in CreateTextEngine() 353 aFont = GetFont(); in CreateTextEngine() 354 aFont.SetFillColor( rCol ); in CreateTextEngine() 355 pOutWin->SetFont( aFont ); in CreateTextEngine() [all …]
|
/trunk/main/svx/source/form/ |
H A D | fmcontrolbordermanager.cxx | 60 FontDescriptor aFont; in setUnderline() local 61 OSL_VERIFY( _rxPeer->getProperty( FM_PROP_FONT ) >>= aFont ); in setUnderline() 62 aFont.Underline = _rUnderline.nUnderlineType; in setUnderline() 63 _rxPeer->setProperty( FM_PROP_FONT, makeAny( aFont ) ); in setUnderline() 73 FontDescriptor aFont; in getUnderline() local 74 OSL_VERIFY( _rxPeer->getProperty( FM_PROP_FONT ) >>= aFont ); in getUnderline() 75 _rUnderline.nUnderlineType = aFont.Underline; in getUnderline()
|
/trunk/main/dbaccess/source/ui/app/ |
H A D | AppView.cxx | 221 Font aFont; in ImplInitSettings() local 222 aFont = rStyleSettings.GetFieldFont(); in ImplInitSettings() 223 aFont.SetColor( rStyleSettings.GetWindowTextColor() ); in ImplInitSettings() 224 SetPointFont( aFont ); in ImplInitSettings() 637 Font aFont; in ImplInitSettings() local 638 aFont = rStyleSettings.GetFieldFont(); in ImplInitSettings() 639 aFont.SetColor( rStyleSettings.GetWindowTextColor() ); in ImplInitSettings() 640 SetPointFont( aFont ); in ImplInitSettings()
|
/trunk/main/svtools/source/brwbox/ |
H A D | datwin.cxx | 82 Font aFont( rDev.GetFont() ); in DECLARE_LIST() local 83 sal_Bool bOldTransp = aFont.IsTransparent(); in DECLARE_LIST() 86 aFont.SetTransparent( sal_True ); in DECLARE_LIST() 87 rDev.SetFont( aFont ); in DECLARE_LIST() 101 aFont.SetTransparent(sal_False); in DECLARE_LIST() 102 rDev.SetFont( aFont ); in DECLARE_LIST() 266 Font aFont = rStyleSettings.GetFieldFont(); in InitSettings_Impl() local 268 aFont.Merge( pWin->GetControlFont() ); in InitSettings_Impl() 269 pWin->SetZoomedPointFont( aFont ); in InitSettings_Impl()
|
/trunk/main/svx/source/tbxctrls/ |
H A D | layctrl.cxx | 115 Font aFont = GetFont(); in TableWindow() local 116 aFont.SetColor( aLineColor ); in TableWindow() 117 aFont.SetFillColor( aFillColor ); in TableWindow() 118 aFont.SetTransparent( sal_False ); in TableWindow() 119 SetFont( aFont ); in TableWindow() 512 Font aFont( GetFont() ); in ColumnsWindow() local 513 aFont.SetColor( aLineColor ); in ColumnsWindow() 514 aFont.SetFillColor( aFillColor ); in ColumnsWindow() 515 aFont.SetTransparent( sal_False ); in ColumnsWindow() 516 SetFont( aFont ); in ColumnsWindow()
|
/trunk/main/sfx2/source/dialog/ |
H A D | titledockwin.cxx | 180 Font aFont( GetFont() ); in Paint() local 181 aFont.SetWeight( WEIGHT_BOLD ); in Paint() 182 SetFont( aFont ); in Paint() 334 Font aFont = rStyleSettings.GetAppFont(); in DataChanged() local 336 aFont.Merge( GetControlFont() ); in DataChanged() 337 SetZoomedPointFont( aFont ); in DataChanged()
|
/trunk/main/svtools/source/toolpanel/ |
H A D | toolpaneldrawer.cxx | 285 Font aFont = rStyleSettings.GetAppFont(); in DataChanged() local 287 aFont.Merge( GetControlFont() ); in DataChanged() 288 SetZoomedPointFont( aFont ); in DataChanged() 320 Font aFont( GetFont() ); in impl_calcTextBoundingBox() local 322 aFont.SetWeight( m_bExpanded ? WEIGHT_BOLD : WEIGHT_NORMAL ); in impl_calcTextBoundingBox() 323 m_pPaintDevice->SetFont( aFont ); in impl_calcTextBoundingBox()
|
/trunk/main/dbaccess/source/ui/misc/ |
H A D | RtfReader.cxx | 280 …FontDescriptor aFont = ::dbaui::CreateFontDescriptor(Application::GetSettings().GetStyleSettings()… in CreateTable() local 317 aFont.Weight = ::com::sun::star::awt::FontWeight::BOLD; in CreateTable() 320 aFont.Slant = ::com::sun::star::awt::FontSlant_ITALIC; in CreateTable() 323 aFont.Underline = ::com::sun::star::awt::FontUnderline::SINGLE; in CreateTable() 326 aFont.Strikeout = ::com::sun::star::awt::FontStrikeout::SINGLE; in CreateTable() 351 bOk = !executeWizard(aTableName,aTextColor,aFont) && m_xTable.is(); in CreateTable()
|
H A D | HtmlReader.cxx | 467 …FontDescriptor aFont = ::dbaui::CreateFontDescriptor(Application::GetSettings().GetStyleSettings()… in CreateTable() local 531 TableFontOn(aFont,nTextColor); in CreateTable() 534 aFont.Weight = ::com::sun::star::awt::FontWeight::BOLD; in CreateTable() 537 aFont.Slant = ::com::sun::star::awt::FontSlant_ITALIC; in CreateTable() 540 aFont.Underline = ::com::sun::star::awt::FontUnderline::SINGLE; in CreateTable() 543 aFont.Strikeout = ::com::sun::star::awt::FontStrikeout::SINGLE; in CreateTable() 568 return !executeWizard(aTableName,makeAny(nTextColor),aFont) && m_xTable.is(); in CreateTable()
|
/trunk/main/filter/source/pdf/ |
H A D | pdfexport.cxx | 1061 aFont.SetItalic( ITALIC_NONE ); in ImplWriteWatermark() 1062 aFont.SetWidthType( WIDTH_NORMAL ); in ImplWriteWatermark() 1063 aFont.SetWeight( WEIGHT_NORMAL ); in ImplWriteWatermark() 1064 aFont.SetAlign( ALIGN_BOTTOM ); in ImplWriteWatermark() 1069 aFont.SetOrientation( 2700 ); in ImplWriteWatermark() 1080 pDev->SetFont( aFont ); in ImplWriteWatermark() 1085 long nNewHeight = aFont.GetHeight() * nTextWidth / w; in ImplWriteWatermark() 1086 if( nNewHeight == aFont.GetHeight() ) in ImplWriteWatermark() 1092 aFont.SetHeight( nNewHeight ); in ImplWriteWatermark() 1093 pDev->SetFont( aFont ); in ImplWriteWatermark() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | dialcontrol.cxx | 81 Font aFont( GetFont() ); in DrawElements() local 82 aFont.SetColor( GetTextColor() ); in DrawElements() 83 aFont.SetOrientation( static_cast< short >( (nAngle + 5) / 10 ) ); // Font uses 1/10 degrees in DrawElements() 84 aFont.SetWeight( WEIGHT_BOLD ); in DrawElements() 85 SetFont( aFont ); in DrawElements() 416 Font aFont( OutputDevice::GetDefaultFont( in Init() local 418 Init( rWinSize, aFont ); in Init()
|