#include <product_table.h>
|
| static product_table_return | createProductTable (HPDF_Page page, HPDF_REAL padding_left, HPDF_REAL padding_right, HPDF_REAL y, HPDF_REAL bottom_padding, std::list< std::shared_ptr< ProductData > > products, HPDF_Font font, HPDF_Font font_bold) |
| | Function to automatically draw the Product table on to a given invoice page.
|
| |
| static HPDF_REAL | createTotalRow (HPDF_Page page, HPDF_REAL padding_left, HPDF_REAL padding_right, HPDF_REAL y, HPDF_REAL bottom_padding, const std::list< std::shared_ptr< ProductData > > &products, HPDF_Font font_bold) |
| | Draws the Product Tables Total Row on to a given pdf page.
|
| |
◆ createProductTable()
| product_table_return product_table::createProductTable |
( |
HPDF_Page | page, |
|
|
HPDF_REAL | padding_left, |
|
|
HPDF_REAL | padding_right, |
|
|
HPDF_REAL | y, |
|
|
HPDF_REAL | bottom_padding, |
|
|
std::list< std::shared_ptr< ProductData > > | products, |
|
|
HPDF_Font | font, |
|
|
HPDF_Font | font_bold ) |
|
static |
Function to automatically draw the Product table on to a given invoice page.
- Returns
- list of Products unable to fit onto page without exceeding dimensions and height of this element
◆ createTotalRow()
| HPDF_REAL product_table::createTotalRow |
( |
HPDF_Page | page, |
|
|
HPDF_REAL | padding_left, |
|
|
HPDF_REAL | padding_right, |
|
|
HPDF_REAL | y, |
|
|
HPDF_REAL | bottom_padding, |
|
|
const std::list< std::shared_ptr< ProductData > > & | products, |
|
|
HPDF_Font | font_bold ) |
|
static |
Draws the Product Tables Total Row on to a given pdf page.
- Returns
- the height of the element on the page
The documentation for this class was generated from the following files: