Re: [api-dev] Enable toolbar items if dynamic protocol handler

2006-11-02 Thread Tabish F. Mufti
But there is no component registration in the package; in particular no registration of the implementation of the service of the protocol handler. Instead, the service of the protocol handler is registered dynamically by the executable component of my add-on, therefore necessarily LATER than OO's

[api-dev] Enable toolbar items if dynamic protocol handler

2006-11-02 Thread Julien Galand
Hi to all, My add-on has a toolbar created by a .xcu file, with the right protocol handler declared (as a node "org.openoffice.Office.ProtocolHandler/HandlerSet" of the configuration file). But there is no component registration in the package; in particular no registration of the implementat

Re: [api-dev] [SOLVED] How to set the page style for a XSpreadsheetDocument?

2006-11-02 Thread Tobias Krais
Hi Niklas, >> XSheetCellCursor xSCC = xSpreadsheet.createCursor(); >> XPropertySet xSheetCursorProps = (XPropertySet) >> UnoRuntime.queryInterface(XPropertySet.class, xSCC); >> // Here I hang: the PropertyValue "PageStyleName" does not exist >> // How can I get the page property to be abl

Re: [api-dev] How to set the page style for a XSpreadsheetDocument?

2006-11-02 Thread Niklas Nebel
Tobias Krais wrote: XSheetCellCursor xSCC = xSpreadsheet.createCursor(); XPropertySet xSheetCursorProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xSCC); // Here I hang: the PropertyValue "PageStyleName" does not exist // How can I get the page property to be able to c

[api-dev] How to set the page style for a XSpreadsheetDocument?

2006-11-02 Thread Tobias Krais
Hi together, I try to set the printer tray for a XSpreadsheetDocument. With a XTextDocument it works perfectly. Please have a look at my code: -%<- XSpreadsheetDocument xSpreadsheetDocument = (XSpreadsheetDocument) UnoRuntime.queryInterface(XSpreadsheetDocument.class,

Re: [api-dev] Re: installing ooSetupConnectionURL through UNO package

2006-11-02 Thread Knut Olav Bøhmer
On 11/2/06, Tabish F. Mufti <[EMAIL PROTECTED]> wrote: Hi Knut, I'm getting interested in what kind of application are you making ? I have translated MS Word basic maros into OpenOffice.org macros, that generates documents for a preparatory program. I feel the concept might be similar to wha

Re: [api-dev] Re: installing ooSetupConnectionURL through UNO package

2006-11-02 Thread Tabish F. Mufti
Hi Knut, I'm getting interested in what kind of application are you making ? I feel the concept might be similar to what I'm trying to do. I'm a newbie to openoffice so don't have a grasp of a lot of the concepts. What will you acheive by modifying /share/registry/data/org/openoffice/Setup.xcu ?

Re: [api-dev] Re: installing ooSetupConnectionURL through UNO package

2006-11-02 Thread Knut Olav Bøhmer
Yes, we have our own wrapper program that acts as a bridge between our application and OpenOffice.org. But maybe we can remove that part also at some point. I have not looked in to that so I don't know what it's doing at all. But I think it recievs DDE (windows) requests from the application, and

Re: [api-dev] Re: installing ooSetupConnectionURL through UNO package

2006-11-02 Thread Matthias B.
On 11/1/06, Knut Olav Bøhmer <[EMAIL PROTECTED]> wrote: Hi is it possible to make a uno package that can be installed or uninsulated with unopkg, and installs: socket,host=localhost,port=2002;urp; I wonder if you are aware that this change is not required for connecting to OpenOffice, at

Re: [api-dev] Refreshing a modified menu bar

2006-11-02 Thread Carsten Driesner
Julien Galand wrote: Le 27 oct. 06, à 08:12, Carsten Driesner a écrit : I wasn't able to run your example as I need a dedicated machine for testing. Currently I only have remote access (with and therefore cannot use a normal Office installation. That's why the script cannot create the Office

Re: [api-dev] The GraphicProvider: How to write a URL to an Imbeded Image in a WriterDoc

2006-11-02 Thread Fernand Vanrie
"Reminder" as asked by, Juergen+Andreas :-) Fernand Vanrie schreef: When using the GraphicProvider I need to write a URL who is based on (i Think ) a private:resource. The GraphicURL returned from the GraphicTextObject = somthing like: *"vnd.sun.star.GraphicObject:13E802BC9F148A

Re: [api-dev] PageNumber Index

2006-11-02 Thread Fernand Vanrie
""Reminder" as asked by, Juergen+Andreas :-) Fernand Vanrie schreef: When inserting Frames or Images in a WriterDoc I uses the AnchorPageNo to place the object on a Defined Page. The problem start when affter moving or deleting pages the Actual PageNumber is not longer the same as The number