19#ifndef INCLUDED_SW_INC_FMTCOL_HXX
20#define INCLUDED_SW_INC_FMTCOL_HXX
26#include <rtl/ustring.hxx>
33namespace sw{
class DocumentStylePoolManager; }
42 sal_uInt16 nFormatWhich )
43 :
SwFormat( rPool, pFormatName, pWhichRanges, pDerFrom, nFormatWhich )
48 sal_uInt16 nFormatWhich )
49 :
SwFormat( rPool, rFormatName, pWhichRanges, pDerFrom, nFormatWhich )
63 friend class ::sw::DocumentStylePoolManager;
82 , mbStayAssignedToListLevelOfOutlineStyle(false)
83 , mbAssignedToOutlineStyle(false)
84 , m_bInSwFntCache(false)
86 mpNextTextFormatColl =
this;
93 , mbStayAssignedToListLevelOfOutlineStyle(false)
94 , mbAssignedToOutlineStyle(false)
95 , m_bInSwFntCache(false)
97 mpNextTextFormatColl =
this;
112 bool IsAtDocNodeSet()
const;
114 void SetAttrOutlineLevel(
int );
115 int GetAttrOutlineLevel()
const;
120 int GetAssignedOutlineStyleLevel()
const;
124 return mbAssignedToOutlineStyle;
129 void AssignToListLevelOfOutlineStyle(
const int nAssignedListLevel);
130 void DeleteAssignmentToListLevelOfOutlineStyle();
136 virtual bool ResetFormatAttr( sal_uInt16 nWhich1, sal_uInt16 nWhich2 = 0 )
override;
143 return mbStayAssignedToListLevelOfOutlineStyle;
147 bool AreListLevelIndentsApplicableImpl(sal_uInt16 nWhich)
const;
152 if(HasWriterListeners() && !IsModifyLocked())
161 m_bInSwFntCache =
false;
170 m_bInSwFntCache =
false;
218 sal_uInt32 nSubCond );
243 friend class ::sw::DocumentStylePoolManager;
Master_CollCondition m_nCondition
Master_CollCondition GetCondition() const
SwTextFormatColl * GetTextFormatColl() const
sal_uInt32 GetSubCondition() const
sal_uInt32 m_nSubCondition
SwFormatCollConditions m_CondColls
SwConditionTextFormatColl(SwAttrPool &rPool, const OUString &rFormatCollName, SwTextFormatColl *pDerFrom)
const SwFormatCollConditions & GetCondColls() const
void dumpAsXml(xmlTextWriterPtr=nullptr) const
Dumps the entire nodes structure to the given destination (file nodes.xml in the current directory by...
Represents the style of a paragraph.
bool mbAssignedToOutlineStyle
SwTextFormatColl(const SwTextFormatColl &rRef)=delete
bool StayAssignedToListLevelOfOutlineStyle() const
bool IsAssignedToListLevelOfOutlineStyle() const
virtual void FormatDropNotify(const SwFormatDrop &rDrop) override
bool IsInSwFntCache() const
SwTextFormatColl & GetNextTextFormatColl() const
SwTextFormatColl * mpNextTextFormatColl
void SetNextTextFormatColl(SwTextFormatColl &rNext)
Inline implementations.
virtual void InvalidateInSwFntCache(sal_uInt16 nWhich) override
SwTextFormatColl(SwAttrPool &rPool, const char *pFormatCollName, SwTextFormatColl *pDerFrom=nullptr, sal_uInt16 nFormatWh=RES_TXTFMTCOLL)
bool mbStayAssignedToListLevelOfOutlineStyle
SwTextFormatColl(SwAttrPool &rPool, const OUString &rFormatCollName, SwTextFormatColl *pDerFrom, sal_uInt16 nFormatWh=RES_TXTFMTCOLL)
struct _xmlTextWriter * xmlTextWriterPtr
Master_CollCondition
Conditional styles.
std::vector< std::unique_ptr< SwCollCondition > > SwFormatCollConditions
constexpr TypedWhichId< SwGrfFormatColl > RES_GRFFMTCOLL(164)
bool isCHRATR(const sal_uInt16 nWhich)
constexpr TypedWhichId< SwConditionTextFormatColl > RES_CONDTXTFMTCOLL(166)
constexpr TypedWhichId< SwAttrSetChg > RES_ATTRSET_CHG(169)
constexpr TypedWhichId< SwTextFormatColl > RES_TXTFMTCOLL(163)
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_OBJECTDYING(RES_FORMAT_MSG_BEGIN)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(168)
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 >)
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 >)
Dialog to specify the properties of date form field.
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)