Commit ac1398dc authored by GoshaZotov's avatar GoshaZotov

do not read setting and footer/header fron binary(copy/paste)

parent e80cd0cc
...@@ -5728,7 +5728,10 @@ function BinaryFileReader(doc, openParams) ...@@ -5728,7 +5728,10 @@ function BinaryFileReader(doc, openParams)
if(c_oSerConstants.ReadOk != res) if(c_oSerConstants.ReadOk != res)
return res; return res;
//todo сделать зачитывание в oReadResult, одновременно с кодом презентаций //todo сделать зачитывание в oReadResult, одновременно с кодом презентаций
if(!this.openParams.bCopyPaste)
{
res = (new Binary_SettingsTableReader(this.Document, this.oReadResult, this.stream)).Read(); res = (new Binary_SettingsTableReader(this.Document, this.oReadResult, this.stream)).Read();
}
if(c_oSerConstants.ReadOk != res) if(c_oSerConstants.ReadOk != res)
return res; return res;
} }
...@@ -5764,7 +5767,10 @@ function BinaryFileReader(doc, openParams) ...@@ -5764,7 +5767,10 @@ function BinaryFileReader(doc, openParams)
// break; // break;
case c_oSerTableTypes.HdrFtr: case c_oSerTableTypes.HdrFtr:
//todo сделать зачитывание в oReadResult //todo сделать зачитывание в oReadResult
if(!this.openParams.bCopyPaste)
{
res = (new Binary_HdrFtrTableReader(this.Document, this.oReadResult, this.openParams, this.stream)).Read(); res = (new Binary_HdrFtrTableReader(this.Document, this.oReadResult, this.openParams, this.stream)).Read();
}
break; break;
// case c_oSerTableTypes.Numbering: // case c_oSerTableTypes.Numbering:
// res = (new Binary_NumberingTableReader(this.Document, this.stream, oDocxNum)).Read(); // res = (new Binary_NumberingTableReader(this.Document, this.stream, oDocxNum)).Read();
......
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