23 #include <com/sun/star/frame/XModel.hpp>
81 static_cast<SwFEShell*
>(
this)->SelectFlyFrame(*pFly);
117 const bool bRestoreCursor = nCount == 1
129 for (sal_uInt16
i = 0;
i < nCount; ++
i)
134 }
catch (
const css::uno::Exception &) {
182 for (sal_uInt16
i = 0;
i < nCount; ++
i)
187 }
catch (
const css::uno::Exception &) {
212 }
catch (
const css::uno::Exception &) {
222 OSL_ENSURE( pShell !=
nullptr,
"need shell!" );
223 OSL_ENSURE( pSdrMarkList !=
nullptr,
"need mark list" );
243 OSL_ENSURE( pSdrMarkList->
GetMarkCount() != 0,
"empty mark list" );
size_t GetMarkCount() const
virtual const tools::Rectangle & GetCurrentBoundRect() const
SwPaM * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
void SaveTableBoxContent(const SwPosition *pPos=nullptr)
bool GoNextCursor()
go to the next SSelection
SwDocShell * GetDocShell()
void ClearTableBoxContent()
bool GetLastUndoInfo(OUString *const o_pStr, SwUndoId *const o_pId, const SwView *pView=nullptr) const
virtual bool Redo()=0
Execute Redo.
SdrMark * GetMark(size_t nNum) const
IDocumentUndoRedo & GetIDocumentUndoRedo()
css::uno::Reference< css::frame::XModel > GetModel() const
void Redo(sal_uInt16 const nCount=1)
virtual bool GetFirstRedoInfo(OUString *const o_pStr, SwUndoId *const o_pId, const SwView *pView=nullptr) const =0
Get Id and comment of first Redo action.
virtual bool Undo()=0
Execute Undo.
void InvalidateContent() const
virtual void CompressRedlines()=0
virtual bool Repeat(::sw::RepeatContext &rContext, sal_uInt16 const nRepeatCnt)=0
Repeat the last Undo action.
SdrObject * GetMarkedSdrObj() const
#define TOOLS_WARN_EXCEPTION(area, stream)
void Push()
store a copy of the current cursor on the cursor stack
void Repeat(sal_uInt16 const nCount)
void InvalidateFlyLayout() const
Validate, invalidate and query the Page status Layout/Content and Fly/non-Fly respectively are inspec...
A page of the document layout.
bool CursorsLocked() const
is it forbidden to modify cursors via API calls?
IDocumentUndoRedo const & GetIDocumentUndoRedo() const
Provides access to the document undo/redo interface.
IDocumentRedlineAccess const & getIDocumentRedlineAccess() const
general base class for all free-flowing frames
void GetSelections(SwFrameFormat *&o_rpSelFormat, SdrMarkList *&o_rpMarkList)
SwPageFrame * FindPageFrameOfAnchor()
method to determine the page frame, on which the 'anchor' of the given anchored object is...
void HandleUndoRedoContext(::sw::UndoRedoContext &rContext)
set selections to those contained in the UndoRedoContext should only be called by sw::UndoManager! ...
virtual void SetRedlineFlags(RedlineFlags eMode)=0
Set a new redline mode.
static void lcl_SelectSdrMarkList(SwEditShell *pShell, const SdrMarkList *pSdrMarkList)
helper function to select all objects in an SdrMarkList; implementation: see below ...
bool SelectObj(const Point &rSelPt, sal_uInt8 nFlag=0, SdrObject *pObj=nullptr)
If an object has been given, exactly this object is selected (instead of searching over position)...
constexpr TypedWhichId< SwDrawFrameFormat > RES_DRAWFRMFMT(157)
virtual RedlineFlags GetRedlineFlags() const =0
Query the currently set redline mode.
bool Pop(PopMode)
delete cursor
void StartAllAction()
For all views of this document.
void Undo(sal_uInt16 const nCount=1)