Lines Matching refs:rAttrs

516 sal_Bool SvxLineTabPage::FillItemSet( SfxItemSet& rAttrs )  in FillItemSet()  argument
544 pOld = GetOldItem( rAttrs, XATTR_LINEDASH ); in FillItemSet()
547 rAttrs.Put( aDashItem ); in FillItemSet()
552 pOld = GetOldItem( rAttrs, XATTR_LINESTYLE ); in FillItemSet()
555 rAttrs.Put( *pStyleItem ); in FillItemSet()
566 pOld = GetOldItem( rAttrs, XATTR_LINEWIDTH ); in FillItemSet()
569 rAttrs.Put( aItem ); in FillItemSet()
577 pOld = GetOldItem( rAttrs, XATTR_LINESTARTWIDTH ); in FillItemSet()
580 rAttrs.Put( aItem ); in FillItemSet()
588 pOld = GetOldItem( rAttrs, XATTR_LINEENDWIDTH ); in FillItemSet()
591 rAttrs.Put( aItem ); in FillItemSet()
601 pOld = GetOldItem( rAttrs, XATTR_LINECOLOR ); in FillItemSet()
604 rAttrs.Put( aItem ); in FillItemSet()
622 pOld = GetOldItem( rAttrs, XATTR_LINESTART ); in FillItemSet()
626 rAttrs.Put( *pItem ); in FillItemSet()
642 pOld = GetOldItem( rAttrs, XATTR_LINEEND ); in FillItemSet()
646 rAttrs.Put( *pItem ); in FillItemSet()
658 pOld = GetOldItem( rAttrs, XATTR_LINESTARTCENTER ); in FillItemSet()
661 rAttrs.Put( aItem ); in FillItemSet()
669 pOld = GetOldItem( rAttrs, XATTR_LINEENDCENTER ); in FillItemSet()
672 rAttrs.Put( aItem ); in FillItemSet()
681 pOld = GetOldItem( rAttrs, XATTR_LINESTARTWIDTH ); in FillItemSet()
684 rAttrs.Put( aItem ); in FillItemSet()
692 pOld = GetOldItem( rAttrs, XATTR_LINEENDWIDTH ); in FillItemSet()
695 rAttrs.Put( aItem ); in FillItemSet()
705 pOld = GetOldItem( rAttrs, XATTR_LINETRANSPARENCE ); in FillItemSet()
708 rAttrs.Put( aItem ); in FillItemSet()
745 pOld = GetOldItem( rAttrs, XATTR_LINEJOINT ); in FillItemSet()
749 rAttrs.Put( *pNew ); in FillItemSet()
784 pOld = GetOldItem( rAttrs, XATTR_LINECAP ); in FillItemSet()
788 rAttrs.Put( *pNew ); in FillItemSet()
799 SvxSizeItem aSItem(rAttrs.GetPool()->GetWhich(SID_ATTR_SYMBOLSIZE),aSymbolSize); in FillItemSet()
800 const SfxPoolItem* pSOld = GetOldItem( rAttrs, rAttrs.GetPool()->GetWhich(SID_ATTR_SYMBOLSIZE) ); in FillItemSet()
804 rAttrs.Put(aSItem); in FillItemSet()
808 SfxInt32Item aTItem(rAttrs.GetPool()->GetWhich(SID_ATTR_SYMBOLTYPE),nSymbolType); in FillItemSet()
809 const SfxPoolItem* pTOld = GetOldItem( rAttrs, rAttrs.GetPool()->GetWhich(SID_ATTR_SYMBOLTYPE) ); in FillItemSet()
815 rAttrs.Put(aTItem); in FillItemSet()
821 SvxBrushItem aBItem(aSymbolGraphic,GPOS_MM,rAttrs.GetPool()->GetWhich(SID_ATTR_BRUSH)); in FillItemSet()
822 const SfxPoolItem* pBOld = GetOldItem( rAttrs, rAttrs.GetPool()->GetWhich(SID_ATTR_BRUSH) ); in FillItemSet()
827 rAttrs.Put(aBItem); in FillItemSet()
832 rAttrs.Put (CntUInt16Item(SID_PAGE_TYPE,nPageType));//add CHINA001 in FillItemSet()
964 void SvxLineTabPage::Reset( const SfxItemSet& rAttrs ) in Reset() argument
983 …if(rAttrs.GetItemState(rAttrs.GetPool()->GetWhich(SID_ATTR_SYMBOLTYPE),sal_True,&pPoolItem) == SFX… in Reset()
1065 …if(rAttrs.GetItemState(rAttrs.GetPool()->GetWhich(SID_ATTR_BRUSH),sal_True,&pPoolItem) == SFX_ITEM… in Reset()
1084 …if(rAttrs.GetItemState(rAttrs.GetPool()->GetWhich(SID_ATTR_SYMBOLSIZE),sal_True,&pPoolItem) == SFX… in Reset()
1102 if( rAttrs.GetItemState( XATTR_LINESTYLE ) != SFX_ITEM_DONTCARE ) in Reset()
1104 eXLS = (XLineStyle) ( ( const XLineStyleItem& ) rAttrs.Get( XATTR_LINESTYLE ) ).GetValue(); in Reset()
1117 aLbLineStyle.SelectEntry( ( ( const XLineDashItem& ) rAttrs. in Reset()
1138 if( rAttrs.GetItemState( XATTR_LINEWIDTH ) != SFX_ITEM_DONTCARE ) in Reset()
1140 SetMetricValue( aMtrLineWidth, ( ( const XLineWidthItem& ) rAttrs. in Reset()
1156 if ( rAttrs.GetItemState( XATTR_LINECOLOR ) != SFX_ITEM_DONTCARE ) in Reset()
1158 Color aCol = ( ( const XLineColorItem& ) rAttrs.Get( XATTR_LINECOLOR ) ).GetColorValue(); in Reset()
1169 rAttrs.GetItemState( XATTR_LINESTART ) == SFX_ITEM_DEFAULT ) in Reset()
1173 else if( rAttrs.GetItemState( XATTR_LINESTART ) != SFX_ITEM_DONTCARE ) in Reset()
1177 …const basegfx::B2DPolyPolygon& rItemPolygon = ((const XLineStartItem&)rAttrs.Get(XATTR_LINESTART))… in Reset()
1202 rAttrs.GetItemState( XATTR_LINEEND ) == SFX_ITEM_DEFAULT ) in Reset()
1206 else if( rAttrs.GetItemState( XATTR_LINEEND ) != SFX_ITEM_DONTCARE ) in Reset()
1210 …const basegfx::B2DPolyPolygon& rItemPolygon = ((const XLineEndItem&)rAttrs.Get(XATTR_LINEEND)).Get… in Reset()
1235 rAttrs.GetItemState( XATTR_LINESTARTWIDTH ) == SFX_ITEM_DEFAULT ) in Reset()
1239 else if( rAttrs.GetItemState( XATTR_LINESTARTWIDTH ) != SFX_ITEM_DONTCARE ) in Reset()
1241 SetMetricValue( aMtrStartWidth, ( ( const XLineStartWidthItem& ) rAttrs. in Reset()
1249 rAttrs.GetItemState( XATTR_LINEENDWIDTH ) == SFX_ITEM_DEFAULT ) in Reset()
1253 else if( rAttrs.GetItemState( XATTR_LINEENDWIDTH ) != SFX_ITEM_DONTCARE ) in Reset()
1255 SetMetricValue( aMtrEndWidth, ( ( const XLineEndWidthItem& ) rAttrs. in Reset()
1263 rAttrs.GetItemState( XATTR_LINESTARTCENTER ) == SFX_ITEM_DEFAULT ) in Reset()
1267 else if( rAttrs.GetItemState( XATTR_LINESTARTCENTER ) != SFX_ITEM_DONTCARE ) in Reset()
1271 if( ( ( const XLineStartCenterItem& ) rAttrs.Get( XATTR_LINESTARTCENTER ) ).GetValue() ) in Reset()
1283 rAttrs.GetItemState( XATTR_LINEENDCENTER ) == SFX_ITEM_DEFAULT ) in Reset()
1287 else if( rAttrs.GetItemState( XATTR_LINEENDCENTER ) != SFX_ITEM_DONTCARE ) in Reset()
1291 if( ( ( const XLineEndCenterItem& ) rAttrs.Get( XATTR_LINEENDCENTER ) ).GetValue() ) in Reset()
1302 if( rAttrs.GetItemState( XATTR_LINETRANSPARENCE ) != SFX_ITEM_DONTCARE ) in Reset()
1304 sal_uInt16 nTransp = ( ( const XLineTransparenceItem& ) rAttrs. in Reset()
1331 if(bObjSelected && SFX_ITEM_DEFAULT == rAttrs.GetItemState(XATTR_LINEJOINT)) in Reset()
1336 else if(SFX_ITEM_DONTCARE != rAttrs.GetItemState(XATTR_LINEJOINT)) in Reset()
1338 …const com::sun::star::drawing::LineJoint eLineJoint = ((const XLineJointItem&)(rAttrs.Get(XATTR_LI… in Reset()
1365 if(bObjSelected && SFX_ITEM_DEFAULT == rAttrs.GetItemState(XATTR_LINECAP)) in Reset()
1370 else if(SFX_ITEM_DONTCARE != rAttrs.GetItemState(XATTR_LINECAP)) in Reset()
1372 …const com::sun::star::drawing::LineCap eLineCap(((const XLineCapItem&)(rAttrs.Get(XATTR_LINECAP)))… in Reset()
1414 const SfxItemSet& rAttrs ) in Create() argument
1416 return( new SvxLineTabPage( pWindow, rAttrs ) ); in Create()