LibreOffice Module sc (master) 1
|
#include <imoptdlg.hxx>
Public Member Functions | |
ScImportOptions (std::u16string_view rStr) | |
ScImportOptions (sal_Unicode nFieldSep, sal_Unicode nTextSep, rtl_TextEncoding nEnc) | |
ScImportOptions & | operator= (const ScImportOptions &rCpy)=default |
OUString | BuildString () const |
void | SetTextEncoding (rtl_TextEncoding nEnc) |
Public Attributes | |
sal_Unicode | nFieldSepCode |
sal_Unicode | nTextSepCode |
OUString | aStrFont |
rtl_TextEncoding | eCharSet |
bool | bFixedWidth |
bool | bSaveAsShown |
bool | bQuoteAllText |
bool | bSaveNumberAsSuch |
bool | bSaveFormulas |
bool | bRemoveSpace |
bool | bEvaluateFormulas |
bool | bIncludeBOM |
sal_Int32 | nSheetToExport |
Definition at line 26 of file imoptdlg.hxx.
ScImportOptions::ScImportOptions | ( | std::u16string_view | rStr | ) |
Definition at line 33 of file imoptdlg.cxx.
References aStrFont, bEvaluateFormulas, bFixedWidth, bIncludeBOM, bQuoteAllText, bRemoveSpace, bSaveAsShown, bSaveFormulas, bSaveNumberAsSuch, eCharSet, ScGlobal::GetCharsetValue(), o3tl::getToken(), comphelper::string::getTokenCount(), ScAsciiOptions::GetWeightedFieldSep(), CharClass::isAsciiNumeric(), nFieldSepCode, nSheetToExport, nTextSepCode, pStrFix, o3tl::toInt32(), and u.
|
inline |
Definition at line 31 of file imoptdlg.hxx.
OUString ScImportOptions::BuildString | ( | ) | const |
Definition at line 103 of file imoptdlg.cxx.
References aStrFont, bEvaluateFormulas, bFixedWidth, bIncludeBOM, bQuoteAllText, bRemoveSpace, bSaveAsShown, bSaveFormulas, bSaveNumberAsSuch, nFieldSepCode, nSheetToExport, nTextSepCode, and pStrFix.
Referenced by ScDocShell::ConvertTo(), and ScFilterOptionsObj::execute().
|
default |
void ScImportOptions::SetTextEncoding | ( | rtl_TextEncoding | nEnc | ) |
Definition at line 133 of file imoptdlg.cxx.
References aStrFont, eCharSet, and ScGlobal::GetCharsetString().
Referenced by ScImportOptionsDlg::GetImportOptions().
OUString ScImportOptions::aStrFont |
Definition at line 46 of file imoptdlg.hxx.
Referenced by BuildString(), ScFilterOptionsObj::execute(), ScImportOptions(), and SetTextEncoding().
bool ScImportOptions::bEvaluateFormulas |
Definition at line 54 of file imoptdlg.hxx.
Referenced by BuildString(), and ScImportOptions().
bool ScImportOptions::bFixedWidth |
Definition at line 48 of file imoptdlg.hxx.
Referenced by ScDocShell::AsciiSave(), BuildString(), ScImportOptionsDlg::GetImportOptions(), and ScImportOptions().
bool ScImportOptions::bIncludeBOM |
Definition at line 55 of file imoptdlg.hxx.
Referenced by ScDocShell::AsciiSave(), BuildString(), ScFilterOptionsObj::execute(), and ScImportOptions().
bool ScImportOptions::bQuoteAllText |
Definition at line 50 of file imoptdlg.hxx.
Referenced by BuildString(), ScImportOptionsDlg::GetImportOptions(), and ScImportOptions().
bool ScImportOptions::bRemoveSpace |
Definition at line 53 of file imoptdlg.hxx.
Referenced by BuildString(), and ScImportOptions().
bool ScImportOptions::bSaveAsShown |
Definition at line 49 of file imoptdlg.hxx.
Referenced by ScDocShell::AsciiSave(), BuildString(), ScImportOptionsDlg::GetImportOptions(), and ScImportOptions().
bool ScImportOptions::bSaveFormulas |
Definition at line 52 of file imoptdlg.hxx.
Referenced by ScDocShell::AsciiSave(), BuildString(), ScImportOptionsDlg::GetImportOptions(), and ScImportOptions().
bool ScImportOptions::bSaveNumberAsSuch |
Definition at line 51 of file imoptdlg.hxx.
Referenced by ScDocShell::AsciiSave(), BuildString(), and ScImportOptions().
rtl_TextEncoding ScImportOptions::eCharSet |
Definition at line 47 of file imoptdlg.hxx.
Referenced by ScDocShell::AsciiSave(), ScFilterOptionsObj::execute(), ScImportOptions(), ScImportOptionsDlg::ScImportOptionsDlg(), and SetTextEncoding().
sal_Unicode ScImportOptions::nFieldSepCode |
Definition at line 44 of file imoptdlg.hxx.
Referenced by ScDocShell::AsciiSave(), BuildString(), ScImportOptionsDlg::GetImportOptions(), ScImportOptions(), and ScImportOptionsDlg::ScImportOptionsDlg().
sal_Int32 ScImportOptions::nSheetToExport |
Definition at line 58 of file imoptdlg.hxx.
Referenced by BuildString(), ScDocShell::ConvertTo(), and ScImportOptions().
sal_Unicode ScImportOptions::nTextSepCode |
Definition at line 45 of file imoptdlg.hxx.
Referenced by ScDocShell::AsciiSave(), BuildString(), ScImportOptionsDlg::GetImportOptions(), ScImportOptions(), and ScImportOptionsDlg::ScImportOptionsDlg().