[api-dev] Making Live Spreadsheets: Can OOo connect to an XML feed

2006-04-10 Thread Alexandro Colorado
Is it possible to make a live spreadsheet, meaning that the content of the cells are provided by a live XML feed from an APi. The idea is to have stock charts/currency exchange/ and/or pricing of products directly inserted into a Calc spreadsheet and users can add calculation to this live

[api-dev] [EMAIL PROTECTED] REQUEST: unanswered questions

2006-04-10 Thread Michael Hoennig
Dear OpenOffice.org community, We really would like to see all questions answered, but we need your help to keep track of your questions and their answer status. Thus, if you still have a question unanswered for more than two days, feel free to place a reminder on the list. But maybe you should

Re: [api-dev] Unpacked - MediaDescriptor - Not Working?!

2006-04-10 Thread Kent Gibson
thanks for the pointers. I tried the basic code, and no unpacked directory was created. I am starting to think this is a bug. hmm. odd. I also tried some of the existing filters with the unpacked paramaters, no go. I guess I will try the other stuff later. take care. --- Marc Santhoff <[EMAIL PR

Re: [api-dev] Calc: loading file with key-shortcuts .sxc v/.ods

2006-04-10 Thread Ennio-Sr
* Mathias Bauer <[EMAIL PROTECTED]> [090406, 17:47]: > Ennio-Sr wrote: > [...] > My recommendation would be to use the template mechanism: create a > document template that contains the configuration you want to have: > create a new document, store the shortcut configuration into it

Re: [api-dev] Unpacked - MediaDescriptor - Not Working?!

2006-04-10 Thread Marc Santhoff
Am Montag, den 10.04.2006, 06:36 -0700 schrieb Kent Gibson: > wow, so to write an unpacked format I will have to > write an export and import filter, or use the UCP? > Seems like overkill? You are already using UCB/P, storing a document makes use of a "com.sun.star.ucb.FileContentProvider" as I u

Re: [api-dev] Unpacked - MediaDescriptor - Not Working?!

2006-04-10 Thread Kent Gibson
wow, so to write an unpacked format I will have to write an export and import filter, or use the UCP? Seems like overkill? Did you do something similiar with UCP? I looked at the demo code and it seems to like file urls, and my "document" is in memory, so I wonder if the UCP will work for me. I wo

Re: [api-dev] Unpacked - MediaDescriptor - Not Working?!

2006-04-10 Thread Marc Santhoff
Am Montag, den 10.04.2006, 05:12 -0700 schrieb Kent Gibson: > oops I sent the wrong code, but I reckon you mean that > I should be using a reference to a directory not a > file no? Check chapter 14 of the developers guide about the Universal Content Broker, the target UCP has to support folders. A

Re: [api-dev] Unpacked - MediaDescriptor - Not Working?!

2006-04-10 Thread Kent Gibson
oops I sent the wrong code, but I reckon you mean that I should be using a reference to a directory not a file no? --- Kent Gibson <[EMAIL PROTECTED]> wrote: > do you mind elaborating on this? > > this is basically what I am doing: > > However the Unpacked parameter just seems to be > ignored.

Re: [api-dev] Unpacked - MediaDescriptor - Not Working?!

2006-04-10 Thread Kent Gibson
do you mind elaborating on this? this is basically what I am doing: However the Unpacked parameter just seems to be ignored. ByteArrayOutputStream byteOut = new ByteArrayOutputStream( 1 ); OutputStreamToXOutputStreamAdapter unoOut = new OutputStreamToXOutputStreamAdapter( byteOut ); Propert

Re: [api-dev] Finding the complete OOo version with API ?

2006-04-10 Thread Marc Santhoff
Am Montag, den 10.04.2006, 13:31 +0200 schrieb Bernard Marcelly: > Hi all, > Successives minor versions of 2.0 are not only correcting bugs, they > also introduce features. > With API you can read ooSetupVersion from > /share/registry/data/org/openoffice/Setup.xcu > The problem is it returns 2.0

Re: [api-dev] Unpacked - MediaDescriptor - Not Working?!

2006-04-10 Thread Marc Santhoff
Am Montag, den 10.04.2006, 02:16 -0700 schrieb Kent Gibson: > the "Unpacked" parameter refuses to work. I always > generate a compressed file ( ie with storeAsURL or > storeToURL). What could I be doing wrong? Make sure your storage supports folders. At least for me this has been the case when tr

[api-dev] Finding the complete OOo version with API ?

2006-04-10 Thread Bernard Marcelly
Hi all, Successives minor versions of 2.0 are not only correcting bugs, they also introduce features. With API you can read ooSetupVersion from /share/registry/data/org/openoffice/Setup.xcu The problem is it returns 2.0 for any minor version, i.e. you cannot distinguish 2.0.0 from 2.0.1 or 2.0.

[api-dev] Unpacked - MediaDescriptor - Not Working?!

2006-04-10 Thread Kent Gibson
the "Unpacked" parameter refuses to work. I always generate a compressed file ( ie with storeAsURL or storeToURL). What could I be doing wrong? thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yah