/trunk/main/dbaccess/source/ui/app/ |
H A D | AppDetailPageHelper.cxx | 267 Font aFont; in ImplInitSettings() local 268 aFont = rStyleSettings.GetFieldFont(); in ImplInitSettings() 270 SetPointFont( aFont ); in ImplInitSettings() 1401 Font aFont; in ImplInitSettings() local 1402 aFont = rStyleSettings.GetFieldFont(); in ImplInitSettings() 1403 aFont.SetColor( rStyleSettings.GetWindowTextColor() ); in ImplInitSettings() 1404 SetPointFont( aFont ); in ImplInitSettings() 1405 m_aTBPreview.SetPointFont( aFont ); in ImplInitSettings() 1503 Font aFont; in ImplInitSettings() local 1504 aFont = rStyleSettings.GetFieldFont(); in ImplInitSettings() [all …]
|
/trunk/main/svx/source/fmcomp/ |
H A D | fmgridif.cxx | 111 Font aFont; in ImplCreateFont() local 112 aFont.SetName( rDescr.Name ); in ImplCreateFont() 113 aFont.SetStyleName( rDescr.StyleName ); in ImplCreateFont() 115 aFont.SetFamily( (FontFamily)rDescr.Family ); in ImplCreateFont() 116 aFont.SetCharSet( (CharSet)rDescr.CharSet ); in ImplCreateFont() 117 aFont.SetPitch( (FontPitch)rDescr.Pitch ); in ImplCreateFont() 120 aFont.SetItalic( (FontItalic)rDescr.Slant ); in ImplCreateFont() 124 aFont.SetKerning( rDescr.Kerning ); in ImplCreateFont() 125 aFont.SetWordLineMode( rDescr.WordLineMode ); in ImplCreateFont() 126 return aFont; in ImplCreateFont() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | swframeexample.cxx | 167 Font aFont = OutputDevice::GetDefaultFont( in InitAllRects_Impl() local 170 aFont.SetColor( m_aTxtCol ); in InitAllRects_Impl() 171 aFont.SetFillColor( m_aBgCol ); in InitAllRects_Impl() 172 aFont.SetWeight(WEIGHT_NORMAL); in InitAllRects_Impl() 176 aFont.SetSize(Size(0, aParaPrtArea.GetHeight() - 2)); in InitAllRects_Impl() 177 SetFont(aFont); in InitAllRects_Impl() 182 aFont.SetSize(Size(0, aParaPrtArea.GetHeight() / 2)); in InitAllRects_Impl() 183 SetFont(aFont); in InitAllRects_Impl()
|
H A D | pagectrl.cxx | 264 Font aFont(GetFont()); in DrawPage() local 265 const Size aSaveSize = aFont.GetSize(); in DrawPage() 267 aFont.SetSize(aDrawSize); in DrawPage() 268 SetFont(aFont); in DrawPage() 322 aFont.SetSize(aSaveSize); in DrawPage() 323 SetFont(aFont); in DrawPage()
|
/trunk/main/vcl/source/window/ |
H A D | window2.cxx | 928 Font aFont( rFont ); in SetZoomedPointFont() local 929 Size aSize = aFont.GetSize(); in SetZoomedPointFont() 938 aFont.SetSize( aSize ); in SetZoomedPointFont() 939 SetPointFont( aFont ); in SetZoomedPointFont() 954 SetPointFont( aFont ); in SetZoomedPointFont() 1026 Font aFont; in GetControlFont() local 1027 return aFont; in GetControlFont() 1141 Font aFont = GetPointFont(); in GetDrawPixelFont() local 1142 Size aFontSize = aFont.GetSize(); in GetDrawPixelFont() 1145 aFont.SetSize( aFontSize ); in GetDrawPixelFont() [all …]
|
/trunk/main/svtools/workben/ |
H A D | svdem.cxx | 506 aFont.SetSize( Size( 0, aSizeBox.GetValue() ) ); in SetAttr() 507 aFont.SetUnderline( (FontUnderline)aUnderlineBox.GetSelectEntryPos() ); in SetAttr() 508 aFont.SetStrikeout( (FontStrikeout)aStrikeoutBox.GetSelectEntryPos() ); in SetAttr() 509 aFont.SetColor( Color( (ColorData)aColorBox.GetSelectEntryPos() ) ); in SetAttr() 510 aFont.SetWordLineMode( aWordLineBox.IsChecked() ); in SetAttr() 511 aFont.SetShadow( aShadowBox.IsChecked() ); in SetAttr() 512 aFont.SetOutline( aOutlineBox.IsChecked() ); in SetAttr() 513 aFont.SetOrientation( aLineOrientSlider.GetOrientation() ); in SetAttr() 514 aFont.SetTransparent( sal_True ); in SetAttr() 515 aMapText.SetText( pList->GetFontMapText( aFont ) ); in SetAttr() [all …]
|
/trunk/main/svtools/source/control/ |
H A D | tabbar.cxx | 466 Font aFont = GetFont(); in ImplInitSettings() local 467 if ( aFont.GetHeight() <= 6 ) in ImplInitSettings() 469 aFont.SetHeight( aFont.GetHeight()-1 ); in ImplInitSettings() 470 SetFont( aFont ); in ImplInitSettings() 532 Font aFont = GetFont(); in ImplCalcWidth() local 535 aFont.SetWeight( WEIGHT_BOLD ); in ImplCalcWidth() 536 SetFont( aFont ); in ImplCalcWidth() 1064 Font aFont = GetFont(); in Paint() local 1065 Font aLightFont = aFont; in Paint() 1136 SetFont( aFont ); in Paint() [all …]
|
H A D | roadmap.cxx | 234 Font aFont = GetFont( ); in implInit() local 235 aFont.SetColor( aTextColor ); in implInit() 236 aFont.SetWeight( WEIGHT_BOLD ); in implInit() 237 aFont.SetUnderline( UNDERLINE_SINGLE ); in implInit() 238 SetFont( aFont ); in implInit() 764 Font aFont = GetFont(); in DataChanged() local 765 aFont.SetColor( aTextColor ); in DataChanged() 766 SetFont( aFont ); in DataChanged()
|
/trunk/main/filter/source/svg/ |
H A D | svgwriter.cxx | 1786 Font aFont( mpVDev->GetFont() ); in ImplWriteActions() local 1791 aFont.SetHeight( aSz.Height() ); in ImplWriteActions() 1793 mpContext->SetFontAttr( aFont ); in ImplWriteActions() 1808 Font aFont( mpVDev->GetFont() ); in ImplWriteActions() local 1813 aFont.SetHeight( aSz.Height() ); in ImplWriteActions() 1815 mpContext->SetFontAttr( aFont ); in ImplWriteActions() 1831 Font aFont( mpVDev->GetFont() ); in ImplWriteActions() local 1836 aFont.SetHeight( aSz.Height() ); in ImplWriteActions() 1838 mpContext->SetFontAttr( aFont ); in ImplWriteActions() 1859 aFont.SetHeight( aSz.Height() ); in ImplWriteActions() [all …]
|
/trunk/main/padmin/source/ |
H A D | titlectrl.cxx | 34 Font aFont = GetFont(); in TitleImage() local 35 aFont.SetHeight( aFont.GetHeight()*3/2 ); in TitleImage() 36 SetFont( aFont ); in TitleImage()
|
/trunk/main/basctl/source/accessibility/ |
H A D | accessibledialogwindow.cxx | 895 Font aFont; in getForeground() local 897 aFont = m_pDialogWindow->GetControlFont(); in getForeground() 899 aFont = m_pDialogWindow->GetFont(); in getForeground() 900 nColor = aFont.GetColor().GetColor(); in getForeground() 939 Font aFont; in getFont() local 941 aFont = m_pDialogWindow->GetControlFont(); in getFont() 943 aFont = m_pDialogWindow->GetFont(); in getFont() 945 pVCLXFont->Init( *xDev.get(), aFont ); in getFont()
|
/trunk/main/sw/source/ui/shells/ |
H A D | annotsh.cxx | 1685 Font aFont(sFontName, Size(1,1)); in InsertSymbol() local 1711 aFont.SetName( pFontItem->GetFamilyName() ); in InsertSymbol() 1712 aFont.SetStyleName( pFontItem->GetStyleName() ); in InsertSymbol() 1713 aFont.SetCharSet( pFontItem->GetCharSet() ); in InsertSymbol() 1714 aFont.SetPitch( pFontItem->GetPitch() ); in InsertSymbol() 1720 aOpt.SetSymbolFont(aFont.GetName()); in InsertSymbol() 1748 SvxFontItem aFontItem (aFont.GetFamily(), aFont.GetName(), in InsertSymbol() 1749 aFont.GetStyleName(), aFont.GetPitch(), in InsertSymbol() 1750 aFont.GetCharSet(), in InsertSymbol() 1775 if(aFont.GetName().Len()) in InsertSymbol() [all …]
|
/trunk/main/shell/source/backends/gconfbe/ |
H A D | gconfaccess.cxx | 250 rtl::OString aFont( gconf_value_get_string( aGconfValue ) ); in splitFontName() local 251 aFont.trim(); in splitFontName() 252 sal_Int32 nIdx = aFont.lastIndexOf( ' ' ); in splitFontName() 255 nIdx = aFont.getLength(); in splitFontName() 257 rtl::OString aSize = aFont.copy( nIdx + 1 ); in splitFontName() 261 rName = rtl::OStringToOUString( aFont.copy( 0, nIdx ), RTL_TEXTENCODING_UTF8 ); in splitFontName()
|
/trunk/main/starmath/source/ |
H A D | mathtype.cxx | 207 MathTypeFont aFont; in Init() local 210 aFont.nTface = i+128; in Init() 214 aFont.nStyle=0; in Init() 218 aFont.nStyle=1; in Init() 221 aFont.nStyle=2; in Init() 224 aUserStyles.insert(aFont); in Init() 687 MathTypeFont aFont(nFace); in TypeFaceToString() local 1877 MathTypeFont aFont; in HandleRecords() local 1878 *pS >> aFont.nTface; in HandleRecords() 1884 aFont.nTface = 128-aFont.nTface; in HandleRecords() [all …]
|
H A D | dialog.cxx | 266 Font aFont (rFont); in SetFont() local 269 aFont.SetSize(Size(0, 24)); in SetFont() 270 aFont.SetAlign(ALIGN_TOP); in SetFont() 271 Control::SetFont(aFont); in SetFont() 1150 aFont.SetAlign(ALIGN_TOP); in Paint() 1155 SetFont(aFont); in Paint() 1355 Font aFont (pSymbol->GetFace()); in SetSymbol() local 1358 SetFont(aFont); in SetSymbol() 1671 Font aFont( rFont ); in SetSymbol() local 1673 aFont.SetAlign(ALIGN_BASELINE); in SetSymbol() [all …]
|
/trunk/main/toolkit/source/awt/ |
H A D | vclxaccessiblecomponent.cxx | 890 Font aFont; in getForeground() local 892 aFont = pWindow->GetControlFont(); in getForeground() 894 aFont = pWindow->GetFont(); in getForeground() 895 nColor = aFont.GetColor().GetColor(); in getForeground() 935 Font aFont; in getFont() local 937 aFont = pWindow->GetControlFont(); in getFont() 939 aFont = pWindow->GetFont(); in getFont() 941 pVCLXFont->Init( *xDev.get(), aFont ); in getFont()
|
/trunk/main/drawinglayer/source/processor2d/ |
H A D | vclprocessor2d.cxx | 155 Font aFont(primitive2d::getVclFontFromFontAttribute( in RenderTextSimpleOrDecoratedPortionPrimitive2D() local 177 aFont.SetOverline( eFontOverline ); in RenderTextSimpleOrDecoratedPortionPrimitive2D() 181 aFont.SetWordLineMode( true ); in RenderTextSimpleOrDecoratedPortionPrimitive2D() 188 aFont.SetUnderline( eFontUnderline ); in RenderTextSimpleOrDecoratedPortionPrimitive2D() 190 aFont.SetWordLineMode( true ); in RenderTextSimpleOrDecoratedPortionPrimitive2D() 199 aFont.SetStrikeout( eFontStrikeout ); in RenderTextSimpleOrDecoratedPortionPrimitive2D() 223 aFont.SetEmphasisMark( eFontEmphasisMark ); in RenderTextSimpleOrDecoratedPortionPrimitive2D() 239 aFont.SetRelief( eFontRelief ); in RenderTextSimpleOrDecoratedPortionPrimitive2D() 243 aFont.SetShadow( true ); in RenderTextSimpleOrDecoratedPortionPrimitive2D() 275 mpOutputDevice->SetFont(aFont); in RenderTextSimpleOrDecoratedPortionPrimitive2D()
|
/trunk/main/sd/source/ui/presenter/ |
H A D | PresenterTextView.cxx | 387 Font aFont = Application::GetDefaultDevice()->GetDefaultFont( in CreateEditEngine() local 391 aFont.GetFamily(), in CreateEditEngine() 392 aFont.GetName(), in CreateEditEngine() 393 aFont.GetStyleName(), in CreateEditEngine() 394 aFont.GetPitch(), in CreateEditEngine() 395 aFont.GetCharSet(), in CreateEditEngine()
|
/trunk/main/sw/source/ui/config/ |
H A D | optpage.cxx | 722 Font aFont( rStyle, Size( 0, 10 ) ); in lcl_SetColl() local 724 aFont = pPrt->GetFontMetric( aFont ); in lcl_SetColl() 726 pColl->SetFmtAttr(SvxFontItem(aFont.GetFamily(), aFont.GetName(), in lcl_SetColl() 727 aEmptyStr, aFont.GetPitch(), aFont.GetCharSet(), nFontWhich)); in lcl_SetColl() 812 aFont = pPrinter->GetFontMetric( aFont ); in FillItemSet() 813 pWrtShell->SetDefault(SvxFontItem(aFont.GetFamily(), aFont.GetName(), in FillItemSet() 814 aEmptyStr, aFont.GetPitch(), aFont.GetCharSet(), nFontWhich)); in FillItemSet() 2439 aFont.SetSize( aDefSize ); in InitFontStyle() 2443 aFont.SetFillColor( aBackCol ); in InitFontStyle() 2447 aFont.SetWeight( WEIGHT_NORMAL ); in InitFontStyle() [all …]
|
/trunk/main/sfx2/source/doc/ |
H A D | objcont.cxx | 776 Font aFont( DEFINE_CONST_UNICODE( "Arial" ), Size(0, 64)); // 18pt in Print() local 777 aFont.SetWeight(WEIGHT_BOLD); in Print() 778 pPrinter->SetFont(aFont); in Print() 792 aFont.SetSize(Size(0, 35)); // 10pt in Print() 798 aFont.SetWeight(WEIGHT_BOLD); in Print() 799 pPrinter->SetFont(aFont); in Print() 813 aFont.SetWeight(WEIGHT_NORMAL); in Print() 814 pPrinter->SetFont(aFont); in Print()
|
/trunk/main/sw/source/ui/envelp/ |
H A D | labfmt.cxx | 77 Font aFont = GetFont(); in SwLabPreview() local 78 aFont.SetTransparent(sal_True); in SwLabPreview() 79 aFont.SetWeight (WEIGHT_NORMAL); in SwLabPreview() 80 SetFont(aFont); in SwLabPreview() 116 Font aFont = GetFont(); in Paint() local 117 aFont.SetFillColor( rWinColor ); in Paint() 118 aFont.SetColor(rFieldTextColor); in Paint() 119 SetFont(aFont); in Paint()
|
/trunk/main/vcl/unx/generic/app/ |
H A D | i18n_status.cxx | 154 Font aFont( m_aStatusText.GetFont() ); in layout() local 155 m_aWindowSize.Height() = aFont.GetHeight()+10; in layout() 163 m_aStatusText.SetFont( aFont ); in layout() 392 Font aFont( m_aStatusBtn.GetFont() ); in layout() local 393 Size aSize( 15*aFont.GetHeight(), aFont.GetHeight()+14 ); in layout()
|
/trunk/main/sc/source/ui/miscdlgs/ |
H A D | autofmt.cxx | 688 Font aFont, aCJKFont, aCTLFont; in DrawString() local 691 MakeFonts( nFmtIndex, aFont, aCJKFont, aCTLFont ); in DrawString() 697 aScriptedText.SetFonts( &aFont, &aCJKFont, &aCTLFont ); in DrawString() 944 Font aFont( aVD.GetFont() ); in DoPaint() local 949 aFont.SetTransparent( sal_True ); in DoPaint() 950 aVD.SetFont( aFont ); in DoPaint()
|
/trunk/main/filter/source/graphicfilter/idxf/ |
H A D | dxf2mtf.cxx | 221 Font aFont; in SetFontAttribute() local 231 aFont.SetColor(aColor); in SetFontAttribute() 232 aFont.SetTransparent(sal_True); in SetFontAttribute() 233 aFont.SetFamily(FAMILY_SWISS); in SetFontAttribute() 234 aFont.SetSize(Size(0,nHeight)); in SetFontAttribute() 235 aFont.SetAlign(ALIGN_BASELINE); in SetFontAttribute() 236 aFont.SetOrientation(nAngle); in SetFontAttribute() 237 if (aActFont!=aFont) { in SetFontAttribute() 238 aActFont=aFont; in SetFontAttribute()
|
/trunk/main/sd/source/ui/annotations/ |
H A D | annotationwindow.cxx | 329 Font aFont = aStyleSettings.GetFieldFont(); in InitControls() local 330 aFont.SetHeight(8); in InitControls() 331 aStyleSettings.SetFieldFont(aFont); in InitControls() 416 Font aFont( mpMeta->GetSettings().GetStyleSettings().GetFieldFont() ); in Rescale() local 417 sal_Int32 nHeight = aFont.GetHeight(); in Rescale() 419 aFont.SetHeight( nHeight ); in Rescale() 420 mpMeta->SetControlFont( aFont ); in Rescale()
|