Lines Matching refs:rAttrs
329 SfxTabPage* SvxTransparenceTabPage::Create(Window* pWindow, const SfxItemSet& rAttrs) in Create() argument
331 return(new SvxTransparenceTabPage(pWindow, rAttrs)); in Create()
339 sal_Bool SvxTransparenceTabPage::FillItemSet(SfxItemSet& rAttrs) in FillItemSet() argument
364 const SfxPoolItem* pOld = GetOldItem(rAttrs, XATTR_FILLTRANSPARENCE); in FillItemSet()
367 rAttrs.Put(aItem); in FillItemSet()
368 rAttrs.Put(aShadowItem); in FillItemSet()
400 const SfxPoolItem* pOld = GetOldItem(rAttrs, XATTR_FILLFLOATTRANSPARENCE); in FillItemSet()
404 rAttrs.Put(aItem); in FillItemSet()
427 rAttrs.Put(aItem); in FillItemSet()
436 rAttrs.Put(aItem); in FillItemSet()
437 rAttrs.Put(aShadowItem); in FillItemSet()
441 rAttrs.Put (CntUInt16Item(SID_PAGE_TYPE,nPageType)); in FillItemSet()
446 void SvxTransparenceTabPage::Reset(const SfxItemSet& rAttrs) in Reset() argument
449 …SfxItemState eStateGradient(rAttrs.GetItemState(XATTR_FILLFLOATTRANSPARENCE, sal_True, &pGradientI… in Reset()
451 pGradientItem = &rAttrs.Get(XATTR_FILLFLOATTRANSPARENCE); in Reset()
455 SfxItemState eStateLinear(rAttrs.GetItemState(XATTR_FILLTRANSPARENCE, sal_True, &pLinearItem)); in Reset()
457 pLinearItem = &rAttrs.Get(XATTR_FILLTRANSPARENCE); in Reset()
507 sal_Bool bActive = InitPreview ( rAttrs ); in Reset()
1036 sal_Bool SvxAreaTabPage::FillItemSet( SfxItemSet& rAttrs ) in FillItemSet() argument
1053 pOld = GetOldItem( rAttrs, XATTR_FILLSTYLE ); in FillItemSet()
1056 rAttrs.Put( aStyleItem ); in FillItemSet()
1070 pOld = GetOldItem( rAttrs, XATTR_FILLCOLOR ); in FillItemSet()
1073 rAttrs.Put( aItem ); in FillItemSet()
1083 pOld = GetOldItem( rAttrs, XATTR_FILLSTYLE ); in FillItemSet()
1086 rAttrs.Put( aStyleItem ); in FillItemSet()
1101 pOld = GetOldItem( rAttrs, XATTR_FILLGRADIENT ); in FillItemSet()
1104 rAttrs.Put( aItem ); in FillItemSet()
1114 pOld = GetOldItem( rAttrs, XATTR_FILLSTYLE ); in FillItemSet()
1117 rAttrs.Put( aStyleItem ); in FillItemSet()
1132 pOld = GetOldItem( rAttrs, XATTR_FILLHATCH ); in FillItemSet()
1135 rAttrs.Put( aItem ); in FillItemSet()
1140 rAttrs.Put( aItem ); in FillItemSet()
1147 pOld = GetOldItem( rAttrs, XATTR_FILLCOLOR ); in FillItemSet()
1150 rAttrs.Put( aFillColorItem ); in FillItemSet()
1160 pOld = GetOldItem( rAttrs, XATTR_FILLSTYLE ); in FillItemSet()
1163 rAttrs.Put( aStyleItem ); in FillItemSet()
1175 rAttrs.Put(XFillStyleItem(XFILL_BITMAP)); in FillItemSet()
1176 rAttrs.Put(aXBmpItem); in FillItemSet()
1188 pOld = GetOldItem( rAttrs, XATTR_FILLBITMAP ); in FillItemSet()
1191 rAttrs.Put( aFillBitmapItem ); in FillItemSet()
1201 pOld = GetOldItem( rAttrs, XATTR_FILLSTYLE ); in FillItemSet()
1204 rAttrs.Put( aStyleItem ); in FillItemSet()
1237 pOld = GetOldItem( rAttrs, XATTR_GRADIENTSTEPCOUNT ); in FillItemSet()
1240 rAttrs.Put( aFillBitmapItem ); in FillItemSet()
1254 pOld = GetOldItem( rAttrs, XATTR_FILLBMP_TILE ); in FillItemSet()
1257 rAttrs.Put( aFillBmpTileItem ); in FillItemSet()
1270 pOld = GetOldItem( rAttrs, XATTR_FILLBMP_STRETCH ); in FillItemSet()
1273 rAttrs.Put( aFillBmpStretchItem ); in FillItemSet()
1298 pOld = GetOldItem( rAttrs, XATTR_FILLBMP_SIZELOG ); in FillItemSet()
1301 rAttrs.Put( *pItem ); in FillItemSet()
1335 pOld = GetOldItem( rAttrs, XATTR_FILLBMP_SIZEX ); in FillItemSet()
1338 rAttrs.Put( *pItem ); in FillItemSet()
1372 pOld = GetOldItem( rAttrs, XATTR_FILLBMP_SIZEY ); in FillItemSet()
1375 rAttrs.Put( *pItem ); in FillItemSet()
1396 pOld = GetOldItem( rAttrs, XATTR_FILLBMP_TILEOFFSETX ); in FillItemSet()
1399 rAttrs.Put( aFillBmpTileOffsetXItem ); in FillItemSet()
1400 rAttrs.Put( XFillBmpTileOffsetYItem( 0 ) ); in FillItemSet()
1407 pOld = GetOldItem( rAttrs, XATTR_FILLBMP_TILEOFFSETY ); in FillItemSet()
1410 rAttrs.Put( aFillBmpTileOffsetYItem ); in FillItemSet()
1411 rAttrs.Put( XFillBmpTileOffsetXItem( 0 ) ); in FillItemSet()
1435 pOld = GetOldItem( rAttrs, XATTR_FILLBMP_POS ); in FillItemSet()
1438 rAttrs.Put( aFillBmpPosItem ); in FillItemSet()
1452 pOld = GetOldItem( rAttrs, XATTR_FILLBMP_POSOFFSETX ); in FillItemSet()
1455 rAttrs.Put( aFillBmpPosOffsetXItem ); in FillItemSet()
1469 pOld = GetOldItem( rAttrs, XATTR_FILLBMP_POSOFFSETY ); in FillItemSet()
1472 rAttrs.Put( aFillBmpPosOffsetYItem ); in FillItemSet()
1478 rAttrs.Put (SfxUInt16Item(SID_PAGE_TYPE,nPageType)); in FillItemSet()
1479 rAttrs.Put (SfxUInt16Item(SID_TABPAGE_POS,nPos)); in FillItemSet()
1488 void SvxAreaTabPage::Reset( const SfxItemSet& rAttrs ) in Reset() argument
1493 if( rAttrs.GetItemState( XATTR_FILLSTYLE ) != SFX_ITEM_DONTCARE ) in Reset()
1495 eXFS = (XFillStyle) ( ( ( const XFillStyleItem& ) rAttrs. in Reset()
1506 if( SFX_ITEM_DONTCARE != rAttrs.GetItemState( XATTR_FILLCOLOR ) ) in Reset()
1509 rAttrs.Get( XATTR_FILLCOLOR ) ); in Reset()
1520 if( SFX_ITEM_DONTCARE != rAttrs.GetItemState( XATTR_FILLGRADIENT ) ) in Reset()
1523 rAttrs.Get( XATTR_FILLGRADIENT ) ) ); in Reset()
1534 if( SFX_ITEM_DONTCARE != rAttrs.GetItemState( XATTR_FILLHATCH ) ) in Reset()
1537 rAttrs.Get( XATTR_FILLHATCH ) ).GetName() ); in Reset()
1541 if ( SFX_ITEM_DONTCARE != rAttrs.GetItemState ( XATTR_FILLBACKGROUND ) ) in Reset()
1543 …aCbxHatchBckgrd.Check ( ( ( const XFillBackgroundItem& ) rAttrs.Get ( XATTR_FILLBACKGROUND ) ).Get… in Reset()
1546 if( SFX_ITEM_DONTCARE != rAttrs.GetItemState( XATTR_FILLCOLOR ) ) in Reset()
1549 rAttrs.Get( XATTR_FILLCOLOR ) ); in Reset()
1558 if( SFX_ITEM_DONTCARE != rAttrs.GetItemState( XATTR_FILLBITMAP ) ) in Reset()
1561 rAttrs.Get( XATTR_FILLBITMAP ) ); in Reset()
1592 if( ( rAttrs.GetItemState( XATTR_GRADIENTSTEPCOUNT ) != SFX_ITEM_DONTCARE ) || in Reset()
1593 ( rAttrs.GetItemState( XATTR_FILLSTYLE ) != SFX_ITEM_DONTCARE ) ) in Reset()
1596 …sal_uInt16 nValue = ( ( const XGradientStepCountItem& ) rAttrs.Get( XATTR_GRADIENTSTEPCOUNT ) ).Ge… in Reset()
1618 if( rAttrs.GetItemState( XATTR_FILLBMP_TILE ) != SFX_ITEM_DONTCARE ) in Reset()
1622 if( ( ( const XFillBmpTileItem& ) rAttrs.Get( XATTR_FILLBMP_TILE ) ).GetValue() ) in Reset()
1631 if( rAttrs.GetItemState( XATTR_FILLBMP_STRETCH ) != SFX_ITEM_DONTCARE ) in Reset()
1635 if( ( ( const XFillBmpStretchItem& ) rAttrs.Get( XATTR_FILLBMP_STRETCH ) ).GetValue() ) in Reset()
1645 if( rAttrs.GetItemState( XATTR_FILLBMP_SIZELOG ) != SFX_ITEM_DONTCARE ) in Reset()
1649 if( ( ( const XFillBmpSizeLogItem& ) rAttrs.Get( XATTR_FILLBMP_SIZELOG ) ).GetValue() ) in Reset()
1664 if( rAttrs.GetItemState( XATTR_FILLBMP_SIZEX ) != SFX_ITEM_DONTCARE ) in Reset()
1666 sal_Int32 nValue = ( ( const XFillBmpSizeXItem& ) rAttrs.Get( XATTR_FILLBMP_SIZEX ) ).GetValue(); in Reset()
1692 if( rAttrs.GetItemState( XATTR_FILLBMP_SIZEY ) != SFX_ITEM_DONTCARE ) in Reset()
1694 sal_Int32 nValue = ( ( const XFillBmpSizeYItem& ) rAttrs.Get( XATTR_FILLBMP_SIZEY ) ).GetValue(); in Reset()
1726 if( rAttrs.GetItemState( XATTR_FILLBMP_TILEOFFSETX ) != SFX_ITEM_DONTCARE ) in Reset()
1728 …sal_uInt16 nValue = ( ( const XFillBmpTileOffsetXItem& ) rAttrs.Get( XATTR_FILLBMP_TILEOFFSETX ) )… in Reset()
1734 else if( rAttrs.GetItemState( XATTR_FILLBMP_TILEOFFSETY ) != SFX_ITEM_DONTCARE ) in Reset()
1736 …nValue = ( ( const XFillBmpTileOffsetYItem& ) rAttrs.Get( XATTR_FILLBMP_TILEOFFSETY ) ).GetValue(); in Reset()
1751 if( rAttrs.GetItemState( XATTR_FILLBMP_POS ) != SFX_ITEM_DONTCARE ) in Reset()
1753 RECT_POINT eValue = ( ( const XFillBmpPosItem& ) rAttrs.Get( XATTR_FILLBMP_POS ) ).GetValue(); in Reset()
1760 if( rAttrs.GetItemState( XATTR_FILLBMP_POSOFFSETX ) != SFX_ITEM_DONTCARE ) in Reset()
1762 …sal_Int32 nValue = ( ( const XFillBmpPosOffsetXItem& ) rAttrs.Get( XATTR_FILLBMP_POSOFFSETX ) ).Ge… in Reset()
1769 if( rAttrs.GetItemState( XATTR_FILLBMP_POSOFFSETY ) != SFX_ITEM_DONTCARE ) in Reset()
1771 …sal_Int32 nValue = ( ( const XFillBmpPosOffsetYItem& ) rAttrs.Get( XATTR_FILLBMP_POSOFFSETY ) ).Ge… in Reset()
1807 const SfxItemSet& rAttrs ) in Create() argument
1809 return( new SvxAreaTabPage( pWindow, rAttrs ) ); in Create()