Lines Matching refs:rAttrs
189 void __EXPORT SvxMeasurePage::Reset( const SfxItemSet& rAttrs ) in Reset() argument
191 SfxItemPool* pPool = rAttrs.GetPool(); in Reset()
195 const SfxPoolItem* pItem = GetItem( rAttrs, SDRATTR_MEASURELINEDIST ); in Reset()
212 pItem = GetItem( rAttrs, SDRATTR_MEASUREHELPLINEOVERHANG ); in Reset()
227 pItem = GetItem( rAttrs, SDRATTR_MEASUREHELPLINEDIST ); in Reset()
242 pItem = GetItem( rAttrs, SDRATTR_MEASUREHELPLINE1LEN ); in Reset()
257 pItem = GetItem( rAttrs, SDRATTR_MEASUREHELPLINE2LEN ); in Reset()
272 if( rAttrs.GetItemState( SDRATTR_MEASUREBELOWREFEDGE ) != SFX_ITEM_DONTCARE ) in Reset()
274 …aTsbBelowRefEdge.SetState( ( ( const SdrMeasureBelowRefEdgeItem& )rAttrs.Get( SDRATTR_MEASUREBELOW… in Reset()
285 pItem = GetItem( rAttrs, SDRATTR_MEASUREDECIMALPLACES ); in Reset()
301 if( rAttrs.GetItemState( SDRATTR_MEASURETEXTROTA90 ) != SFX_ITEM_DONTCARE ) in Reset()
303 …aTsbParallel.SetState( ( ( const SdrMeasureTextRota90Item& )rAttrs.Get( SDRATTR_MEASURETEXTROTA90 … in Reset()
314 if( rAttrs.GetItemState( SDRATTR_MEASURESHOWUNIT ) != SFX_ITEM_DONTCARE ) in Reset()
316 aTsbShowUnit.SetState( ( ( const SdrMeasureShowUnitItem& )rAttrs.Get( SDRATTR_MEASURESHOWUNIT ) ). in Reset()
327 if( rAttrs.GetItemState( SDRATTR_MEASUREUNIT ) != SFX_ITEM_DONTCARE ) in Reset()
329 long nFieldUnit = (long) ( ( const SdrMeasureUnitItem& )rAttrs. in Reset()
348 if ( rAttrs.GetItemState( SDRATTR_MEASURETEXTVPOS ) != SFX_ITEM_DONTCARE ) in Reset()
351 ( ( const SdrMeasureTextVPosItem& )rAttrs.Get( SDRATTR_MEASURETEXTVPOS ) ).GetValue(); in Reset()
353 if ( rAttrs.GetItemState( SDRATTR_MEASURETEXTHPOS ) != SFX_ITEM_DONTCARE ) in Reset()
359 ( ( const SdrMeasureTextHPosItem& )rAttrs.Get( SDRATTR_MEASURETEXTHPOS ) ).GetValue(); in Reset()
432 aCtlPreview.SetAttributes( rAttrs ); in Reset()
443 sal_Bool SvxMeasurePage::FillItemSet( SfxItemSet& rAttrs) in FillItemSet() argument
452 rAttrs.Put( SdrMeasureLineDistItem( nValue ) ); in FillItemSet()
459 rAttrs.Put( SdrMeasureHelplineOverhangItem( nValue ) ); in FillItemSet()
466 rAttrs.Put( SdrMeasureHelplineDistItem( nValue ) ); in FillItemSet()
473 rAttrs.Put( SdrMeasureHelpline1LenItem( nValue ) ); in FillItemSet()
480 rAttrs.Put( SdrMeasureHelpline2LenItem( nValue ) ); in FillItemSet()
487 rAttrs.Put( SdrMeasureBelowRefEdgeItem( (sal_Bool) STATE_CHECK == eState ) ); in FillItemSet()
494 rAttrs.Put( in FillItemSet()
503 rAttrs.Put( SdrMeasureTextRota90Item( (sal_Bool) STATE_NOCHECK == eState ) ); in FillItemSet()
510 rAttrs.Put( SdrMeasureShowUnitItem( (sal_Bool) STATE_CHECK == eState ) ); in FillItemSet()
521 rAttrs.Put( SdrMeasureUnitItem( _eUnit ) ); in FillItemSet()
564 if ( rAttrs.GetItemState( SDRATTR_MEASURETEXTVPOS ) != SFX_ITEM_DONTCARE ) in FillItemSet()
570 rAttrs.Put( SdrMeasureTextVPosItem( eVPos ) ); in FillItemSet()
576 rAttrs.Put( SdrMeasureTextVPosItem( eVPos ) ); in FillItemSet()
580 if ( rAttrs.GetItemState( SDRATTR_MEASURETEXTHPOS ) != SFX_ITEM_DONTCARE ) in FillItemSet()
586 rAttrs.Put( SdrMeasureTextHPosItem( eHPos ) ); in FillItemSet()
592 rAttrs.Put( SdrMeasureTextHPosItem( eHPos ) ); in FillItemSet()
622 const SfxItemSet& rAttrs ) in Create() argument
624 return( new SvxMeasurePage( pWindow, rAttrs ) ); in Create()