summaryrefslogtreecommitdiff
path: root/sw/inc/section.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/section.hxx')
-rw-r--r--sw/inc/section.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index 0c45e470d247..b2f5fb53a54a 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -67,6 +67,7 @@ private:
OUString m_sLinkFileName;
OUString m_sLinkFilePassword; // Must be changed to Sequence.
css::uno::Sequence <sal_Int8> m_Password;
+ sal_uInt16 m_nPage; // loaded meta page count for page anchored flys in master document
/// It seems this flag caches the current final "hidden" state.
bool m_bHiddenFlag : 1;
@@ -133,6 +134,9 @@ public:
bool IsConnectFlag() const { return m_bConnectFlag; }
void SetConnectFlag(bool const bFlag){ m_bConnectFlag = bFlag; }
+ sal_uInt16 GetPageNum() const { return m_nPage; }
+ void SetPageNum(sal_uInt16 nPageNum){ m_nPage = nPageNum; }
+
void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
@@ -213,6 +217,11 @@ public:
css::uno::Sequence<sal_Int8> const& GetPassword() const
{ return m_Data.GetPassword(); }
+ sal_uInt16 GetPageNum() const
+ { return m_Data.GetPageNum(); }
+ void SetPageNum(sal_uInt16 nPage)
+ { m_Data.SetPageNum(nPage); }
+
// Data server methods.
void SetRefObject( SwServerObject* pObj );
const SwServerObject* GetObject() const { return m_RefObj.get(); }