Hi Laurent,

On Mon, May 29, 2006 at 11:37:05 +0200, Laurent Godard wrote:

> i need to alter the default CSV import filter options (such as seprator, 
> number of lines of tile aso)

The default separators are hard-wired in the 'sc' module, see
sc/source/ui/unoobj/filtuno.cxx ScFilterOptionsObj::execute(),
sc/source/ui/inc/asciiopt.hxx cDefaultTextSep and
sc/source/ui/docshell/docsh.cxx ScDocShell::ConvertFrom() in the
        else if (aFltName.EqualsAscii(pFilterAscii))
section.

What do you mean by "number of lines of tile aso"? The number of
allocated preview lines? That is controlled in
sc/source/ui/dbgui/scuiasciiopt.cxx, but what would a change to some
other fixed value controlled by UserData be good for?

We should transfer further discussion of Calc specific topics to the
[EMAIL PROTECTED] mailing list.


> i looked at 
> /opt/openoffice.org2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/fcfg_calc_filters.xcu
> and tried to modify the <UserData> tag for CSV entry according to an 
> analogy with FilterOptions API for CSV files

I'm not sure whether the .xcu UserData element could even be used for
such mechanism, could someone from the framework team shed some light on
this? Is there a way to transport that in an SID_FILE_FILTEROPTIONS
SfxStringItem?

Thanks
  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 GnuPG key 0x293C05FD:  997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to