Re: [api-dev] Embedding data files in Calc and extracting on need

2010-03-18 Thread Bernard Marcelly
Message de Madhur Kashyap date 2010-03-18 05:35 : Hi, I have built an application on top of openoffice calc using the Macro programming techniques. Now, some part of my application is in a compiled executable in a separate file which I invoke through a shell command. I want to distribute a

Re: [api-dev] deploying images in extensions, to be loaded without extension code

2010-03-18 Thread Frank Schoenheit, Sun Microsystems Germany
Hi Paolo, But nowadays, dialogs in documents can embed their images, can't they? I remember Noel Power having implemented this a while ago. Admittedly, the only thing I am sure of is that this works for form controls, but IIRC, he also did this for dialogs in documents ... I must say that

Re: [api-dev] deploying images in extensions, to be loaded without extension code

2010-03-18 Thread Noel Power
Hi Frank, Paolo Frank Schoenheit, Sun Microsystems Germany wrote: Hi Paolo, But nowadays, dialogs in documents can embed their images, can't they? I remember Noel Power having implemented this a while ago. Admittedly, the only thing I am sure of is that this works for form controls, but

[api-dev] Tools and documentation for help file generation

2010-03-18 Thread Patrick Bernard
Hi Are there any tools (besides ExtensionCompiler) that can generate the help files for extensions ? Is there any up-to-date documentation about the help file formats ? Patrick - To unsubscribe, e-mail:

Re: [api-dev] deploying images in extensions, to be loaded without extension code

2010-03-18 Thread Noel Power
Hi Frank Frank Schoenheit, Sun Microsystems Germany wrote: Hi Noel, guilty, currently for 'form' controls you can now 'uncheck' the 'link' option when choosing the graphic, doing that the image will be embedded in the document. as for dialogs this currently is not enabled, however in the

[api-dev] Tools and documentation for help file generation

2010-03-18 Thread Patrick Bernard
Hi I've just joined the mailing list, so I post my message again (sorry for the annoyance). Are there any tools (besides ExtensionCompiler) that can generate the help files for extensions ? Is there any up-to-date documentation about the help file formats ? Patrick

Re: [api-dev] deploying images in extensions, to be loaded without extension code

2010-03-18 Thread Paolo Mantovani
Hi Frank, Frank Schoenheit, Sun Microsystems Germany ha scritto: [...] Because the problem I originally raised has nothing to do with dialogs. OK, the problem is binary resources for extensions I recognize that. BUT, some versions ago, when the problem was text resources for extensions the

[api-dev] Inserting GraphicObjects into XTextFrame

2010-03-18 Thread Steffen Boersig
Hi guys, I'm currently stuck with the insertion of pictures into a XTextFrame. My goal is to insert a GraphicObject at a cursor position. If the cursor resides inside an XTextFrame, the size of the XTextFrame should be queried and the image should be scaled accordingly to fit the size of the

Re: [api-dev] Inserting GraphicObjects into XTextFrame

2010-03-18 Thread Fernand Vanrie
Steffen , thats pretty simple: I use some basic code to find out if the Cursor in a Table, Frame or Document oViewCursor = oDocument.getCurrentController().getViewCursor() If Not isEmpty(oViewCursor.TextTable) then ' Cursor is in een Tabel sFrameofTabel = TABEL ' rather complex