Re: [dev] re: using ant to create source from .idl file

2005-06-23 Thread Jürgen Schmidt
Hi James, 1. idlc -Isdk/idl mytypes.idl - the idlc generates a mytypes.urd 2. normally we have several idl files and merge them together in for example allmytypes.rdb under the root key /UCR. The UCR key is a historical relict (i will change that compatible for the future) because we have had

Re: [dev] remove .xcu files [using configimport?]

2005-06-23 Thread Joerg Barfurth
Aditya Pandey wrote: Hi I have been able to use configimport command for creating/installing a schema I have created for my addin to OpenOffice. You don't need configimport to install a schema (xcs) or xcu file. unopkg installs them in a private location. When I try to uninstall the

Re: [dev] re: using ant to create source from .idl file

2005-06-23 Thread Ken Foskey
On Wed, 2005-06-22 at 15:11 -0400, James Black wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am hoping that someone could send me a sample of creating source from the .idl file, as it appears that there are a few steps to do this task. There is however you might want to describe

Re: [dev] Openoffice file manipulation

2005-06-23 Thread Andre B Derraik
Hi Ynze, I write a Java program to change an OpenOffice file. This is a colection of vairous pieces of code. I open the file, look for some marks and change the mark for a table that data come from a data base. Regards. --- André B. Derraik

Re: [dev] Openoffice file manipulation

2005-06-23 Thread Ynze Zuidema
Hi Andre, Thanks for the code, I think I figured out what goes wrong. I didn't set the 'UTF-8' encoding when writing into the zip stream. What I do is, I unzip the odp file, change files, write the changes files away (as utf-8, i did that) and then zip em up again. So I forgot it the second

[dev] re: Problem making my first plugin, errors with idlc

2005-06-23 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to create my first plugin for OO2.0, on WinXP, and am having some errors that I don't understand, from idlc. I am confused, but I had to copy several dlls to System32, as it appears that just setting the PATH env variable wasn't good

[dev] Re: remove .xcu files [using configimport?]

2005-06-23 Thread Aditya Pandey
Joerg Barfurth joerg.barfurth at sun.com writes: You don't need configimport to install a schema (xcs) or xcu file. unopkg installs them in a private location. Thanks Joerg for helping on this. unopkg installs them in my addin folder. for example:

[dev] cannot turn off ReadOnly in loadComponentFromURL

2005-06-23 Thread Wen Shen
Hi List: I am using openoffice 1.9.100. I used loadComponentFromURL to open a remote file in macro. If I don't set ReadOnly argument, the opened file is readonly by default. If I set ReadOnly as False, I got a error dialog with: basic runtime error: An excpetion occured. Type:

Re: [dev] cannot turn off ReadOnly in loadComponentFromURL

2005-06-23 Thread Laurent Godard
Hi, Here are related codes Dim loadArgs(2) as New com.sun.star.beans.PropertyValue did you try Dim loadArgs(1) as New com.sun.star.beans.PropertyValue and use loadArgs(0) and loadArgs(1) for the properties let us know Laurent -- Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org