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

#include <datanavi.hxx>

Inheritance diagram for svxform::XFormsPage:
[legend]
Collaboration diagram for svxform::XFormsPage:
[legend]

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 (const OString &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
 
- Public Member Functions inherited from BuilderPage
 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 (weld::TreeIter *_pParent, const css::uno::Reference< css::xml::dom::XNode > &_xNode)
 
bool DoToolBoxAction (const OString &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::Containerm_pParent
 
std::unique_ptr< weld::Toolbarm_xToolBox
 
std::unique_ptr< weld::TreeViewm_xItemList
 
std::unique_ptr< weld::TreeIterm_xScratchIter
 
DataTreeDropTarget m_aDropHelper
 
css::uno::Reference< css::xforms::XFormsUIHelper1 > m_xUIHelper
 
DataNavigatorWindowm_pNaviWin
 
bool m_bHasModel
 
DataGroupType m_eGroup
 
OUString m_sInstanceName
 
OUString m_sInstanceURL
 
bool m_bLinkOnce
 

Additional Inherited Members

- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 178 of file datanavi.hxx.

Constructor & Destructor Documentation

svxform::XFormsPage::XFormsPage ( weld::Container pParent,
DataNavigatorWindow _pNaviWin,
DataGroupType  _eGroup 
)
svxform::XFormsPage::~XFormsPage ( )
overridevirtual

Member Function Documentation

void svxform::XFormsPage::AddChildren ( weld::TreeIter _pParent,
const css::uno::Reference< css::xml::dom::XNode > &  _xNode 
)
private
void svxform::XFormsPage::AddEntry ( std::unique_ptr< ItemNode _pNewNode,
bool  _bIsElement,
weld::TreeIter pRet = nullptr 
)
private
void svxform::XFormsPage::AddEntry ( const css::uno::Reference< css::beans::XPropertySet > &  _rPropSet,
weld::TreeIter pRet = nullptr 
)
private
void svxform::XFormsPage::ClearModel ( )

Definition at line 1111 of file datanavi.cxx.

References DeleteAndClearTree(), and m_bHasModel.

Referenced by svxform::DataNavigatorWindow::ClearAllPageModels().

svxform::XFormsPage::DECL_LINK ( TbxSelectHdl  ,
const OString &  ,
void   
)
private
svxform::XFormsPage::DECL_LINK ( ItemSelectHdl  ,
weld::TreeView ,
void   
)
private
svxform::XFormsPage::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private
svxform::XFormsPage::DECL_LINK ( PopupMenuHdl  ,
const CommandEvent ,
bool   
)
private
void svxform::XFormsPage::DeleteAndClearTree ( )
private

Definition at line 178 of file datanavi.cxx.

References m_xItemList.

Referenced by ClearModel(), and ~XFormsPage().

bool svxform::XFormsPage::DoMenuAction ( const OString &  rMenuID)

Definition at line 1159 of file datanavi.cxx.

References DoToolBoxAction().

bool svxform::XFormsPage::DoToolBoxAction ( const OString &  rToolBoxID)
private
void svxform::XFormsPage::EditEntry ( const css::uno::Reference< css::beans::XPropertySet > &  _rPropSet)
private
void svxform::XFormsPage::EnableMenuItems ( weld::Menu pMenu)
css::uno::Reference<css::beans::XPropertySet> svxform::XFormsPage::GetBindingForNode ( const css::uno::Reference< css::xml::dom::XNode > &  xNode)
inline

Definition at line 242 of file datanavi.hxx.

References m_xUIHelper.

Referenced by PrepDnD().

const OUString& svxform::XFormsPage::GetInstanceName ( ) const
inline

Definition at line 234 of file datanavi.hxx.

References m_sInstanceName.

Referenced by svxform::IMPL_LINK().

const OUString& svxform::XFormsPage::GetInstanceURL ( ) const
inline

Definition at line 235 of file datanavi.hxx.

References m_sInstanceURL.

Referenced by svxform::IMPL_LINK().

bool svxform::XFormsPage::GetLinkOnce ( ) const
inline

Definition at line 236 of file datanavi.hxx.

References m_bLinkOnce.

Referenced by svxform::IMPL_LINK().

OUString svxform::XFormsPage::GetServiceNameForNode ( const css::uno::Reference< css::xml::dom::XNode > &  xNode)
inline

Definition at line 243 of file datanavi.hxx.

References m_xUIHelper.

Referenced by PrepDnD().

const css::uno::Reference< css::xforms::XFormsUIHelper1 >& svxform::XFormsPage::GetXFormsHelper ( ) const
inline

Definition at line 245 of file datanavi.hxx.

References m_xUIHelper.

Referenced by PrepDnD().

bool svxform::XFormsPage::HasModel ( ) const
inline

Definition at line 226 of file datanavi.hxx.

References m_bHasModel.

Referenced by svxform::IMPL_LINK().

OUString svxform::XFormsPage::LoadInstance ( const css::uno::Sequence< css::beans::PropertyValue > &  _xPropSeq)
void svxform::XFormsPage::PrepDnD ( )
private
bool svxform::XFormsPage::RemoveEntry ( )
private
void svxform::XFormsPage::SetInstanceName ( const OUString &  name)
inline

Definition at line 237 of file datanavi.hxx.

Referenced by svxform::IMPL_LINK().

void svxform::XFormsPage::SetInstanceURL ( const OUString &  url)
inline

Definition at line 238 of file datanavi.hxx.

Referenced by svxform::IMPL_LINK().

void svxform::XFormsPage::SetLinkOnce ( bool  bLinkOnce)
inline

Definition at line 239 of file datanavi.hxx.

Referenced by svxform::IMPL_LINK().

OUString svxform::XFormsPage::SetModel ( const css::uno::Reference< css::xforms::XModel > &  _xModel,
int  _nPagePos 
)

Member Data Documentation

DataTreeDropTarget svxform::XFormsPage::m_aDropHelper
private

Definition at line 189 of file datanavi.hxx.

MethodString svxform::XFormsPage::m_aMethodString
private

Definition at line 181 of file datanavi.hxx.

Referenced by EditEntry().

ReplaceString svxform::XFormsPage::m_aReplaceString
private

Definition at line 182 of file datanavi.hxx.

Referenced by EditEntry().

bool svxform::XFormsPage::m_bHasModel
private

Definition at line 195 of file datanavi.hxx.

Referenced by ClearModel(), HasModel(), and SetModel().

bool svxform::XFormsPage::m_bLinkOnce
private

Definition at line 203 of file datanavi.hxx.

Referenced by GetLinkOnce().

DataGroupType svxform::XFormsPage::m_eGroup
private
DataNavigatorWindow* svxform::XFormsPage::m_pNaviWin
private
weld::Container* svxform::XFormsPage::m_pParent
private

Definition at line 184 of file datanavi.hxx.

Referenced by ~XFormsPage().

OUString svxform::XFormsPage::m_sInstanceName
private

Definition at line 201 of file datanavi.hxx.

Referenced by GetInstanceName(), and LoadInstance().

OUString svxform::XFormsPage::m_sInstanceURL
private

Definition at line 202 of file datanavi.hxx.

Referenced by DoToolBoxAction(), GetInstanceURL(), and LoadInstance().

std::unique_ptr<weld::TreeView> svxform::XFormsPage::m_xItemList
private
std::unique_ptr<weld::TreeIter> svxform::XFormsPage::m_xScratchIter
private

Definition at line 187 of file datanavi.hxx.

Referenced by AddChildren(), AddEntry(), DoToolBoxAction(), and PrepDnD().

std::unique_ptr<weld::Toolbar> svxform::XFormsPage::m_xToolBox
private

Definition at line 185 of file datanavi.hxx.

Referenced by EnableMenuItems(), and XFormsPage().

css::uno::Reference< css::xforms::XFormsUIHelper1 > svxform::XFormsPage::m_xUIHelper
private

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