[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - sc/source
Irányossy Knoblauch Artúr
ikartur at gmail.com
Mon Apr 8 09:17:15 PDT 2013
sc/source/filter/excel/xeview.cxx | 5 +++--
sc/source/filter/inc/xeview.hxx | 1 +
2 files changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 613c083180349c8a69a2a06da1e8da0eedf52fa8
Author: Irányossy Knoblauch Artúr <ikartur at gmail.com>
Date: Sat Apr 6 10:13:24 2013 +0200
fdo#49120 - Implementig XML_state
Change-Id: If4779aeb5301bb3e422ceb6a4029ddf5542ab03d
Reviewed-on: https://gerrit.libreoffice.org/3222
Reviewed-by: Németh László <nemeth at numbertext.org>
Tested-by: Németh László <nemeth at numbertext.org>
Signed-off-by: Andras Timar <atimar at suse.com>
diff --git a/sc/source/filter/excel/xeview.cxx b/sc/source/filter/excel/xeview.cxx
index ba3a095..5ae744f 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 07a0b0c..ab53e6d 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.
};
// ----------------------------------------------------------------------------
More information about the Libreoffice-commits
mailing list