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