diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2014-07-10 14:10:16 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-11 08:18:23 +0000 |
commit | 713735fc89b9e0222d8b62d051153da6932b3ebd (patch) | |
tree | 97cdb8a48a876198ae1cf80653dbd4ed04eafe8e /svx/source/inc/datanavi.hxx | |
parent | f021524aadfe1aa1a07f4600bcb89e7c69ccfdb0 (diff) |
RID_SVX_XFORMS_TABPAGES conversion to .ui
Change-Id: I0f3647e95b2150eb8753aa333eeb492fee76bd2a
Reviewed-on: https://gerrit.libreoffice.org/10192
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/inc/datanavi.hxx')
-rw-r--r-- | svx/source/inc/datanavi.hxx | 25 |
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; } |