Re: [api-dev] DocumentConfiguration

2006-03-27 Thread Andreas Schlüns
Tuomas Räsänen wrote: Hi again, My goal is to prevent user from using default styles in textdocs. Apparently those default styles cannot be "disabled", so I need to make everything manually. One thing I have to do is to remove accelerators modifying styles. (e.g. CTRL + 1 = Heading 1). I trie

Re: [api-dev] How to tell a component the current XComponent?

2006-03-27 Thread Andreas Schlüns
Tobias Krais wrote: Hi together, I created my first component and have now a big problem: -%<- private XComponent openDocument = null; [...] // Querying for the interface XPrintable on the loaded document XPrintable xPrintable = (XPrintable) UnoRuntime.queryInterface(XPrintable.c

Re: [api-dev] New component: instead of ".uno:SaveAs" ".uno:SaveTo"

2006-03-27 Thread Andreas Schlüns
Tobias Krais wrote: Hi again, I now had success with creating my first component. I can register it and use in in the menus. Thank you all! But now I want to write a second component: it should be the same as already exists: ".uno:SaveAs". But the functionality should be different: it should st

Re: [api-dev] Java: Managing keyboard shortcuts - where to start

2006-03-27 Thread Tobias Krais
Hi together, > I found the BASIC examlpe. I want to translate it to Java but have a > starting problem. Maybe you can help me. > > I cite you: > -%<- > REM * BASIC * > REM *** Example to set a keyboard shortcut with the new ui > REM *** configuration API > > Sub Main > R

[api-dev] Gnome window events from OpenOffrice

2006-03-27 Thread apollo7w
Hi, I'm not sure this is the correct list -- please let me know if it is not and forwardit to the correct one. I am using Gnome 12 (Ubuntu Breezy) to run an assistive technology system., The code is trying to catch events that indicate when a new window has come to the foreground. I have

[api-dev] Debugging Assistive Technology applicaitons working with OpenOffice

2006-03-27 Thread apollo7w
Hi I have been developing an assistive technology application in Java which runs under Windows and Linux and obtains information about various applications which it then relays to a blind or visually impaired user. I am interested in having this tool work with OpenOffice -- i.e., to relay in

[api-dev] DocumentConfiguration

2006-03-27 Thread Tuomas Räsänen
Hi again, My goal is to prevent user from using default styles in textdocs. Apparently those default styles cannot be "disabled", so I need to make everything manually. One thing I have to do is to remove accelerators modifying styles. (e.g. CTRL + 1 = Heading 1). I tried to remove that accele

[api-dev] How to tell a component the current XComponent?

2006-03-27 Thread Tobias Krais
Hi together, I created my first component and have now a big problem: -%<- private XComponent openDocument = null; [...] // Querying for the interface XPrintable on the loaded document XPrintable xPrintable = (XPrintable) UnoRuntime.queryInterface(XPrintable.class, openDocument); -

[api-dev] New component: instead of ".uno:SaveAs" ".uno:SaveTo"

2006-03-27 Thread Tobias Krais
Hi again, I now had success with creating my first component. I can register it and use in in the menus. Thank you all! But now I want to write a second component: it should be the same as already exists: ".uno:SaveAs". But the functionality should be different: it should store the object's persi

Re: [api-dev] [code snippet] Convert Documents

2006-03-27 Thread Tobias Krais
Hi Tom, > http://codesnippets.services.openoffice.org/Office/Office.ConvertDocuments.snip > > Maybe you can rethink and brake the snippet into small logical parts and > link them together like i described it in my reply to "Java Snippet > Suggestion: how to convert documents - please review" now

Re: [api-dev] [code snippet] How to open file from URL

2006-03-27 Thread Tom Schindl
Integrated at: http://codesnippets.services.openoffice.org/Office/Office.OpenDocumentFromURL.snip Tom signature.asc Description: OpenPGP digital signature

[api-dev] [code snippet] How to open file from URL

2006-03-27 Thread Tobias Krais
Hi Tom, next snippet of the breakdown comes here. Greetings, Tobias open document Tobias Krais How to open a document from URL /** * A specified document is loaded. * * @param source_File * @return */ public void openDocument(String source_File)

Re: [api-dev] [code snippet] Creating UNO URL

2006-03-27 Thread Tom Schindl
Thanks found here: http://codesnippets.services.openoffice.org/Office/Office.CreateUNOCompatibleURL.snip Tom signature.asc Description: OpenPGP digital signature

Re: [api-dev] [code snippet] Managing keyboard shortcuts

2006-03-27 Thread Tom Schindl
Thanks you can find it here: http://codesnippets.services.openoffice.org/Office/Office.ManagingKeyboardShortcuts.snip Tom signature.asc Description: OpenPGP digital signature

Re: [api-dev] [code snippet] Connect to Listening OpenOffice

2006-03-27 Thread Tom Schindl
Thanks it can be found here: http://codesnippets.services.openoffice.org/Office/Office.ConnectToListeningOpenOffice.snip Tom signature.asc Description: OpenPGP digital signature

Re: [api-dev] [code snippet] Bootstrap OpenOffice

2006-03-27 Thread Tom Schindl
Thanks integrated here: http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOffice.snip Tom signature.asc Description: OpenPGP digital signature

[api-dev] [code snippet] Creating UNO URL

2006-03-27 Thread Tobias Krais
Hi Tom, now I split the rest of my Snippets in subsnippets and I will link them. Some other snippets are coming soon. Greetings, Tobias URL UNO File file:/// Tobias Krais How to create a URL that is usable by UNO from a normal file location Normal file locations are e.g.: for Lin

Re: [api-dev] [code snippet] Bootstrap OpenOffice

2006-03-27 Thread Tobias Krais
Hi Jürgen, > i forgot to mention that it probably works only with an official build > of OO (and a default installation). Debian use as far as i know an own > start up script which probably causes the problem. I found out how to get it to work on Debian and other OS. >>> jar content: >>> com/sun