mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[se] Fix bug 77143
This commit is contained in:
committed by
Ilya Kirillov
parent
d574239a1f
commit
79f7b1efa4
@ -5316,7 +5316,7 @@ function isAllowPasteLink(pastedWb) {
|
||||
curHeader.parser = new AscCommonExcel.HeaderFooterParser();
|
||||
curHeader.parser.parse(curHeader.str);
|
||||
}
|
||||
curHeader.parser.calculateTokens(this, indexPrintPage, countPrintPages);
|
||||
curHeader.parser.calculateTokens(this, indexPrintPage, countPrintPages, true);
|
||||
|
||||
//get current tokens -> curHeader.parser -> getTokensByPosition(AscCommomExcel.c_oPortionPosition)
|
||||
this._drawHeaderFooter(drawingCtx, printPagesData, curHeader, indexPrintPage, countPrintPages, false, opt_headerFooter);
|
||||
@ -5337,7 +5337,7 @@ function isAllowPasteLink(pastedWb) {
|
||||
curFooter.parser = new AscCommonExcel.HeaderFooterParser();
|
||||
curFooter.parser.parse(curFooter.str);
|
||||
}
|
||||
curFooter.parser.calculateTokens(this, indexPrintPage, countPrintPages);
|
||||
curFooter.parser.calculateTokens(this, indexPrintPage, countPrintPages, true);
|
||||
//get current tokens -> curHeader.parser -> getTokensByPosition(AscCommomExcel.c_oPortionPosition)
|
||||
this._drawHeaderFooter(drawingCtx, printPagesData, curFooter, indexPrintPage, countPrintPages, true, opt_headerFooter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user