Lines Matching refs:rAttrs
95 sal_Bool SdTpOptionsSnap::FillItemSet( SfxItemSet& rAttrs ) in FillItemSet() argument
97 SvxGridTabPage::FillItemSet(rAttrs); in FillItemSet()
116 rAttrs.Put( aOptsItem ); in FillItemSet()
125 void SdTpOptionsSnap::Reset( const SfxItemSet& rAttrs ) in Reset() argument
127 SvxGridTabPage::Reset(rAttrs); in Reset()
129 SdOptionsSnapItem aOptsItem( (const SdOptionsSnapItem&) rAttrs. in Reset()
149 const SfxItemSet& rAttrs ) in Create() argument
151 return( new SdTpOptionsSnap( pWindow, rAttrs ) ); in Create()
179 sal_Bool SdTpOptionsContents::FillItemSet( SfxItemSet& rAttrs ) in FillItemSet() argument
197 rAttrs.Put( aOptsItem ); in FillItemSet()
205 void SdTpOptionsContents::Reset( const SfxItemSet& rAttrs ) in Reset() argument
207 SdOptionsContentsItem aOptsItem( (const SdOptionsContentsItem&) rAttrs. in Reset()
210 SdOptionsLayoutItem aLayoutItem( (const SdOptionsLayoutItem&) rAttrs. in Reset()
229 const SfxItemSet& rAttrs ) in Create() argument
231 return( new SdTpOptionsContents( pWindow, rAttrs ) ); in Create()
419 sal_Bool SdTpOptionsMisc::FillItemSet( SfxItemSet& rAttrs ) in FillItemSet() argument
451 rAttrs.Put( aOptsItem ); in FillItemSet()
461 rAttrs.Put( SfxUInt16Item( GetWhich( SID_ATTR_METRIC ), in FillItemSet()
470 SfxMapUnit eUnit = rAttrs.GetPool()->GetMetric( nWh ); in FillItemSet()
472 rAttrs.Put( aDef ); in FillItemSet()
479 rAttrs.Put( SfxInt32Item( ATTR_OPTIONS_SCALE_X, nX ) ); in FillItemSet()
480 rAttrs.Put( SfxInt32Item( ATTR_OPTIONS_SCALE_Y, nY ) ); in FillItemSet()
490 void SdTpOptionsMisc::Reset( const SfxItemSet& rAttrs ) in Reset() argument
492 SdOptionsMiscItem aOptsItem( (const SdOptionsMiscItem&) rAttrs. in Reset()
523 if ( rAttrs.GetItemState( nWhich ) >= SFX_ITEM_AVAILABLE ) in Reset()
525 const SfxUInt16Item& rItem = (SfxUInt16Item&)rAttrs.Get( nWhich ); in Reset()
540 if( rAttrs.GetItemState( nWhich ) >= SFX_ITEM_AVAILABLE ) in Reset()
542 SfxMapUnit eUnit = rAttrs.GetPool()->GetMetric( nWhich ); in Reset()
543 const SfxUInt16Item& rItem = (SfxUInt16Item&)rAttrs.Get( nWhich ); in Reset()
549 sal_Int32 nX = ( (const SfxInt32Item&) rAttrs. in Reset()
551 sal_Int32 nY = ( (const SfxInt32Item&) rAttrs. in Reset()
553 nWidth = ( (const SfxUInt32Item&) rAttrs. in Reset()
555 nHeight = ( (const SfxUInt32Item&) rAttrs. in Reset()
578 const SfxItemSet& rAttrs ) in Create() argument
580 return( new SdTpOptionsMisc( pWindow, rAttrs ) ); in Create()