Created centered table with TableAdd

    • Offizieller Beitrag

    The new API TableAdd is a powerful but still easy to use possibility to create a table in code. Using a callback function you can set properties for each cell and also create the text.

    Here we want to show how to create an empty table and move it to the horizontal center of the page:

  • Centering of the table works fine.. in wptools and export to PDF.

    However, when exporting to RTF strange things happen. The colwidths are "adjusted" and the first 2 or 3 cols disappear.

    I haven't figured it out why. Maybe Julian can help.

    Robert van Hoornaar