Re: [dev] Custom data inside OpenDocument

2007-10-16 Thread Mathias Bauer
Robert Vojta wrote: On 10/15/07, Mathias Bauer [EMAIL PROTECTED] wrote: Hallo, You have to add the property before you can assign it a value: So, when I call setPropertyValue in Java and property wasn't added previously, it should raise UnknownPropertyException exception. If yes, this

Re: [dev] building ooo failed with sun studio 12

2007-10-16 Thread Laurent Godard
Hi Cyrille, Hi Caolan, Hi Gerard Thanks guys for your help It would appear the issue is in accessing the member directly rather than using the fileno macro, which has been introduced if I understand correctly to circumvent some restrictions in the descriptor count or something to that

Re: [dev] building ooo failed with sun studio 12

2007-10-16 Thread Jens-Heiner Rechtien
Hi, this exact problem is not exactly new and got already forgotten twice because we (well I) were to lazy to write an issue. Please write me (hr) an issue, and I'll include a fix in my next CWS. Here is a possible way to fix the problem. --- _stdio_file.hFri Sep 7 13:33:27 2007 +++

Re: [dev] building ooo failed with sun studio 12

2007-10-16 Thread Laurent Godard
Hi Jens-Heiner this exact problem is not exactly new and got already forgotten twice because we (well I) were to lazy to write an issue. Please write me (hr) an issue, and I'll include a fix in my next CWS. no problem, done :) http://www.openoffice.org/issues/show_bug.cgi?id=82658 PS:

Re: [dev] Sample code

2007-10-16 Thread Eike Rathke
Hi Nikos, On Sunday, 2007-10-14 12:04:10 -0700, Nikos Trivlis wrote: I have a sample c-like code about how to improve the POW (power function) and you could maybe find it useful for calc. I don't see in what aspect that would improve the POWER code. Au contraire, the exponent is only integer

[dev] How to get notified, when document's URL changes

2007-10-16 Thread Matthias B.
I'm looking for a way to get notified when a document's URL (XModel.getURL()) changes, usually after the user saves the document via save as (or save in case of a new document). I tried an XStorageChangeListener, but it's not triggered in this case. The only other thing I can think of is to catch

Re: [dev] OLE, data type hyper and returned vt value !?

2007-10-16 Thread Joachim Lingner
Hi Marten, Marten Feldtmann wrote: When running around in the reflection system of OpenOffice 2.x I came across the following problem: Some constants have adefined data type hyper, which means signed 64 bit values. When I query the value for that constant I get a dispatched (is this the

Re: [dev] OLE, data type hyper and returned vt value !?

2007-10-16 Thread Marten Feldtmann
Joachim Lingner schrieb: Hi Marten, Marten Feldtmann wrote: When running around in the reflection system of OpenOffice 2.x I came across the following problem: Some constants have adefined data type hyper, which means signed 64 bit values. When I query the value for that constant I get a

Re: [dev] Sample code

2007-10-16 Thread Nikos Trivlis
Dear Eike I think I have fixed the bugs in my code. Remember is c-like and not c (I used = instead of ==) Since I am not a pro programmer I would like to explain to you the logic: double pow (double number,int exponent) { int i=0; double result=0; // if the number is zero the result will be

Re: [dev] building ooo failed with sun studio 12

2007-10-16 Thread GĂ©rard Henry
Jens-Heiner Rechtien wrote: Hi, this exact problem is not exactly new and got already forgotten twice because we (well I) were to lazy to write an issue. Please write me (hr) an issue, and I'll include a fix in my next CWS. Here is a possible way to fix the problem. --- _stdio_file.hFri