Lines Matching refs:pPoolItem
722 const SfxPoolItem *pPoolItem=NULL; in SetNotPersistAttrToMarked() local
723 if (rAttr.GetItemState(SDRATTR_TRANSFORMREF1X,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
724 long n=((const SdrTransformRef1XItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
727 if (rAttr.GetItemState(SDRATTR_TRANSFORMREF1Y,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
728 long n=((const SdrTransformRef1YItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
731 if (rAttr.GetItemState(SDRATTR_TRANSFORMREF2X,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
732 long n=((const SdrTransformRef2XItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
735 if (rAttr.GetItemState(SDRATTR_TRANSFORMREF2Y,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
736 long n=((const SdrTransformRef2YItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
744 if (rAttr.GetItemState(SDRATTR_ALLPOSITIONX,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
745 nAllPosX=((const SdrAllPositionXItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
748 if (rAttr.GetItemState(SDRATTR_ALLPOSITIONY,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
749 nAllPosY=((const SdrAllPositionYItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
752 if (rAttr.GetItemState(SDRATTR_ALLSIZEWIDTH,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
753 nAllWdt=((const SdrAllSizeWidthItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
756 if (rAttr.GetItemState(SDRATTR_ALLSIZEHEIGHT,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
757 nAllHgt=((const SdrAllSizeHeightItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
768 if (rAttr.GetItemState(SDRATTR_RESIZEXALL,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
769 Fraction aXFact=((const SdrResizeXAllItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
772 if (rAttr.GetItemState(SDRATTR_RESIZEYALL,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
773 Fraction aYFact=((const SdrResizeYAllItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
776 if (rAttr.GetItemState(SDRATTR_ROTATEALL,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
777 long nAngle=((const SdrRotateAllItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
780 if (rAttr.GetItemState(SDRATTR_HORZSHEARALL,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
781 long nAngle=((const SdrHorzShearAllItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
784 if (rAttr.GetItemState(SDRATTR_VERTSHEARALL,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
785 long nAngle=((const SdrVertShearAllItem*)pPoolItem)->GetValue(); in SetNotPersistAttrToMarked()
1527 const SfxPoolItem* pPoolItem=NULL; in SetGeoAttrToMarked() local
1530 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_POS_X,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1531 nPosDX=((const SfxInt32Item*)pPoolItem)->GetValue()-aRect.Left(); in SetGeoAttrToMarked()
1534 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_POS_Y,sal_True,&pPoolItem)){ in SetGeoAttrToMarked()
1535 nPosDY=((const SfxInt32Item*)pPoolItem)->GetValue()-aRect.Top(); in SetGeoAttrToMarked()
1539 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_WIDTH,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1540 nSizX=((const SfxUInt32Item*)pPoolItem)->GetValue(); in SetGeoAttrToMarked()
1544 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_HEIGHT,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1545 nSizY=((const SfxUInt32Item*)pPoolItem)->GetValue(); in SetGeoAttrToMarked()
1554 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_ANGLE,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1555 nRotateAngle=((const SfxInt32Item*)pPoolItem)->GetValue()-nOldRotateAngle; in SetGeoAttrToMarked()
1560 if(bRotate || SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_ROT_X, sal_True ,&pPoolItem)) in SetGeoAttrToMarked()
1564 if(bRotate || SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_ROT_Y, sal_True ,&pPoolItem)) in SetGeoAttrToMarked()
1568 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_SHEAR,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1569 nNewShearAngle=((const SfxInt32Item*)pPoolItem)->GetValue(); in SetGeoAttrToMarked()
1597 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_AUTOWIDTH,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1598 sal_Bool bAutoGrow=((const SfxBoolItem*)pPoolItem)->GetValue(); in SetGeoAttrToMarked()
1603 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_AUTOHEIGHT,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1604 sal_Bool bAutoGrow=((const SfxBoolItem*)pPoolItem)->GetValue(); in SetGeoAttrToMarked()
1610 …if (bEdgeRadiusAllowed && SFX_ITEM_SET==rAttr.GetItemState(SDRATTR_ECKENRADIUS,sal_True,&pPoolItem… in SetGeoAttrToMarked()
1611 long nRadius=((SdrEckenradiusItem*)pPoolItem)->GetValue(); in SetGeoAttrToMarked()
1702 if(SFX_ITEM_SET == rAttr.GetItemState(SID_ATTR_TRANSFORM_PROTECT_POS, sal_True, &pPoolItem)) in SetGeoAttrToMarked()
1704 const sal_Bool bProtPos(((const SfxBoolItem*)pPoolItem)->GetValue()); in SetGeoAttrToMarked()
1743 if(SFX_ITEM_SET == rAttr.GetItemState(SID_ATTR_TRANSFORM_PROTECT_SIZE, sal_True, &pPoolItem)) in SetGeoAttrToMarked()
1745 const sal_Bool bProtSize(((const SfxBoolItem*)pPoolItem)->GetValue()); in SetGeoAttrToMarked()