1

                    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.


  1. Headers The system supports h1 to h6.
  2.   <h1>Header 1</h1>
      <h2>Header 2</h2>
      <h3>Header 3</h3>
      <h4>Header 4</h4>
     
     
  3. Bold Text <b>
  4.   <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>
     
     
  5. Italics <i>
  6.   <i>Italics</i>
     
     
  7. Strong Italic Underlined Text
  8.   <b><i><u>Strong Italic Underlined Text</u></i></b>
     
     
  9. Table tags <table>, <tr>, <td>, <tbody>, <thead>, <tfoot>, <th>
  10.   <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>
     
  11. Lists <ul>, <ol> <li>
  12. Paragraphs <p>