RE: [api-dev] OOoBean correct termination

2006-03-09 Thread KINDLER Jurgen
Hello Jürgen, -Original Message- From: Jürgen Schmidt [mailto:[EMAIL PROTECTED] ... The function or better the behaviour of the bean isn't exactly specified for all use cases and that is one major problem. There is too much space for things that work per chance, people count on it and

Re: [api-dev] [EMAIL PROTECTED] TOPIC: Contributing

2006-03-09 Thread Jürgen Schmidt
Laurent Godard wrote: Hi Juergen, Hi andreas *** = *** Translating Examples to C++ (NEW!) *** - A nice contribution would be to translate the Java examples from the

Re: [api-dev] OOoBean correct termination

2006-03-09 Thread Jürgen Schmidt
KINDLER Jurgen wrote: Hello Jürgen, -Original Message- From: Jürgen Schmidt [mailto:[EMAIL PROTECTED] ... The function or better the behaviour of the bean isn't exactly specified for all use cases and that is one major problem. There is too much space for things that work per

Re: [api-dev] Java: adding functionality to newly created menu item

2006-03-09 Thread Tobias Krais
Hi Andreas, 1. adding a menu and toolbar item with the commandURL vnd.twc.oo.oocom:SaveACopy (I did this already and the menu item is grey - it is not known up to now). The menu item is gray, because there is no code bound to this command. You have to register a ProtocolHandler or establish

[api-dev] Logo/images serached for SDK and URE

2006-03-09 Thread Jürgen Schmidt
Hi, when i take a look on our download page i have the impression that it needs some redesign and new fresh appearance. First thing i would like to start is to collect ideas for new logos or images for the SDK and URE. This new logos/images should be later used as eye catcher on an initial

Re: [api-dev] Code Snippet page

2006-03-09 Thread Kent Gibson
dumb me, ok now I see it under tools. hmm doesn't work though. I will try to install it again. --- Kent Gibson [EMAIL PROTECTED] wrote: thanks for the support. The Install file is suggesting to use pkgchk which warns that it is deprecated. It suggested to use another program and never

Re: [api-dev] Disable Commands transient

2006-03-09 Thread Carsten Driesner
Tobias Krais wrote: Hi Carsten thanks for the hint. Since some days I read and try these chapters. If I understand right, to make such changes transient I have to disble the menu items, toolbar icons and shortcut keys transient concerning this special commandurl. And I have to hope that a user

Re: [api-dev] Getting the Actual Size of a TextFrame

2006-03-09 Thread Kent Gibson
Thanks. I tried that. And I always get 41?! Unless of course I need to refresh the frame somehow. Here is what I am doing: Object writerShape = documentFactory.createInstance( com.sun.star.text.TextFrame ); XTextContent xTextContentShape = ( XTextContent ) UnoRuntime.queryInterface(

[api-dev] How to ask a frame if any part of it is outside of the margin or of the printable area

2006-03-09 Thread Kent Gibson
Is there any way I can ask a frame if any part of it is in the non - printable area? If any one has any ideas I would be very appreciative and I will be happy to submit a snippet for it. I am planning on submitting a couple of frame snippets already. Sorry for the deluge of questions. But this

Re: [api-dev] Java: adding functionality to newly created menu item

2006-03-09 Thread Mathias Bauer
Tobias Krais wrote: You explanation helps me. I will patch the ProtocolHandler config. There is no reason to patch any config file. You should provide your own protocolhandler.xcu in a UNO package and OOo will automatically merge your file into the built in one (but only in memory, not on

Re: [api-dev] Getting the Actual Size of a TextFrame

2006-03-09 Thread Jürgen Schmidt
Hi Kent, i think that is a known bug, but i can't remember 100% and can't find the appropriate bug id. Maybe you can check if the API returns always the initial values when you have created the frame. Juergen Kent Gibson wrote: Thanks. I tried that. And I always get 41?! Unless of course