|
libhpdftbl 1.5.0
Table construction library for Haru PDF library
|
Used in data driven table creation. More...
#include <hpdftbl.h>
Data Fields | |
| size_t | row |
| size_t | col |
| unsigned | rowspan |
| unsigned | colspan |
| char * | label |
| hpdftbl_content_callback_t | content_cb |
| hpdftbl_content_callback_t | label_cb |
| hpdftbl_content_style_callback_t | style_cb |
| hpdftbl_canvas_callback_t | canvas_cb |
Used in data driven table creation.
A table can be specified by creating a array of this structure together with the hpdftbl_spec_t structure. The array should have one entry for each cell in the table.
| hpdftbl_canvas_callback_t canvas_cb |
Canvas callback for this cell
Referenced by hpdftbl_stroke_from_data().
| size_t col |
Row for specified cell
Referenced by hpdftbl_stroke_from_data().
| unsigned colspan |
Number of columns the specified cell should span
Referenced by hpdftbl_stroke_from_data().
| hpdftbl_content_callback_t content_cb |
Content callback for this cell
Referenced by hpdftbl_stroke_from_data().
| char* label |
The label for this cell
Referenced by hpdftbl_stroke_from_data().
| hpdftbl_content_callback_t label_cb |
Label callback for this cell
Referenced by hpdftbl_stroke_from_data().
| size_t row |
| unsigned rowspan |
Number of rows the specified cell should span
Referenced by hpdftbl_stroke_from_data().
| hpdftbl_content_style_callback_t style_cb |
Content style callback for this cell
Referenced by hpdftbl_stroke_from_data().