19 #ifndef INCLUDED_SW_INC_FMTCOL_HXX
20 #define INCLUDED_SW_INC_FMTCOL_HXX
26 #include <rtl/ustring.hxx>
33 namespace sw{
class DocumentStylePoolManager; }
40 sal_uInt16 nFormatWhich )
41 :
SwFormat( rPool, pFormatName, pWhichRanges, pDerFrom, nFormatWhich )
46 sal_uInt16 nFormatWhich )
47 :
SwFormat( rPool, rFormatName, pWhichRanges, pDerFrom, nFormatWhich )
61 friend class ::sw::DocumentStylePoolManager;
80 , mbStayAssignedToListLevelOfOutlineStyle(
false)
81 , mbAssignedToOutlineStyle(
false)
82 , m_bInSwFntCache(
false)
84 mpNextTextFormatColl =
this;
91 , mbStayAssignedToListLevelOfOutlineStyle(
false)
92 , mbAssignedToOutlineStyle(
false)
93 , m_bInSwFntCache(
false)
95 mpNextTextFormatColl =
this;
110 bool IsAtDocNodeSet()
const;
112 void SetAttrOutlineLevel(
int );
113 int GetAttrOutlineLevel()
const;
118 int GetAssignedOutlineStyleLevel()
const;
122 return mbAssignedToOutlineStyle;
127 void AssignToListLevelOfOutlineStyle(
const int nAssignedListLevel);
128 void DeleteAssignmentToListLevelOfOutlineStyle();
134 virtual bool ResetFormatAttr( sal_uInt16 nWhich1, sal_uInt16 nWhich2 = 0 )
override;
141 return mbStayAssignedToListLevelOfOutlineStyle;
144 bool AreListLevelIndentsApplicable()
const;
158 m_bInSwFntCache =
false;
167 m_bInSwFntCache =
false;
240 friend class ::sw::DocumentStylePoolManager;
virtual void FormatDropNotify(const SwFormatDrop &rDrop) override
Represents the style of a paragraph.
WhichRangesContainer const aTextFormatCollSetRange(svl::Items< RES_CHRATR_BEGIN, RES_CHRATR_END-1, RES_PARATR_BEGIN, RES_PARATR_END-1, RES_PARATR_LIST_LEVEL, RES_PARATR_LIST_LEVEL, RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1, XATTR_FILL_FIRST, XATTR_FILL_LAST >)
bool isCHRATR(const sal_uInt16 nWhich)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(162)
sal_uLong GetSubCondition() const
SwFormatCollConditions m_CondColls
Master_CollCondition GetCondition() const
Master_CollCondition
Conditional styles.
bool mbStayAssignedToListLevelOfOutlineStyle
constexpr TypedWhichId< SwConditionTextFormatColl > RES_CONDTXTFMTCOLL(160)
Dialog to specify the properties of date form field.
bool HasWriterListeners() const
SwTextFormatColl * GetTextFormatColl() const
bool IsAssignedToListLevelOfOutlineStyle() const
bool IsInSwFntCache() const
bool mbAssignedToOutlineStyle
WhichRangesContainer const aGrfFormatCollSetRange(svl::Items< RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_GRFATR_BEGIN, RES_GRFATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
void SetNextTextFormatColl(SwTextFormatColl &rNext)
Inline implementations.
SwTextFormatColl * mpNextTextFormatColl
void dumpAsXml(xmlTextWriterPtr=nullptr) const
Dumps the entire nodes structure to the given destination (file nodes.xml in the current directory by...
constexpr TypedWhichId< SwGrfFormatColl > RES_GRFFMTCOLL(158)
constexpr TypedWhichId< SwAttrSetChg > RES_ATTRSET_CHG(163)
sal_uLong m_nSubCondition
SwConditionTextFormatColl(SwAttrPool &rPool, const OUString &rFormatCollName, SwTextFormatColl *pDerFrom)
constexpr TypedWhichId< SwTextFormatColl > RES_TXTFMTCOLL(157)
std::vector< std::unique_ptr< SwCollCondition >> SwFormatCollConditions
Master_CollCondition m_nCondition
bool IsModifyLocked() const
virtual void InvalidateInSwFntCache(sal_uInt16 nWhich) override
bool StayAssignedToListLevelOfOutlineStyle() const
const SwModify * GetRegisteredIn() const
WriterListener & operator=(WriterListener const &)=delete
virtual void CallSwClientNotify(const SfxHint &rHint) const override
SwTextFormatColl(SwAttrPool &rPool, const OUString &rFormatCollName, SwTextFormatColl *pDerFrom, sal_uInt16 nFormatWh=RES_TXTFMTCOLL)
struct _xmlTextWriter * xmlTextWriterPtr
const SwFormatCollConditions & GetCondColls() const
bool operator==(const ScCsvLayoutData &rData1, const ScCsvLayoutData &rData2)
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_OBJECTDYING(RES_MSG_BEGIN)
SwTextFormatColl & GetNextTextFormatColl() const
bool m_bDetectedRangeSegmentation false
SwTextFormatColl(SwAttrPool &rPool, const char *pFormatCollName, SwTextFormatColl *pDerFrom=nullptr, sal_uInt16 nFormatWh=RES_TXTFMTCOLL)