Lines Matching refs:rSet

93 #define ISITEMSET	rSet.GetItemState(nWhich)>=SFX_ITEM_DEFAULT
95 #define CLEARTITEM rSet.InvalidateItem(nWhich)
210 void SvxCharBasePage::ActivatePage( const SfxItemSet& rSet ) in ActivatePage() argument
220 const SfxStringItem& rItem = ( SfxStringItem& ) rSet.Get( nWhich ); in ActivatePage()
233 const SvxUnderlineItem& rItem = ( SvxUnderlineItem& ) rSet.Get( nWhich ); in ActivatePage()
249 const SvxOverlineItem& rItem = ( SvxOverlineItem& ) rSet.Get( nWhich ); in ActivatePage()
265 const SvxCrossedOutItem& rItem = ( SvxCrossedOutItem& ) rSet.Get( nWhich ); in ActivatePage()
279 const SvxWordLineModeItem& rItem = ( SvxWordLineModeItem& ) rSet.Get( nWhich ); in ActivatePage()
289 const SvxEmphasisMarkItem& rItem = ( SvxEmphasisMarkItem& ) rSet.Get( nWhich ); in ActivatePage()
300 const SvxCharReliefItem& rItem = ( SvxCharReliefItem& ) rSet.Get( nWhich ); in ActivatePage()
311 const SvxCaseMapItem& rItem = ( SvxCaseMapItem& ) rSet.Get( nWhich ); in ActivatePage()
323 const SvxContourItem& rItem = ( SvxContourItem& ) rSet.Get( nWhich ); in ActivatePage()
334 const SvxShadowedItem& rItem = ( SvxShadowedItem& ) rSet.Get( nWhich ); in ActivatePage()
346 const SvxBrushItem& rBrush = ( SvxBrushItem& ) rSet.Get( nWhich ); in ActivatePage()
366 const SvxBrushItem& rBrush = ( SvxBrushItem& ) rSet.Get( nWhich ); in ActivatePage()
374 SetPrevFont( rSet, SID_ATTR_CHAR_FONT, rFont ); in ActivatePage()
375 SetPrevFont( rSet, SID_ATTR_CHAR_CJK_FONT, rCJKFont ); in ActivatePage()
376 SetPrevFont( rSet, SID_ATTR_CHAR_CTL_FONT, rCTLFont ); in ActivatePage()
379 SetPrevFontStyle( rSet, SID_ATTR_CHAR_POSTURE, SID_ATTR_CHAR_WEIGHT, rFont ); in ActivatePage()
380 SetPrevFontStyle( rSet, SID_ATTR_CHAR_CJK_POSTURE, SID_ATTR_CHAR_CJK_WEIGHT, rCJKFont ); in ActivatePage()
381 SetPrevFontStyle( rSet, SID_ATTR_CHAR_CTL_POSTURE, SID_ATTR_CHAR_CTL_WEIGHT, rCTLFont ); in ActivatePage()
384 SetPrevFontSize( rSet, SID_ATTR_CHAR_FONTHEIGHT, rFont ); in ActivatePage()
385 SetPrevFontSize( rSet, SID_ATTR_CHAR_CJK_FONTHEIGHT, rCJKFont ); in ActivatePage()
386 SetPrevFontSize( rSet, SID_ATTR_CHAR_CTL_FONTHEIGHT, rCTLFont ); in ActivatePage()
392 const SvxColorItem& rItem = ( SvxColorItem& ) rSet.Get( nWhich ); in ActivatePage()
405 const SvxKerningItem& rItem = ( SvxKerningItem& ) rSet.Get( nWhich ); in ActivatePage()
407 LogicToLogic( rItem.GetValue(), ( MapUnit ) rSet.GetPool()->GetMetric( nWhich ), MAP_TWIP ); in ActivatePage()
420 const SvxEscapementItem& rItem = ( SvxEscapementItem& ) rSet.Get( nWhich ); in ActivatePage()
438 SetPrevFontWidthScale( rSet ); in ActivatePage()
445 void SvxCharBasePage::SetPrevFontSize( const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont ) in SetPrevFontSize() argument
449 if( rSet.GetItemState( nWhich ) >= SFX_ITEM_SET ) in SetPrevFontSize()
451 nH = LogicToLogic( ( ( SvxFontHeightItem& ) rSet.Get( nWhich ) ).GetHeight(), in SetPrevFontSize()
452 ( MapUnit ) rSet.GetPool()->GetMetric( nWhich ), in SetPrevFontSize()
463 void SvxCharBasePage::SetPrevFont( const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont ) in SetPrevFont() argument
468 const SvxFontItem& rFontItem = ( SvxFontItem& ) rSet.Get( nWhich ); in SetPrevFont()
479 void SvxCharBasePage::SetPrevFontStyle( const SfxItemSet& rSet, sal_uInt16 nPosture, sal_uInt16 nWe… in SetPrevFontStyle() argument
484 const SvxPostureItem& rItem = ( SvxPostureItem& ) rSet.Get( nWhich ); in SetPrevFontStyle()
491 SvxWeightItem& rItem = ( SvxWeightItem& ) rSet.Get( nWhich ); in SetPrevFontStyle()
498 void SvxCharBasePage::SetPrevFontWidthScale( const SfxItemSet& rSet ) in SetPrevFontWidthScale() argument
503 const SvxCharScaleWidthItem& rItem = ( SvxCharScaleWidthItem& ) rSet.Get( nWhich ); in SetPrevFontWidthScale()
970 void SvxCharNamePage::Reset_Impl( const SfxItemSet& rSet, LanguageGroup eLangGrp ) in Reset_Impl() argument
1027 SfxItemState eState = rSet.GetItemState( nWhich ); in Reset_Impl()
1031 pFontItem = (const SvxFontItem*)&( rSet.Get( nWhich ) ); in Reset_Impl()
1051 eState = rSet.GetItemState( nWhich ); in Reset_Impl()
1055 const SvxPostureItem& rItem = (SvxPostureItem&)rSet.Get( nWhich ); in Reset_Impl()
1067 eState = rSet.GetItemState( nWhich ); in Reset_Impl()
1071 SvxWeightItem& rItem = (SvxWeightItem&)rSet.Get( nWhich ); in Reset_Impl()
1107 eState = rSet.GetItemState( nWhich ); in Reset_Impl()
1111 SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); in Reset_Impl()
1112 const SvxFontHeightItem& rItem = (SvxFontHeightItem&)rSet.Get( nWhich ); in Reset_Impl()
1128 SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); in Reset_Impl()
1129 const SvxFontHeightItem& rItem = (SvxFontHeightItem&)rSet.Get( nWhich ); in Reset_Impl()
1149 eState = rSet.GetItemState( nWhich ); in Reset_Impl()
1167 const SvxLanguageItem& rItem = (SvxLanguageItem&)rSet.Get( nWhich ); in Reset_Impl()
1189 sal_Bool SvxCharNamePage::FillItemSet_Impl( SfxItemSet& rSet, LanguageGroup eLangGrp ) in FillItemSet_Impl() argument
1244 pOld = GetOldItem( rSet, nSlot ); in FillItemSet_Impl()
1264 rSet.Put( aFontItem ); in FillItemSet_Impl()
1268 rSet.ClearItem( nWhich ); in FillItemSet_Impl()
1283 pOld = GetOldItem( rSet, nSlot ); in FillItemSet_Impl()
1314 rSet.Put( aWeightItem ); in FillItemSet_Impl()
1332 pOld = GetOldItem( rSet, nSlot ); in FillItemSet_Impl()
1361 rSet.Put( aPostureItem ); in FillItemSet_Impl()
1388 const SvxFontHeightItem* pOldHeight = (const SvxFontHeightItem*)GetOldItem( rSet, nSlot ); in FillItemSet_Impl()
1395 long nVal = CalcToUnit( fSize, rSet.GetPool()->GetMetric( nWhich ) ); in FillItemSet_Impl()
1403 SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); in FillItemSet_Impl()
1415 rSet.Put( aHeight ); in FillItemSet_Impl()
1420 rSet.Put( SvxFontHeightItem( CalcToUnit( fSize, eUnit ), 100, nWhich ) ); in FillItemSet_Impl()
1435 pOld = GetOldItem( rSet, nSlot ); in FillItemSet_Impl()
1452 rSet.Put( SvxLanguageItem( eLangType, nWhich ) ); in FillItemSet_Impl()
1463 void SvxCharNamePage::ResetColor_Impl( const SfxItemSet& rSet ) in ResetColor_Impl() argument
1466 SfxItemState eState = rSet.GetItemState( nWhich ); in ResetColor_Impl()
1489 const SvxColorItem& rItem = (SvxColorItem&)rSet.Get( nWhich ); in ResetColor_Impl()
1558 void SvxCharNamePage::ActivatePage( const SfxItemSet& rSet ) in ActivatePage() argument
1560 SvxCharBasePage::ActivatePage( rSet ); in ActivatePage()
1576 SfxTabPage* SvxCharNamePage::Create( Window* pParent, const SfxItemSet& rSet ) in Create() argument
1578 return new SvxCharNamePage( pParent, rSet ); in Create()
1590 void SvxCharNamePage::Reset( const SfxItemSet& rSet ) in Reset() argument
1592 Reset_Impl( rSet, Western ); in Reset()
1593 Reset_Impl( rSet, Asian ); in Reset()
1594 Reset_Impl( rSet, Ctl ); in Reset()
1595 ResetColor_Impl( rSet ); in Reset()
1598 SetPrevFontWidthScale( rSet ); in Reset()
1604 sal_Bool SvxCharNamePage::FillItemSet( SfxItemSet& rSet ) in FillItemSet() argument
1606 sal_Bool bModified = FillItemSet_Impl( rSet, Western ); in FillItemSet()
1607 bModified |= FillItemSet_Impl( rSet, Asian ); in FillItemSet()
1608 bModified |= FillItemSet_Impl( rSet, Ctl ); in FillItemSet()
1950 void SvxCharEffectsPage::ResetColor_Impl( const SfxItemSet& rSet ) in ResetColor_Impl() argument
1953 SfxItemState eState = rSet.GetItemState( nWhich ); in ResetColor_Impl()
1979 const SvxColorItem& rItem = (SvxColorItem&)rSet.Get( nWhich ); in ResetColor_Impl()
2008 sal_Bool SvxCharEffectsPage::FillItemSetColor_Impl( SfxItemSet& rSet ) in FillItemSetColor_Impl() argument
2011 const SvxColorItem* pOld = (const SvxColorItem*)GetOldItem( rSet, SID_ATTR_CHAR_COLOR ); in FillItemSetColor_Impl()
2038 rSet.Put( SvxColorItem( aSelectedColor, nWhich ) ); in FillItemSetColor_Impl()
2141 SfxTabPage* SvxCharEffectsPage::Create( Window* pParent, const SfxItemSet& rSet ) in Create() argument
2143 return new SvxCharEffectsPage( pParent, rSet ); in Create()
2155 void SvxCharEffectsPage::Reset( const SfxItemSet& rSet ) in Reset() argument
2170 SfxItemState eState = rSet.GetItemState( nWhich ); in Reset()
2178 const SvxUnderlineItem& rItem = (SvxUnderlineItem&)rSet.Get( nWhich ); in Reset()
2227 eState = rSet.GetItemState( nWhich ); in Reset()
2235 const SvxOverlineItem& rItem = (SvxOverlineItem&)rSet.Get( nWhich ); in Reset()
2284 eState = rSet.GetItemState( nWhich ); in Reset()
2292 const SvxCrossedOutItem& rItem = (SvxCrossedOutItem&)rSet.Get( nWhich ); in Reset()
2333 const SvxWordLineModeItem& rItem = (SvxWordLineModeItem&)rSet.Get( nWhich ); in Reset()
2346 eState = rSet.GetItemState( nWhich ); in Reset()
2350 const SvxEmphasisMarkItem& rItem = (SvxEmphasisMarkItem&)rSet.Get( nWhich ); in Reset()
2405 eState = rSet.GetItemState( nWhich ); in Reset()
2426 const SvxCaseMapItem& rItem = (const SvxCaseMapItem&)rSet.Get( nWhich ); in Reset()
2435 eState = rSet.GetItemState( nWhich ); in Reset()
2456 const SvxCharReliefItem& rItem = (const SvxCharReliefItem&)rSet.Get( nWhich ); in Reset()
2465 eState = rSet.GetItemState( nWhich ); in Reset()
2484 const SvxContourItem& rItem = (SvxContourItem&)rSet.Get( nWhich ); in Reset()
2493 eState = rSet.GetItemState( nWhich ); in Reset()
2513 const SvxShadowedItem& rItem = (SvxShadowedItem&)rSet.Get( nWhich ); in Reset()
2522 eState = rSet.GetItemState( nWhich ); in Reset()
2542 const SvxBlinkItem& rItem = (SvxBlinkItem&)rSet.Get( nWhich ); in Reset()
2550 eState = rSet.GetItemState( nWhich ); in Reset()
2570 const SvxCharHiddenItem& rItem = (SvxCharHiddenItem&)rSet.Get( nWhich ); in Reset()
2577 SetPrevFontWidthScale( rSet ); in Reset()
2578 ResetColor_Impl( rSet ); in Reset()
2603 sal_Bool SvxCharEffectsPage::FillItemSet( SfxItemSet& rSet ) in FillItemSet() argument
2612 pOld = GetOldItem( rSet, SID_ATTR_CHAR_UNDERLINE ); in FillItemSet()
2636 rSet.Put( aNewItem ); in FillItemSet()
2646 pOld = GetOldItem( rSet, SID_ATTR_CHAR_OVERLINE ); in FillItemSet()
2670 rSet.Put( aNewItem ); in FillItemSet()
2680 pOld = GetOldItem( rSet, SID_ATTR_CHAR_STRIKEOUT ); in FillItemSet()
2701 rSet.Put( SvxCrossedOutItem( eStrike, nWhich ) ); in FillItemSet()
2711 pOld = GetOldItem( rSet, SID_ATTR_CHAR_WORDLINEMODE ); in FillItemSet()
2726 rSet.Put( SvxWordLineModeItem( m_aIndividualWordsBtn.IsChecked(), nWhich ) ); in FillItemSet()
2736 pOld = GetOldItem( rSet, SID_ATTR_CHAR_EMPHASISMARK ); in FillItemSet()
2762 rSet.Put( SvxEmphasisMarkItem( eMark, nWhich ) ); in FillItemSet()
2772 pOld = GetOldItem( rSet, SID_ATTR_CHAR_CASEMAP ); in FillItemSet()
2798 rSet.Put( SvxCaseMapItem( eCaseMap, nWhich ) ); in FillItemSet()
2812 rSet.Put(aRelief); in FillItemSet()
2818 pOld = GetOldItem( rSet, SID_ATTR_CHAR_CONTOUR ); in FillItemSet()
2835 rSet.Put( SvxContourItem( StateToAttr( eState ), nWhich ) ); in FillItemSet()
2845 pOld = GetOldItem( rSet, SID_ATTR_CHAR_SHADOWED ); in FillItemSet()
2861 rSet.Put( SvxShadowedItem( StateToAttr( eState ), nWhich ) ); in FillItemSet()
2871 pOld = GetOldItem( rSet, SID_ATTR_FLASH ); in FillItemSet()
2887 rSet.Put( SvxBlinkItem( StateToAttr( eState ), nWhich ) ); in FillItemSet()
2895 pOld = GetOldItem( rSet, SID_ATTR_CHAR_HIDDEN ); in FillItemSet()
2912 rSet.Put( SvxCharHiddenItem( StateToAttr( eState ), nWhich ) ); in FillItemSet()
2918 bModified |= FillItemSetColor_Impl( rSet ); in FillItemSet()
3291 void SvxCharPositionPage::ActivatePage( const SfxItemSet& rSet ) in ActivatePage() argument
3294 SvxCharBasePage::ActivatePage( rSet ); in ActivatePage()
3320 SfxTabPage* SvxCharPositionPage::Create( Window* pParent, const SfxItemSet& rSet ) in Create() argument
3322 return new SvxCharPositionPage( pParent, rSet ); in Create()
3333 void SvxCharPositionPage::Reset( const SfxItemSet& rSet ) in Reset() argument
3359 if ( rSet.GetItemState( nWhich ) >= SFX_ITEM_DEFAULT ) in Reset()
3361 const SvxEscapementItem& rItem = (SvxEscapementItem&)rSet.Get( nWhich ); in Reset()
3430 if ( rSet.GetItemState( nWhich ) >= SFX_ITEM_DEFAULT ) in Reset()
3432 const SvxKerningItem& rItem = (SvxKerningItem&)rSet.Get( nWhich ); in Reset()
3433 SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); in Reset()
3473 if ( rSet.GetItemState( nWhich ) >= SFX_ITEM_DEFAULT ) in Reset()
3475 const SvxAutoKernItem& rItem = (SvxAutoKernItem&)rSet.Get( nWhich ); in Reset()
3483 if ( rSet.GetItemState( nWhich ) >= SFX_ITEM_DEFAULT ) in Reset()
3485 const SvxCharScaleWidthItem& rItem = ( SvxCharScaleWidthItem& ) rSet.Get( nWhich ); in Reset()
3493 if ( rSet.GetItemState( nWhich ) >= SFX_ITEM_DEFAULT ) in Reset()
3494 m_nScaleWidthItemSetVal = ((SfxUInt16Item&) rSet.Get( nWhich )).GetValue(); in Reset()
3498 SfxItemState eState = rSet.GetItemState( nWhich ); in Reset()
3535 (SvxCharRotateItem&) rSet.Get( nWhich ); in Reset()
3564 if( SFX_ITEM_UNKNOWN == rSet.GetItemState( GetWhich( in Reset()
3584 sal_Bool SvxCharPositionPage::FillItemSet( SfxItemSet& rSet ) in FillItemSet() argument
3590 const SfxPoolItem* pOld = GetOldItem( rSet, SID_ATTR_CHAR_ESCAPEMENT ); in FillItemSet()
3626 rSet.Put( SvxEscapementItem( nEsc, nEscProp, nWhich ) ); in FillItemSet()
3636 pOld = GetOldItem( rSet, SID_ATTR_CHAR_KERNING ); in FillItemSet()
3639 SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); in FillItemSet()
3665 rSet.Put( SvxKerningItem( nKerning, nWhich ) ); in FillItemSet()
3678 rSet.Put( SvxAutoKernItem( m_aPairKerningBtn.IsChecked(), nWhich ) ); in FillItemSet()
3688 rSet.Put( SvxCharScaleWidthItem( (sal_uInt16)m_aScaleWidthMF.GetValue(), nWhich ) ); in FillItemSet()
3706 rSet.Put( aItem ); in FillItemSet()
3895 void SvxCharTwoLinesPage::ActivatePage( const SfxItemSet& rSet ) in ActivatePage() argument
3897 SvxCharBasePage::ActivatePage( rSet ); in ActivatePage()
3911 SfxTabPage* SvxCharTwoLinesPage::Create( Window* pParent, const SfxItemSet& rSet ) in Create() argument
3913 return new SvxCharTwoLinesPage( pParent, rSet ); in Create()
3925 void SvxCharTwoLinesPage::Reset( const SfxItemSet& rSet ) in Reset() argument
3929 SfxItemState eState = rSet.GetItemState( nWhich ); in Reset()
3933 const SvxTwoLinesItem& rItem = (SvxTwoLinesItem&)rSet.Get( nWhich ); in Reset()
3944 SetPrevFontWidthScale( rSet ); in Reset()
3949 sal_Bool SvxCharTwoLinesPage::FillItemSet( SfxItemSet& rSet ) in FillItemSet() argument
3954 const SfxPoolItem* pOld = GetOldItem( rSet, SID_ATTR_CHAR_TWO_LINES ); in FillItemSet()
3971 rSet.Put( SvxTwoLinesItem( bOn, cStart, cEnd, nWhich ) ); in FillItemSet()