[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 ?xml version=1.0? !-- $RCSfile: $ last change: $Revision: $ $Author: $ $Date: $ (c)2003 by the copyright holders listed with the author-tags. If no explicit

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

[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 ?xml version=1.0? !-- $RCSfile: $ last change: $Revision: $ $Author: $ $Date: $ (c)2003 by the copyright holders listed with the author-tags. If no explicit copyright holder is mentioned with a certain author, the author

[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] 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

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)

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 tried