diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-10-05 16:30:37 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-10-05 17:20:00 +0200 |
commit | 5c19b8701c58fbb49188ce2210879ce6f4431471 (patch) | |
tree | 86991515a449ede597b2960ee1892d55207897b2 | |
parent | 7ef7e60c1180fd643b472b57ad064a50601c51f7 (diff) |
ItemSetToPageDesc / PageDescToItemSet: handle first page footers
Change-Id: Id480c0e81b79ec48b3ceba566219089d9a408c22
-rw-r--r-- | sw/source/ui/utlui/uitool.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/utlui/uitool.cxx b/sw/source/ui/utlui/uitool.cxx index d3d82ad9fb05..64469417451d 100644 --- a/sw/source/ui/utlui/uitool.cxx +++ b/sw/source/ui/utlui/uitool.cxx @@ -257,6 +257,8 @@ void ItemSetToPageDesc( const SfxItemSet& rSet, SwPageDesc& rPageDesc ) rPageDesc.ChgFooterShare(((const SfxBoolItem&) rFooterSet.Get(SID_ATTR_PAGE_SHARED)).GetValue()); + rPageDesc.ChgFirstShare(((const SfxBoolItem&) + rFooterSet.Get(SID_ATTR_PAGE_SHARED_FIRST)).GetValue()); } else { // Footer ausschalten @@ -439,6 +441,8 @@ void PageDescToItemSet( const SwPageDesc& rPageDesc, SfxItemSet& rSet) // SfxBoolItem aShared(SID_ATTR_PAGE_SHARED, rPageDesc.IsFooterShared()); aFooterSet.Put(aShared); + SfxBoolItem aFirstShared(SID_ATTR_PAGE_SHARED_FIRST, rPageDesc.IsFirstShared()); + aFooterSet.Put(aFirstShared); // Groesse SvxSizeItem aSize(SID_ATTR_PAGE_SIZE, Size(rFrmSize.GetSize())); |