Help Docs
Populate HTML to PDF and Word Templates
For styling and presentation of data, HTML is the best choice. For the sharing of data, documents in PDF or Word formats are the preferred choice. By populating HTML into PDF and Word templates, you get the best of both worlds.
{>>htmlid} is the tag for HTML population. Ex: {>>myhtml}, {>>invoice}
Include the HTML code in your JSON/XML/Excel file and pass it to the tag for dynamic population.
EDocGen supports a large number of HTML tags, attributes, and styles.
- Headers The system supports h1 to h6.
- Bold Text <b>
- Italics <i>
- Strong Italic Underlined Text
- Table tags <table>, <tr>, <td>, <tbody>, <thead>, <tfoot>, <th>
- Lists <ul>, <ol> <li>
- Paragraphs <p>
<h1>Header 1</h1>
<h2>Header 2</h2>
<h3>Header 3</h3>
<h4>Header 4</h4>
<b style="color:green; font: italic 80px Chalkboard">Bold Text</b>
<b style="font-family: Chalkboard; font-variant:italic; font-size: 100px">New font text</b>
<i>Italics</i>
<b><i><u>Strong Italic Underlined Text</u></i></b>
<table border=1 size=750>
<tr style="background-color:#90EE90; color: Black">
<th>H1</th>
<th>H2</th>
<th>H3</th>
<th>H4</th>
<th>H5</th>
</tr>
<tr>
<td>R1C1</td>
<td>R1C1</td>
<td style="background-color:#add8e6;">R1C3</td>
<td>R1C4</td>
<td>R1C5</td>
</tr>
</table>