libhpdftbl 1.5.0
Table construction library for Haru PDF library
Loading...
Searching...
No Matches
API Overview

Table creation related functions

These calls relate to the creation, destruction and stroking of the table on the PDF page.

Table error handling

Theme handling methods

Themes is a technique to easier specify the look and feel to be re-used for multiple tables.

Table layout adjusting functions

Adjusting the structure of the table (apart from number of rows and columns)

Table style modifying functions

These functions are all about look and feel of the table.

Content handling

Content in a table can be specified in three ways

  1. Manually for each cell by calling the hpdftbl_set_cell() function
  2. In one go by creating a 1D data array for all cell
  3. Creating a callback which returns the wanted value

Callback handling

Callbacks can be specified on both table but also on cell level. The simple rule is that if a cell has a callback that is used, otherwise the table callback is used.

Dynamic (late binding) callback handling

These are callbacks which set a function at runtime to be used as callback. This is useful when specifying the table for example as a structure stored in a database or in a file. The callback function is then specified as a string (the name of the callback function which is then resolved at runtime.

Serializing

Text encoding

Misc utility function