LibreOffice Module svx (master)
1
|
#include <datanavi.hxx>
Public Member Functions | |
XFormsPage (weld::Container *pParent, DataNavigatorWindow *_pNaviWin, DataGroupType _eGroup) | |
virtual | ~XFormsPage () override |
bool | HasModel () const |
OUString | SetModel (const css::uno::Reference< css::xforms::XModel > &_xModel, int _nPagePos) |
void | ClearModel () |
OUString | LoadInstance (const css::uno::Sequence< css::beans::PropertyValue > &_xPropSeq) |
bool | DoMenuAction (std::string_view rMenuID) |
void | EnableMenuItems (weld::Menu *pMenu) |
const OUString & | GetInstanceName () const |
const OUString & | GetInstanceURL () const |
bool | GetLinkOnce () const |
void | SetInstanceName (const OUString &name) |
void | SetInstanceURL (const OUString &url) |
void | SetLinkOnce (bool bLinkOnce) |
css::uno::Reference< css::beans::XPropertySet > | GetBindingForNode (const css::uno::Reference< css::xml::dom::XNode > &xNode) |
OUString | GetServiceNameForNode (const css::uno::Reference< css::xml::dom::XNode > &xNode) |
const css::uno::Reference< css::xforms::XFormsUIHelper1 > & | GetXFormsHelper () const |
![]() | |
BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, bool bIsMobile=false) | |
virtual | ~BuilderPage () COVERITY_NOEXCEPT_FALSE |
void | SetPageTitle (const OUString &rPageTitle) |
const OUString & | GetPageTitle () const |
virtual void | Activate () |
virtual void | Deactivate () |
void | SetHelpId (const OString &rHelpId) |
OString | GetHelpId () const |
Private Member Functions | |
DECL_LINK (TbxSelectHdl, const OString &, void) | |
DECL_LINK (ItemSelectHdl, weld::TreeView &, void) | |
DECL_LINK (KeyInputHdl, const KeyEvent &, bool) | |
DECL_LINK (PopupMenuHdl, const CommandEvent &, bool) | |
void | AddChildren (const weld::TreeIter *_pParent, const css::uno::Reference< css::xml::dom::XNode > &_xNode) |
bool | DoToolBoxAction (std::string_view rToolBoxID) |
void | AddEntry (std::unique_ptr< ItemNode > _pNewNode, bool _bIsElement, weld::TreeIter *pRet=nullptr) |
void | AddEntry (const css::uno::Reference< css::beans::XPropertySet > &_rPropSet, weld::TreeIter *pRet=nullptr) |
void | EditEntry (const css::uno::Reference< css::beans::XPropertySet > &_rPropSet) |
bool | RemoveEntry () |
void | PrepDnD () |
void | DeleteAndClearTree () |
Private Attributes | |
MethodString | m_aMethodString |
ReplaceString | m_aReplaceString |
weld::Container * | m_pParent |
std::unique_ptr< weld::Toolbar > | m_xToolBox |
std::unique_ptr< weld::TreeView > | m_xItemList |
std::unique_ptr< weld::TreeIter > | m_xScratchIter |
DataTreeDropTarget | m_aDropHelper |
css::uno::Reference< css::xforms::XFormsUIHelper1 > | m_xUIHelper |
DataNavigatorWindow * | m_pNaviWin |
bool | m_bHasModel |
DataGroupType | m_eGroup |
OUString | m_sInstanceName |
OUString | m_sInstanceURL |
bool | m_bLinkOnce |
Additional Inherited Members | |
![]() | |
weld::DialogController * | m_pDialogController |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 179 of file datanavi.hxx.
svxform::XFormsPage::XFormsPage | ( | weld::Container * | pParent, |
DataNavigatorWindow * | _pNaviWin, | ||
DataGroupType | _eGroup | ||
) |
Definition at line 187 of file datanavi.cxx.
References svxform::DGTInstance, svxform::DGTSubmission, false, LINK, m_eGroup, m_xItemList, m_xToolBox, and SvxResId().
|
overridevirtual |
Definition at line 230 of file datanavi.cxx.
References DeleteAndClearTree(), m_pNaviWin, m_pParent, BuilderPage::m_xContainer, and weld::Container::move().
|
private |
Definition at line 305 of file datanavi.cxx.
References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, i, svxform::DataNavigatorWindow::IsShowDetails(), m_pNaviWin, m_xItemList, m_xScratchIter, m_xUIHelper, sId, sName, and weld::toId().
Referenced by LoadInstance().
|
private |
Definition at line 682 of file datanavi.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, svxform::DataNavigatorWindow::IsShowDetails(), m_pNaviWin, m_xItemList, m_xScratchIter, m_xUIHelper, sId, sName, and weld::toId().
Referenced by DoToolBoxAction(), and SetModel().
|
private |
void svxform::XFormsPage::ClearModel | ( | ) |
Definition at line 1110 of file datanavi.cxx.
References DeleteAndClearTree(), and m_bHasModel.
Referenced by svxform::DataNavigatorWindow::ClearAllPageModels().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 178 of file datanavi.cxx.
References m_xItemList.
Referenced by ClearModel(), and ~XFormsPage().
bool svxform::XFormsPage::DoMenuAction | ( | std::string_view | rMenuID | ) |
Definition at line 1158 of file datanavi.cxx.
References DoToolBoxAction().
|
private |
Definition at line 376 of file datanavi.cxx.
References AddEntry(), Any, DBG_ASSERT, svxform::DGTBinding, svxform::DGTInstance, svxform::DGTSubmission, svxform::DataNavigatorWindow::DisableNotify(), svxform::DITAttribute, svxform::DITBinding, svxform::DITElement, EditEntry(), EnableMenuItems(), eType, Exception, svxform::DataNavigatorWindow::GetFrameWeld(), svxform::AddSubmissionDialog::GetNewSubmission(), svxform::DataNavigatorWindow::IsShowDetails(), m_eGroup, m_pNaviWin, m_sInstanceURL, m_xItemList, svxform::ItemNode::m_xNode, svxform::ItemNode::m_xPropSet, m_xScratchIter, m_xUIHelper, RemoveEntry(), RET_OK, weld::DialogController::set_title(), svxform::DataNavigatorWindow::SetDocModified(), SvxResId(), TOOLS_WARN_EXCEPTION, and xModel.
Referenced by DoMenuAction().
|
private |
Definition at line 782 of file datanavi.cxx.
References svxform::DGTSubmission, Exception, m_aMethodString, m_aReplaceString, m_eGroup, m_xItemList, SAL_WARN, SvxResId(), TOOLS_WARN_EXCEPTION, svxform::ReplaceString::toUI(), and svxform::MethodString::toUI().
Referenced by DoToolBoxAction().
void svxform::XFormsPage::EnableMenuItems | ( | weld::Menu * | pMenu | ) |
Definition at line 1163 of file datanavi.cxx.
References svxform::DGTInstance, svxform::DGTSubmission, Exception, m_eGroup, m_xItemList, svxform::ItemNode::m_xNode, svxform::ItemNode::m_xPropSet, m_xToolBox, weld::Menu::set_label(), weld::Menu::set_sensitive(), SvxResId(), and TOOLS_WARN_EXCEPTION.
Referenced by DoToolBoxAction(), and SetModel().
|
inline |
|
inline |
Definition at line 235 of file datanavi.hxx.
References m_sInstanceName.
Referenced by svxform::IMPL_LINK().
|
inline |
Definition at line 236 of file datanavi.hxx.
References m_sInstanceURL.
Referenced by svxform::IMPL_LINK().
|
inline |
Definition at line 237 of file datanavi.hxx.
References m_bLinkOnce.
Referenced by svxform::IMPL_LINK().
|
inline |
|
inline |
|
inline |
Definition at line 227 of file datanavi.hxx.
References m_bHasModel.
Referenced by svxform::IMPL_LINK().
OUString svxform::XFormsPage::LoadInstance | ( | const css::uno::Sequence< css::beans::PropertyValue > & | _xPropSeq | ) |
Definition at line 1116 of file datanavi.cxx.
References AddChildren(), svxform::DataNavigatorWindow::AddEventBroadcaster(), Exception, svxform::DataNavigatorWindow::IsShowDetails(), m_pNaviWin, m_sInstanceName, m_sInstanceURL, m_xUIHelper, svxform::PN_INSTANCE_ID, svxform::PN_INSTANCE_MODEL, svxform::PN_INSTANCE_URL, TOOLS_WARN_EXCEPTION, and xTarget.
Referenced by SetModel().
|
private |
Definition at line 248 of file datanavi.cxx.
References DBG_ASSERT, svxform::DGTBinding, svxform::DGTSubmission, DND_ACTION_COPY, DND_ACTION_NONE, FM_COMPONENT_COMMANDBUTTON, GetBindingForNode(), GetServiceNameForNode(), GetXFormsHelper(), m_eGroup, m_xItemList, svxform::ItemNode::m_xNode, svxform::ItemNode::m_xPropSet, m_xScratchIter, and xModel.
|
private |
Definition at line 854 of file datanavi.cxx.
References Any, ATTRIBUTENAME, BINDINGNAME, Application::CreateMessageDialog(), DBG_ASSERT, svxform::DGTInstance, svxform::DGTSubmission, ELEMENTNAME, Exception, svxform::DataNavigatorWindow::GetFrameWeld(), m_eGroup, m_pNaviWin, m_xItemList, svxform::ItemNode::m_xNode, m_xUIHelper, RET_YES, sName, SUBMISSIONNAME, SvxResId(), TOOLS_WARN_EXCEPTION, void(), and xModel.
Referenced by DoToolBoxAction().
|
inline |
Definition at line 238 of file datanavi.hxx.
Referenced by svxform::IMPL_LINK().
|
inline |
Definition at line 239 of file datanavi.hxx.
Referenced by svxform::IMPL_LINK().
|
inline |
Definition at line 240 of file datanavi.hxx.
Referenced by svxform::IMPL_LINK().
OUString svxform::XFormsPage::SetModel | ( | const css::uno::Reference< css::xforms::XModel > & | _xModel, |
int | _nPagePos | ||
) |
Definition at line 966 of file datanavi.cxx.
References svxform::DataNavigatorWindow::AddContainerBroadcaster(), AddEntry(), Any, DBG_ASSERT, svxform::DGTBinding, svxform::DGTInstance, svxform::DGTSubmission, EnableMenuItems(), Exception, LoadInstance(), m_bHasModel, m_eGroup, m_pNaviWin, m_xItemList, m_xUIHelper, SAL_WARN, sId, weld::toId(), and TOOLS_WARN_EXCEPTION.
Referenced by svxform::DataNavigatorWindow::SetPageModel().
|
private |
Definition at line 190 of file datanavi.hxx.
|
private |
Definition at line 182 of file datanavi.hxx.
Referenced by EditEntry().
|
private |
Definition at line 183 of file datanavi.hxx.
Referenced by EditEntry().
|
private |
Definition at line 196 of file datanavi.hxx.
Referenced by ClearModel(), HasModel(), and SetModel().
|
private |
Definition at line 204 of file datanavi.hxx.
Referenced by GetLinkOnce().
|
private |
Definition at line 197 of file datanavi.hxx.
Referenced by DoToolBoxAction(), EditEntry(), EnableMenuItems(), PrepDnD(), RemoveEntry(), SetModel(), and XFormsPage().
|
private |
Definition at line 195 of file datanavi.hxx.
Referenced by AddChildren(), AddEntry(), DoToolBoxAction(), LoadInstance(), RemoveEntry(), SetModel(), and ~XFormsPage().
|
private |
Definition at line 185 of file datanavi.hxx.
Referenced by ~XFormsPage().
|
private |
Definition at line 202 of file datanavi.hxx.
Referenced by GetInstanceName(), and LoadInstance().
|
private |
Definition at line 203 of file datanavi.hxx.
Referenced by DoToolBoxAction(), GetInstanceURL(), and LoadInstance().
|
private |
Definition at line 187 of file datanavi.hxx.
Referenced by AddChildren(), AddEntry(), DeleteAndClearTree(), DoToolBoxAction(), EditEntry(), EnableMenuItems(), PrepDnD(), RemoveEntry(), SetModel(), and XFormsPage().
|
private |
Definition at line 188 of file datanavi.hxx.
Referenced by AddChildren(), AddEntry(), DoToolBoxAction(), and PrepDnD().
|
private |
Definition at line 186 of file datanavi.hxx.
Referenced by EnableMenuItems(), and XFormsPage().
|
private |
Definition at line 193 of file datanavi.hxx.
Referenced by AddChildren(), AddEntry(), DoToolBoxAction(), GetBindingForNode(), GetServiceNameForNode(), GetXFormsHelper(), LoadInstance(), RemoveEntry(), and SetModel().