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 OUString &, void)
 
 DECL_LINK (MenuActivateHdl, weld::Toggleable &, void)
 
 DECL_LINK (ActivatePageHdl, const OUString &, void)
 
 DECL_LINK (UpdateHdl, Timer *, void)
 
void ModelSelectHdl (const weld::ComboBox *)
 
OUString GetCurrentPage () const
 
XFormsPageGetPage (const OUString &rCurId)
 
void LoadModels ()
 
void SetPageModel (const OUString &rCurId)
 
void ClearAllPageModels (bool bClearPages)
 
void InitPages ()
 
void CreateInstancePage (const css::uno::Sequence< css::beans::PropertyValue > &_xPropSeq)
 
bool HasFirstInstancePage () const
 
OUString GetNewPageId () const
 

Static Private Member Functions

static bool IsAdditionalPage (std::u16string_view 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 256 of file datanavi.hxx.

Constructor & Destructor Documentation

◆ DataNavigatorWindow()

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

◆ ~DataNavigatorWindow()

svxform::DataNavigatorWindow::~DataNavigatorWindow ( )

Member Function Documentation

◆ AddContainerBroadcaster()

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

Definition at line 1987 of file datanavi.cxx.

References m_aContainerList, and m_xDataListener.

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

◆ AddEventBroadcaster()

void svxform::DataNavigatorWindow::AddEventBroadcaster ( const css::uno::Reference< css::xml::dom::events::XEventTarget > &  xTarget)

◆ ClearAllPageModels()

void svxform::DataNavigatorWindow::ClearAllPageModels ( bool  bClearPages)
private

◆ CreateInstancePage()

void svxform::DataNavigatorWindow::CreateInstancePage ( const css::uno::Sequence< css::beans::PropertyValue > &  _xPropSeq)
private

Definition at line 1918 of file datanavi.cxx.

References GetNewPageId(), m_xTabCtrl, and SAL_WARN.

Referenced by InitPages().

◆ DECL_LINK() [1/5]

svxform::DataNavigatorWindow::DECL_LINK ( ActivatePageHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [2/5]

svxform::DataNavigatorWindow::DECL_LINK ( MenuActivateHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/5]

svxform::DataNavigatorWindow::DECL_LINK ( MenuSelectHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [4/5]

svxform::DataNavigatorWindow::DECL_LINK ( ModelSelectListBoxHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/5]

svxform::DataNavigatorWindow::DECL_LINK ( UpdateHdl  ,
Timer ,
void   
)
private

◆ DisableNotify()

void svxform::DataNavigatorWindow::DisableNotify ( bool  _bDisable)
inline

Definition at line 320 of file datanavi.hxx.

References m_bIsNotifyDisabled.

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

◆ GetCurrentPage()

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

Definition at line 1752 of file datanavi.cxx.

References m_xTabCtrl.

Referenced by ModelSelectHdl().

◆ GetFrameWeld()

weld::Window * svxform::DataNavigatorWindow::GetFrameWeld ( ) const
inline

Definition at line 317 of file datanavi.hxx.

References m_xParent.

Referenced by svxform::XFormsPage::DoToolBoxAction(), and svxform::XFormsPage::RemoveEntry().

◆ GetNewPageId()

OUString svxform::DataNavigatorWindow::GetNewPageId ( ) const
private

Definition at line 1940 of file datanavi.cxx.

References i, m_xTabCtrl, nCount, and nPageId.

Referenced by CreateInstancePage().

◆ GetPage()

XFormsPage * svxform::DataNavigatorWindow::GetPage ( const OUString &  rCurId)
private

◆ HasFirstInstancePage()

bool svxform::DataNavigatorWindow::HasFirstInstancePage ( ) const
private

Definition at line 1935 of file datanavi.cxx.

References m_xTabCtrl.

Referenced by GetPage(), and InitPages().

◆ InitPages()

void svxform::DataNavigatorWindow::InitPages ( )
private

◆ IsAdditionalPage()

bool svxform::DataNavigatorWindow::IsAdditionalPage ( std::u16string_view  rIdent)
staticprivate

Definition at line 1674 of file datanavi.cxx.

References o3tl::starts_with(), and u.

Referenced by SetPageModel().

◆ IsShowDetails()

bool svxform::DataNavigatorWindow::IsShowDetails ( ) const
inline

◆ LoadModels()

void svxform::DataNavigatorWindow::LoadModels ( )
private

◆ ModelSelectHdl()

void svxform::DataNavigatorWindow::ModelSelectHdl ( const weld::ComboBox pBox)
private

◆ NotifyChanges()

void svxform::DataNavigatorWindow::NotifyChanges ( bool  _bLoadAll = false)

◆ RemoveBroadcaster()

void svxform::DataNavigatorWindow::RemoveBroadcaster ( )

◆ SetDocModified()

void svxform::DataNavigatorWindow::SetDocModified ( )
static

◆ SetPageModel()

void svxform::DataNavigatorWindow::SetPageModel ( const OUString &  rCurId)
private

Member Data Documentation

◆ m_aContainerList

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

Definition at line 275 of file datanavi.hxx.

Referenced by AddContainerBroadcaster(), and RemoveBroadcaster().

◆ m_aEventTargetList

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

Definition at line 277 of file datanavi.hxx.

Referenced by AddEventBroadcaster(), and RemoveBroadcaster().

◆ m_aPageList

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

Definition at line 273 of file datanavi.hxx.

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

◆ m_aUpdateTimer

Timer svxform::DataNavigatorWindow::m_aUpdateTimer
private

Definition at line 278 of file datanavi.hxx.

Referenced by DataNavigatorWindow(), and NotifyChanges().

◆ m_bIsNotifyDisabled

bool svxform::DataNavigatorWindow::m_bIsNotifyDisabled
private

Definition at line 271 of file datanavi.hxx.

Referenced by DisableNotify(), NotifyChanges(), and SetPageModel().

◆ m_bShowDetails

bool svxform::DataNavigatorWindow::m_bShowDetails
private

Definition at line 270 of file datanavi.hxx.

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

◆ m_nLastSelectedPos

sal_Int32 svxform::DataNavigatorWindow::m_nLastSelectedPos
private

Definition at line 269 of file datanavi.hxx.

Referenced by ModelSelectHdl(), and NotifyChanges().

◆ m_xBindingPage

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

Definition at line 267 of file datanavi.hxx.

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

◆ m_xDataContainer

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

Definition at line 283 of file datanavi.hxx.

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

◆ m_xDataListener

::rtl::Reference< DataListener > svxform::DataNavigatorWindow::m_xDataListener
private

◆ m_xFrame

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

Definition at line 285 of file datanavi.hxx.

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

◆ m_xFrameModel

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

Definition at line 287 of file datanavi.hxx.

Referenced by LoadModels(), and NotifyChanges().

◆ m_xInstanceBtn

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

Definition at line 263 of file datanavi.hxx.

Referenced by DataNavigatorWindow().

◆ m_xInstPage

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

Definition at line 265 of file datanavi.hxx.

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

◆ m_xModelBtn

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

Definition at line 261 of file datanavi.hxx.

Referenced by DataNavigatorWindow().

◆ m_xModelsBox

std::unique_ptr<weld::ComboBox> svxform::DataNavigatorWindow::m_xModelsBox
private

◆ m_xParent

VclPtr<vcl::Window> svxform::DataNavigatorWindow::m_xParent
private

Definition at line 259 of file datanavi.hxx.

Referenced by GetFrameWeld().

◆ m_xSubmissionPage

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

Definition at line 266 of file datanavi.hxx.

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

◆ m_xTabCtrl

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

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