LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
svxform::DataNavigatorWindow Class Referencefinal

#include <datanavi.hxx>

Collaboration diagram for svxform::DataNavigatorWindow:
[legend]

Public Member Functions

 DataNavigatorWindow (vcl::Window *pParent, weld::Builder &rBuilder, SfxBindings const *pBindings)
 
 ~DataNavigatorWindow ()
 
void NotifyChanges (bool _bLoadAll=false)
 
void AddContainerBroadcaster (const css::uno::Reference< css::container::XContainer > &xContainer)
 
void AddEventBroadcaster (const css::uno::Reference< css::xml::dom::events::XEventTarget > &xTarget)
 
void RemoveBroadcaster ()
 
weld::WindowGetFrameWeld () const
 
bool IsShowDetails () const
 
void DisableNotify (bool _bDisable)
 

Static Public Member Functions

static void SetDocModified ()
 

Private Member Functions

 DECL_LINK (ModelSelectListBoxHdl, weld::ComboBox &, void)
 
 DECL_LINK (MenuSelectHdl, const OString &, void)
 
 DECL_LINK (MenuActivateHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ActivatePageHdl, const OString &, void)
 
 DECL_LINK (UpdateHdl, Timer *, void)
 
void ModelSelectHdl (const weld::ComboBox *)
 
OString GetCurrentPage () const
 
XFormsPageGetPage (const OString &rCurId)
 
void LoadModels ()
 
void SetPageModel (const OString &rCurId)
 
void ClearAllPageModels (bool bClearPages)
 
void InitPages ()
 
void CreateInstancePage (const css::uno::Sequence< css::beans::PropertyValue > &_xPropSeq)
 
bool HasFirstInstancePage () const
 
OString GetNewPageId () const
 

Static Private Member Functions

static bool IsAdditionalPage (const OString &rIdent)
 

Private Attributes

VclPtr< vcl::Windowm_xParent
 
std::unique_ptr< weld::ComboBoxm_xModelsBox
 
std::unique_ptr< weld::MenuButtonm_xModelBtn
 
std::unique_ptr< weld::Notebookm_xTabCtrl
 
std::unique_ptr< weld::MenuButtonm_xInstanceBtn
 
std::unique_ptr< XFormsPagem_xInstPage
 
std::unique_ptr< XFormsPagem_xSubmissionPage
 
std::unique_ptr< XFormsPagem_xBindingPage
 
sal_Int32 m_nLastSelectedPos
 
bool m_bShowDetails
 
bool m_bIsNotifyDisabled
 
std::vector< std::unique_ptr< XFormsPage > > m_aPageList
 
std::vector< css::uno::Reference< css::container::XContainer > > m_aContainerList
 
std::vector< css::uno::Reference< css::xml::dom::events::XEventTarget > > m_aEventTargetList
 
Timer m_aUpdateTimer
 
::rtl::Reference< DataListenerm_xDataListener
 
css::uno::Reference< css::container::XNameContainer > m_xDataContainer
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
css::uno::Reference< css::frame::XModel > m_xFrameModel
 

Detailed Description

Definition at line 248 of file datanavi.hxx.

Constructor & Destructor Documentation

svxform::DataNavigatorWindow::DataNavigatorWindow ( vcl::Window pParent,
weld::Builder rBuilder,
SfxBindings const *  pBindings 
)
svxform::DataNavigatorWindow::~DataNavigatorWindow ( )

Member Function Documentation

void svxform::DataNavigatorWindow::AddContainerBroadcaster ( const css::uno::Reference< css::container::XContainer > &  xContainer)

Definition at line 1953 of file datanavi.cxx.

References m_aContainerList, and m_xDataListener.

Referenced by svxform::XFormsPage::SetModel().

void svxform::DataNavigatorWindow::AddEventBroadcaster ( const css::uno::Reference< css::xml::dom::events::XEventTarget > &  xTarget)
void svxform::DataNavigatorWindow::ClearAllPageModels ( bool  bClearPages)
private
void svxform::DataNavigatorWindow::CreateInstancePage ( const css::uno::Sequence< css::beans::PropertyValue > &  _xPropSeq)
private

Definition at line 1884 of file datanavi.cxx.

References GetNewPageId(), m_xTabCtrl, PN_INSTANCE_ID, and SAL_WARN.

Referenced by InitPages().

svxform::DataNavigatorWindow::DECL_LINK ( ModelSelectListBoxHdl  ,
weld::ComboBox ,
void   
)
private
svxform::DataNavigatorWindow::DECL_LINK ( MenuSelectHdl  ,
const OString &  ,
void   
)
private
svxform::DataNavigatorWindow::DECL_LINK ( MenuActivateHdl  ,
weld::ToggleButton ,
void   
)
private
svxform::DataNavigatorWindow::DECL_LINK ( ActivatePageHdl  ,
const OString &  ,
void   
)
private
svxform::DataNavigatorWindow::DECL_LINK ( UpdateHdl  ,
Timer ,
void   
)
private
void svxform::DataNavigatorWindow::DisableNotify ( bool  _bDisable)
inline

Definition at line 312 of file datanavi.hxx.

Referenced by svxform::XFormsPage::DoToolBoxAction().

OString svxform::DataNavigatorWindow::GetCurrentPage ( ) const
private

Definition at line 1718 of file datanavi.cxx.

References m_xTabCtrl.

Referenced by ModelSelectHdl().

weld::Window* svxform::DataNavigatorWindow::GetFrameWeld ( ) const
inline
OString svxform::DataNavigatorWindow::GetNewPageId ( ) const
private

Definition at line 1906 of file datanavi.cxx.

References i, m_xTabCtrl, nCount, and nPageId.

Referenced by CreateInstancePage().

XFormsPage * svxform::DataNavigatorWindow::GetPage ( const OString &  rCurId)
private
bool svxform::DataNavigatorWindow::HasFirstInstancePage ( ) const
private

Definition at line 1901 of file datanavi.cxx.

References m_xTabCtrl.

Referenced by GetPage(), and InitPages().

void svxform::DataNavigatorWindow::InitPages ( )
private
bool svxform::DataNavigatorWindow::IsAdditionalPage ( const OString &  rIdent)
staticprivate

Definition at line 1640 of file datanavi.cxx.

Referenced by SetPageModel().

bool svxform::DataNavigatorWindow::IsShowDetails ( ) const
inline
void svxform::DataNavigatorWindow::LoadModels ( )
private
void svxform::DataNavigatorWindow::ModelSelectHdl ( const weld::ComboBox pBox)
private
void svxform::DataNavigatorWindow::NotifyChanges ( bool  _bLoadAll = false)
void svxform::DataNavigatorWindow::RemoveBroadcaster ( )
void svxform::DataNavigatorWindow::SetDocModified ( )
static
void svxform::DataNavigatorWindow::SetPageModel ( const OString &  rCurId)
private

Member Data Documentation

std::vector< css::uno::Reference< css::container::XContainer > > svxform::DataNavigatorWindow::m_aContainerList
private

Definition at line 267 of file datanavi.hxx.

Referenced by AddContainerBroadcaster(), and RemoveBroadcaster().

std::vector< css::uno::Reference< css::xml::dom::events::XEventTarget > > svxform::DataNavigatorWindow::m_aEventTargetList
private

Definition at line 269 of file datanavi.hxx.

Referenced by AddEventBroadcaster(), and RemoveBroadcaster().

std::vector< std::unique_ptr<XFormsPage> > svxform::DataNavigatorWindow::m_aPageList
private

Definition at line 265 of file datanavi.hxx.

Referenced by ClearAllPageModels(), GetPage(), InitPages(), and ~DataNavigatorWindow().

Timer svxform::DataNavigatorWindow::m_aUpdateTimer
private

Definition at line 270 of file datanavi.hxx.

Referenced by DataNavigatorWindow(), and NotifyChanges().

bool svxform::DataNavigatorWindow::m_bIsNotifyDisabled
private

Definition at line 263 of file datanavi.hxx.

Referenced by NotifyChanges(), and SetPageModel().

bool svxform::DataNavigatorWindow::m_bShowDetails
private

Definition at line 262 of file datanavi.hxx.

Referenced by DataNavigatorWindow(), IsShowDetails(), and ~DataNavigatorWindow().

sal_Int32 svxform::DataNavigatorWindow::m_nLastSelectedPos
private

Definition at line 261 of file datanavi.hxx.

Referenced by ModelSelectHdl(), and NotifyChanges().

std::unique_ptr<XFormsPage> svxform::DataNavigatorWindow::m_xBindingPage
private

Definition at line 259 of file datanavi.hxx.

Referenced by ClearAllPageModels(), GetPage(), and ~DataNavigatorWindow().

css::uno::Reference< css::container::XNameContainer > svxform::DataNavigatorWindow::m_xDataContainer
private

Definition at line 275 of file datanavi.hxx.

Referenced by InitPages(), LoadModels(), NotifyChanges(), and SetPageModel().

::rtl::Reference< DataListener > svxform::DataNavigatorWindow::m_xDataListener
private
css::uno::Reference< css::frame::XFrame > svxform::DataNavigatorWindow::m_xFrame
private

Definition at line 277 of file datanavi.hxx.

Referenced by DataNavigatorWindow(), LoadModels(), and ~DataNavigatorWindow().

css::uno::Reference< css::frame::XModel > svxform::DataNavigatorWindow::m_xFrameModel
private

Definition at line 279 of file datanavi.hxx.

Referenced by LoadModels(), and NotifyChanges().

std::unique_ptr<weld::MenuButton> svxform::DataNavigatorWindow::m_xInstanceBtn
private

Definition at line 255 of file datanavi.hxx.

Referenced by DataNavigatorWindow().

std::unique_ptr<XFormsPage> svxform::DataNavigatorWindow::m_xInstPage
private

Definition at line 257 of file datanavi.hxx.

Referenced by ClearAllPageModels(), GetPage(), and ~DataNavigatorWindow().

std::unique_ptr<weld::MenuButton> svxform::DataNavigatorWindow::m_xModelBtn
private

Definition at line 253 of file datanavi.hxx.

Referenced by DataNavigatorWindow().

std::unique_ptr<weld::ComboBox> svxform::DataNavigatorWindow::m_xModelsBox
private
VclPtr<vcl::Window> svxform::DataNavigatorWindow::m_xParent
private

Definition at line 251 of file datanavi.hxx.

std::unique_ptr<XFormsPage> svxform::DataNavigatorWindow::m_xSubmissionPage
private

Definition at line 258 of file datanavi.hxx.

Referenced by ClearAllPageModels(), GetPage(), and ~DataNavigatorWindow().

std::unique_ptr<weld::Notebook> svxform::DataNavigatorWindow::m_xTabCtrl
private

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