diff options
author | Eike Rathke <erack@redhat.com> | 2013-08-26 18:10:53 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-08-26 18:16:30 +0200 |
commit | 5af6437f6b602773fb76dca76be1fc079d93c922 (patch) | |
tree | d37a6a9c73009b379ac0474e983b8f5b33590877 /sc/source/ui/inc/asciiopt.hxx | |
parent | d198d2fb1b3d1d65450f9be30a94b00631d3c9b8 (diff) |
resolved fdo#53449 weight given separators to pick one for output
Change-Id: Iaef3ed270d870f7c26062cdbbc9bf243bc5b5a78
Diffstat (limited to 'sc/source/ui/inc/asciiopt.hxx')
-rw-r--r-- | sc/source/ui/inc/asciiopt.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sc/source/ui/inc/asciiopt.hxx b/sc/source/ui/inc/asciiopt.hxx index 3d779bf7f613..bc1a41d612ba 100644 --- a/sc/source/ui/inc/asciiopt.hxx +++ b/sc/source/ui/inc/asciiopt.hxx @@ -96,6 +96,19 @@ public: void SetColInfo( sal_uInt16 nCount, const sal_Int32* pStart, const sal_uInt8* pFormat ); void SetColumnInfo( const ScCsvExpDataVec& rDataVec ); + + /** From the import field separators obtain the one most likely to be used + for export, if multiple separators weighted comma, tab, semicolon, + space and other. + + @param bDecodeNumbers + If TRUE, the separators are encoded as numbers and need to be + decoded before characters can be extracted, for example "59/44" + to ";,". + If FALSE, the string is taken as is and each character is + expected to be one separator. + */ + static sal_Unicode GetWeightedFieldSep( const String & rFieldSeps, bool bDecodeNumbers ); }; /// How ScImportAsciiDlg is called |