#include <scuiimoptdlg.hxx>


Public Member Functions | |
| ScImportOptionsDlg (Window *pParent, BOOL bAscii=TRUE, const ScImportOptions *pOptions=NULL, const String *pStrTitle=NULL, BOOL bMultiByte=FALSE, BOOL bOnlyDbtoolsEncodings=FALSE, BOOL bImport=TRUE) | |
| ~ScImportOptionsDlg () | |
| void | GetImportOptions (ScImportOptions &rOptions) const |
Private Member Functions | |
| USHORT | GetCodeFromCombo (const ComboBox &rEd) const |
| DECL_LINK (FixedWidthHdl, CheckBox *) | |
| DECL_LINK (DoubleClickHdl, ListBox *) | |
Private Attributes | |
| FixedLine | aFlFieldOpt |
| FixedText | aFtFont |
| SvxTextEncodingBox | aLbFont |
| FixedText | aFtFieldSep |
| ComboBox | aEdFieldSep |
| FixedText | aFtTextSep |
| ComboBox | aEdTextSep |
| CheckBox | aCbFixed |
| OKButton | aBtnOk |
| CancelButton | aBtnCancel |
| HelpButton | aBtnHelp |
| CheckBox | aCbShown |
| ScDelimiterTable * | pFieldSepTab |
| ScDelimiterTable * | pTextSepTab |
Definition at line 38 of file scuiimoptdlg.hxx.
| ScImportOptionsDlg::ScImportOptionsDlg | ( | Window * | pParent, | |
| BOOL | bAscii = TRUE, |
|||
| const ScImportOptions * | pOptions = NULL, |
|||
| const String * | pStrTitle = NULL, |
|||
| BOOL | bMultiByte = FALSE, |
|||
| BOOL | bOnlyDbtoolsEncodings = FALSE, |
|||
| BOOL | bImport = TRUE | |||
| ) |
TODO: Unicode would need work in each filter
Definition at line 118 of file scuiimoptdlg.cxx.
References aCbFixed, aCbShown, aEdFieldSep, aEdTextSep, aFlFieldOpt, aFtFieldSep, aFtFont, aFtTextSep, aLbFont, CheckBox::Check(), ScImportOptions::eCharSet, FALSE, SvxTextEncodingBox::FillFromDbTextEncodingMap(), SvxTextEncodingBox::FillFromTextEncodingTable(), ScDelimiterTable::FirstDel(), ScDelimiterTable::GetDelimiter(), ComboBox::GetEntry(), Window::GetPosPixel(), Window::GetSizePixel(), Window::GetText(), Window::GrabFocus(), Window::Hide(), ComboBox::InsertEntry(), OutputDevice::LogicToPixel(), MAP_APPFONT, ScDelimiterTable::NextDel(), ScImportOptions::nFieldSepCode, ScImportOptions::nTextSepCode, pFieldSepTab, pTextSepTab, SvxTextEncodingBox::SelectTextEncoding(), Button::SetClickHdl(), ListBox::SetDoubleClickHdl(), Window::SetSizePixel(), Control::SetText(), ComboBox::SetText(), Window::SetText(), Window::Show(), and TRUE.
| __EXPORT ScImportOptionsDlg::~ScImportOptionsDlg | ( | ) |
| void ScImportOptionsDlg::GetImportOptions | ( | ScImportOptions & | rOptions | ) | const |
Definition at line 252 of file scuiimoptdlg.cxx.
References aCbFixed, aCbShown, aEdFieldSep, aEdTextSep, aLbFont, ScImportOptions::bFixedWidth, ScImportOptions::bSaveAsShown, GetCodeFromCombo(), SvxTextEncodingBox::GetSelectTextEncoding(), CheckBox::IsChecked(), Window::IsVisible(), ScImportOptions::nFieldSepCode, ScImportOptions::nTextSepCode, and ScImportOptions::SetTextEncoding().
Definition at line 267 of file scuiimoptdlg.cxx.
References aEdTextSep, ScDelimiterTable::GetCode(), Edit::GetText(), pFieldSepTab, and pTextSepTab.
Referenced by GetImportOptions().
| ScImportOptionsDlg::DECL_LINK | ( | FixedWidthHdl | , | |
| CheckBox * | ||||
| ) | [private] |
| ScImportOptionsDlg::DECL_LINK | ( | DoubleClickHdl | , | |
| ListBox * | ||||
| ) | [private] |
FixedLine ScImportOptionsDlg::aFlFieldOpt [private] |
FixedText ScImportOptionsDlg::aFtFont [private] |
Definition at line 56 of file scuiimoptdlg.hxx.
Referenced by GetImportOptions(), IMPL_LINK(), and ScImportOptionsDlg().
FixedText ScImportOptionsDlg::aFtFieldSep [private] |
Definition at line 57 of file scuiimoptdlg.hxx.
Referenced by IMPL_LINK(), and ScImportOptionsDlg().
ComboBox ScImportOptionsDlg::aEdFieldSep [private] |
Definition at line 58 of file scuiimoptdlg.hxx.
Referenced by GetImportOptions(), IMPL_LINK(), and ScImportOptionsDlg().
FixedText ScImportOptionsDlg::aFtTextSep [private] |
Definition at line 59 of file scuiimoptdlg.hxx.
Referenced by IMPL_LINK(), and ScImportOptionsDlg().
ComboBox ScImportOptionsDlg::aEdTextSep [private] |
Definition at line 60 of file scuiimoptdlg.hxx.
Referenced by GetCodeFromCombo(), GetImportOptions(), IMPL_LINK(), and ScImportOptionsDlg().
CheckBox ScImportOptionsDlg::aCbFixed [private] |
Definition at line 61 of file scuiimoptdlg.hxx.
Referenced by GetImportOptions(), IMPL_LINK(), and ScImportOptionsDlg().
OKButton ScImportOptionsDlg::aBtnOk [private] |
CancelButton ScImportOptionsDlg::aBtnCancel [private] |
Definition at line 63 of file scuiimoptdlg.hxx.
HelpButton ScImportOptionsDlg::aBtnHelp [private] |
Definition at line 64 of file scuiimoptdlg.hxx.
CheckBox ScImportOptionsDlg::aCbShown [private] |
Definition at line 65 of file scuiimoptdlg.hxx.
Referenced by GetImportOptions(), IMPL_LINK(), and ScImportOptionsDlg().
ScDelimiterTable* ScImportOptionsDlg::pFieldSepTab [private] |
Definition at line 67 of file scuiimoptdlg.hxx.
Referenced by GetCodeFromCombo(), ScImportOptionsDlg(), and ~ScImportOptionsDlg().
ScDelimiterTable* ScImportOptionsDlg::pTextSepTab [private] |
Definition at line 68 of file scuiimoptdlg.hxx.
Referenced by GetCodeFromCombo(), ScImportOptionsDlg(), and ~ScImportOptionsDlg().
1.5.6