class ScImportAsciiDlg : public weld::GenericDialogController
{
SvStream* mpDatStream;
sal_uLong mnStreamPos;
sal_uLong mnStreamInitPos;
std::unique_ptr<sal_uLong[]> mpRowPosArray;
sal_uLong mnRowPosCount;
OUString maPreviewLine[ CSV_PREVIEW_LINES ];
OUString maFieldSeparators; // selected field separators
OUString maDetectedFieldSeps; // detected field seps
sal_Unicode mcTextSep;
rtl_TextEncoding meCharSet; /// Selected char set.
rtl_TextEncoding meDetectedCharSet; /// This is computed only once at initialization, so store it. bool mbCharSetSystem; /// Is System char set selected? bool mbCharSetDetect; /// Should we autodetect character set ?
ScImportAsciiCall meCall; /// How the dialog is called (see asciiopt.hxx)
private: /** Sets the selected char set data to meCharSet and mbCharSetSystem. */ void SetSelectedCharSet(); /** Set separators in ui from maFieldSeparators or an optionally defined
separator. */ void SetSeparators( sal_Unicode cSep ); /** Returns all separator characters in a string. */
OUString GetSeparators() const;
OUString GetActiveSeparators() const; void DetectCsvSeparators();
/** Enables or disables all separator checkboxes and edit fields. */ void SetupSeparatorCtrls();
bool GetLine( sal_uLong nLine, OUString &rText, sal_Unicode& rcDetectSep ); void UpdateVertical(); inlinebool Seek( sal_uLong nPos ); // synced to and from mnStreamPos void RbSepFix();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.