summaryrefslogtreecommitdiff
path: root/sw/inc/pagedesc.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-07-09 09:45:04 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-07-09 11:25:41 +0200
commit84493425a1c5645221760756bec1c751ed24f522 (patch)
tree56a3f424d621d307fc62c7e8057db57a7c5e0bba /sw/inc/pagedesc.hxx
parenta96d2f339c913e6a53f6003fda024ddc7a6adbbf (diff)
merge HeaderIsSharedFirst and FooterIsSharedFirst to FirstIsShared
sw document model, xmloff and offapi supported these separately, but sw layout did not. It turns out it's not needed for Word interop, either, so better to just merge these, instead of implementing them independently without a good use-case. Change-Id: I5c3b334baa09cabec123745c7af3d65d830754fc
Diffstat (limited to 'sw/inc/pagedesc.hxx')
-rw-r--r--sw/inc/pagedesc.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx
index e529c12bf6db..c7a95cd93046 100644
--- a/sw/inc/pagedesc.hxx
+++ b/sw/inc/pagedesc.hxx
@@ -134,10 +134,8 @@ namespace nsUseOnPage
const UseOnPage PD_FOOTERSHARE = 0x0080;
const UseOnPage PD_NOHEADERSHARE = 0xFFBF; // For internal use only.
const UseOnPage PD_NOFOOTERSHARE = 0xFF7F; // For internal use only.
- const UseOnPage PD_HEADERSHAREFIRST = 0x0100;
- const UseOnPage PD_NOHEADERSHAREFIRST = 0xFEFF;
- const UseOnPage PD_FOOTERSHAREFIRST = 0x0200;
- const UseOnPage PD_NOFOOTERSHAREFIRST = 0xFDFF;
+ const UseOnPage PD_FIRSTSHARE = 0x0100;
+ const UseOnPage PD_NOFIRSTSHARE = 0xFEFF;
}
class SW_DLLPUBLIC SwPageDesc : public SwModify
@@ -189,10 +187,8 @@ public:
inline sal_Bool IsFooterShared() const;
inline void ChgHeaderShare( sal_Bool bNew );
inline void ChgFooterShare( sal_Bool bNew );
- sal_Bool IsHeaderSharedFirst() const;
- void ChgHeaderShareFirst( sal_Bool bNew );
- sal_Bool IsFooterSharedFirst() const;
- void ChgFooterShareFirst( sal_Bool bNew );
+ sal_Bool IsFirstShared() const;
+ void ChgFirstShare( sal_Bool bNew );
inline void SetUseOn( UseOnPage eNew );
inline UseOnPage GetUseOn() const;