LibreOffice Module sw (master) 1
|
#include <vector>
#include <memory>
#include <svl/undo.hxx>
#include "SwRewriter.hxx"
#include "swundo.hxx"
#include "nodeoffset.hxx"
#include "ndindex.hxx"
#include <o3tl/typed_flags_set.hxx>
#include <optional>
Go to the source code of this file.
Classes | |
class | SwUndo |
struct | o3tl::typed_flags< DelContentType > |
class | SwUndoSaveContent |
class | SwUndoSaveSection |
class | SwUndRng |
class | SwUndoInserts |
class | SwUndoInsDoc |
Undo for Insert -> Text from file. More... | |
class | SwUndoCpyDoc |
class | SwUndoFlyBase |
class | SwUndoInsLayFormat |
class | SwUndoDelLayFormat |
Namespaces | |
namespace | sw |
Dialog to specify the properties of date form field. | |
namespace | o3tl |
Typedefs | |
typedef struct _xmlTextWriter * | xmlTextWriterPtr |
Enumerations | |
enum class | DelContentType : sal_uInt16 { Ftn = 0x01 , Fly = 0x02 , Bkm = 0x08 , AllMask = 0x0b , Replace = 0x10 , WriterfilterHack = 0x20 , ExcludeFlyAtStartEnd = 0x40 , CheckNoCntnt = 0x80 } |
Functions | |
bool | IsDestroyFrameAnchoredAtChar (SwPosition const &rAnchorPos, SwPosition const &rStart, SwPosition const &rEnd, DelContentType const nDelContentType=DelContentType::AllMask) |
will DelContentIndex destroy a frame anchored at character at rAnchorPos? More... | |
bool | IsSelectFrameAnchoredAtPara (SwPosition const &rAnchorPos, SwPosition const &rStart, SwPosition const &rEnd, DelContentType const nDelContentType=DelContentType::AllMask) |
is a fly anchored at paragraph at rAnchorPos selected? More... | |
bool | IsFlySelectedByCursor (SwDoc const &rDoc, SwPosition const &rStart, SwPosition const &rEnd) |
check at-char and at-para flys in rDoc More... | |
std::optional< std::vector< SwFrameFormat * > > | sw::GetFlysAnchoredAt (SwDoc &rDoc, SwNodeOffset const nSttNode) |
typedef struct _xmlTextWriter* xmlTextWriterPtr |
Definition at line 46 of file undobj.hxx.
|
strong |
Enumerator | |
---|---|
Ftn | |
Fly | |
Bkm | |
AllMask | |
Replace | |
WriterfilterHack | |
ExcludeFlyAtStartEnd | |
CheckNoCntnt |
Definition at line 134 of file undobj.hxx.
bool IsDestroyFrameAnchoredAtChar | ( | SwPosition const & | rAnchorPos, |
SwPosition const & | rStart, | ||
SwPosition const & | rEnd, | ||
DelContentType const | nDelContentType = DelContentType::AllMask |
||
) |
will DelContentIndex destroy a frame anchored at character at rAnchorPos?
Definition at line 1647 of file undobj.cxx.
References CheckNoCntnt, ExcludeFlyAtStartEnd, SwPosition::GetContentIndex(), SwPosition::GetDoc(), SwPosition::GetNode(), SwNode::GetTextNode(), IsAtEndOfSection(), IsAtEndOfSection2(), IsAtStartOfSection(), IsAtStartOfSection2(), SwDoc::IsInWriterfilterImport(), IsNotBackspaceHeuristic(), SwTextNode::Len(), and WriterfilterHack.
Referenced by SwRootFrame::CalcFrameRects(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), SwUndoSaveContent::DelContentIndex(), DelFlyInRange(), SwAccessibleFrameBase::GetSelectedState(), SwAccessibleMap::InvalidateShapeInParaSelection(), sw::IsEmptyRange(), IsFlySelectedByCursor(), IsShown(), and SaveFlyInRange().
bool IsFlySelectedByCursor | ( | SwDoc const & | rDoc, |
SwPosition const & | rStart, | ||
SwPosition const & | rEnd | ||
) |
check at-char and at-para flys in rDoc
Definition at line 1730 of file undobj.cxx.
References SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwDoc::GetSpzFrameFormats(), IsDestroyFrameAnchoredAtChar(), and IsSelectFrameAnchoredAtPara().
Referenced by SwUndoDelete::CanGrouping(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwEditShell::DeleteSel(), and SwCursorShell::HasSelection().
bool IsSelectFrameAnchoredAtPara | ( | SwPosition const & | rAnchorPos, |
SwPosition const & | rStart, | ||
SwPosition const & | rEnd, | ||
DelContentType const | nDelContentType = DelContentType::AllMask |
||
) |
is a fly anchored at paragraph at rAnchorPos selected?
Definition at line 1688 of file undobj.cxx.
References CheckNoCntnt, ExcludeFlyAtStartEnd, SwPosition::GetContentIndex(), SwPosition::GetDoc(), SwPosition::GetNode(), SwNode::GetTextNode(), IsAtEndOfSection2(), IsAtStartOfSection2(), SwDoc::IsInWriterfilterImport(), IsNotBackspaceHeuristic(), SwTextNode::Len(), and WriterfilterHack.
Referenced by SwRootFrame::CalcFrameRects(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), SwUndoSaveContent::DelContentIndex(), DelFlyInRange(), SwAccessibleFrameBase::GetSelectedState(), SwAccessibleMap::InvalidateShapeInParaSelection(), IsFlySelectedByCursor(), IsShown(), and SaveFlyInRange().