Home
last modified time | relevance | path

Searched refs:aFont (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/trunk/main/reportdesign/source/filter/xml/
H A DxmlHelper.cxx279 ::com::sun::star::awt::FontDescriptor aFont; in copyStyleElements()
282 …ONTNAME.length), PROPERTY_ID_FONTNAME, &::getCppuType(&aFont.Name) ,Pro… in copyStyleElements()
283 …HARFONTHEIGHT.length), PROPERTY_ID_FONTHEIGHT, &::getCppuType(&aFont.Height) ,Pro… in copyStyleElements()
284 …ONTWIDTH.length), PROPERTY_ID_FONTWIDTH, &::getCppuType(&aFont.Width) ,Pro… in copyStyleElements()
285 …ONTSTYLENAME.length), PROPERTY_ID_FONTSTYLENAME, &::getCppuType(&aFont.StyleName) ,Pro… in copyStyleElements()
286 …ONTFAMILY.length), PROPERTY_ID_FONTFAMILY, &::getCppuType(&aFont.Family) ,Pro… in copyStyleElements()
287 …ONTCHARSET.length), PROPERTY_ID_FONTCHARSET, &::getCppuType(&aFont.CharSet) ,Pro… in copyStyleElements()
288 …ONTPITCH.length), PROPERTY_ID_FONTPITCH, &::getCppuType(&aFont.Pitch) ,Pro… in copyStyleElements()
289 …ONTCHARWIDTH.length), PROPERTY_ID_FONTCHARWIDTH, &::getCppuType(&aFont.CharacterWidth),Pr… in copyStyleElements()
290 …ONTWEIGHT.length), PROPERTY_ID_FONTWEIGHT, &::getCppuType(&aFont.Weight) ,Pro… in copyStyleElements()
[all …]
/trunk/main/editeng/source/items/
H A Dbulitem.cxx71 Font aFont; in CreateFont() local
73 rStream >> aColor; aFont.SetColor( aColor ); in CreateFont()
75 rStream >> nTemp; aFont.SetFamily((FontFamily)nTemp); in CreateFont()
80 aFont.SetCharSet((rtl_TextEncoding)nTemp); in CreateFont()
82 rStream >> nTemp; aFont.SetPitch((FontPitch)nTemp); in CreateFont()
83 rStream >> nTemp; aFont.SetAlign((FontAlign)nTemp); in CreateFont()
84 rStream >> nTemp; aFont.SetWeight((FontWeight)nTemp); in CreateFont()
85 rStream >> nTemp; aFont.SetUnderline((FontUnderline)nTemp); in CreateFont()
86 rStream >> nTemp; aFont.SetStrikeout((FontStrikeout)nTemp); in CreateFont()
87 rStream >> nTemp; aFont.SetItalic((FontItalic)nTemp); in CreateFont()
[all …]
/trunk/main/cui/source/dialogs/
H A Dcuicharmap.cxx80 … Font aFont( pFontItem->GetFamilyName(), pFontItem->GetStyleName(), GetCharFont().GetSize() ); in SvxCharacterMap() local
81 aFont.SetCharSet( pFontItem->GetCharSet() ); in SvxCharacterMap()
82 aFont.SetPitch( pFontItem->GetPitch() ); in SvxCharacterMap()
83 SetCharFont( aFont ); in SvxCharacterMap()
87 Font aFont( GetCharFont() ); in SvxCharacterMap() local
88 aFont.SetName( pFontNameItem->GetValue() ); in SvxCharacterMap()
89 SetCharFont( aFont ); in SvxCharacterMap()
107 return mpCharMapData->aFont; in GetCharFont()
232 Font aFont = rFont; in SetFont() local
233 aFont.SetWeight( WEIGHT_NORMAL ); in SetFont()
[all …]
/trunk/main/svx/source/sidebar/tools/
H A DValueSetWithTextControl.cxx174 …Font aFont(OutputDevice::GetDefaultFont(DEFAULTFONT_UI_SANS, MsLangId::getSystemLanguage(), DEFAUL… in UserDraw() local
176 Size aSize = aFont.GetSize(); in UserDraw()
178 aFont.SetSize( aSize ); in UserDraw()
201aFont.SetColor( sfx2::sidebar::Theme::GetColor( sfx2::sidebar::Theme::Color_HighlightText ) ); in UserDraw()
206 aFont.SetColor( GetSettings().GetStyleSettings().GetFieldTextColor() ); in UserDraw()
224 pDev->SetFont(aFont); in UserDraw()
233 pDev->SetFont(aFont); in UserDraw()
305 Font aFont(OutputDevice::GetDefaultFont( in UserDraw() local
308 Size aSize = aFont.GetSize(); in UserDraw()
310 aFont.SetColor(aTextColor); in UserDraw()
[all …]
/trunk/main/vcl/unx/kde4/
H A DKDESalFrame.cxx163 Font aFont( aInfo.m_aFamilyName, Size( 0, nPointHeight ) ); in toFont() local
165 aFont.SetWeight( PspGraphics::ToFontWeight( aInfo.m_eWeight ) ); in toFont()
167 aFont.SetWidthType( PspGraphics::ToFontWidth( aInfo.m_eWidth ) ); in toFont()
169 aFont.SetItalic( PspGraphics::ToFontItalic( aInfo.m_eItalic ) ); in toFont()
171 aFont.SetPitch( PspGraphics::ToFontPitch( aInfo.m_ePitch ) ); in toFont()
173 return aFont; in toFont()
205 Font aFont = toFont( aGroup.readEntry( pKey, QFont() ), rSettings.GetUILocale() ); in UpdateSettings() local
206 style.SetTitleFont( aFont ); in UpdateSettings()
220 Font aFont = toFont( aGroup.readEntry( pKey, QFont() ), rSettings.GetUILocale() ); in UpdateSettings() local
221 style.SetToolFont( aFont ); in UpdateSettings()
[all …]
/trunk/main/canvas/source/directx/
H A Ddx_textlayout_drawhelper.cxx153 Font aFont( in drawText() local
158 aFont.SetAlign( ALIGN_BASELINE ); in drawText()
159aFont.SetCharSet( (rFontRequest.FontDescription.IsSymbolFont==com::sun::star::util::TriState_YES) … in drawText()
160aFont.SetVertical( (rFontRequest.FontDescription.IsVertical==com::sun::star::util::TriState_YES) ?… in drawText()
161aFont.SetWeight( static_cast<FontWeight>(rFontRequest.FontDescription.FontDescription.Weight) ); in drawText()
162aFont.SetItalic( (rFontRequest.FontDescription.FontDescription.Letterform<=8) ? ITALIC_NONE : ITAL… in drawText()
163 aFont.SetPitch( in drawText()
167 aFont.SetLanguage(MsLangId::convertLocaleToLanguage(rFontRequest.Locale)); in drawText()
170 aFont.SetColor( aColor ); in drawText()
171 aFont.SetFillColor( aColor ); in drawText()
[all …]
/trunk/main/forms/source/component/
H A DGrid.cxx947 const FontDescriptor& aFont = getFont(); in write() local
951 …writeShort( sal::static_int_cast< sal_Int16 >( VCLUnoHelper::ConvertFontWeight( aFont.Weight ) ) ); in write()
952 _rxOutStream->writeShort( sal::static_int_cast< sal_Int16 >( aFont.Slant ) ); in write()
953 _rxOutStream->writeShort( aFont.Underline ); in write()
954 _rxOutStream->writeShort( aFont.Strikeout ); in write()
955 _rxOutStream->writeShort( sal_Int16(aFont.Orientation * 10) ); in write()
956 _rxOutStream->writeBoolean( aFont.Kerning ); in write()
957 _rxOutStream->writeBoolean( aFont.WordLineMode ); in write()
960 _rxOutStream->writeLong( aFont.Width ); in write()
961 _rxOutStream->writeLong( aFont.Height ); in write()
[all …]
/trunk/main/svtools/source/filter/
H A Dsgvtext.cxx591 Font aFont; in SetTextContext() local
605 if (pSgfFont->Fixd) aFont.SetPitch(PITCH_FIXED); else aFont.SetPitch(PITCH_VARIABLE); in SetTextContext()
606 aFont.SetFamily(pSgfFont->SVFamil); in SetTextContext()
607 aFont.SetCharSet(pSgfFont->SVChSet); in SetTextContext()
608 aFont.SetName(FNam); in SetTextContext()
612 aFont.SetPitch(PITCH_VARIABLE); in SetTextContext()
622 aFont.SetFamily(FAMILY_ROMAN); in SetTextContext()
630 aFont.SetFamily(FAMILY_SWISS); in SetTextContext()
639 aFont.SetFamily(FAMILY_ROMAN); in SetTextContext()
640 aFont.SetPitch(PITCH_FIXED); in SetTextContext()
[all …]
/trunk/main/sw/source/ui/docvw/
H A Dsrcedtw.cxx363 Font aFont( pTextView->GetTextEngine()->GetFont() ); in DataChanged() local
364 aFont.SetFillColor( rCol ); in DataChanged()
365 pTextView->GetTextEngine()->SetFont( aFont ); in DataChanged()
526 Font aFont; in CreateTextEngine() local
527 aFont.SetTransparent( sal_False ); in CreateTextEngine()
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()
[all …]
/trunk/main/sd/source/ui/func/
H A Dfubullet.cxx174 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()
/trunk/main/svtools/source/control/
H A Dhyperlabel.cxx137 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()
/trunk/main/vcl/source/window/
H A Dwindow.cxx480 Font aFont = aStyleSettings.GetAppFont(); in ImplUpdateGlobalSettings() local
481 aFont.SetName( aUserInterfaceFont ); in ImplUpdateGlobalSettings()
482 aStyleSettings.SetAppFont( aFont ); in ImplUpdateGlobalSettings()
483 aFont = aStyleSettings.GetHelpFont(); in ImplUpdateGlobalSettings()
484 aFont.SetName( aUserInterfaceFont ); in ImplUpdateGlobalSettings()
485 aStyleSettings.SetHelpFont( aFont ); in ImplUpdateGlobalSettings()
486 aFont = aStyleSettings.GetTitleFont(); in ImplUpdateGlobalSettings()
487 aFont.SetName( aUserInterfaceFont ); in ImplUpdateGlobalSettings()
488 aStyleSettings.SetTitleFont( aFont ); in ImplUpdateGlobalSettings()
489 aFont = aStyleSettings.GetFloatTitleFont(); in ImplUpdateGlobalSettings()
[all …]
/trunk/main/vcl/unx/generic/printergfx/
H A Dtext_gfx.cxx117 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()
365 pFontMap[n] = getCharMetric (aFont, pEffectiveStr[n], &aBBox); 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
[all …]
/trunk/main/sw/source/ui/misc/
H A Dinsfnote.cxx78 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 …]
/trunk/main/sd/source/ui/slideshow/
H A Dshowwin.cxx565 Font aFont( GetSettings().GetStyleSettings().GetMenuFont() ); in DrawPauseScene() local
568 aFont.SetSize( aTextSize ); in DrawPauseScene()
569 aFont.SetColor( COL_WHITE ); in DrawPauseScene()
570 aFont.SetCharSet( aOldFont.GetCharSet() ); in DrawPauseScene()
571 aFont.SetLanguage( aOldFont.GetLanguage() ); in DrawPauseScene()
601 aVDev.SetFont( aFont ); in DrawPauseScene()
622 SetFont( aFont ); in DrawPauseScene()
633 Font aFont( GetSettings().GetStyleSettings().GetMenuFont() ); in DrawEndScene() local
639 aFont.SetSize( aTextSize ); in DrawEndScene()
640 aFont.SetColor( COL_WHITE ); in DrawEndScene()
[all …]
/trunk/main/filter/source/svg/
H A Dsvgfontexport.cxx192 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 …]
/trunk/main/svx/source/sidebar/line/
H A DLineWidthValueSet.cxx122 …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 DLineStyleValueSet.cxx93 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()
/trunk/main/svx/source/customshapes/
H A DEnhancedCustomShapeFontWork.cxx170 Font aFont; in CalculateHorizontalScalingFactor() local
172 aFont.SetHeight( pCustomShape->GetLogicRect().GetHeight() / rFWData.nMaxParagraphsPerTextArea ); in CalculateHorizontalScalingFactor()
173 aFont.SetAlign( ALIGN_TOP ); in CalculateHorizontalScalingFactor()
174 aFont.SetName( rFontItem.GetFamilyName() ); in CalculateHorizontalScalingFactor()
175 aFont.SetFamily( rFontItem.GetFamily() ); in CalculateHorizontalScalingFactor()
176 aFont.SetStyleName( rFontItem.GetStyleName() ); in CalculateHorizontalScalingFactor()
177 aFont.SetOrientation( 0 ); in CalculateHorizontalScalingFactor()
182 aVirDev.SetFont( aFont ); in CalculateHorizontalScalingFactor()
259 Font aFont; in GetTextAreaOutline() local
260 aFont.SetHeight( rFWData.nSingleLineHeight ); in GetTextAreaOutline()
[all …]
/trunk/main/sw/source/ui/app/
H A Ddocshini.cxx210 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()
/trunk/main/toolkit/source/helper/
H A Dvclunohelper.cxx349 Font aFont( rInitFont ); in CreateFont() local
351 aFont.SetName( rDescr.Name ); in CreateFont()
353 aFont.SetStyleName( rDescr.StyleName ); in CreateFont()
355 aFont.SetSize( Size( rDescr.Width, rDescr.Height ) ); in CreateFont()
357 aFont.SetFamily( (FontFamily)rDescr.Family ); in CreateFont()
359 aFont.SetCharSet( (CharSet)rDescr.CharSet ); in CreateFont()
361 aFont.SetPitch( (FontPitch)rDescr.Pitch ); in CreateFont()
363 aFont.SetWidthType( VCLUnoHelper::ConvertFontWidth( rDescr.CharacterWidth ) ); in CreateFont()
365 aFont.SetWeight( VCLUnoHelper::ConvertFontWeight( rDescr.Weight ) ); in CreateFont()
367 aFont.SetItalic( (FontItalic)rDescr.Slant ); in CreateFont()
[all …]
/trunk/main/sw/source/ui/chrdlg/
H A Ddrpcps.cxx239 Font aFont; in UpdatePaintSettings() local
252 GetFontSettings( *pPage, aFont, RES_CHRATR_FONT ); in UpdatePaintSettings()
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()
288 aFont.SetColor( SwViewOption::GetFontColor() ); in UpdatePaintSettings()
292 aFont.SetFillColor(GetSettings().GetStyleSettings().GetWindowColor()); in UpdatePaintSettings()
[all …]
/trunk/main/svx/source/tbxctrls/
H A Dtbxcolorupdate.cxx200 Font aFont = aOldFont; in DrawChar() local
201 Size aSz = aFont.GetSize(); in DrawChar()
203 aFont.SetSize( aSz ); in DrawChar()
204 aFont.SetWeight( WEIGHT_BOLD ); in DrawChar()
208 aFont.SetColor( rCol ); in DrawChar()
209 aFont.SetFillColor( Color( IMAGE_COL_TRANSPARENT ) ); in DrawChar()
217 aFont.SetFillColor( rCol ); in DrawChar()
219 rVirDev.SetFont( aFont ); in DrawChar()
/trunk/main/vcl/unx/generic/gdi/
H A Dpspgraphics.cxx1049 psp::fontID aFont = pFont->GetFontId(); in CreateFontSubset() local
1053 aFont, in CreateFontSubset()
1071 psp::fontID aFont = pFont->GetFontId(); in GetEmbedFontData() local
1072 return PspGraphics::DoGetEmbedFontData( aFont, pUnicodes, pWidths, rInfo, pDataLen ); in GetEmbedFontData()
1091 psp::fontID aFont = pFont->GetFontId(); in GetFontEncodingVector() local
1092 return PspGraphics::DoGetFontEncodingVector( aFont, pNonEncoded ); in GetFontEncodingVector()
1107 psp::fontID aFont = pFont->GetFontId(); in GetGlyphWidths() local
1108 PspGraphics::DoGetGlyphWidths( aFont, bVertical, rWidths, rUnicodeEnc ); in GetGlyphWidths()
1114 const void* PspGraphics::DoGetEmbedFontData( fontID aFont, const sal_Ucs* pUnicodes, sal_Int32* pWi… in DoGetEmbedFontData() argument
1119 if( ! rMgr.getFontInfo( aFont, aFontInfo ) ) in DoGetEmbedFontData()
[all …]
/trunk/main/vcl/unx/headless/
H A Dsvppspgraphics.cxx944 psp::fontID aFont = pFont->GetFontId(); in CreateFontSubset() local
948 aFont, in CreateFontSubset()
966 psp::fontID aFont = pFont->GetFontId(); in GetEmbedFontData() local
967 return PspGraphics::DoGetEmbedFontData( aFont, pUnicodes, pWidths, rInfo, pDataLen ); in GetEmbedFontData()
986 psp::fontID aFont = pFont->GetFontId(); in GetFontEncodingVector() local
987 return PspGraphics::DoGetFontEncodingVector( aFont, pNonEncoded ); in GetFontEncodingVector()
1002 psp::fontID aFont = pFont->GetFontId(); in GetGlyphWidths() local
1003 PspGraphics::DoGetGlyphWidths( aFont, bVertical, rWidths, rUnicodeEnc ); in GetGlyphWidths()
1008 const void* PspGraphics::DoGetEmbedFontData( fontID aFont, const sal_Ucs* pUnicodes, sal_Int32* pWi… in DoGetEmbedFontData() argument
1013 if( ! rMgr.getFontInfo( aFont, aFontInfo ) ) in DoGetEmbedFontData()
[all …]

12345678910>>...13