|
| | SPdfDoc (std::string title, std::string creator, std::string author, unsigned int dpiResolution=72) |
| |
| | ~SPdfDoc () |
| |
| void | SetCharset (std::string charset) |
| |
| void | SetPageMode (HPDF_PageMode mode) |
| |
| HPDF_PageMode | GetPageMode () |
| |
| void | SetPageLayout (HPDF_PageLayout layout) |
| |
| HPDF_PageLayout | GetPageLayout () |
| |
| HPDF_Page | AddPage (HPDF_PageSizes sizes, HPDF_PageDirection direction) |
| |
| HPDF_Page | GetPageByIndex (HPDF_UINT index) |
| |
| float | GetPageWidth (HPDF_Page page) |
| |
| float | GetPageHeight (HPDF_Page page) |
| |
| std::string | LoadFontTTF (std::string fontpath) |
| |
| void | AddPageLabel (HPDF_UINT pagenum, HPDF_PageNumStyle style, HPDF_UINT firstpage, std::string prefix) |
| |
| void | AddPageText (HPDF_Page page, std::string text, float posx, float posy, int color, std::string fontname, float fontsize, int align, bool relative=false) |
| |
| void | AddPageBitmap (HPDF_Page page, PtrObjBitmap bitmap, float posx, float posy, float width, float height, int align) |
| |
| void | AddPageImage (HPDF_Page page, std::string path, float posx, float posy, float width, float height, int align) |
| |
| void | AddPageRectangle (HPDF_Page page, float posx, float posy, float width, float height, float lineWith, int lineColor, int fillColor, bool filled, int align) |
| |
| void | AddPageEllipse (HPDF_Page page, float posx, float posy, float xradius, float yradius, float lineWith, int lineColor, int fillColor, bool filled, int align) |
| |
| void | AddPageLine (HPDF_Page page, float posx, float posy, float dstx, float dsty, float lineWith, int lineColor) |
| |
| float | GetTextWidth (HPDF_Page page, std::string text, std::string fontname, float fontsize) |
| |
| void | SaveToFile (std::string path) |
| |
sPdfDoc class
Definition at line 35 of file sPdf.h.