Kaydet (Commit) 95487b11 authored tarafından Irányossy Knoblauch Artúr's avatar Irányossy Knoblauch Artúr Kaydeden (comit) Németh László

fdo#49120 - Implementig XML_state

Change-Id: If4779aeb5301bb3e422ceb6a4029ddf5542ab03d
Reviewed-on: https://gerrit.libreoffice.org/3222Reviewed-by: 's avatarNémeth László <nemeth@numbertext.org>
Tested-by: 's avatarNémeth László <nemeth@numbertext.org>
üst 50977ad9
...@@ -164,7 +164,8 @@ XclExpPane::XclExpPane( const XclTabViewData& rData ) : ...@@ -164,7 +164,8 @@ XclExpPane::XclExpPane( const XclTabViewData& rData ) :
mnSplitX( rData.mnSplitX ), mnSplitX( rData.mnSplitX ),
mnSplitY( rData.mnSplitY ), mnSplitY( rData.mnSplitY ),
maSecondXclPos( rData.maSecondXclPos ), maSecondXclPos( rData.maSecondXclPos ),
mnActivePane( rData.mnActivePane ) mnActivePane( rData.mnActivePane ),
mbFrozenPanes( rData.mbFrozenPanes )
{ {
OSL_ENSURE( rData.IsSplit(), "XclExpPane::XclExpPane - no PANE record for unsplit view" ); OSL_ENSURE( rData.IsSplit(), "XclExpPane::XclExpPane - no PANE record for unsplit view" );
} }
...@@ -188,7 +189,7 @@ void XclExpPane::SaveXml( XclExpXmlStream& rStrm ) ...@@ -188,7 +189,7 @@ void XclExpPane::SaveXml( XclExpXmlStream& rStrm )
XML_ySplit, OString::valueOf( (sal_Int32)mnSplitY ).getStr(), XML_ySplit, OString::valueOf( (sal_Int32)mnSplitY ).getStr(),
XML_topLeftCell, XclXmlUtils::ToOString( maSecondXclPos ).getStr(), XML_topLeftCell, XclXmlUtils::ToOString( maSecondXclPos ).getStr(),
XML_activePane, lcl_GetActivePane( mnActivePane ), XML_activePane, lcl_GetActivePane( mnActivePane ),
// OOXTODO: XML_state, XML_state, mbFrozenPanes ? "frozen" : "split",
FSEND ); FSEND );
} }
......
...@@ -103,6 +103,7 @@ private: ...@@ -103,6 +103,7 @@ private:
sal_uInt32 mnSplitY; /// Split Y position, or frozen row. sal_uInt32 mnSplitY; /// Split Y position, or frozen row.
XclAddress maSecondXclPos; /// First visible cell in additional panes. XclAddress maSecondXclPos; /// First visible cell in additional panes.
sal_uInt8 mnActivePane; /// Active pane (with cell cursor). sal_uInt8 mnActivePane; /// Active pane (with cell cursor).
bool mbFrozenPanes; /// true = "frozen" panes; false = "split" window.
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment