Hi,
I have submitted a patch for review:
    https://gerrit.libreoffice.org/3222
To pull it, you can do:
    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/22/3222/1
fdo#49120 - Implementig XML_state
Change-Id: If4779aeb5301bb3e422ceb6a4029ddf5542ab03d
---
M sc/source/filter/excel/xeview.cxx
M sc/source/filter/inc/xeview.hxx
2 files changed, 4 insertions(+), 2 deletions(-)
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 @@
     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 @@
             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 @@
     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.
 };
 
 // ----------------------------------------------------------------------------
-- 
To view, visit https://gerrit.libreoffice.org/3222
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If4779aeb5301bb3e422ceb6a4029ddf5542ab03d
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Andras Timar <atimar@suse.com>
Context
- [PATCH] fdo#49120 - Implementig XML_state · Andras Timar (via Code Review)
 
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.