Re: Set RES_GRFATR_CROPGRF atrtibute from SwVirtFlyDrawObj

2013-05-02 Thread Tommy
On Wed, 01 May 2013 13:52:32 +0200, Philippe Jung wrote: I confirm I am implementing visual crop in writer with drag and drop. This already exists in impress. Today I have crop handles. I have updated svx so that I can get endsdrdrag in writer without breaking crop in impress. I can resize

Re: Set RES_GRFATR_CROPGRF atrtibute from SwVirtFlyDrawObj

2013-05-01 Thread Philippe Jung
I confirm I am implementing visual crop in writer with drag and drop. This already exists in impress. Today I have crop handles. I have updated svx so that I can get endsdrdrag in writer without breaking crop in impress. I can resize the picture but I have difficulties in setting crop values. Wi

Re: Set RES_GRFATR_CROPGRF atrtibute from SwVirtFlyDrawObj

2013-05-01 Thread Philippe Jung
I confirm I am implementing visual crop in writer with drag and drop. This already exists in impress. Today I have crop handles. I have updated svx so that I can get endsdrdrag in writer without breaking crop in impress. I can resize the picture but I have difficulties in setting crop values. Wi

Re: Set RES_GRFATR_CROPGRF atrtibute from SwVirtFlyDrawObj

2013-05-01 Thread Tommy
On Wed, 01 May 2013 12:13:55 +0200, Regina Henschel wrote: Hi Philippe, Philippe Jung schrieb: Hi, I am working on implementing the Crop Image feature in Writer. Which one? In Impress/Draw we have .uno:Crop (That is used for cropping with the mouse) and .uno:GrafAttrCrop (That opens th

Re: Set RES_GRFATR_CROPGRF atrtibute from SwVirtFlyDrawObj

2013-05-01 Thread Regina Henschel
Hi Philippe, Philippe Jung schrieb: Hi, I am working on implementing the Crop Image feature in Writer. Which one? In Impress/Draw we have .uno:Crop (That is used for cropping with the mouse) and .uno:GrafAttrCrop (That opens the crop dialog)? Cropping ends in svx/source/svdraw/svddrgmt.c

Set RES_GRFATR_CROPGRF atrtibute from SwVirtFlyDrawObj

2013-05-01 Thread Philippe Jung
Hi, I am working on implementing the Crop Image feature in Writer. Cropping ends in svx/source/svdraw/svddrgmt.cxx SdrDragCrop::EndSdrDrag. When cropping from Impress, marked object is SdrGrafObj. I rewrote part of the code so that Cropping is now part of SdrGrafObj (Similar to NbcMove, NbcRe