fix(basic.gblib): FILL keyword can now template images and AS IMAGE can convert a DOCX to a PNG.
This commit is contained in:
parent
9f8349f0f9
commit
16bdab6bcc
1 changed files with 2 additions and 1 deletions
|
@ -57,6 +57,7 @@ import sharp from 'sharp';
|
||||||
import apply from 'async/apply';
|
import apply from 'async/apply';
|
||||||
import ImageModule from 'open-docxtemplater-image-module';
|
import ImageModule from 'open-docxtemplater-image-module';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @fileoverview General Bots server core.
|
* @fileoverview General Bots server core.
|
||||||
*/
|
*/
|
||||||
|
@ -1469,7 +1470,7 @@ export class SystemKeywords {
|
||||||
|
|
||||||
},
|
},
|
||||||
getSize: (img, tagValue, tagName) => {
|
getSize: (img, tagValue, tagName) => {
|
||||||
return images[indexImage].size;
|
return images[indexImage++].size;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue