HTML Templates
Most customers won't need this feature since a UI was released in Version 1.0, which enables the user to easily create a basic template. For those customers who wish to add more complex features to their templates, this feature will come in handy.
To enable the HTML functionality, select the "Edit Mode" checkbox in the "Options" menu.
You can use inline CSS and the "data-oo-*"- attributes to style your template.
See examples below:
Examples
<table data-oo-style="OOE-Table-Style-TitleBar">
<tr>
<td data-oo-background="#C00000" >
<p data-oo-style="OOE-Style-TitleBar">OneOffixx Exporter Version __Version__</p>
</td>
</tr>
</table>
CODE
Data-oo-* -attributes
Table:
Style Attribute | Definition | Options |
---|
data-oo-style (table) | table style | |
---|
data-oo-background | background color | |
---|
data-oo-table-width | width of table |
|
---|
data-oo-table-columns | width of a column of a table | |
---|
Text:
Style Attribute | Definition | Options |
---|
data-oo-style (text) | text style | |
---|
data-oo-foreground | text color | |
---|
Images:
Style Attribute | Definition | Options |
---|
data-oo-image-height | defines height of image (width will be calculated automatically) | |
---|
data-oo-image-sizeunit | size unit which will be used for height/width attribute | |
---|
data-oo-image-width | defines width of image (height will be calculated automatically) | |
---|