Re: [api-dev] external application getting OOo version number

2007-03-22 Thread Jorge Marques Pelizzoni
retrieve most of the issues I faced by looking up the issue base for user pelizzon in the first half of 2006. Cheers, Jorge. Stephan Bergmann escreveu: > Jorge Marques Pelizzoni wrote: >> Thing is: once I developed a UNO package that worked fine for version >> 1.5 >> but wo

RE: [api-dev] external application getting OOo version number

2007-03-21 Thread Jorge Marques Pelizzoni
this. Previous posts on other similar threads > have discussed how OO Basic can do the same. > John Sisson > > -Original Message- > From: Jorge Marques Pelizzoni [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 21, 2007 3:12 PM > To: dev@api.openoffice.org > Subject: [api

[api-dev] external application getting OOo version number

2007-03-21 Thread Jorge Marques Pelizzoni
Hi, all! I'd like to know what is the easiest way for an external application (say, an ebuild binary) to find out OOo's version number (e.g. 2.0.2). Thanks in advance. Cheers, Jorge M. Pelizzoni ICMC - Universidade de São Paulo --

[api-dev] programatically know which platform

2005-09-30 Thread Jorge Marques Pelizzoni
Hi, all! I am using OOo 1.1.4 and would like to know if the API provides a way to identify which the current platform is (windows, linux_x86, etc.) so I can load the right version of a third-party dynamic library. Thanks in advance. Cheers, Jorge. -

[api-dev] calling Basic function from C++ component

2005-09-26 Thread Jorge Marques Pelizzoni
Hi, all! Having the service manager passed to a C++ component on its construction, is it possible to execute a function from a Basic Module (passing parameters and retrieving the result)? I'm working on OOo version 1.1.4. Thanks in advance. Cheers, Jorge. ---

Re: [api-dev] referencing resources inside UNO package

2005-07-21 Thread Jorge Marques Pelizzoni
Great, Paolo! Thank you very much! Cheers, Jorge. Quoting Paolo Mantovani <[EMAIL PROTECTED]>: > Hi, > > Alle 10:30, giovedì 21 luglio 2005, Jorge Marques Pelizzoni ha scritto: > > Daniel, > > > > Thank you also for your idea, but I am afraid I don

Re: [api-dev] referencing resources inside UNO package

2005-07-21 Thread Jorge Marques Pelizzoni
Daniel, Thank you also for your idea, but I am afraid I don't quite get it. As far as I know, pkgchk will only substitute that %origin% variable inside a xcu file, right? How could I retrieve the generated information programmatically from a UNO module? What kind of configuration data could that

[api-dev] referencing resources inside UNO package

2005-07-21 Thread Jorge Marques Pelizzoni
Hi, all! I am struggling to deploy a BASIC library including a dialog which, in turn, should have ImageURLs (buttons and stuff) referencing files inside the same package. I understand this is just one instance of a bigger problem, namely handling resources not directly manipulated by OOo. The pro

[api-dev] Dialog controls: relative ImageURLs

2005-07-18 Thread Jorge Marques Pelizzoni
Hi, all! I wonder if there is a way to set property ImageURL (e.g. of CommandButtons) to some kind of "relative" URL at _design time_ (i.e. not resorting to com.sun.star.util.PathSettings at runtime). I what I need is (in decreasing order of importance): 1 - an application dialog to retrieve imag

Re: [api-dev] instantiating Basic dialogs from UNO componets

2005-07-18 Thread Jorge Marques Pelizzoni
ROTECTED]>: > Jorge Marques Pelizzoni wrote: > > > > Hi, all! Once Mathias Bauer wrote: > > > > > >>But why do you want to call Basic macros from C++? I would expect that > >>you instantiate your (IDE-designed) dialog from your C++ code (should >

[api-dev] instantiating Basic dialogs from UNO componets

2005-07-17 Thread Jorge Marques Pelizzoni
Hi, all! Once Mathias Bauer wrote: > But why do you want to call Basic macros from C++? I would expect that > you instantiate your (IDE-designed) dialog from your C++ code (should > be possible by some UNO calls) ... Its is exactly those UNO calls that interest me. How can I (i) load/access Ba

[api-dev] setting OOo options

2005-03-10 Thread Jorge Marques Pelizzoni
Hi, all! I'd like to write a macro setting some of OOo's options (Menu Tools->Options) programatically. Can this be done? So far, by means of recording a macro, I've just got to: dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") dispatcher.executeDispatch(document, ".uno:

Re: [api-dev] spell-checker and Java bug

2005-01-27 Thread Jorge Marques Pelizzoni
I am very new to OOo, and I believe use the latest "public" versions: OOo proper - 1.1.4; SDK - 1.1. Should I be using other versions? Regarding the "bug": I have never experienced it, I was just quoting the docs so I could make a decision. Thanks. Cheers, Jorge. Quoting Thomas Lange <[EMAIL P

[api-dev] building examples on Win

2005-01-26 Thread Jorge Marques Pelizzoni
Hi, all! Has anybody out there ever built the examples from the Developer's Guide on Windows? I must admit I am clueless. I have cygwin installed, but just typing make won't do the trick... Anyway, the truth is I wouldn't like to use cygwin. How do you guys build for with msvc++? Cheers, Jorge

[api-dev] spell-checker and Java bug

2005-01-26 Thread Jorge Marques Pelizzoni
Hi, all! While reading the API developer's guide, I bumped into the following sort of warning: "The Context menu of the Writer that pops up when pressing the right-mouse button over an incorrectly spelled word currently has a bug that may crash the program when the Java implementation of a spel

[api-dev] AGAIN: "auto" grammar checking

2005-01-20 Thread Jorge Marques Pelizzoni
Following Michael Hoenig's advice ("unanswered questions"), here I am again. AIM: check the current API's support for prototyping a grammar-checker API "externally", i.e. without messing with OOo's source. MY QUESTIONS TO API DEVELOPERS REGARDING THE CURRENT API'S CURRENT FEATURES (not necessa

Re: [api-dev] API support for prototyping grammar checker API

2005-01-17 Thread Jorge Marques Pelizzoni
ut to you, whether you take that into > consideration is up to you. > > In case you're going to create such a grammar checker, I will happily > be of help if I can be in somewhat way. > > Best Regards > Christian Junker > > On Wed, 12 Jan 2005 12:37:11 -0200, Jorge