LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScImportOptionsDlg Class Reference

#include <scuiimoptdlg.hxx>

Inheritance diagram for ScImportOptionsDlg:
[legend]
Collaboration diagram for ScImportOptionsDlg:
[legend]

Public Member Functions

 ScImportOptionsDlg (weld::Window *pParent, bool bAscii, const ScImportOptions *pOptions, const OUString *pStrTitle, bool bMultiByte, bool bOnlyDbtoolsEncodings, bool bImport)
 
virtual ~ScImportOptionsDlg () override
 
void GetImportOptions (ScImportOptions &rOptions) const
 
void SaveImportOptions () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

sal_uInt16 GetCodeFromCombo (const weld::ComboBox &rEd) const
 
void FillFromTextEncodingTable (bool bExcludeImportSubsets, sal_uInt32 nExcludeInfoFlags=0)
 
void FillFromDbTextEncodingMap (bool bExcludeImportSubsets, sal_uInt32 nExcludeInfoFlags=0)
 
 DECL_LINK (FixedWidthHdl, weld::ToggleButton &, void)
 
 DECL_LINK (DoubleClickHdl, weld::TreeView &, bool)
 

Private Attributes

std::unique_ptr< ScDelimiterTablepFieldSepTab
 
std::unique_ptr< ScDelimiterTablepTextSepTab
 
bool m_bIsAsciiImport
 
std::unique_ptr< weld::Framem_xFieldFrame
 
std::unique_ptr< weld::Labelm_xFtCharset
 
std::unique_ptr< weld::Widgetm_xEncGrid
 
std::unique_ptr< weld::Labelm_xFtFieldSep
 
std::unique_ptr< weld::ComboBoxm_xEdFieldSep
 
std::unique_ptr< weld::Labelm_xFtTextSep
 
std::unique_ptr< weld::ComboBoxm_xEdTextSep
 
std::unique_ptr< weld::CheckButtonm_xCbShown
 
std::unique_ptr< weld::CheckButtonm_xCbFormulas
 
std::unique_ptr< weld::CheckButtonm_xCbQuoteAll
 
std::unique_ptr< weld::CheckButtonm_xCbFixed
 
std::unique_ptr< weld::Buttonm_xBtnOk
 
std::unique_ptr< SvxTextEncodingBoxm_xLbCharset
 
std::unique_ptr< SvxTextEncodingTreeViewm_xTvCharset
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 30 of file scuiimoptdlg.hxx.

Constructor & Destructor Documentation

ScImportOptionsDlg::ScImportOptionsDlg ( weld::Window pParent,
bool  bAscii,
const ScImportOptions pOptions,
const OUString *  pStrTitle,
bool  bMultiByte,
bool  bOnlyDbtoolsEncodings,
bool  bImport 
)
ScImportOptionsDlg::~ScImportOptionsDlg ( )
overridevirtual

Definition at line 262 of file scuiimoptdlg.cxx.

Member Function Documentation

ScImportOptionsDlg::DECL_LINK ( FixedWidthHdl  ,
weld::ToggleButton ,
void   
)
private
ScImportOptionsDlg::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private
void ScImportOptionsDlg::FillFromDbTextEncodingMap ( bool  bExcludeImportSubsets,
sal_uInt32  nExcludeInfoFlags = 0 
)
private

Definition at line 97 of file scuiimoptdlg.cxx.

References m_bIsAsciiImport, m_xLbCharset, and m_xTvCharset.

Referenced by ScImportOptionsDlg().

void ScImportOptionsDlg::FillFromTextEncodingTable ( bool  bExcludeImportSubsets,
sal_uInt32  nExcludeInfoFlags = 0 
)
private

Definition at line 89 of file scuiimoptdlg.cxx.

References m_bIsAsciiImport, m_xLbCharset, and m_xTvCharset.

Referenced by ScImportOptionsDlg().

sal_uInt16 ScImportOptionsDlg::GetCodeFromCombo ( const weld::ComboBox rEd) const
private
void ScImportOptionsDlg::GetImportOptions ( ScImportOptions rOptions) const
void ScImportOptionsDlg::SaveImportOptions ( ) const

Member Data Documentation

bool ScImportOptionsDlg::m_bIsAsciiImport
private
std::unique_ptr<weld::Button> ScImportOptionsDlg::m_xBtnOk
private

Definition at line 63 of file scuiimoptdlg.hxx.

std::unique_ptr<weld::CheckButton> ScImportOptionsDlg::m_xCbFixed
private

Definition at line 62 of file scuiimoptdlg.hxx.

Referenced by GetImportOptions(), SaveImportOptions(), and ScImportOptionsDlg().

std::unique_ptr<weld::CheckButton> ScImportOptionsDlg::m_xCbFormulas
private

Definition at line 60 of file scuiimoptdlg.hxx.

Referenced by GetImportOptions(), SaveImportOptions(), and ScImportOptionsDlg().

std::unique_ptr<weld::CheckButton> ScImportOptionsDlg::m_xCbQuoteAll
private

Definition at line 61 of file scuiimoptdlg.hxx.

Referenced by GetImportOptions(), SaveImportOptions(), and ScImportOptionsDlg().

std::unique_ptr<weld::CheckButton> ScImportOptionsDlg::m_xCbShown
private

Definition at line 59 of file scuiimoptdlg.hxx.

Referenced by GetImportOptions(), SaveImportOptions(), and ScImportOptionsDlg().

std::unique_ptr<weld::ComboBox> ScImportOptionsDlg::m_xEdFieldSep
private

Definition at line 56 of file scuiimoptdlg.hxx.

Referenced by GetImportOptions(), SaveImportOptions(), and ScImportOptionsDlg().

std::unique_ptr<weld::ComboBox> ScImportOptionsDlg::m_xEdTextSep
private
std::unique_ptr<weld::Widget> ScImportOptionsDlg::m_xEncGrid
private

Definition at line 54 of file scuiimoptdlg.hxx.

Referenced by ScImportOptionsDlg().

std::unique_ptr<weld::Frame> ScImportOptionsDlg::m_xFieldFrame
private

Definition at line 52 of file scuiimoptdlg.hxx.

Referenced by ScImportOptionsDlg().

std::unique_ptr<weld::Label> ScImportOptionsDlg::m_xFtCharset
private

Definition at line 53 of file scuiimoptdlg.hxx.

Referenced by ScImportOptionsDlg().

std::unique_ptr<weld::Label> ScImportOptionsDlg::m_xFtFieldSep
private

Definition at line 55 of file scuiimoptdlg.hxx.

Referenced by ScImportOptionsDlg().

std::unique_ptr<weld::Label> ScImportOptionsDlg::m_xFtTextSep
private

Definition at line 57 of file scuiimoptdlg.hxx.

Referenced by ScImportOptionsDlg().

std::unique_ptr<SvxTextEncodingBox> ScImportOptionsDlg::m_xLbCharset
private
std::unique_ptr<SvxTextEncodingTreeView> ScImportOptionsDlg::m_xTvCharset
private
std::unique_ptr<ScDelimiterTable> ScImportOptionsDlg::pFieldSepTab
private

Definition at line 47 of file scuiimoptdlg.hxx.

Referenced by GetCodeFromCombo(), and ScImportOptionsDlg().

std::unique_ptr<ScDelimiterTable> ScImportOptionsDlg::pTextSepTab
private

Definition at line 48 of file scuiimoptdlg.hxx.

Referenced by GetCodeFromCombo(), and ScImportOptionsDlg().


The documentation for this class was generated from the following files: