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;
78 , mbStayAssignedToListLevelOfOutlineStyle(false)
79 , mbAssignedToOutlineStyle(false)
80 , m_bInSwFntCache(false)
82 mpNextTextFormatColl =
this;
89 , mbStayAssignedToListLevelOfOutlineStyle(false)
90 , mbAssignedToOutlineStyle(false)
91 , m_bInSwFntCache(false)
93 mpNextTextFormatColl =
this;
104 bool IsAtDocNodeSet()
const;
106 void SetAttrOutlineLevel(
int );
107 int GetAttrOutlineLevel()
const;
112 int GetAssignedOutlineStyleLevel()
const;
116 return mbAssignedToOutlineStyle;
121 void AssignToListLevelOfOutlineStyle(
const int nAssignedListLevel);
122 void DeleteAssignmentToListLevelOfOutlineStyle();
128 virtual bool ResetFormatAttr( sal_uInt16 nWhich1, sal_uInt16 nWhich2 = 0 )
override;
135 return mbStayAssignedToListLevelOfOutlineStyle;
138 bool AreListLevelIndentsApplicable()
const;
152 m_bInSwFntCache =
false;
161 m_bInSwFntCache =
false;
234 friend class ::sw::DocumentStylePoolManager;
constexpr TypedWhichId< SwGrfFormatColl > RES_GRFFMTCOLL(156)
virtual void FormatDropNotify(const SwFormatDrop &rDrop) override
Represents the style of a paragraph.
bool isCHRATR(const sal_uInt16 nWhich)
sal_uLong GetSubCondition() const
SwFormatCollConditions m_CondColls
Master_CollCondition GetCondition() const
Master_CollCondition
Conditional styles.
bool mbStayAssignedToListLevelOfOutlineStyle
Dialog to specify the properties of date form field.
bool HasWriterListeners() const
SwTextFormatColl * GetTextFormatColl() const
sal_uInt16 const aTextFormatCollSetRange[]
bool IsAssignedToListLevelOfOutlineStyle() const
bool IsInSwFntCache() const
bool mbAssignedToOutlineStyle
void SetNextTextFormatColl(SwTextFormatColl &rNext)
Inline implementations.
constexpr TypedWhichId< SwAttrSetChg > RES_ATTRSET_CHG(161)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(160)
SwTextFormatColl * mpNextTextFormatColl
struct _xmlTextWriter * xmlTextWriterPtr
sal_uInt16 const aGrfFormatCollSetRange[]
void dumpAsXml(xmlTextWriterPtr=nullptr) const
Dumps the entire nodes structure to the given destination (file nodes.xml in the current directory by...
sal_uLong m_nSubCondition
SwConditionTextFormatColl(SwAttrPool &rPool, const OUString &rFormatCollName, SwTextFormatColl *pDerFrom)
std::vector< std::unique_ptr< SwCollCondition >> SwFormatCollConditions
Master_CollCondition m_nCondition
bool IsModifyLocked() const
virtual void InvalidateInSwFntCache(sal_uInt16 nWhich) override
bool StayAssignedToListLevelOfOutlineStyle() const
constexpr TypedWhichId< SwTextFormatColl > RES_TXTFMTCOLL(155)
const SwModify * GetRegisteredIn() const
constexpr TypedWhichId< SwConditionTextFormatColl > RES_CONDTXTFMTCOLL(158)
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)
const SwFormatCollConditions & GetCondColls() const
bool operator==(const ScCsvLayoutData &rData1, const ScCsvLayoutData &rData2)
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_OBJECTDYING(RES_MSG_BEGIN)
SwTextFormatColl & GetNextTextFormatColl() const
SwTextFormatColl(SwAttrPool &rPool, const char *pFormatCollName, SwTextFormatColl *pDerFrom=nullptr, sal_uInt16 nFormatWh=RES_TXTFMTCOLL)