Commit 05451c63 by yeln4ts

Fix border parameter call issue

parent 81776cc5
......@@ -6106,7 +6106,7 @@ var ImageModule = function () {
}
}, {
key: "getRenderedPartDocx",
value: function getRenderedPartDocx(rId, size, centered) {
value: function getRenderedPartDocx(rId, size, centered, border) {
if (centered) return templates.getImageXmlCentered(rId, size);else if (border) return templates.getImageXmlBordered(rId, size, border);else return templates.getImageXml(rId, size);
}
}, {
......
......@@ -165,7 +165,7 @@ class ImageModule {
}
return templates.getPptxImageXml(rId, [imgW, imgH], offset);
}
getRenderedPartDocx(rId, size, centered) {
getRenderedPartDocx(rId, size, centered, border) {
if (centered)
return templates.getImageXmlCentered(rId, size)
else if (border)
......
......@@ -206,7 +206,7 @@ var ImageModule = function () {
}
}, {
key: "getRenderedPartDocx",
value: function getRenderedPartDocx(rId, size, centered) {
value: function getRenderedPartDocx(rId, size, centered, border) {
if (centered) return templates.getImageXmlCentered(rId, size);else if (border) return templates.getImageXmlBordered(rId, size, border);else return templates.getImageXml(rId, size);
}
}, {
......
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