19#ifndef INCLUDED_SW_SOURCE_FILTER_INC_FLTSHELL_HXX
20#define INCLUDED_SW_SOURCE_FILTER_INC_FLTSHELL_HXX
25#include <tools/datetime.hxx>
43 {
return (nFieldFlags & (
sal_uLong(1) << no)) != 0; }
68 , m_nContent(rPos.GetContentIndex())
100 enum class RegionMode { NoCheck = 0, CheckNodes = 1<<0, CheckFieldmark = 1<<1 };
105 sal_uInt16 nWhich=0);
116 typedef std::vector<std::unique_ptr<SwFltStackEntry>>
Entries;
129 void MoveAttrs(
const SwPosition& rPos, MoveAttrsMode = MoveAttrsMode::DEFAULT);
150 void StealAttr(
const SwNode& rNode);
151 void MarkAllAttrsOld();
152 void KillUnlockedAttrs(
const SwPosition& pPos);
153 SfxPoolItem* GetFormatStackAttr(sal_uInt16 nWhich, sal_uInt16 * pPos);
157 bool empty()
const {
return m_Entries.empty(); }
158 Entries::size_type
size()
const {
return m_Entries.size(); }
160 {
return *m_Entries[
nIndex]; }
161 void DeleteAndDestroy(Entries::size_type nCnt);
201 std::size_t nAutorNo_,
205 m_nAutorNo(nAutorNo_)
227 const bool bIsTOCBookmark =
false );
238 return mbIsTOCBookmark;
256 void SetAttributes(std::vector< std::pair<OUString, OUString> >&& rAttributes);
257 const std::vector< std::pair<OUString, OUString> >& GetAttributes()
const;
266 SwFltTOX(std::shared_ptr<SwTOXBase> xBase);
SwFrameFormat * m_pFormat
SwFrameFormat * GetFormat()
ImportProgress(SwDocShell *pDocShell, tools::Long nStartVal, tools::Long nEndVal)
void Update(sal_uInt16 nProgress)
Instances of SwFields and those derived from it occur 0 to n times.
Base class of all fields.
Used by SwFltAnchor, to listen to an SwFrameFormat (to be aware when it is replaced or deleted).
virtual void Notify(const SfxHint &) override
SwFltAnchorListener(SwFltAnchor *pFltAnchor)
SwFltAnchor * m_pFltAnchor
SwFrameFormat * GetFrameFormat()
SwFrameFormat * m_pFrameFormat
std::unique_ptr< SwFltAnchorListener > m_pListener
const SwFrameFormat * GetFrameFormat() const
const OUString & GetName() const
tools::Long GetHandle() const
bool IsTOCBookmark() const
const OUString & GetValSys() const
std::vector< std::unique_ptr< SwFltStackEntry > > Entries
SwFltControlStack & operator=(SwFltControlStack const &)=delete
bool IsFlagSet(Flags no) const
Entries::size_type size() const
SwFltControlStack(SwFltControlStack const &)=delete
SwFltStackEntry & operator[](Entries::size_type nIndex)
SwFltEndStack(SwDoc &rDo, sal_uLong nFieldFl)
Stores RDF statements on a paragraph (key-value pairs where the subject is the paragraph).
std::vector< std::pair< OUString, OUString > > m_aAttributes
SwFltRedline(RedlineType eType_, std::size_t nAutorNo_, const DateTime &rStamp_)
SW_DLLPUBLIC ~SwFltStackEntry()
SwFltStackEntry & operator=(SwFltStackEntry const &)=delete
bool m_isAnnotationOnEnd
annotation already moved onto its end pos.
SW_DLLPUBLIC bool MakeRegion(SwDoc &rDoc, SwPaM &rRegion, RegionMode eCheck) const
SW_DLLPUBLIC void SetEndPos(const SwPosition &rEndPos)
SwFltStackEntry(SwFltStackEntry const &)=delete
std::unique_ptr< SfxPoolItem > m_pAttr
std::shared_ptr< SwTOXBase > m_xTOXBase
void SetHadBreakItem(bool bVal)
bool HadBreakItem() const
void SetHadPageDescItem(bool bVal)
bool HadPageDescItem() const
const SwTOXBase & GetBase() const
Marks a node in the document model.
Base class of the Writer document model elements.
PaM is Point and Mark: a selection of the document model.
SwTableBox is one table cell in the document model.
const EnumerationType m_eType
bool SwFltGetFlag(sal_uLong nFieldFlags, int no)
SW_DLLPUBLIC void UpdatePageDescs(SwDoc &rDoc, size_t nInPageDescOffset)
constexpr TypedWhichId< SwFltRedline > RES_FLTR_REDLINE(194)
void StartProgress(TranslateId pMessResId, tools::Long nStartValue, tools::Long nEndValue, SwDocShell *pDocShell)
void EndProgress(SwDocShell const *pDocShell)
void SetProgressState(tools::Long nPosition, SwDocShell const *pDocShell)
css::uno::Reference< css::animations::XAnimationNode > Clone(const css::uno::Reference< css::animations::XAnimationNode > &xSourceNode, const SdPage *pSource=nullptr, const SdPage *pTarget=nullptr)
SwContentNode * GetNode(SwPaM &rPam, bool &rbFirst, SwMoveFnCollection const &fnMove, bool const bInReadOnly, SwRootFrame const *const i_pLayout)
This function returns the next node in direction of search.
bool operator==(const SwFltPosition &rOther) const
SwFltPosition(const SwPosition &rPos)
void FromSwPosition(const SwPosition &rPos)
void SetPos(SwNodeIndex const &rNode, sal_uInt16 nIdx)
Marks a position in the document model.
SwNodeOffset GetNodeIndex() const
sal_Int32 GetContentIndex() const
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)