Commit 9de7b943 authored by konovalovsergey's avatar konovalovsergey

freeze pane m_oState revert to string in binary

parent a476bdbb
......@@ -731,11 +731,10 @@ namespace BinXlsxRW
namespace c_oSer_Pane{enum c_oSer_Pane
{
ActivePane = 0,
// State = 1,
State = 1,
TopLeftCell = 2,
XSplit = 3,
YSplit = 4,
State = 5
YSplit = 4
};}
namespace c_oSer_Selection{enum c_oSer_Selection
{
......
......@@ -2075,7 +2075,7 @@ namespace BinXlsxRW {
if (oPane.m_oState.IsInit())
{
nCurPos = m_oBcw.WriteItemStart(c_oSer_Pane::State);
m_oBcw.m_oStream.WriteBYTE(oPane.m_oState->GetValue());
m_oBcw.m_oStream.WriteStringW4(oPane.m_oState->ToString());
m_oBcw.WriteItemEnd(nCurPos);
}
//TopLeftCell
......
......@@ -2295,7 +2295,7 @@ namespace BinXlsxRW {
else if(c_oSer_Pane::State == type)
{
pPane->m_oState.Init();
pPane->m_oState->SetValue((SimpleTypes::Spreadsheet::EPaneState)m_oBufferedStream.GetUChar());
pPane->m_oState->FromString(m_oBufferedStream.GetString4(length));
}
else if(c_oSer_Pane::TopLeftCell == type)
{
......
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