19#ifndef INCLUDED_SW_INC_TXATBASE_HXX
20#define INCLUDED_SW_INC_TXATBASE_HXX
72 void SetLockExpandFlag(
bool bFlag ) { m_bLockExpandFlag = bFlag; }
77 void SetNesting(
const bool bFlag) { m_bNesting = bFlag; }
88 sal_Int32
GetStart()
const {
return m_nStart; }
91 virtual const sal_Int32* GetEnd()
const;
92 virtual void SetEnd(sal_Int32);
93 inline const sal_Int32*
End()
const;
95 inline sal_Int32 GetAnyEnd()
const;
97 inline void SetDontExpand(
bool bDontExpand );
116 sal_uInt16
Which()
const {
return GetAttr().Which(); }
127 inline const SwTOXMark &GetTOXMark()
const;
143 virtual const sal_Int32* GetEnd()
const override;
144 virtual void SetEnd(sal_Int32)
override;
152 const sal_Int32 i_nStart,
const sal_Int32 i_nEnd );
163 const sal_Int32* pEnd =
End();
235 return static_cast<const SwTOXMark&
>(*m_pAttr);
259 return dynamic_cast<T
>(s);
263 return dynamic_cast<T
>(s);
SfxPoolItem subclass that wraps an SwContentControl.
A wrapper around SfxPoolItem to store the start position of (usually) a text portion,...
void SetDontExpandStartAttr(bool bFlag)
const SfxPoolItem & GetAttr() const
void SetFormatIgnoreStart(bool bFlag)
bool IsOverlapAllowedAttr() const
void SetDontMoveAttr(bool bFlag)
sal_Int32 GetAnyEnd() const
end (if available), else start
virtual const sal_Int32 * GetEnd() const
end position
const SwFormatRefMark & GetRefMark() const
bool IsFormatIgnoreStart() const
SfxPoolItem *const m_pAttr
const sal_Int32 * End() const
void SetCharFormatAttr(bool bFlag)
const SwFormatFlyCnt & GetFlyCnt() const
void SetOverlapAllowedAttr(bool bFlag)
const SwFormatLineBreak & GetLineBreak() const
const SwFormatFootnote & GetFootnote() const
sal_Int32 GetStart() const
const SwFormatINetFormat & GetINetFormat() const
const SwFormatCharFormat & GetCharFormat() const
const SwFormatRuby & GetRuby() const
bool m_bOverlapAllowedAttr
void SetFormatIgnoreEnd(bool bFlag)
void SetStart(sal_Int32 n)
start position
void SetHasContent(const bool bFlag)
bool IsDontMoveAttr() const
bool IsCharFormatAttr() const
bool m_bFormatIgnoreStart
text formatting should ignore start
bool IsPriorityAttr() const
void SetHasDummyChar(const bool bFlag)
SwTextAttr(SwTextAttr const &)=delete
SwTextAttr & operator=(SwTextAttr const &)=delete
const SwFormatAutoFormat & GetAutoFormat() const
const SwFormatContentControl & GetContentControl() const
void SetDontExpand(bool bDontExpand)
bool HasDummyChar() const
bool IsDontExpandStartAttr() const
bool IsLockExpandFlag() const
void SetPriorityAttr(bool bFlag)
void SetNesting(const bool bFlag)
bool IsFormatIgnoreEnd() const
bool m_bFormatIgnoreEnd
text formatting should ignore end
const SwFormatField & GetFormatField() const
const SwTOXMark & GetTOXMark() const
An SwTextAttr container, stores all directly formatted text portions for a text node.
void StartPosChanged() const
struct _xmlTextWriter * xmlTextWriterPtr
constexpr TypedWhichId< SwFormatFootnote > RES_TXTATR_FTN(59)
constexpr TypedWhichId< SwFormatAutoFormat > RES_TXTATR_AUTOFMT(50)
constexpr TypedWhichId< SwFormatINetFormat > RES_TXTATR_INETFMT(51)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_ANNOTATION(60)
constexpr TypedWhichId< SwFormatContentControl > RES_TXTATR_CONTENTCONTROL(56)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_FIELD(RES_TXTATR_NOEND_BEGIN)
constexpr TypedWhichId< SwFormatCharFormat > RES_TXTATR_CHARFMT(52)
constexpr TypedWhichId< SwFormatFlyCnt > RES_TXTATR_FLYCNT(58)
constexpr TypedWhichId< SwFormatLineBreak > RES_TXTATR_LINEBREAK(61)
constexpr TypedWhichId< SwFormatRefMark > RES_TXTATR_REFMARK(RES_TXTATR_WITHEND_BEGIN)
constexpr TypedWhichId< SwTOXMark > RES_TXTATR_TOXMARK(47)
constexpr TypedWhichId< SwFormatRuby > RES_TXTATR_CJK_RUBY(53)
constexpr TypedWhichId< SwFormatField > RES_TXTATR_INPUTFIELD(55)
T static_txtattr_cast(S *s)
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)