Home
last modified time | relevance | path

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

/aoo41x/main/svl/source/items/
H A Dsfontitm.cxx43 return pFontItem && m_bHasFont == pFontItem->m_bHasFont in operator ==()
44 && m_bHasColor == pFontItem->m_bHasColor in operator ==()
45 && m_bHasFillColor == pFontItem->m_bHasFillColor in operator ==()
49 && m_bShadow == pFontItem->m_bShadow in operator ==()
55 && m_nItalic == pFontItem->m_nItalic in operator ==()
57 && m_nWeight == pFontItem->m_nWeight in operator ==()
58 && m_nPitch == pFontItem->m_nPitch in operator ==()
59 && m_nFamily == pFontItem->m_nFamily in operator ==()
63 && m_aColor == pFontItem->m_aColor in operator ==()
64 && m_aSize == pFontItem->m_aSize in operator ==()
[all …]
/aoo41x/main/reportdesign/source/ui/misc/
H A DUITools.cxx389 aNewFont.SetName( pFontItem->GetFamilyName()); in lcl_initAwtFont()
390 aNewFont.SetStyleName(pFontItem->GetStyleName()); in lcl_initAwtFont()
391 aNewFont.SetFamily(pFontItem->GetFamily()); in lcl_initAwtFont()
392 aNewFont.SetPitch(pFontItem->GetPitch()); in lcl_initAwtFont()
393 aNewFont.SetCharSet(pFontItem->GetCharSet()); in lcl_initAwtFont()
403 aNewFont.SetItalic(pFontItem->GetPosture()); in lcl_initAwtFont()
408 aNewFont.SetWeight(pFontItem->GetWeight()); in lcl_initAwtFont()
413 aNewFont.SetWordLineMode(pFontItem->GetValue()); in lcl_initAwtFont()
418 aNewFont.SetStrikeout(pFontItem->GetStrikeout()); in lcl_initAwtFont()
434 aNewFont.SetUnderline(pFontItem->GetLineStyle()); in lcl_initAwtFont()
[all …]
/aoo41x/main/sw/source/ui/misc/
H A Dinsfnote.cxx176 …SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pFontItem, SvxFontItem, SID_ATTR_CHAR_FONT, sal_False ); in IMPL_LINK_INLINE_END()
182 if ( pFontItem ) in IMPL_LINK_INLINE_END()
184 aFontName = pFontItem->GetFamilyName(); in IMPL_LINK_INLINE_END()
185 eCharSet = pFontItem->GetCharSet(); in IMPL_LINK_INLINE_END()
186 Font aFont( aFontName, pFontItem->GetStyleName(), aNumberCharEdit.GetFont().GetSize() ); in IMPL_LINK_INLINE_END()
187 aFont.SetCharSet( pFontItem->GetCharSet() ); in IMPL_LINK_INLINE_END()
188 aFont.SetPitch( pFontItem->GetPitch() ); in IMPL_LINK_INLINE_END()
/aoo41x/main/editeng/source/uno/
H A Dunofdesc.cxx143 SvxFontItem* pFontItem = (SvxFontItem*)&rSet.Get( EE_CHAR_FONTINFO, sal_True ); in FillFromItemSet() local
144 rDesc.Name = pFontItem->GetFamilyName(); in FillFromItemSet()
145 rDesc.StyleName = pFontItem->GetStyleName(); in FillFromItemSet()
147 pFontItem->GetFamily()); in FillFromItemSet()
148 rDesc.CharSet = pFontItem->GetCharSet(); in FillFromItemSet()
150 pFontItem->GetPitch()); in FillFromItemSet()
/aoo41x/main/sd/source/ui/func/
H A Dfubullet.cxx180 const SfxStringItem* pFontItem = PTR_CAST( SfxStringItem, pFtItem ); in InsertSpecialCharacter() local
181 if ( pFontItem ) in InsertSpecialCharacter()
183 aFontName = pFontItem->GetValue(); in InsertSpecialCharacter()
203 const SvxFontItem* pFontItem = (const SvxFontItem*)aFontAttr.GetItem( SID_ATTR_CHAR_FONT ); in InsertSpecialCharacter() local
204 if( pFontItem ) in InsertSpecialCharacter()
205 aSet.Put( *pFontItem ); in InsertSpecialCharacter()
/aoo41x/main/sw/source/ui/shells/
H A Ddrwtxtsh.cxx779 const SfxStringItem* pFontItem = PTR_CAST( SfxStringItem, pFtItem ); in InsertSymbol() local
780 if ( pFontItem ) in InsertSymbol()
781 sFontName = pFontItem->GetValue(); in InsertSymbol()
822 …SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pFontItem, SvxFontItem, SID_ATTR_CHAR_FONT, sal_False ); in InsertSymbol()
823 if ( pFontItem ) in InsertSymbol()
825 aFont.SetName( pFontItem->GetFamilyName() ); in InsertSymbol()
826 aFont.SetStyleName( pFontItem->GetStyleName() ); in InsertSymbol()
827 aFont.SetCharSet( pFontItem->GetCharSet() ); in InsertSymbol()
828 aFont.SetPitch( pFontItem->GetPitch() ); in InsertSymbol()
H A Dtextsh.cxx1104 const SfxStringItem* pFontItem = PTR_CAST( SfxStringItem, pFtItem ); in InsertSymbol() local
1105 if ( pFontItem ) in InsertSymbol()
1106 aFontName = pFontItem->GetValue(); in InsertSymbol()
1152 …SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pFontItem, SvxFontItem, SID_ATTR_CHAR_FONT, sal_False ); in InsertSymbol()
1153 if ( pFontItem ) in InsertSymbol()
1155 aNewFont.SetName( pFontItem->GetFamilyName() ); in InsertSymbol()
1156 aNewFont.SetStyleName( pFontItem->GetStyleName() ); in InsertSymbol()
1157 aNewFont.SetCharSet( pFontItem->GetCharSet() ); in InsertSymbol()
1158 aNewFont.SetPitch( pFontItem->GetPitch() ); in InsertSymbol()
H A Dannotsh.cxx1663 const SfxStringItem* pFontItem = PTR_CAST( SfxStringItem, pFtItem ); in InsertSymbol() local
1664 if ( pFontItem ) in InsertSymbol()
1665 sFontName = pFontItem->GetValue(); in InsertSymbol()
1708 …SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pFontItem, SvxFontItem, SID_ATTR_CHAR_FONT, sal_False ); in InsertSymbol()
1709 if ( pFontItem ) in InsertSymbol()
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()
/aoo41x/main/sc/source/ui/view/
H A Dviewutil.cxx378 …SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pFontItem, SvxFontItem, SID_ATTR_CHAR_FONT, sal_False ); in ExecuteCharMap()
381 if ( pFontItem ) in ExecuteCharMap()
382 …wFont = SvxFontItem( pFontItem->GetFamily(), pFontItem->GetFamilyName(), pFontItem->GetStyleName()… in ExecuteCharMap()
H A Dcellsh1.cxx1908 const SfxStringItem* pFontItem = PTR_CAST( SfxStringItem, pFtItem ); in ExecuteEdit() local
1909 if ( pFontItem ) in ExecuteEdit()
1910 aFontName = pFontItem->GetValue(); in ExecuteEdit()
1945 …SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pFontItem, SvxFontItem, SID_ATTR_CHAR_FONT, sal_False ); in ExecuteEdit()
1947 if ( pItem && pFontItem ) in ExecuteEdit()
1949 Font aNewFont( pFontItem->GetFamilyName(), pFontItem->GetStyleName(), Size(1,1) ); in ExecuteEdit()
1950 aNewFont.SetCharSet( pFontItem->GetCharSet() ); in ExecuteEdit()
1951 aNewFont.SetPitch( pFontItem->GetPitch() ); in ExecuteEdit()
1953 rReq.AppendItem( *pFontItem ); in ExecuteEdit()
H A Deditsh.cxx374 const SfxStringItem* pFontItem = PTR_CAST( SfxStringItem, pFtItem ); in Execute() local
375 if ( pFontItem ) in Execute()
377 String aFontName(pFontItem->GetValue()); in Execute()
/aoo41x/main/cui/source/dialogs/
H A Dcuicharmap.cxx76 SFX_ITEMSET_ARG( pSet, pFontItem, SvxFontItem, SID_ATTR_CHAR_FONT, sal_False ); in SvxCharacterMap()
78 if ( pFontItem ) in SvxCharacterMap()
80 Font aFont( pFontItem->GetFamilyName(), pFontItem->GetStyleName(), GetCharFont().GetSize() ); in SvxCharacterMap()
81 aFont.SetCharSet( pFontItem->GetCharSet() ); in SvxCharacterMap()
82 aFont.SetPitch( pFontItem->GetPitch() ); in SvxCharacterMap()
/aoo41x/main/svx/source/mnuctrls/
H A Dfntctl.cxx110 const SvxFontItem* pFontItem = PTR_CAST( SvxFontItem, pState ); in StateChanged() local
113 if ( pFontItem ) in StateChanged()
114 aFont = pFontItem->GetFamilyName(); in StateChanged()
/aoo41x/main/svx/source/tbxctrls/
H A Dtbcontrl.cxx208 void Update( const SvxFontItem* pFontItem );
654 void SvxFontNameBox_Impl::Update( const SvxFontItem* pFontItem ) in Update() argument
656 if ( pFontItem ) in Update()
658 aCurFont.SetName ( pFontItem->GetFamilyName() ); in Update()
659 aCurFont.SetFamily ( pFontItem->GetFamily() ); in Update()
660 aCurFont.SetStyleName ( pFontItem->GetStyleName() ); in Update()
661 aCurFont.SetPitch ( pFontItem->GetPitch() ); in Update()
662 aCurFont.SetCharSet ( pFontItem->GetCharSet() ); in Update()
2247 const SvxFontItem* pFontItem = dynamic_cast< const SvxFontItem* >( pState ); in StateChanged() local
2250 if( pFontItem ) in StateChanged()
[all …]
/aoo41x/main/sw/source/ui/app/
H A Ddocshini.cxx203 SvxFontItem* pFontItem = 0; in InitNew() local
216 pFontItem = new SvxFontItem(aFont.GetFamily(), aFont.GetName(), in InitNew()
238 pFontItem = new SvxFontItem(aLangDefFont.GetFamily(), aLangDefFont.GetName(), in InitNew()
241 mpDoc->SetDefault(*pFontItem); in InitNew()
247 delete pFontItem; in InitNew()
/aoo41x/main/sw/source/filter/ww8/
H A Dww8par3.cxx2452 const SvxFontItem *pFontItem = (SvxFontItem *)pItem; in MiserableDropDownFormHack() local
2456 aTmp <<= rtl::OUString( pFontItem->GetStyleName()); in MiserableDropDownFormHack()
2461 aTmp <<= (sal_Int16)pFontItem->GetFamily(); in MiserableDropDownFormHack()
2466 aTmp <<= (sal_Int16)pFontItem->GetCharSet(); in MiserableDropDownFormHack()
2471 aTmp <<= (sal_Int16)pFontItem->GetPitch(); in MiserableDropDownFormHack()
2475 aTmp <<= rtl::OUString( pFontItem->GetFamilyName()); in MiserableDropDownFormHack()
2476 aFont.SetName( pFontItem->GetFamilyName() ); in MiserableDropDownFormHack()
2477 aFont.SetStyleName( pFontItem->GetStyleName() ); in MiserableDropDownFormHack()
2478 aFont.SetFamily( pFontItem->GetFamily() ); in MiserableDropDownFormHack()
2479 aFont.SetCharSet( pFontItem->GetCharSet() ); in MiserableDropDownFormHack()
[all …]
/aoo41x/main/sw/source/core/unocore/
H A Dunosrch.cxx177 *pFontItem = 0, in FillItemSet() local
255 if(!pFontItem) in FillItemSet()
256 pFontItem = rSet.GetPool()->GetDefaultItem(aIt->nWID).Clone(); in FillItemSet()
257 pTempItem = pFontItem; in FillItemSet()
470 delete pFontItem; in FillItemSet()
/aoo41x/main/cui/source/tabpages/
H A Dchardlg.cxx828 const SvxFontItem* pFontItem = (const SvxFontItem*)&( _pPage->GetItemSet().Get( _nFontWhich ) ); in calcFontInfo() local
829 aFontInfo.SetName(pFontItem->GetFamilyName()); in calcFontInfo()
830 aFontInfo.SetStyleName(pFontItem->GetStyleName()); in calcFontInfo()
831 aFontInfo.SetFamily(pFontItem->GetFamily()); in calcFontInfo()
832 aFontInfo.SetPitch(pFontItem->GetPitch()); in calcFontInfo()
833 aFontInfo.SetCharSet(pFontItem->GetCharSet()); in calcFontInfo()
1026 const SvxFontItem* pFontItem = NULL; in Reset_Impl() local
1031 pFontItem = (const SvxFontItem*)&( rSet.Get( nWhich ) ); in Reset_Impl()
1032 pNameBox->SetText( pFontItem->GetFamilyName() ); in Reset_Impl()
1079 if ( bStyle && pFontItem ) in Reset_Impl()
[all …]
/aoo41x/main/editeng/source/editeng/
H A Dimpedit4.cxx397 SvxFontItem* pFontItem = (SvxFontItem*)aEditDoc.GetItemPool().GetItem2( nWhich, i ); in WriteRTF() local
398 while ( pFontItem ) in WriteRTF()
404 bAlreadyExist = *aFontTable.Get( nTest ) == *pFontItem; in WriteRTF()
408 aFontTable.Insert( aFontTable.Count(), new SvxFontItem( *pFontItem ) ); in WriteRTF()
410 pFontItem = (SvxFontItem*)aEditDoc.GetItemPool().GetItem2( nWhich, ++i ); in WriteRTF()
418 SvxFontItem* pFontItem = aFontTable.Get( j ); in WriteRTF() local
422 switch ( pFontItem->GetFamily() ) in WriteRTF()
441 switch( pFontItem->GetPitch() ) in WriteRTF()
450 CharSet eChrSet = pFontItem->GetCharSet(); in WriteRTF()
458 RTFOutFuncs::Out_String( rOutput, pFontItem->GetFamilyName(), eDestEnc ); in WriteRTF()
H A Deditview.cxx1523 const SvxFontItem* pFontItem = static_cast<const SvxFontItem*>(&rSet.Get( EE_CHAR_FONTINFO )); in ChangeFontSize() local
1524 if( !pFontItem || !pFontList ) in ChangeFontSize()
1537 FontInfo aFontInfo = pFontList->Get( pFontItem->GetFamilyName(), pFontItem->GetStyleName() ); in ChangeFontSize()
/aoo41x/main/sw/source/filter/html/
H A Dhtmlform.cxx1089 const SvxFontItem *pFontItem = (SvxFontItem *)pItem; in InsertControl() local
1093 aTmp <<= OUString( pFontItem->GetFamilyName() ); in InsertControl()
1099 aTmp <<= OUString( pFontItem->GetStyleName() ); in InsertControl()
1105 aTmp <<= (sal_Int16)pFontItem->GetFamily() ; in InsertControl()
1111 aTmp <<= (sal_Int16)pFontItem->GetCharSet() ; in InsertControl()
1117 aTmp <<= (sal_Int16)pFontItem->GetPitch() ; in InsertControl()
/aoo41x/main/sc/source/ui/miscdlgs/
H A Dautofmt.cxx538 …const SvxFontItem* pFontItem = (const SvxFontItem*) pCurData->GetItem( nIndex, A… in MakeFonts() local
554 lcl_SetFontProperties( rFont, *pFontItem, *pWeightItem, *pPostureItem ); in MakeFonts()
/aoo41x/main/sc/source/ui/drawfunc/
H A Ddrtxtob.cxx241 const SfxStringItem* pFontItem = PTR_CAST( SfxStringItem, pFtItem ); in Execute() local
242 if ( pFontItem ) in Execute()
244 String aFontName(pFontItem->GetValue()); in Execute()
/aoo41x/main/cui/source/customize/
H A Dacccfg.cxx1438 const SfxPoolItem* pFontItem=0; in Reset() local
1439 if( SFX_ITEM_SET == rSet.GetItemState( SID_ATTR_SPECIALCHAR, sal_True, &pFontItem ) ) in Reset()
1440 m_pFontItem = PTR_CAST( SfxStringItem, pFontItem ); in Reset()
/aoo41x/main/svx/source/sidebar/text/
H A DTextPropertyPanel.cxx885 const SvxFontItem* pFontItem = (const SvxFontItem*)pState; in NotifyItemUpdate() local
886 mpFontNameBox->SetText( pFontItem->GetFamilyName() ); in NotifyItemUpdate()

Completed in 473 milliseconds