19#ifndef INCLUDED_SW_INC_FMTPDSC_HXX
20#define INCLUDED_SW_INC_FMTPDSC_HXX
64 const ::std::optional<sal_uInt16>&
GetNumOffset()
const {
return m_oNumOffset; }
65 void SetNumOffset( const ::std::optional<sal_uInt16>& oNum ) { m_oNumOffset = oNum; }
68 const sw::BroadcastingModify*
GetDefinedIn()
const {
return m_pDefinedIn; }
69 void ChgDefinedIn(
const sw::BroadcastingModify* pNew ) { m_pDefinedIn =
const_cast<sw::BroadcastingModify*
>(pNew); }
71 bool KnowsPageDesc()
const;
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
virtual bool GetPresentation(SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const
virtual bool operator==(const SfxPoolItem &) const=0
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId)
SfxPoolItem & operator=(const SfxPoolItem &)=delete
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const=0
const SwFormatPageDesc & GetPageDesc(bool=true) const
const SwModify * GetRegisteredIn() const
virtual void SwClientNotify(const SwModify &, const SfxHint &rHint) override
Pagedescriptor Client of SwPageDesc that is "described" by the attribute.
const sw::BroadcastingModify * GetDefinedIn() const
Query / set where attribute is anchored.
void SetNumOffset(const ::std::optional< sal_uInt16 > &oNum)
const SwPageDesc * GetPageDesc() const
SwPageDesc * GetPageDesc()
::std::optional< sal_uInt16 > m_oNumOffset
Offset page number.
const ::std::optional< sal_uInt16 > & GetNumOffset() const
void ChgDefinedIn(const sw::BroadcastingModify *pNew)
sw::BroadcastingModify * m_pDefinedIn
Points to the object in which the attribute was set (ContentNode/Format).
struct _xmlTextWriter * xmlTextWriterPtr
constexpr TypedWhichId< SwFormatPageDesc > RES_PAGEDESC(99)