Re: Handlers in Drawing
Thanks regina, I have been reading this code. It is very interesting, now just beginning to find that piece of code, I can see the points that allow you to manipulate the shapes. And Hello Armin, how I can see the changes you've done? I have to download it from Subversion? Regards, Alan 2013/4/16 Armin Le Grand armin.le.gr...@me.com Hi Alan, Regina already points to the correct places; the interactions are quite 'hand-made' in the code and it's old stuff. I changed modt of it to work on an overlay mechanism to allow previews during interactions, and added/refined some stuff. Be also informed that I'm about to change all that stuff (together with other stuff) to double precision handling (currently on integer, 1/100th mm resp. twips in SW). So be informed that that code is already sublect to heavy changes (see http://svn.apache.org/repos/**asf/openoffice/branches/alg/**aw080http://svn.apache.org/repos/asf/openoffice/branches/alg/aw080), so I would not recomment to touch it until that part is done. Investigation and experimenting is of course welcome, so welcome to the Drawinglayer ;-) Sincerely, Armin On 13.04.2013 13:15, Regina Henschel wrote: Hello Alan, Alan Eduardo Puc Pech schrieb: Hello Regina, I would like to know which file in the source code of AOO, manipulate shapes in Draw. Because I want to learn the operation of that file. For example when I create a circle. the points to which I can manipulate and change its size. That is clear now. You will find this in a Sdr?View. Look at the hierarchy of that classed in http://opengrok.adfinis-**sygroup.org/source/xref/aoo-** trunk/main/svx/inc/svx/**svdview.hxxhttp://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/inc/svx/svdview.hxx I'm no professional developer and have not worked in that part of the code. Perhaps someone else can give a better answer and correct me where I'm wrong. But I guess you will find some relevant things about getting the handle in SdrMarkView http://opengrok.adfinis-**sygroup.org/source/xref/aoo-** trunk/main/svx/source/svdraw/**svdmrkv.cxxhttp://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/source/svdraw/svdmrkv.cxxand for the actions itself in SdrEditView http://opengrok.adfinis-**sygroup.org/source/xref/aoo-** trunk/main/svx/inc/svx/**svdedtv.hxxhttp://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/inc/svx/svdedtv.hxx The changes on the object itself are in http://opengrok.adfinis-** sygroup.org/source/xref/aoo-**trunk/main/svx/source/svdraw/http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/source/svdraw/ Kind regards Regina --**--**- To unsubscribe, e-mail: dev-unsubscribe@openoffice.**apache.orgdev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org -- ALG --**--**- To unsubscribe, e-mail: dev-unsubscribe@openoffice.**apache.orgdev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Handlers in Drawing
Hi Alan, Regina already points to the correct places; the interactions are quite 'hand-made' in the code and it's old stuff. I changed modt of it to work on an overlay mechanism to allow previews during interactions, and added/refined some stuff. Be also informed that I'm about to change all that stuff (together with other stuff) to double precision handling (currently on integer, 1/100th mm resp. twips in SW). So be informed that that code is already sublect to heavy changes (see http://svn.apache.org/repos/asf/openoffice/branches/alg/aw080), so I would not recomment to touch it until that part is done. Investigation and experimenting is of course welcome, so welcome to the Drawinglayer ;-) Sincerely, Armin On 13.04.2013 13:15, Regina Henschel wrote: Hello Alan, Alan Eduardo Puc Pech schrieb: Hello Regina, I would like to know which file in the source code of AOO, manipulate shapes in Draw. Because I want to learn the operation of that file. For example when I create a circle. the points to which I can manipulate and change its size. That is clear now. You will find this in a Sdr?View. Look at the hierarchy of that classed in http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/inc/svx/svdview.hxx I'm no professional developer and have not worked in that part of the code. Perhaps someone else can give a better answer and correct me where I'm wrong. But I guess you will find some relevant things about getting the handle in SdrMarkView http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/source/svdraw/svdmrkv.cxx and for the actions itself in SdrEditView http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/inc/svx/svdedtv.hxx The changes on the object itself are in http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/source/svdraw/ Kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org -- ALG - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Handlers in Drawing
Hello Alan, Alan Eduardo Puc Pech schrieb: Hello Regina, I would like to know which file in the source code of AOO, manipulate shapes in Draw. Because I want to learn the operation of that file. For example when I create a circle. the points to which I can manipulate and change its size. That is clear now. You will find this in a Sdr?View. Look at the hierarchy of that classed in http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/inc/svx/svdview.hxx I'm no professional developer and have not worked in that part of the code. Perhaps someone else can give a better answer and correct me where I'm wrong. But I guess you will find some relevant things about getting the handle in SdrMarkView http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/source/svdraw/svdmrkv.cxx and for the actions itself in SdrEditView http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/inc/svx/svdedtv.hxx The changes on the object itself are in http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/svx/source/svdraw/ Kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Handlers in Drawing
Hello Regina, I would like to know which file in the source code of AOO, manipulate shapes in Draw. Because I want to learn the operation of that file. For example when I create a circle. the points to which I can manipulate and change its size. Regards. 2013/4/12 Regina Henschel rb.hensc...@t-online.de Hi Alan, I'm not sure, whether I understand you right. Do you mean something like http://opengrok.adfinis-**sygroup.org/source/xref/aoo-** trunk/main/sd/source/ui/func/**fuconarc.cxxhttp://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/source/ui/func/fuconarc.cxx ? Kind regards Regina Alan Eduardo Puc Pech schrieb: Hello I'm Alan, I need your help. I want to learn the operation of the vectors with Drawing (module SD) for example what file allows manipulate the shapes. Now I have searched the following file: http://opengrok.adfinis-**sygroup.org/source/xref/aoo-** trunk/main/sd/source/ui/view/**drvwshrg.cxxhttp://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/source/ui/view/drvwshrg.cxx from what I've observed is based on handlers, therefore, also like to know how it is structured the sd module. Regards. --**--**- To unsubscribe, e-mail: dev-unsubscribe@openoffice.**apache.orgdev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Handlers in Drawing
Hello I'm Alan, I need your help. I want to learn the operation of the vectors with Drawing (module SD) for example what file allows manipulate the shapes. Now I have searched the following file: http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/source/ui/view/drvwshrg.cxx from what I've observed is based on handlers, therefore, also like to know how it is structured the sd module. Regards.
Handlers in Drawing
Hello I'm Alan, I need your help. I want to learn the operation of the vectors with Drawing (module SD) for example what file allows manipulate the shapes. Now I have searched the following file: http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/source/ui/view/drvwshrg.cxx from what I've observed is based on handlers, therefore, also like to know how it is structured the sd module. Regards.