Invoice++
Loading...
Searching...
No Matches
product_table Class Reference

#include <product_table.h>

Collaboration diagram for product_table:

Static Public Member Functions

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.
 

Member Function Documentation

◆ 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
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: