55 std::unique_ptr<weld::SpinButton>
mxNfRow;
126 bool bSuccess =
true;
ScImportAsciiCall
How ScImportAsciiDlg is called.
The control in the CSV import dialog that contains a ruler and a data grid to visualize and modify th...
std::unique_ptr< weld::SpinButton > mxNfRow
DECL_LINK(SeparatorEditHdl, weld::Entry &, void)
std::unique_ptr< weld::CheckButton > mxCkbComma
std::unique_ptr< weld::CheckButton > mxCkbSkipEmptyCells
void SetupSeparatorCtrls()
Enables or disables all separator checkboxes and edit fields.
std::unique_ptr< weld::ComboBox > mxLbType
std::unique_ptr< weld::CheckButton > mxCkbDetectNumber
std::unique_ptr< weld::Label > mxFtRow
std::unique_ptr< weld::CheckButton > mxCkbQuotedAsText
OUString maPreviewLine[CSV_PREVIEW_LINES]
OUString maFieldSeparators
std::unique_ptr< weld::RadioButton > mxRbFixed
DECL_LINK(SeparatorComboBoxHdl, weld::ComboBox &, void)
void SetSelectedCharSet()
Sets the selected char set data to meCharSet and mbCharSetSystem.
bool GetLine(sal_uLong nLine, OUString &rText, sal_Unicode &rcDetectSep)
std::unique_ptr< weld::CheckButton > mxCkbDetectScientificNumber
OUString GetSeparators() const
Returns all separator characters in a string.
std::unique_ptr< weld::CheckButton > mxCkbSemicolon
std::unique_ptr< sal_uLong[]> mpRowPosArray
DECL_LINK(FirstRowHdl, weld::SpinButton &, void)
ScImportAsciiDlg(weld::Window *pParent, std::u16string_view aDatName, SvStream *pInStream, ScImportAsciiCall eCall)
std::unique_ptr< weld::CheckButton > mxCkbOther
bool mbDetectSep
How the dialog is called (see asciiopt.hxx)
DECL_LINK(OtherOptionsClickHdl, weld::Toggleable &, void)
DECL_LINK(ColTypeHdl, ScCsvTableBox &, void)
void GetOptions(ScAsciiOptions &rOpt)
void SetSeparators(sal_Unicode cSep)
Set separators in ui from maFieldSeparators or an optionally defined separator.
std::unique_ptr< weld::Entry > mxEdOther
DECL_LINK(SeparatorClickHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > mxCkbAsOnce
DECL_STATIC_LINK(ScImportAsciiDlg, InstallLOKNotifierHdl, void *, vcl::ILibreOfficeKitNotifier *)
std::unique_ptr< weld::CheckButton > mxCkbRemoveSpace
std::unique_ptr< weld::Label > mxFtTextSep
bool mbCharSetSystem
Selected char set.
ScImportAsciiCall meCall
Is System char set selected?
std::unique_ptr< weld::Label > mxFtCharSet
Whether to detect a possible separator.
DECL_LINK(LbColTypeHdl, weld::ComboBox &, void)
std::unique_ptr< weld::CheckButton > mxCkbEvaluateFormulas
bool Seek(sal_uLong nPos)
std::unique_ptr< weld::Label > mxFtCustomLang
void SeparatorHdl(const weld::Widget *)
std::unique_ptr< weld::CheckButton > mxCkbSpace
std::unique_ptr< ScCsvTableBox > mxTableBox
std::unique_ptr< weld::ComboBox > mxCbTextSep
DECL_LINK(UpdateTextHdl, ScCsvTableBox &, void)
std::unique_ptr< weld::Label > mxAltTitle
DECL_LINK(CharSetHdl, weld::ComboBox &, void)
DECL_LINK(RbSepFixHdl, weld::Toggleable &, void)
std::unique_ptr< SvxTextEncodingBox > mxLbCharSet
rtl_TextEncoding meCharSet
std::unique_ptr< weld::RadioButton > mxRbSeparated
std::unique_ptr< weld::CheckButton > mxCkbTab
std::unique_ptr< SvxLanguageBox > mxLbCustomLang
virtual ~ScImportAsciiDlg() override
sal_uInt64 Seek(sal_uInt64 nPos)
const sal_Int32 CSV_PREVIEW_LINES
TODO make string array dynamic.