Hi Mathias, Hi Eike

First of all, thanks a lot or your response

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.


Thanks Eike !!
is it planned to make it as a parameter ?


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?


the N first dropped lines (considerd as title)
datas start at N+1

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


Yes
as my question is more on xcu possibilities, i stay there if ok


Yes, there is. Here's an example in Basic:


...


The content of the FilterOptions string parameter can be found at the
place described by Eike.


Thanks Mathias
I know this example and can deal with the FilterOptions

my question has been answered by Eike
it seems it is not possible to alter the default pre-selected values in the import CSV filter dialog say, i want to always open the GUI with | as separator and always start at line 10

Perharps with an uno package using FilterOptions at runtime ?

Thanks again

Laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

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

Reply via email to