Lines Matching refs:rAttr
718 void SdrEditView::SetNotPersistAttrToMarked(const SfxItemSet& rAttr, sal_Bool /*bReplaceAll*/) in SetNotPersistAttrToMarked() argument
723 if (rAttr.GetItemState(SDRATTR_TRANSFORMREF1X,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
727 if (rAttr.GetItemState(SDRATTR_TRANSFORMREF1Y,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
731 if (rAttr.GetItemState(SDRATTR_TRANSFORMREF2X,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
735 if (rAttr.GetItemState(SDRATTR_TRANSFORMREF2Y,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
744 if (rAttr.GetItemState(SDRATTR_ALLPOSITIONX,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
748 if (rAttr.GetItemState(SDRATTR_ALLPOSITIONY,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
752 if (rAttr.GetItemState(SDRATTR_ALLSIZEWIDTH,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
756 if (rAttr.GetItemState(SDRATTR_ALLSIZEHEIGHT,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
768 if (rAttr.GetItemState(SDRATTR_RESIZEXALL,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
772 if (rAttr.GetItemState(SDRATTR_RESIZEYALL,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
776 if (rAttr.GetItemState(SDRATTR_ROTATEALL,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
780 if (rAttr.GetItemState(SDRATTR_HORZSHEARALL,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
784 if (rAttr.GetItemState(SDRATTR_VERTSHEARALL,sal_True,&pPoolItem)==SFX_ITEM_SET) { in SetNotPersistAttrToMarked()
801 pObj->ApplyNotPersistAttr(rAttr); in SetNotPersistAttrToMarked()
805 void SdrEditView::MergeNotPersistAttrFromMarked(SfxItemSet& rAttr, sal_Bool /*bOnlyHardAttr*/) const in MergeNotPersistAttrFromMarked() argument
886 if (bSnapPosXDC || nAllSnapPosX!=nSnapPosX) rAttr.Put(SdrAllPositionXItem(nAllSnapPosX)); in MergeNotPersistAttrFromMarked()
887 if (bSnapPosYDC || nAllSnapPosY!=nSnapPosY) rAttr.Put(SdrAllPositionYItem(nAllSnapPosY)); in MergeNotPersistAttrFromMarked()
888 if (bSnapWdtDC || nAllSnapWdt !=nSnapWdt ) rAttr.Put(SdrAllSizeWidthItem(nAllSnapWdt)); in MergeNotPersistAttrFromMarked()
889 if (bSnapHgtDC || nAllSnapHgt !=nSnapHgt ) rAttr.Put(SdrAllSizeHeightItem(nAllSnapHgt)); in MergeNotPersistAttrFromMarked()
892 rAttr.Put(SdrMoveXItem()); in MergeNotPersistAttrFromMarked()
893 rAttr.Put(SdrMoveYItem()); in MergeNotPersistAttrFromMarked()
894 rAttr.Put(SdrResizeXOneItem()); in MergeNotPersistAttrFromMarked()
895 rAttr.Put(SdrResizeYOneItem()); in MergeNotPersistAttrFromMarked()
896 rAttr.Put(SdrRotateOneItem()); in MergeNotPersistAttrFromMarked()
897 rAttr.Put(SdrHorzShearOneItem()); in MergeNotPersistAttrFromMarked()
898 rAttr.Put(SdrVertShearOneItem()); in MergeNotPersistAttrFromMarked()
901 rAttr.Put(SdrResizeXAllItem()); in MergeNotPersistAttrFromMarked()
902 rAttr.Put(SdrResizeYAllItem()); in MergeNotPersistAttrFromMarked()
903 rAttr.Put(SdrRotateAllItem()); in MergeNotPersistAttrFromMarked()
904 rAttr.Put(SdrHorzShearAllItem()); in MergeNotPersistAttrFromMarked()
905 rAttr.Put(SdrVertShearAllItem()); in MergeNotPersistAttrFromMarked()
910 rAttr.Put(SdrTransformRef1XItem(GetRef1().X())); in MergeNotPersistAttrFromMarked()
911 rAttr.Put(SdrTransformRef1YItem(GetRef1().Y())); in MergeNotPersistAttrFromMarked()
916 rAttr.Put(SdrTransformRef2XItem(GetRef2().X())); in MergeNotPersistAttrFromMarked()
917 rAttr.Put(SdrTransformRef2YItem(GetRef2().Y())); in MergeNotPersistAttrFromMarked()
936 void SdrEditView::MergeAttrFromMarked(SfxItemSet& rAttr, sal_Bool bOnlyHardAttr) const in MergeAttrFromMarked() argument
953 rAttr.InvalidateItem(nWhich); in MergeAttrFromMarked()
955 rAttr.MergeValue(rSet.Get(nWhich), sal_True); in MergeAttrFromMarked()
960 rAttr.MergeValue(rItem, sal_True); in MergeAttrFromMarked()
968 void SdrEditView::SetAttrToMarked(const SfxItemSet& rAttr, sal_Bool bReplaceAll) in SetAttrToMarked() argument
975 SfxItemIter aIter(rAttr); in SetAttrToMarked()
999 SfxItemIter aIter(rAttr); in SetAttrToMarked()
1014 sal_Bool bHasEEItems=SearchOutlinerItems(rAttr,bReplaceAll); in SetAttrToMarked()
1019 SfxWhichIter aIter(rAttr); in SetAttrToMarked()
1023 SfxItemState eState = rAttr.GetItemState(nWhich); in SetAttrToMarked()
1053 SfxItemSet aAttr(*rAttr.GetPool(), rAttr.GetRanges()); in SetAttrToMarked()
1054 aAttr.Put(rAttr, sal_True); in SetAttrToMarked()
1192 SetNotPersistAttrToMarked(rAttr,bReplaceAll); in SetAttrToMarked()
1470 void SdrEditView::SetGeoAttrToMarked(const SfxItemSet& rAttr) in SetGeoAttrToMarked() argument
1530 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_POS_X,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1534 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_POS_Y,sal_True,&pPoolItem)){ in SetGeoAttrToMarked()
1539 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_WIDTH,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1544 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_HEIGHT,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1550 …eSizePoint=(RECT_POINT)((const SfxAllEnumItem&)rAttr.Get(SID_ATTR_TRANSFORM_SIZE_POINT)).GetValue(… in SetGeoAttrToMarked()
1554 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_ANGLE,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1560 if(bRotate || SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_ROT_X, sal_True ,&pPoolItem)) in SetGeoAttrToMarked()
1561 nRotateX = ((const SfxInt32Item&)rAttr.Get(SID_ATTR_TRANSFORM_ROT_X)).GetValue(); in SetGeoAttrToMarked()
1564 if(bRotate || SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_ROT_Y, sal_True ,&pPoolItem)) in SetGeoAttrToMarked()
1565 nRotateY = ((const SfxInt32Item&)rAttr.Get(SID_ATTR_TRANSFORM_ROT_Y)).GetValue(); in SetGeoAttrToMarked()
1568 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_SHEAR,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1573 bShearVert=((const SfxBoolItem&)rAttr.Get(SID_ATTR_TRANSFORM_SHEAR_VERTICAL)).GetValue(); in SetGeoAttrToMarked()
1590 nShearX=((const SfxInt32Item&)rAttr.Get(SID_ATTR_TRANSFORM_SHEAR_X)).GetValue(); in SetGeoAttrToMarked()
1591 nShearY=((const SfxInt32Item&)rAttr.Get(SID_ATTR_TRANSFORM_SHEAR_Y)).GetValue(); in SetGeoAttrToMarked()
1597 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_AUTOWIDTH,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1603 if (SFX_ITEM_SET==rAttr.GetItemState(SID_ATTR_TRANSFORM_AUTOHEIGHT,sal_True,&pPoolItem)) { in SetGeoAttrToMarked()
1610 …if (bEdgeRadiusAllowed && SFX_ITEM_SET==rAttr.GetItemState(SDRATTR_ECKENRADIUS,sal_True,&pPoolItem… in SetGeoAttrToMarked()
1702 if(SFX_ITEM_SET == rAttr.GetItemState(SID_ATTR_TRANSFORM_PROTECT_POS, sal_True, &pPoolItem)) in SetGeoAttrToMarked()
1743 if(SFX_ITEM_SET == rAttr.GetItemState(SID_ATTR_TRANSFORM_PROTECT_SIZE, sal_True, &pPoolItem)) in SetGeoAttrToMarked()