-
Notifications
You must be signed in to change notification settings - Fork 10
Engine parameters documentation
The generate_excel
template takes no arguments at the very least - in that case, default template will be generated. This is to make sure, your implementation into your systems is correct, think of it as test case.
-
themes
contains xmlNode, copy/paste fromxl/themes/theme1.xml
-
styles
contains xmlNode, copy/paste fromxl/styles.xml
-
sheetNames
contains names of the sheet:
Sheet 1 Sheet 2
- `sheetContents` contains contents of **all** `sheetX.xml` files from `xl/worksheets` directory:
```xml
<worksheet ...> ... </worksheet>
<worksheet ...> ... </worksheet>
-
author
takes string argument and will use it for author field in document properties Example value would beACME Corp. Ltd.
-
images
takes special argument of xmlNodes<image>
, which is defined as follows:
xdr: & a: namespace dtd is:
xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
If you want to display same image multiple times, append same <image>
tag multiple times. The binary will be present only once within result excel structure. if used multiple times.
If you want to display same image on different positions on different sheets, put the <image>
tag multiple times. Altough engine takes multiple usedIn/sheet
parameters, the position is still the same for respective image depending on xdr:
parameters values. The usedIn
is handy shorthand for eg. header image of the excel, which you want on all sheets on same position.
-
vbas
takes<vba>filename</vba>
xmlNodes. You want to use only one, altough it's possible to use multiple tags. It all boils down to how many.bin
files you have in your template excel. -
printerSettings
takes multiple<setting for="1">
elements. There should be one setting file per one worksheet - and the file is also binary. Therefore, the value boils down to template excel you prepared.