89 static_cast<SwFEShell*
>(
this)->SelectFlyFrame(*pFly);
127 const bool bRestoreCursor =
nCount == 1
143 }
catch (
const css::uno::Exception &) {
198 }
catch (
const css::uno::Exception &) {
223 }
catch (
const css::uno::Exception &) {
233 OSL_ENSURE( pShell !=
nullptr,
"need shell!" );
234 OSL_ENSURE( pSdrMarkList !=
nullptr,
"need mark list" );
254 OSL_ENSURE( pSdrMarkList->
GetMarkCount() != 0,
"empty mark list" );
virtual void SetRedlineFlags(RedlineFlags eMode)=0
Set a new redline mode.
virtual RedlineFlags GetRedlineFlags() const =0
Query the currently set redline mode.
virtual void CompressRedlines(size_t nStartIndex=0)=0
size_t GetMarkCount() const
SdrMark * GetMark(size_t nNum) const
SdrObject * GetMarkedSdrObj() const
virtual const tools::Rectangle & GetCurrentBoundRect() const
css::uno::Reference< css::frame::XModel3 > GetModel() const
SwPageFrame * FindPageFrameOfAnchor()
method to determine the page frame, on which the 'anchor' of the given anchored object is.
bool Pop(PopMode, ::std::optional< SwCallLink > &roLink)
void Push()
store a copy of the current cursor on the cursor stack
void ClearTableBoxContent()
SwCursor * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
bool GoNextCursor()
go to the next SSelection
void SaveTableBoxContent(const SwPosition *pPos=nullptr)
IDocumentUndoRedo & GetIDocumentUndoRedo()
IDocumentRedlineAccess const & getIDocumentRedlineAccess() const
SwDocShell * GetDocShell()
void StartAllAction()
For all views of this document.
void Repeat(sal_uInt16 const nCount)
void HandleUndoRedoContext(::sw::UndoRedoContext &rContext)
set selections to those contained in the UndoRedoContext should only be called by sw::UndoManager!
bool GetLastUndoInfo(OUString *const o_pStr, SwUndoId *const o_pId, const SwView *pView=nullptr) const
void Redo(sal_uInt16 const nCount=1)
void Undo(sal_uInt16 const nCount=1, sal_uInt16 nOffset=0)
bool CursorsLocked() const
is it forbidden to modify cursors via API calls?
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).
general base class for all free-flowing frames
A page of the document layout.
void InvalidateContent() const
void InvalidateFlyLayout() const
Validate, invalidate and query the Page status Layout/Content and Fly/non-Fly respectively are inspec...
static bool changeAnchor(SwFrameFormat *pShape, SdrObject *pObj)
Sets the anchor of the associated textframe of the given shape, and returns true on success.
static void synchronizeGroupTextBoxProperty(bool pFunc(SwFrameFormat *, SdrObject *), SwFrameFormat *pFormat, SdrObject *pObj)
Calls the method given by pFunc with every textboxes of the group given by pFormat.
IDocumentUndoRedo const & GetIDocumentUndoRedo() const
Provides access to the document undo/redo interface.
void GetSelections(SwFrameFormat *&o_rpSelFormat, SdrMarkList *&o_rpMarkList)
#define TOOLS_WARN_EXCEPTION(area, stream)
static void lcl_SelectSdrMarkList(SwEditShell *pShell, const SdrMarkList *pSdrMarkList)
helper function to select all objects in an SdrMarkList; implementation: see below
constexpr TypedWhichId< SwDrawFrameFormat > RES_DRAWFRMFMT(165)