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

#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 (std::u16string_view rMenuID)
 
void EnableMenuItems ()
 
void SelectFirstEntry ()
 
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 OUString &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 OUString &rHelpId)
 
OUString GetHelpId () const
 

Private Member Functions

 DECL_LINK (TbxSelectHdl, const OUString &, 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::u16string_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 ()
 
void SetMenuEntrySensitive (const OUString &rIdent, bool bSensitive)
 

Private Attributes

MethodString m_aMethodString
 
ReplaceString m_aReplaceString
 
weld::Containerm_pParent
 
std::unique_ptr< weld::Toolbarm_xToolBox
 
std::unique_ptr< weld::Menum_xMenu
 
std::unique_ptr< weld::TreeViewm_xItemList
 
std::unique_ptr< weld::TreeIterm_xScratchIter
 
o3tl::sorted_vector< OUString > m_aRemovedMenuEntries
 
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 180 of file datanavi.hxx.

Constructor & Destructor Documentation

◆ XFormsPage()

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

◆ ~XFormsPage()

svxform::XFormsPage::~XFormsPage ( )
overridevirtual

Member Function Documentation

◆ AddChildren()

void svxform::XFormsPage::AddChildren ( const weld::TreeIter _pParent,
const css::uno::Reference< css::xml::dom::XNode > &  _xNode 
)
private

◆ AddEntry() [1/2]

void svxform::XFormsPage::AddEntry ( const css::uno::Reference< css::beans::XPropertySet > &  _rPropSet,
weld::TreeIter pRet = nullptr 
)
private

◆ AddEntry() [2/2]

void svxform::XFormsPage::AddEntry ( std::unique_ptr< ItemNode _pNewNode,
bool  _bIsElement,
weld::TreeIter pRet = nullptr 
)
private

◆ ClearModel()

void svxform::XFormsPage::ClearModel ( )

Definition at line 1134 of file datanavi.cxx.

References DeleteAndClearTree(), and m_bHasModel.

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

◆ DECL_LINK() [1/4]

svxform::XFormsPage::DECL_LINK ( ItemSelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [2/4]

svxform::XFormsPage::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_LINK() [3/4]

svxform::XFormsPage::DECL_LINK ( PopupMenuHdl  ,
const CommandEvent ,
bool   
)
private

◆ DECL_LINK() [4/4]

svxform::XFormsPage::DECL_LINK ( TbxSelectHdl  ,
const OUString &  ,
void   
)
private

◆ DeleteAndClearTree()

void svxform::XFormsPage::DeleteAndClearTree ( )
private

Definition at line 183 of file datanavi.cxx.

References m_xItemList.

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

◆ DoMenuAction()

bool svxform::XFormsPage::DoMenuAction ( std::u16string_view  rMenuID)

Definition at line 1182 of file datanavi.cxx.

References DoToolBoxAction().

◆ DoToolBoxAction()

bool svxform::XFormsPage::DoToolBoxAction ( std::u16string_view  rToolBoxID)
private

◆ EditEntry()

void svxform::XFormsPage::EditEntry ( const css::uno::Reference< css::beans::XPropertySet > &  _rPropSet)
private

◆ EnableMenuItems()

void svxform::XFormsPage::EnableMenuItems ( )

◆ GetBindingForNode()

css::uno::Reference< css::beans::XPropertySet > svxform::XFormsPage::GetBindingForNode ( const css::uno::Reference< css::xml::dom::XNode > &  xNode)
inline

Definition at line 250 of file datanavi.hxx.

References m_xUIHelper.

Referenced by PrepDnD().

◆ GetInstanceName()

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

Definition at line 242 of file datanavi.hxx.

References m_sInstanceName.

Referenced by svxform::IMPL_LINK().

◆ GetInstanceURL()

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

Definition at line 243 of file datanavi.hxx.

References m_sInstanceURL.

Referenced by svxform::IMPL_LINK().

◆ GetLinkOnce()

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

Definition at line 244 of file datanavi.hxx.

References m_bLinkOnce.

Referenced by svxform::IMPL_LINK().

◆ GetServiceNameForNode()

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

Definition at line 251 of file datanavi.hxx.

References m_xUIHelper.

Referenced by PrepDnD().

◆ GetXFormsHelper()

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

Definition at line 253 of file datanavi.hxx.

References m_xUIHelper.

Referenced by PrepDnD().

◆ HasModel()

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

Definition at line 233 of file datanavi.hxx.

References m_bHasModel.

Referenced by svxform::IMPL_LINK().

◆ LoadInstance()

OUString svxform::XFormsPage::LoadInstance ( const css::uno::Sequence< css::beans::PropertyValue > &  _xPropSeq)

◆ PrepDnD()

void svxform::XFormsPage::PrepDnD ( )
private

◆ RemoveEntry()

bool svxform::XFormsPage::RemoveEntry ( )
private

◆ SelectFirstEntry()

void svxform::XFormsPage::SelectFirstEntry ( )

Definition at line 192 of file datanavi.cxx.

References m_xItemList, and m_xScratchIter.

◆ SetInstanceName()

void svxform::XFormsPage::SetInstanceName ( const OUString &  name)
inline

Definition at line 245 of file datanavi.hxx.

References m_sInstanceName, and name.

Referenced by svxform::IMPL_LINK().

◆ SetInstanceURL()

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

Definition at line 246 of file datanavi.hxx.

References m_sInstanceURL.

Referenced by svxform::IMPL_LINK().

◆ SetLinkOnce()

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

Definition at line 247 of file datanavi.hxx.

References m_bLinkOnce.

Referenced by svxform::IMPL_LINK().

◆ SetMenuEntrySensitive()

void svxform::XFormsPage::SetMenuEntrySensitive ( const OUString &  rIdent,
bool  bSensitive 
)
private

◆ SetModel()

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

Member Data Documentation

◆ m_aDropHelper

DataTreeDropTarget svxform::XFormsPage::m_aDropHelper
private

Definition at line 194 of file datanavi.hxx.

◆ m_aMethodString

MethodString svxform::XFormsPage::m_aMethodString
private

Definition at line 183 of file datanavi.hxx.

Referenced by EditEntry().

◆ m_aRemovedMenuEntries

o3tl::sorted_vector<OUString> svxform::XFormsPage::m_aRemovedMenuEntries
private

Definition at line 192 of file datanavi.hxx.

Referenced by SetMenuEntrySensitive().

◆ m_aReplaceString

ReplaceString svxform::XFormsPage::m_aReplaceString
private

Definition at line 184 of file datanavi.hxx.

Referenced by EditEntry().

◆ m_bHasModel

bool svxform::XFormsPage::m_bHasModel
private

Definition at line 200 of file datanavi.hxx.

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

◆ m_bLinkOnce

bool svxform::XFormsPage::m_bLinkOnce
private

Definition at line 208 of file datanavi.hxx.

Referenced by GetLinkOnce(), and SetLinkOnce().

◆ m_eGroup

DataGroupType svxform::XFormsPage::m_eGroup
private

◆ m_pNaviWin

DataNavigatorWindow* svxform::XFormsPage::m_pNaviWin
private

◆ m_pParent

weld::Container* svxform::XFormsPage::m_pParent
private

Definition at line 186 of file datanavi.hxx.

Referenced by ~XFormsPage().

◆ m_sInstanceName

OUString svxform::XFormsPage::m_sInstanceName
private

Definition at line 206 of file datanavi.hxx.

Referenced by GetInstanceName(), LoadInstance(), and SetInstanceName().

◆ m_sInstanceURL

OUString svxform::XFormsPage::m_sInstanceURL
private

Definition at line 207 of file datanavi.hxx.

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

◆ m_xItemList

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

◆ m_xMenu

std::unique_ptr<weld::Menu> svxform::XFormsPage::m_xMenu
private

Definition at line 188 of file datanavi.hxx.

Referenced by EnableMenuItems(), and SetMenuEntrySensitive().

◆ m_xScratchIter

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

Definition at line 190 of file datanavi.hxx.

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

◆ m_xToolBox

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

Definition at line 187 of file datanavi.hxx.

Referenced by EnableMenuItems(), and XFormsPage().

◆ m_xUIHelper

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

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