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

#include <dataproviderdlg.hxx>

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

Public Member Functions

 ScDataProviderDlg (weld::Window *pWindow, std::shared_ptr< ScDocument > pDoc, const ScDocument *pDocument)
 
virtual ~ScDataProviderDlg () override
 
void applyAndQuit ()
 
void cancelAndQuit ()
 
void deleteColumn ()
 
void splitColumn ()
 
void mergeColumns ()
 
void textTransformation ()
 
void sortTransformation ()
 
void aggregateFunction ()
 
void numberTransformation ()
 
void deletefromList (sal_uInt32 nIndex)
 
void replaceNullTransformation ()
 
void dateTimeTransformation ()
 
void import (ScDocument &rDoc, bool bInternal=false)
 
- 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

void InitMenu ()
 
 DECL_LINK (StartMenuHdl, const OString &, void)
 
 DECL_LINK (ColumnMenuHdl, const OString &, void)
 
 DECL_LINK (ImportHdl, ScDataProviderBaseControl *, void)
 
 DECL_LINK (ScrollToEnd, Timer *, void)
 

Private Attributes

std::shared_ptr< ScDocumentmxDoc
 
std::unique_ptr< weld::MenumxStartMenu
 
std::unique_ptr< weld::MenumxColumnMenu
 
std::unique_ptr< weld::ContainermxBox
 
css::uno::Reference< css::awt::XWindow > m_xTableParent
 
VclPtr< ScDataTableViewmxTable
 
std::unique_ptr< weld::ScrolledWindowmxScroll
 
std::unique_ptr< weld::ContainermxList
 
std::unique_ptr< ScDataProviderBaseControlmxDataProviderCtrl
 
std::unique_ptr< weld::ComboBoxmxDBRanges
 
std::vector< std::unique_ptr< ScDataTransformationBaseControl > > maControls
 
Idle maIdle
 
sal_uInt32 mnIndex
 
ScDBDatapDBData
 

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 26 of file dataproviderdlg.hxx.

Constructor & Destructor Documentation

ScDataProviderDlg::ScDataProviderDlg ( weld::Window pWindow,
std::shared_ptr< ScDocument pDoc,
const ScDocument pDocument 
)
ScDataProviderDlg::~ScDataProviderDlg ( )
overridevirtual

Member Function Documentation

void ScDataProviderDlg::aggregateFunction ( )

Definition at line 870 of file dataproviderdlg.cxx.

References deletefromList(), maControls, mnIndex, mxDoc, and mxList.

void ScDataProviderDlg::applyAndQuit ( )

Definition at line 824 of file dataproviderdlg.cxx.

References weld::GenericDialogController::m_xDialog, and RET_OK.

void ScDataProviderDlg::cancelAndQuit ( )

Definition at line 829 of file dataproviderdlg.cxx.

References weld::GenericDialogController::m_xDialog, and RET_CANCEL.

void ScDataProviderDlg::dateTimeTransformation ( )

Definition at line 888 of file dataproviderdlg.cxx.

References deletefromList(), maControls, mnIndex, mxDoc, and mxList.

ScDataProviderDlg::DECL_LINK ( StartMenuHdl  ,
const OString &  ,
void   
)
private
ScDataProviderDlg::DECL_LINK ( ColumnMenuHdl  ,
const OString &  ,
void   
)
private
ScDataProviderDlg::DECL_LINK ( ImportHdl  ,
ScDataProviderBaseControl ,
void   
)
private
ScDataProviderDlg::DECL_LINK ( ScrollToEnd  ,
Timer ,
void   
)
private
void ScDataProviderDlg::deleteColumn ( )

Definition at line 834 of file dataproviderdlg.cxx.

References deletefromList(), maControls, mnIndex, mxDoc, and mxList.

void ScDataProviderDlg::deletefromList ( sal_uInt32  nIndex)
void ScDataProviderDlg::import ( ScDocument rDoc,
bool  bInternal = false 
)
void ScDataProviderDlg::InitMenu ( )
private

Definition at line 772 of file dataproviderdlg.cxx.

References LINK, mxColumnMenu, and mxStartMenu.

Referenced by ScDataProviderDlg().

void ScDataProviderDlg::mergeColumns ( )
void ScDataProviderDlg::numberTransformation ( )

Definition at line 876 of file dataproviderdlg.cxx.

References deletefromList(), maControls, mnIndex, mxDoc, and mxList.

void ScDataProviderDlg::replaceNullTransformation ( )

Definition at line 882 of file dataproviderdlg.cxx.

References deletefromList(), maControls, mnIndex, mxDoc, and mxList.

void ScDataProviderDlg::sortTransformation ( )

Definition at line 864 of file dataproviderdlg.cxx.

References deletefromList(), maControls, mnIndex, mxDoc, and mxList.

void ScDataProviderDlg::splitColumn ( )
void ScDataProviderDlg::textTransformation ( )

Definition at line 858 of file dataproviderdlg.cxx.

References deletefromList(), maControls, mnIndex, mxDoc, and mxList.

Member Data Documentation

css::uno::Reference<css::awt::XWindow> ScDataProviderDlg::m_xTableParent
private

Definition at line 33 of file dataproviderdlg.hxx.

Referenced by ~ScDataProviderDlg().

std::vector<std::unique_ptr<ScDataTransformationBaseControl> > ScDataProviderDlg::maControls
private
Idle ScDataProviderDlg::maIdle
private

Definition at line 42 of file dataproviderdlg.hxx.

Referenced by ScDataProviderDlg().

sal_uInt32 ScDataProviderDlg::mnIndex
private
std::unique_ptr<weld::Container> ScDataProviderDlg::mxBox
private

Definition at line 32 of file dataproviderdlg.hxx.

Referenced by ScDataProviderDlg().

std::unique_ptr<weld::Menu> ScDataProviderDlg::mxColumnMenu
private

Definition at line 31 of file dataproviderdlg.hxx.

Referenced by InitMenu().

std::unique_ptr<ScDataProviderBaseControl> ScDataProviderDlg::mxDataProviderCtrl
private

Definition at line 37 of file dataproviderdlg.hxx.

Referenced by import().

std::unique_ptr<weld::ComboBox> ScDataProviderDlg::mxDBRanges
private

Definition at line 38 of file dataproviderdlg.hxx.

Referenced by import(), and ScDataProviderDlg().

std::shared_ptr<ScDocument> ScDataProviderDlg::mxDoc
private
std::unique_ptr<weld::Container> ScDataProviderDlg::mxList
private
std::unique_ptr<weld::ScrolledWindow> ScDataProviderDlg::mxScroll
private

Definition at line 35 of file dataproviderdlg.hxx.

std::unique_ptr<weld::Menu> ScDataProviderDlg::mxStartMenu
private

Definition at line 30 of file dataproviderdlg.hxx.

Referenced by InitMenu().

VclPtr<ScDataTableView> ScDataProviderDlg::mxTable
private
ScDBData* ScDataProviderDlg::pDBData
private

Definition at line 45 of file dataproviderdlg.hxx.

Referenced by import(), and ScDataProviderDlg().


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