mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[pdf] Fix for save
This commit is contained in:
@ -4510,11 +4510,12 @@
|
||||
oMemory.WriteLong(originIndex != undefined ? originIndex : curIndex);
|
||||
|
||||
let oPageInfo = aPagesInfo[curIndex];
|
||||
if (checkNeedRedactPage(oPageInfo)) {
|
||||
writePageRedactsInfo(oPageInfo);
|
||||
}
|
||||
|
||||
if ([AscPDF.CommandType.editPage, AscPDF.CommandType.addPage].includes(nCommandType)) {
|
||||
if (checkNeedRedactPage(oPageInfo)) {
|
||||
writePageRedactsInfo(oPageInfo);
|
||||
}
|
||||
|
||||
let nRotAngle = this.getPageRotate(curIndex);
|
||||
let bClearPage = !!oFile.pages[curIndex].isRecognized;
|
||||
|
||||
@ -5066,11 +5067,12 @@
|
||||
oMemory.WriteLong(originIndex != undefined ? originIndex : curIndex);
|
||||
|
||||
let oPageInfo = aPagesInfo[curIndex];
|
||||
if (checkNeedRedactPage(oPageInfo)) {
|
||||
writePageRedactsInfo(oPageInfo);
|
||||
}
|
||||
|
||||
|
||||
if ([AscPDF.CommandType.editPage, AscPDF.CommandType.addPage].includes(nCommandType)) {
|
||||
if (checkNeedRedactPage(oPageInfo)) {
|
||||
writePageRedactsInfo(oPageInfo);
|
||||
}
|
||||
|
||||
let nRotAngle = this.getPageRotate(curIndex);
|
||||
let bClearPage = !!oFile.pages[curIndex].isRecognized;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user