diff options
author | Irányossy Knoblauch Artúr <ikartur@gmail.com> | 2013-04-06 10:13:24 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-04-08 18:16:51 +0200 |
commit | 613c083180349c8a69a2a06da1e8da0eedf52fa8 (patch) | |
tree | 47f00ff3a188ff54967b21a115f07ceca3d9a94a | |
parent | cd9b1bb8a04f7317de26d06f882e32ed06e692f4 (diff) |
fdo#49120 - Implementig XML_state
Change-Id: If4779aeb5301bb3e422ceb6a4029ddf5542ab03d
Reviewed-on: https://gerrit.libreoffice.org/3222
Reviewed-by: Németh László <nemeth@numbertext.org>
Tested-by: Németh László <nemeth@numbertext.org>
Signed-off-by: Andras Timar <atimar@suse.com>
-rw-r--r-- | sc/source/filter/excel/xeview.cxx | 5 | ||||
-rw-r--r-- | sc/source/filter/inc/xeview.hxx | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xeview.cxx b/sc/source/filter/excel/xeview.cxx index ba3a09578e69..5ae744f11ca5 100644 --- a/sc/source/filter/excel/xeview.cxx +++ b/sc/source/filter/excel/xeview.cxx @@ -165,7 +165,8 @@ XclExpPane::XclExpPane( const XclTabViewData& rData ) : mnSplitX( rData.mnSplitX ), mnSplitY( rData.mnSplitY ), maSecondXclPos( rData.maSecondXclPos ), - mnActivePane( rData.mnActivePane ) + mnActivePane( rData.mnActivePane ), + mbFrozenPanes( rData.mbFrozenPanes ) { OSL_ENSURE( rData.IsSplit(), "XclExpPane::XclExpPane - no PANE record for unsplit view" ); } @@ -189,7 +190,7 @@ void XclExpPane::SaveXml( XclExpXmlStream& rStrm ) XML_ySplit, OString::valueOf( (sal_Int32)mnSplitY ).getStr(), XML_topLeftCell, XclXmlUtils::ToOString( maSecondXclPos ).getStr(), XML_activePane, lcl_GetActivePane( mnActivePane ), - // OOXTODO: XML_state, + XML_state, mbFrozenPanes ? "frozen" : "split", FSEND ); } diff --git a/sc/source/filter/inc/xeview.hxx b/sc/source/filter/inc/xeview.hxx index 07a0b0c95ac9..ab53e6d6952d 100644 --- a/sc/source/filter/inc/xeview.hxx +++ b/sc/source/filter/inc/xeview.hxx @@ -103,6 +103,7 @@ private: sal_uInt32 mnSplitY; /// Split Y position, or frozen row. XclAddress maSecondXclPos; /// First visible cell in additional panes. sal_uInt8 mnActivePane; /// Active pane (with cell cursor). + bool mbFrozenPanes; /// true = "frozen" panes; false = "split" window. }; // ---------------------------------------------------------------------------- |