LibreOffice Module svx (master) 1
|
#include <datanavi.hxx>
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::Window * | GetFrameWeld () 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 |
XFormsPage * | GetPage (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::Window > | m_xParent |
std::unique_ptr< weld::ComboBox > | m_xModelsBox |
std::unique_ptr< weld::MenuButton > | m_xModelBtn |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
std::unique_ptr< weld::MenuButton > | m_xInstanceBtn |
std::unique_ptr< XFormsPage > | m_xInstPage |
std::unique_ptr< XFormsPage > | m_xSubmissionPage |
std::unique_ptr< XFormsPage > | m_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< DataListener > | m_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 |
Definition at line 256 of file datanavi.hxx.
svxform::DataNavigatorWindow::DataNavigatorWindow | ( | vcl::Window * | pParent, |
weld::Builder & | rBuilder, | ||
SfxBindings const * | pBindings | ||
) |
Definition at line 1287 of file datanavi.cxx.
References CFGNAME_DATANAVIGATOR, CFGNAME_SHOWDETAILS, DBG_ASSERT, SvtViewOptions::Exists(), SfxBindings::GetDispatcher(), SfxDispatcher::GetFrame(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), GetPage(), SvtViewOptions::GetPageID(), SvtViewOptions::GetUserItem(), LINK, LoadModels(), m_aUpdateTimer, m_bShowDetails, m_xDataListener, m_xFrame, m_xInstanceBtn, m_xModelBtn, m_xModelsBox, m_xTabCtrl, Timer::SetInvokeHandler(), and Timer::SetTimeout().
svxform::DataNavigatorWindow::~DataNavigatorWindow | ( | ) |
Definition at line 1344 of file datanavi.cxx.
References Any, CFGNAME_DATANAVIGATOR, CFGNAME_SHOWDETAILS, i, m_aPageList, m_bShowDetails, m_xBindingPage, m_xDataListener, m_xFrame, m_xInstPage, m_xSubmissionPage, m_xTabCtrl, nCount, RemoveBroadcaster(), SvtViewOptions::SetPageID(), and SvtViewOptions::SetUserItem().
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().
void svxform::DataNavigatorWindow::AddEventBroadcaster | ( | const css::uno::Reference< css::xml::dom::events::XEventTarget > & | xTarget | ) |
Definition at line 1995 of file datanavi.cxx.
References svxform::EVENTTYPE_ATTR, svxform::EVENTTYPE_CHARDATA, m_aEventTargetList, m_xDataListener, and xTarget.
Referenced by svxform::XFormsPage::LoadInstance().
|
private |
Definition at line 1894 of file datanavi.cxx.
References svxform::XFormsPage::ClearModel(), i, m_aPageList, m_xBindingPage, m_xInstPage, m_xSubmissionPage, m_xTabCtrl, MIN_PAGE_COUNT, and nCount.
Referenced by ModelSelectHdl().
|
private |
Definition at line 1918 of file datanavi.cxx.
References GetNewPageId(), m_xTabCtrl, and SAL_WARN.
Referenced by InitPages().
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 320 of file datanavi.hxx.
References m_bIsNotifyDisabled.
Referenced by svxform::XFormsPage::DoToolBoxAction().
|
private |
Definition at line 1752 of file datanavi.cxx.
References m_xTabCtrl.
Referenced by ModelSelectHdl().
|
inline |
Definition at line 317 of file datanavi.hxx.
References m_xParent.
Referenced by svxform::XFormsPage::DoToolBoxAction(), and svxform::XFormsPage::RemoveEntry().
|
private |
Definition at line 1940 of file datanavi.cxx.
References i, m_xTabCtrl, nCount, and nPageId.
Referenced by CreateInstancePage().
|
private |
Definition at line 1715 of file datanavi.cxx.
References svxform::DGTBinding, svxform::DGTInstance, svxform::DGTSubmission, HasFirstInstancePage(), m_aPageList, m_xBindingPage, m_xInstPage, m_xSubmissionPage, m_xTabCtrl, and nPos.
Referenced by DataNavigatorWindow(), and SetPageModel().
|
private |
Definition at line 1935 of file datanavi.cxx.
References m_xTabCtrl.
Referenced by GetPage(), and InitPages().
|
private |
Definition at line 1845 of file datanavi.cxx.
References Any, CreateInstancePage(), Exception, HasFirstInstancePage(), m_aPageList, m_xDataContainer, m_xModelsBox, SAL_WARN, sModel, TOOLS_WARN_EXCEPTION, and xModel.
Referenced by ModelSelectHdl().
|
staticprivate |
Definition at line 1674 of file datanavi.cxx.
References o3tl::starts_with(), and u.
Referenced by SetPageModel().
|
inline |
Definition at line 319 of file datanavi.hxx.
References m_bShowDetails.
Referenced by svxform::XFormsPage::AddChildren(), svxform::XFormsPage::AddEntry(), svxform::XFormsPage::DoToolBoxAction(), and svxform::XFormsPage::LoadInstance().
|
private |
Definition at line 1757 of file datanavi.cxx.
References Any, Exception, m_xDataContainer, m_xFrame, m_xFrameModel, m_xModelsBox, ModelSelectHdl(), and TOOLS_WARN_EXCEPTION.
Referenced by DataNavigatorWindow(), and NotifyChanges().
|
private |
Definition at line 1371 of file datanavi.cxx.
References ClearAllPageModels(), GetCurrentPage(), InitPages(), m_nLastSelectedPos, m_xModelsBox, nPos, and SetPageModel().
Referenced by LoadModels().
void svxform::DataNavigatorWindow::NotifyChanges | ( | bool | _bLoadAll = false | ) |
Definition at line 1967 of file datanavi.cxx.
References LoadModels(), m_aUpdateTimer, m_bIsNotifyDisabled, m_nLastSelectedPos, m_xDataContainer, m_xFrameModel, m_xModelsBox, RemoveBroadcaster(), and Timer::Start().
Referenced by svxform::DataListener::elementInserted(), svxform::DataListener::elementRemoved(), svxform::DataListener::elementReplaced(), svxform::DataListener::frameAction(), and svxform::DataListener::handleEvent().
void svxform::DataNavigatorWindow::RemoveBroadcaster | ( | ) |
Definition at line 2005 of file datanavi.cxx.
References svxform::EVENTTYPE_ATTR, svxform::EVENTTYPE_CHARDATA, i, m_aContainerList, m_aEventTargetList, m_xDataListener, and nCount.
Referenced by NotifyChanges(), and ~DataNavigatorWindow().
|
static |
Definition at line 1959 of file datanavi.cxx.
References SfxObjectShell::Current(), DBG_ASSERT, SfxObjectShell::IsEnableSetModified(), SfxObjectShell::IsModified(), and SfxObjectShell::SetModified().
Referenced by svxform::XFormsPage::DoToolBoxAction().
|
private |
Definition at line 1811 of file datanavi.cxx.
References Any, DBG_ASSERT, Exception, GetPage(), IsAdditionalPage(), m_bIsNotifyDisabled, m_xDataContainer, m_xModelsBox, m_xTabCtrl, SAL_WARN, svxform::XFormsPage::SetModel(), sModel, and TOOLS_WARN_EXCEPTION.
Referenced by ModelSelectHdl().
|
private |
Definition at line 275 of file datanavi.hxx.
Referenced by AddContainerBroadcaster(), and RemoveBroadcaster().
|
private |
Definition at line 277 of file datanavi.hxx.
Referenced by AddEventBroadcaster(), and RemoveBroadcaster().
|
private |
Definition at line 273 of file datanavi.hxx.
Referenced by ClearAllPageModels(), GetPage(), InitPages(), and ~DataNavigatorWindow().
|
private |
Definition at line 278 of file datanavi.hxx.
Referenced by DataNavigatorWindow(), and NotifyChanges().
|
private |
Definition at line 271 of file datanavi.hxx.
Referenced by DisableNotify(), NotifyChanges(), and SetPageModel().
|
private |
Definition at line 270 of file datanavi.hxx.
Referenced by DataNavigatorWindow(), IsShowDetails(), and ~DataNavigatorWindow().
|
private |
Definition at line 269 of file datanavi.hxx.
Referenced by ModelSelectHdl(), and NotifyChanges().
|
private |
Definition at line 267 of file datanavi.hxx.
Referenced by ClearAllPageModels(), GetPage(), and ~DataNavigatorWindow().
|
private |
Definition at line 283 of file datanavi.hxx.
Referenced by InitPages(), LoadModels(), NotifyChanges(), and SetPageModel().
|
private |
Definition at line 281 of file datanavi.hxx.
Referenced by AddContainerBroadcaster(), AddEventBroadcaster(), DataNavigatorWindow(), RemoveBroadcaster(), and ~DataNavigatorWindow().
|
private |
Definition at line 285 of file datanavi.hxx.
Referenced by DataNavigatorWindow(), LoadModels(), and ~DataNavigatorWindow().
|
private |
Definition at line 287 of file datanavi.hxx.
Referenced by LoadModels(), and NotifyChanges().
|
private |
Definition at line 263 of file datanavi.hxx.
Referenced by DataNavigatorWindow().
|
private |
Definition at line 265 of file datanavi.hxx.
Referenced by ClearAllPageModels(), GetPage(), and ~DataNavigatorWindow().
|
private |
Definition at line 261 of file datanavi.hxx.
Referenced by DataNavigatorWindow().
|
private |
Definition at line 260 of file datanavi.hxx.
Referenced by DataNavigatorWindow(), InitPages(), LoadModels(), ModelSelectHdl(), NotifyChanges(), and SetPageModel().
|
private |
Definition at line 259 of file datanavi.hxx.
Referenced by GetFrameWeld().
|
private |
Definition at line 266 of file datanavi.hxx.
Referenced by ClearAllPageModels(), GetPage(), and ~DataNavigatorWindow().
|
private |
Definition at line 262 of file datanavi.hxx.
Referenced by ClearAllPageModels(), CreateInstancePage(), DataNavigatorWindow(), GetCurrentPage(), GetNewPageId(), GetPage(), HasFirstInstancePage(), SetPageModel(), and ~DataNavigatorWindow().