diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-18 16:28:20 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-19 11:45:36 +0200 |
commit | 4b313fd5661ca5ac096e60d46691b1a9857877d9 (patch) | |
tree | 59ba989a24fe1d21562f9a3c8a465b124028c62a /sfx2/inc | |
parent | d47508e036fd30f410798f37d25039bb25528f60 (diff) |
Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/docvor.hxx | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/sfx2/inc/docvor.hxx b/sfx2/inc/docvor.hxx index 4bdc1c7c6622..6a2a001b991c 100644 --- a/sfx2/inc/docvor.hxx +++ b/sfx2/inc/docvor.hxx @@ -56,22 +56,22 @@ friend class SfxOrganizeDlg_Impl; DECL_LINK( OnAsyncExecuteDrop, ExecuteDropEvent* ); protected: - virtual sal_Bool EditingEntry( SvLBoxEntry* pEntry, Selection & ); - virtual sal_Bool EditedEntry( SvLBoxEntry* pEntry, const rtl::OUString& rNewText ); - virtual sal_Bool NotifyMoving(SvLBoxEntry *pSource, - SvLBoxEntry* pTarget, - SvLBoxEntry *&pNewParent, sal_uIntPtr &); - virtual sal_Bool NotifyCopying(SvLBoxEntry *pSource, - SvLBoxEntry* pTarget, - SvLBoxEntry *&pNewParent, sal_uIntPtr &); - virtual void RequestingChildren( SvLBoxEntry* pParent ); + virtual sal_Bool EditingEntry( SvTreeListEntry* pEntry, Selection & ); + virtual sal_Bool EditedEntry( SvTreeListEntry* pEntry, const rtl::OUString& rNewText ); + virtual sal_Bool NotifyMoving(SvTreeListEntry *pSource, + SvTreeListEntry* pTarget, + SvTreeListEntry *&pNewParent, sal_uIntPtr &); + virtual sal_Bool NotifyCopying(SvTreeListEntry *pSource, + SvTreeListEntry* pTarget, + SvTreeListEntry *&pNewParent, sal_uIntPtr &); + virtual void RequestingChildren( SvTreeListEntry* pParent ); virtual long ExpandingHdl(); - virtual sal_Bool Select( SvLBoxEntry* pEntry, sal_Bool bSelect=sal_True ); + virtual sal_Bool Select( SvTreeListEntry* pEntry, sal_Bool bSelect=sal_True ); using SvTreeListBox::ExecuteDrop; // new d&d - virtual DragDropMode NotifyStartDrag( TransferDataContainer&, SvLBoxEntry* ); - virtual sal_Bool NotifyAcceptDrop( SvLBoxEntry* ); + virtual DragDropMode NotifyStartDrag( TransferDataContainer&, SvTreeListEntry* ); + virtual sal_Bool NotifyAcceptDrop( SvTreeListEntry* ); virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ); virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ); virtual void DragFinished( sal_Int8 nDropAction ); @@ -96,27 +96,27 @@ public: virtual PopupMenu* CreateContextMenu(); private: - sal_Bool IsStandard_Impl( SvLBoxEntry *) const; + sal_Bool IsStandard_Impl( SvTreeListEntry *) const; sal_Bool MoveOrCopyTemplates(SvTreeListBox *pSourceBox, - SvLBoxEntry *pSource, - SvLBoxEntry* pTarget, - SvLBoxEntry *&pNewParent, + SvTreeListEntry *pSource, + SvTreeListEntry* pTarget, + SvTreeListEntry *&pNewParent, sal_uIntPtr &rIdx, sal_Bool bCopy); sal_Bool MoveOrCopyContents(SvTreeListBox *pSourceBox, - SvLBoxEntry *pSource, - SvLBoxEntry* pTarget, - SvLBoxEntry *&pNewParent, + SvTreeListEntry *pSource, + SvTreeListEntry* pTarget, + SvTreeListEntry *&pNewParent, sal_uIntPtr &rIdx, sal_Bool bCopy); inline sal_uInt16 GetDocLevel() const; SfxObjectShellRef GetObjectShell( const Path& ); sal_Bool IsUniqName_Impl( const String &rText, - SvLBoxEntry* pParent, SvLBoxEntry* pEntry = 0 ) const; - sal_uInt16 GetLevelCount_Impl( SvLBoxEntry* pParent ) const; + SvTreeListEntry* pParent, SvTreeListEntry* pEntry = 0 ) const; + sal_uInt16 GetLevelCount_Impl( SvTreeListEntry* pParent ) const; - SvLBoxEntry* InsertEntryByBmpType( const XubString& rText, BMPTYPE eBmpType, - SvLBoxEntry* pParent = NULL, sal_Bool bChildrenOnDemand = sal_False, + SvTreeListEntry* InsertEntryByBmpType( const XubString& rText, BMPTYPE eBmpType, + SvTreeListEntry* pParent = NULL, sal_Bool bChildrenOnDemand = sal_False, sal_uIntPtr nPos = LIST_APPEND, void* pUserData = NULL ); }; |