summaryrefslogtreecommitdiff
path: root/svx/source/inc/datanavi.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/inc/datanavi.hxx')
-rw-r--r--svx/source/inc/datanavi.hxx25
1 files changed, 21 insertions, 4 deletions
diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx
index 498c6f5d2629..43788ca19d9d 100644
--- a/svx/source/inc/datanavi.hxx
+++ b/svx/source/inc/datanavi.hxx
@@ -117,12 +117,17 @@ namespace svxform
private:
XFormsPage* m_pXFormsPage;
DataGroupType m_eGroup;
+ sal_uInt16 m_nAddId;
+ sal_uInt16 m_nAddElementId;
+ sal_uInt16 m_nAddAttributeId;
+ sal_uInt16 m_nEditId;
+ sal_uInt16 m_nRemoveId;
protected:
using SvTreeListBox::ExecuteDrop;
public:
- DataTreeListBox( XFormsPage* pPage, DataGroupType _eGroup, const ResId& rResId );
+ DataTreeListBox( Window* pParent, WinBits nBits );
virtual ~DataTreeListBox();
virtual PopupMenu* CreateContextMenu( void ) SAL_OVERRIDE;
@@ -131,6 +136,13 @@ namespace svxform
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) SAL_OVERRIDE;
virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel ) SAL_OVERRIDE;
+ void SetGroup(DataGroupType _eGroup);
+ void SetXFormsPage(XFormsPage* _pPage);
+ void SetToolBoxItemIds(sal_uInt16 _nAddId,
+ sal_uInt16 _nAddElementId,
+ sal_uInt16 _nAddAttributeId,
+ sal_uInt16 _nEditId,
+ sal_uInt16 _nRemoveId);
void DeleteAndClear();
void RemoveEntry( SvTreeListEntry* _pEntry );
};
@@ -237,8 +249,13 @@ namespace svxform
MethodString m_aMethodString;
ReplaceString m_aReplaceString;
- ToolBox m_aToolBox;
- DataTreeListBox m_aItemList;
+ ToolBox *m_pToolBox;
+ DataTreeListBox *m_pItemList;
+ sal_uInt16 m_nAddId;
+ sal_uInt16 m_nAddElementId;
+ sal_uInt16 m_nAddAttributeId;
+ sal_uInt16 m_nEditId;
+ sal_uInt16 m_nRemoveId;
XFormsUIHelper1_ref m_xUIHelper;
@@ -284,7 +301,7 @@ namespace svxform
bool DoMenuAction( sal_uInt16 _nMenuID );
void EnableMenuItems( Menu* _pMenu );
- inline SvTreeListEntry* GetSelectedItem() const { return m_aItemList.FirstSelected(); }
+ inline SvTreeListEntry* GetSelectedItem() const { return m_pItemList->FirstSelected(); }
inline const OUString& GetInstanceName() const { return m_sInstanceName; }
inline const OUString& GetInstanceURL() const { return m_sInstanceURL; }
inline bool GetLinkOnce() const { return m_bLinkOnce; }