[api-dev] Re: [Fwd: [udk-dev] Sorting reference marks by position in Writer document]

2009-03-02 Thread Peter Eberlein
Hi Morten, Morten Omholt Alver schrieb: 2009/2/26 Peter Eberlein pet@refofd.verwalt-berlin.de: I got a similar problem some time ago and solved it as follows (in Java): The XTextViewCursor jumps to all relevant XTextRanges. The found positions(X,Y) and the page number can you store in a

[api-dev] java windows

2009-03-02 Thread allirpa
help. i'm currently working on an addon for open office writer. and i use java and netbeans' plugin for openoffice. i already have a menu and toolbar for the addon. my next step would be to make a dialog or anything like a window that would contain the functions for my addon. the point is

Re: [api-dev] java windows

2009-03-02 Thread Christian Lins
You can create dialogs or windows either using Java SWING/AWT (easy) or use the OOo Dialog Editor (tricky). Please note that you cannot change the LookAndFeel of SWING GUIs afaik. On 03/02/09 13:10, allirpa wrote: help. i'm currently working on an addon for open office writer. and i use java

[api-dev] About user defined properties...

2009-03-02 Thread giancarlo
How can I get the user defined properties from an ooo file using the java ooo sdk?? I've been trying and trying with no success :( - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands,

[api-dev] Re: [Fwd: [udk-dev] Sorting reference marks by position in Writer document]

2009-03-02 Thread Morten Omholt Alver
2009/3/2 Peter Eberlein pet@refofd.verwalt-berlin.de: Hi Morten, Morten Omholt Alver schrieb: 2009/2/26 Peter Eberlein pet@refofd.verwalt-berlin.de: I got a similar problem some time ago and solved it as follows (in Java): The XTextViewCursor jumps to all relevant XTextRanges. The

Re: [api-dev] About user defined properties...

2009-03-02 Thread Fernand Vanrie
giancarlo do not match in Java but in basic: thiscomponent.documentinfo.propertyvalues(0).name or thiscomponent.documentinfo.getpropertyvalue( the name) a user defined property is a property of the documentinfo and can been accesed by index or by name hop it helps Fernand gives yo

[api-dev] java applet in com.sun.star

2009-03-02 Thread allirpa
is it possible to deploy an applet in an open office addon window? get me? please help. :) tnx. -- View this message in context: http://www.nabble.com/java-applet-in-com.sun.star-tp22293184p22293184.html Sent from the openoffice - api dev mailing list archive at Nabble.com.

Re: [api-dev] About user defined properties...

2009-03-02 Thread giancarlo
ye! solved with this: XMultiComponentFactory xmcf = m_xContext.getServiceManager(); Object desktop = xmcf.createInstanceWithContext(com.sun.star.frame.Desktop, m_xContext); XDesktop xDesktop = (XDesktop) UnoRuntime.queryInterface(XDesktop.class, desktop);

[api-dev] help! applet to image conversion

2009-03-02 Thread allirpa
is there even a way on how to convert an applet to be able to insert it to an open office document? here's the scenario: I have an addon button in open office writer that opens an applet when clicked. when I close the button, the graphics rendered in the applet must be transferred to the

Re: [api-dev] help! applet to image conversion

2009-03-02 Thread Ariel Constenla-Haile
Hello allirpa, On Monday 02 March 2009, 23:06, allirpa wrote: is there even a way on how to convert an applet to be able to insert it to an open office document? here's the scenario: I have an addon button in open office writer that opens an applet when clicked. when I close the button, the