Type: info
Title: SfxUndoManager rework
Posted by: [email protected]
Affected: -
TaskId: i33781
<http://www.openoffice.org/issues/show_bug.cgi?id=33781>
Effective from: CWS undoapi
CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/undoapi>
CWS status: new
*Summary*
--------
* removed various unused methods
* removed various unused method parameters
* replace USHORT, where referencing a stack size, with size_t
+ bool SfxUndoManager::IsDoing() const
+ bool SfxUndoManager::IsInListAction() const
+ size_t SfxUndoManager::GetListActionDepth() const
+ class SfxUndoListener
+ SfxUndoManager::Add/RemoveUndoListener
* outsourced remaining public interface into ::svl::IUndoManager
+ typedef sal_Int32 UndoStackMark;
+ UndoStackMark SfxUndoManager::MarkTopUndoAction();
+ void SfxUndoManager::RemoveMark( UndoStackMark );
+ bool SfxUndoManager::HasTopUndoActionMark(
UndoStackMark );
+ void SfxUndoManager::RemoveOldestUndoActions( size_t );
SfxShell:
- SfxUndoManager* GetUndoManager();
+ ::svl::IUndoManager* GetUndoManager();
- void SetUndoManager( SfxUndoManager* );
+ void SetUndoManager( ::svl::IUndoManager* );
TextEngine/EditEngine/Outliner:
- SfxUndoManager& GetUndoManager();
+ ::svl::IUndoManager& GetUndoManager();
*Description*
-------------
SfxUndoManager got some refactoring love in CWS undoapi - see the
above list for details on the changes in its public API.
Send feedback to [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]