mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/sdkjs/pulls/1711
This commit is contained in:
@ -7624,21 +7624,22 @@ var CPresentation = CPresentation || function(){};
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const aQuadsParts = annot.GetQuads();
|
|
||||||
aQuadsParts.forEach(function(quads) {
|
|
||||||
aQuadsFlat = aQuadsFlat.concat(quads);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Fill color
|
|
||||||
const oFillRGB = annot.GetRGBColor(annot.GetFillColor());
|
|
||||||
if (!oMemory) {
|
if (!oMemory) {
|
||||||
oMemory = new AscCommon.CMemory(true);
|
oMemory = new AscCommon.CMemory(true);
|
||||||
oMemory.Init(24);
|
oMemory.Init(24);
|
||||||
}
|
}
|
||||||
|
|
||||||
oMemory.WriteLong(oFillRGB.r);
|
// Fill color
|
||||||
oMemory.WriteLong(oFillRGB.g);
|
const oFillRGB = annot.GetRGBColor(annot.GetFillColor());
|
||||||
oMemory.WriteLong(oFillRGB.b);
|
|
||||||
|
const aQuadsParts = annot.GetQuads();
|
||||||
|
aQuadsParts.forEach(function(quads) {
|
||||||
|
aQuadsFlat = aQuadsFlat.concat(quads);
|
||||||
|
|
||||||
|
oMemory.WriteLong(oFillRGB.r);
|
||||||
|
oMemory.WriteLong(oFillRGB.g);
|
||||||
|
oMemory.WriteLong(oFillRGB.b);
|
||||||
|
});
|
||||||
|
|
||||||
pagesIdxMap.set(pageIdx, nOrigPageIdx);
|
pagesIdxMap.set(pageIdx, nOrigPageIdx);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user