diff options
author | Eike Rathke <erack@redhat.com> | 2021-08-31 00:10:40 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-08-31 02:55:04 +0200 |
commit | 4c29c2bfab18b25229e0bc71014fd2ca42ec5bff (patch) | |
tree | c8d4a224cf8ee1c6f18ab5d30b28976ef205ed98 /sc/source/ui/inc/imoptdlg.hxx | |
parent | faff8fd27ac38d2001b6bf26b02381801b8844ea (diff) |
Resolves: tdf#114878 Add 'Evaluate formulas' option to CSV import and paste
... and Text to Columns, defaulting to false for CSV import via dialog
and stored as config item option similar to all other CSV/Text options.
Change-Id: I742f447b905a07b05dcf5fc58796c46de212276b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121344
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/inc/imoptdlg.hxx')
-rw-r--r-- | sc/source/ui/inc/imoptdlg.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/inc/imoptdlg.hxx b/sc/source/ui/inc/imoptdlg.hxx index 935f271b0c5c..fad5b4bf15f7 100644 --- a/sc/source/ui/inc/imoptdlg.hxx +++ b/sc/source/ui/inc/imoptdlg.hxx @@ -32,7 +32,7 @@ public: : nFieldSepCode(nFieldSep), nTextSepCode(nTextSep), bFixedWidth(false), bSaveAsShown(false), bQuoteAllText(false), bSaveNumberAsSuch(true), bSaveFormulas(false), bRemoveSpace(false), - nSheetToExport(0) + bEvaluateFormulas(true), nSheetToExport(0) { SetTextEncoding( nEnc ); } ScImportOptions& operator=( const ScImportOptions& rCpy ) = default; @@ -51,6 +51,7 @@ public: bool bSaveNumberAsSuch; bool bSaveFormulas; bool bRemoveSpace; + bool bEvaluateFormulas; // "0" for 'current sheet', "-1" for all sheets (each to a separate file), // or 1-based specific sheet number (to a separate file). sal_Int32 nSheetToExport; |