Re: [api-dev] How to remove a shape from a Draw Page

2007-04-04 Thread David Coulette
if i remember well you have to get a reference to the Page and call its remove method. ThePage.remove(TheShape) be sure to test the presence of shape, or ooo will crash. ___ Yahoo!

Re: [api-dev] Where did the code snippets go?

2007-04-04 Thread Juergen Schmidt
Hi Andrew, Andrew Douglas Pitonyak wrote: I am writing a new chapter for the OOo Authors site (Macro documentation) and I am documenting places to find macros (amongst other things). I assume, therefore, that I can probably include this in the list. i think so, if there is a serious problem

Re: [api-dev] How to remove a shape from a Draw Page

2007-04-04 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Andrew, not having an answer to your question, but ... Assume a draw document with a single shape selected. I want to delete the single shape. The code shown below obtains a reference to the selected shape from the current controller (because it is selected). So, if I have a reference

[api-dev] XViewFreezable

2007-04-04 Thread Michael Jeier
Hi, I have a problem with the controlling the Freezable. Consider the followin code: ReferenceXModel xModel (xComponent, UNO_QUERY); ReferenceXController xController = xModel-getCurrentController(); ReferenceXViewFreezable xView (xControllerT, UNO_QUERY); Is it possible to find out in which

Re: [api-dev] XViewFreezable

2007-04-04 Thread Niklas Nebel
Michael Jeier wrote: Is it possible to find out in which row and column the freeze is set? The method hasFrozenPanes() says only, whether there is a freeze or not, but I would like to know where the freeze is. Thanks in advance! Use getSplitColumn/getSplitRow from XViewSplitable. They will

Re: [api-dev] ODF toolkit

2007-04-04 Thread Bernd Eilers
Gerard Curiel wrote: Hi, Can somebody tell me when will the ODF Toolkit come out? Some things are already available via anonymous CVS cvs -d:pserver:[EMAIL PROTECTED]:/cvs co odftoolkit Note that the odftoolkit project has it´s own mailinglist at [EMAIL PROTECTED] Kind regards, Bernd

Re: [api-dev] XViewFreezable

2007-04-04 Thread Michael Jeier
Thx On 4/4/07, Niklas Nebel [EMAIL PROTECTED] wrote: Use getSplitColumn/getSplitRow from XViewSplitable. They will return the position, even if getIsWindowSplit returns false. Niklas - To unsubscribe, e-mail: [EMAIL

Re: [api-dev] Where did the code snippets go?

2007-04-04 Thread Rony G. Flatscher
Andrew Douglas Pitonyak wrote: I am writing a new chapter for the OOo Authors site (Macro documentation) and I am documenting places to find macros (amongst other things). I assume, therefore, that I can probably include this in the list. i think so, if there is a serious problem or Tom

RE: [api-dev] ODF toolkit

2007-04-04 Thread Gerard Curiel
Thanks, -Original Message- From: Bernd Eilers [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 04, 2007 7:01 AM To: dev@api.openoffice.org Subject: Re: [api-dev] ODF toolkit Gerard Curiel wrote: Hi, Can somebody tell me when will the ODF Toolkit come out? Some things are

Re: [api-dev] Where did the code snippets go?

2007-04-04 Thread Rony G. Flatscher
Andrew Douglas Pitonyak wrote: I am writing a new chapter for the OOo Authors site (Macro documentation) and I am documenting places to find macros (amongst other things). One resource in this context is http://wi.wu-wien.ac.at/rgf/diplomarbeiten. It contains the work of students who is

Re: [api-dev] How to remove a shape from a Draw Page

2007-04-04 Thread Andrew Douglas Pitonyak
Frank Schönheit - Sun Microsystems Germany wrote: Hi Andrew, not having an answer to your question, but ... Assume a draw document with a single shape selected. I want to delete the single shape. The code shown below obtains a reference to the selected shape from the current controller

Re: [api-dev] How to remove a shape from a Draw Page

2007-04-04 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Andrew, No Problem. I will enter an issue for both. http://www.openoffice.org/issues/show_bug.cgi?id=76084 Thanks. I will also assume that this is how I should remove a graphic. I'd say yes ... Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun

[api-dev] A link to explain extensions to my Mother please

2007-04-04 Thread Andrew Douglas Pitonyak
I am writing a section for OOo documentation for publication that describes OOo Extensions (as in, what are they, how to import, and how to activate). The target audience is interested in creating macros using the macro recorder; and I have a lot of text regarding that complete with pictures.