Re: [sc-dev] The Excel import/export part of EUROCONVERT().

2008-11-25 Thread lvyue
Hi Daniel, I made the changes you suggested, but it doesn't work. it is still =NA() I'm tracing the code, but I didn't get any clue yet. If you have findings, please tell me, thank you. Best regards Lvyue - To unsubscribe,

Re: [sc-dev] The Excel import/export part of EUROCONVERT().

2008-11-25 Thread Daniel Rentz
Daniel Rentz schrieb: lvyue schrieb: Hi Daniel, I made the changes you suggested, but it doesn't work. it is still =NA() I'm tracing the code, but I didn't get any clue yet. If you have findings, please tell me, thank you. Try to find where compiling the formula breaks. The N/A error is an

Re: [sc-dev] The Excel import/export part of EUROCONVERT().

2008-11-25 Thread Daniel Rentz
lvyue schrieb: Hi Daniel, I made the changes you suggested, but it doesn't work. it is still =NA() I'm tracing the code, but I didn't get any clue yet. If you have findings, please tell me, thank you. Try to find where compiling the formula breaks. The N/A error is an indicator for an

Re: [sc-dev] The Excel import/export part of EUROCONVERT().

2008-11-20 Thread lvyue
hi Daniel, Sorry to disturb you again. I have added some functions in the classes you mentioned in last mail( you can see them in the patch 4 of issue 93789 ). http://www.openoffice.org/issues/show_bug.cgi?id=93789 but it works stranger, now, after export, and when open again, the formula

Re: [sc-dev] The Excel import/export part of EUROCONVERT().

2008-10-22 Thread Eike Rathke
Hi Daniel, On Tuesday, 2008-10-21 09:41:05 +0200, Daniel Rentz wrote: +BOOL lclConvertMoney( const String aSearchUnit, double rfRate, int rnDec ) Btw, aSearchUnit should be a const reference instead of a copy, so const String aSearchUnit ^^^ +{ +#define COUNT 16 +#define

Re: [sc-dev] The Excel import/export part of EUROCONVERT().

2008-10-21 Thread Daniel Rentz
Daniel Rentz schrieb: case T_Ext: { UINT16 n = pElement[ nId ]; EXTCONT* p = ( n nP_Ext )? ppP_Ext[ n ] : NULL; if( p ) + { + if( p-eId == ocExternal ) Oh no, there is a typo, it has to be: + if( p-eId == ocEuroConvert ) of

Re: Re: [sc-dev] The Excel import/export part of EUROCONVERT().

2008-10-17 Thread Lvyue
Hi, Daniel I have add what you advised in sc/source/filter, a new book type in xllink.hxx, in xilink.cxx, XclImpSupbook::XclImpSupbook(), a new type in enum XclImpExtNameType (and set it in XclImpExtName::XclImpExtName() ), and I also add a case for the new xlExt*** type. now, when imported,

Re: [sc-dev] The Excel import/export part of EUROCONVERT().

2008-10-17 Thread Daniel Rentz
Lvyue schrieb: Hi, Daniel I have add what you advised in sc/source/filter, a new book type in xllink.hxx, in xilink.cxx, XclImpSupbook::XclImpSupbook(), a new type in enum XclImpExtNameType (and set it in XclImpExtName::XclImpExtName() ), and I also add a case for the new xlExt*** type.