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 OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString 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::Toggleable &, 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< 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 29 of file scuiimoptdlg.hxx.

Constructor & Destructor Documentation

◆ ScImportOptionsDlg()

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

◆ ~ScImportOptionsDlg()

ScImportOptionsDlg::~ScImportOptionsDlg ( )
overridevirtual

Definition at line 263 of file scuiimoptdlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

ScImportOptionsDlg::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/2]

ScImportOptionsDlg::DECL_LINK ( FixedWidthHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillFromDbTextEncodingMap()

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

Definition at line 99 of file scuiimoptdlg.cxx.

References m_bIsAsciiImport, m_xLbCharset, and m_xTvCharset.

Referenced by ScImportOptionsDlg().

◆ FillFromTextEncodingTable()

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

Definition at line 91 of file scuiimoptdlg.cxx.

References m_bIsAsciiImport, m_xLbCharset, and m_xTvCharset.

Referenced by ScImportOptionsDlg().

◆ GetCodeFromCombo()

sal_uInt16 ScImportOptionsDlg::GetCodeFromCombo ( const weld::ComboBox rEd) const
private

◆ GetImportOptions()

void ScImportOptionsDlg::GetImportOptions ( ScImportOptions rOptions) const

◆ SaveImportOptions()

void ScImportOptionsDlg::SaveImportOptions ( ) const

Member Data Documentation

◆ m_bIsAsciiImport

bool ScImportOptionsDlg::m_bIsAsciiImport
private

◆ m_xCbFixed

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

Definition at line 61 of file scuiimoptdlg.hxx.

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

◆ m_xCbFormulas

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

Definition at line 59 of file scuiimoptdlg.hxx.

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

◆ m_xCbQuoteAll

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

Definition at line 60 of file scuiimoptdlg.hxx.

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

◆ m_xCbShown

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

Definition at line 58 of file scuiimoptdlg.hxx.

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

◆ m_xEdFieldSep

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

Definition at line 55 of file scuiimoptdlg.hxx.

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

◆ m_xEdTextSep

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

◆ m_xEncGrid

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

Definition at line 53 of file scuiimoptdlg.hxx.

Referenced by ScImportOptionsDlg().

◆ m_xFieldFrame

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

Definition at line 51 of file scuiimoptdlg.hxx.

Referenced by ScImportOptionsDlg().

◆ m_xFtCharset

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

Definition at line 52 of file scuiimoptdlg.hxx.

Referenced by ScImportOptionsDlg().

◆ m_xFtFieldSep

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

Definition at line 54 of file scuiimoptdlg.hxx.

Referenced by ScImportOptionsDlg().

◆ m_xFtTextSep

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

Definition at line 56 of file scuiimoptdlg.hxx.

Referenced by ScImportOptionsDlg().

◆ m_xLbCharset

std::unique_ptr<SvxTextEncodingBox> ScImportOptionsDlg::m_xLbCharset
private

◆ m_xTvCharset

std::unique_ptr<SvxTextEncodingTreeView> ScImportOptionsDlg::m_xTvCharset
private

◆ pFieldSepTab

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

Definition at line 46 of file scuiimoptdlg.hxx.

Referenced by GetCodeFromCombo(), and ScImportOptionsDlg().

◆ pTextSepTab

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

Definition at line 47 of file scuiimoptdlg.hxx.

Referenced by GetCodeFromCombo(), and ScImportOptionsDlg().


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