Re: [api-dev] Undo API

2008-01-08 Thread Frank Schönheit - Sun Microsystems Germany
Hello Daniel, (preface: Parts of this mail were written before Mathias gave his in-depth answer, so please apologize any duplicates you find ...) Is there some work going on currently on an undo API for extensions? Since I did not find any trace of it, I think I will try to create this API

Re: [api-dev] Option AutoHScroll in css.awt.UnoControlEditModel crashed dialog

2008-01-08 Thread Tobias Krais
Hi Frank, When setting the AutoHScroll or AutoVScroll value, my dialog crashes without an exception. I am using Java, OO 2.3 on Ubuntu Linux AMD64. Is this a defect or am I doing something wrong? A behaviour when doing something, OOo crashes is always a defect, by definition. Please visit

[api-dev] Re: [Spam] Re: [api-dev] How to unselect a current sleection

2008-01-08 Thread Fernand Vanrie
Bernard Marcelly wrote: Message de Fernand Vanrie date 2008-01-07 12:26 : Hei, I need the current selection made by the UI but after I worked on the object I wont to UNselect the slection made by the UI so in basic: object = thiscomponent.getcurrentselection i do somthing with the object

Re: [api-dev] Re: [Spam] Re: [api-dev] How to unselect a current sleection

2008-01-08 Thread Marc Santhoff
Am Dienstag, den 08.01.2008, 13:44 +0100 schrieb Fernand Vanrie: its in a writer doc where a picture is selected and i want to protect this picture from user alternation by placing a simple macro on it who says do not move and exits . But after exiting the sub the picture is still

[api-dev] How to now when a structure is empty ?

2008-01-08 Thread Fernand Vanrie
For retrieving the demensions of an TextTablecell i uses : CurRow.TableColumnSeparators() who gives me a structure widt isVisible and Position of all the columns off the row. when the cells are merged then there is no longer a Separator position. Xraying the structure says its empty but

Re: [api-dev] Eclipse plugin site 403 error

2008-01-08 Thread peegee
Hi, @Tobias - I dont think it is due to my local proxy. I tried on a non-proxy network [to the best of my knowledge :)]and got the same error. To verify that, I even typed in the url into my firefox, and I see the 403 page from free.fr, not my local proxy. So I think that I am being blocked by

Re: [api-dev] Re: [Spam] Re: [api-dev] How to unselect a current sleection

2008-01-08 Thread Fernand Vanrie
Marc Santhoff wrote: Am Dienstag, den 08.01.2008, 13:44 +0100 schrieb Fernand Vanrie: its in a writer doc where a picture is selected and i want to protect this picture from user alternation by placing a simple macro on it who says do not move and exits . But after exiting the sub the

Re: [api-dev] Undo API

2008-01-08 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mathias, | Do you agree that this is a duplicate to issue 53097? yes, but mine is older ;-) added me to cc for 53097 ... |We started to design an API for this quite some time ago but never found |enough time to implement it. IMHO the

Re: [api-dev] Undo API

2008-01-08 Thread Darabos Dániel
Frank Schönheit wrote: b) hide an action from the undo mechanism This is dangerous, IMO: It would potentially leave the document in an inconsistent state. For instance, imagine a simple text document with a line of text. Let the user format a portion of this text as bold. Now, run a macro

Re: [api-dev] How to now when a structure is empty ?

2008-01-08 Thread Bernard Marcelly
Message de Fernand Vanrie date 2008-01-08 13:47 : For retrieving the demensions of an TextTablecell i uses : CurRow.TableColumnSeparators() who gives me a structure widt isVisible and Position of all the columns off the row. when the cells are merged then there is no longer a Separator

[api-dev] feature versions

2008-01-08 Thread Dietmar Hiller
I would like to suggest that the API includes a hint, since which OOo version it is available. It is well done in struct ControlCommand, but that is to my knowledge the only place. Take for instance interface XDialogProvider2 (here mentioned unpublished but here

Re: [api-dev] feature versions

2008-01-08 Thread Frank Schönheit - Sun Microsystems Germany
Hi Dietmar, I would like to suggest that the API includes a hint, since which OOo version it is available. It is well done in struct ControlCommand, but that is to my knowledge the only place. API documentation authors are required to add this information, and a lot more places than

[api-dev] OpenOffice.org 2.3 SDK

2008-01-08 Thread Per Eriksson
Hi, I just installed our SDK as rpms and wonder, Where does it get installed? Is there anywhere where I should have read this? I've not found this information anywhere. Thank you! Per - To unsubscribe, e-mail: [EMAIL

Re: [api-dev] OpenOffice.org 2.3 SDK

2008-01-08 Thread Claudio Alberto Andreoni
Hello, that might depend on your distro. I have Fedora, and files are installed under /opt/, executable in /usr/bin/. Hope that might be useful. Claudio A. On Tuesday 08 January 2008 23:27:13 Per Eriksson wrote: Hi, I just installed our SDK as rpms and wonder, Where does it get

Re: [api-dev] feature versions

2008-01-08 Thread Juergen Schmidt
Hi Dietmar, the API contains this info. You will find a lot of since tags in the generated reference documentation. In your example it is a not yet published API and that is the probably reason why this tag is missing here. Using an unpublished API is possible but you have to take care that

Re: [api-dev] OpenOffice.org 2.3 SDK

2008-01-08 Thread Juergen Schmidt
Hi Per, mmh, i think you are right, it is nowhere documented. I should fix this. Anyway you should find it under /opt/openoffice.org2.3_sdk or so Juergen Per Eriksson wrote: Hi, I just installed our SDK as rpms and wonder, Where does it get installed? Is there anywhere where I should

Re: [api-dev] feature versions

2008-01-08 Thread Frank Schönheit - Sun Microsystems Germany
Hi Juergen, And of course XDialogProvider2 is a perfect example where the unpublished flag is wrong if it is really in the office since 2.0.4 Given that XDialogProvider2 derives from XDialogProvider, and both are still unpublished, I suggest to merge them (i.e. moving the methods from

Re: [api-dev] Undo API

2008-01-08 Thread Frank Schönheit - Sun Microsystems Germany
Hello Dániel, A malicious extension could simply send all the contents of your hard drive to its evil author and format it afterwards :). Even my benign Python extensions have found several ways to crash OpenOffice.org (the simplest way being an infinite loop). I think it is mostly hopeless