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

2006-03-28 Thread Tobias Krais
Hi Andreas, I want to print the current document, but I don't know how to tell the component the XComponent the user used when clicking on the item of the menu. Can anybody tell me how to do this? If you implemented a ProtocolHandler (e.g. as part of an AddOn), which yes, I did so. is

[api-dev] TextFrame Transparency Not Working

2006-03-28 Thread Kent Gibson
Hi-ya, I have a table and inside it I have textframes, but for some reason they are not coming out transparent. I know this works with the ui, plus I remember that the same code worked when the frames were in text sections. Could this be a bug? Am I doing something wrong? Here is basically what

Re: [api-dev] Re: [dev] Integrating external program with OOo on Windows - request for assistance!

2006-03-28 Thread Mathias Bauer
Anders Johansen wrote: The ONLY things that matter are, that * I can get the entire text (for spell checking) * I can convert a position in the entire text to a position in a part of the editable text of an OO document (so I can replace a word during spell check) * I can get the current

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

2006-03-28 Thread Mathias Bauer
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

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

2006-03-28 Thread Mathias Bauer
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-28 Thread Mathias Bauer
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

Re: [api-dev] Re: [dev] Integrating external program with OOo on Windows - request for assistance!

2006-03-28 Thread Anders Johansen
Den 27/03/2006 kl. 18.43 skrev Mathias Bauer: Anders Johansen wrote: You see, from my point of view the ORDER of the text blocks does not matter. I do not have to parse the text in the order it is written or read, really, although it would be nice if the order was somewhat sane. OK, so

RE: [api-dev] detecting unrecoverable error event

2006-03-28 Thread John Sisson
Thanx to all for this info. The startup option flags are set and it appears that the executable is going quietly out of business since we do not record any hangs during extended operation (the dog that did not bark in the night). There is already a no-helper connection setup with an XBridge