1 #ifndef EPRINTERTEMPLATE_H
2 #define EPRINTERTEMPLATE_H
5 #include "core/common/EDataCol.h"
6 #include "core/xml/EXMLConfig.h"
7 #include "appcore/printertemplate/EMPrinterTemplate.h"
16 namespace PrinterTemplate
32 void ReadTemplate( EXMLConfig *xmlConfig );
34 void Read( EXMLConfig* xmlConfig );
35 void Create(
float defWidth );
36 long Save( EXMLConfig& xmlConfig );
37 void ReadTemplateHead( EXMLConfig *xmlConfig );
38 std::string GetName();
39 Common::EDataCol* GetDataCol();
40 void ClearDrawObject();
41 void RemoveDrawObject( std::string name );
42 void Print(
float moveY );
50 unsigned char GetVersion();
51 void SetVersion(
unsigned char version );
54 void SetPageWidth(
float pageWidth );
55 float GetPageHeight();
56 void SetPageHeight(
float pageHeight );
57 float GetMarginBottom();
58 void SetMarginBottom(
float bottomMargin );
60 void SetMarginTop(
float topMargin );
61 float GetMarginLeft();
62 void SetMarginLeft(
float leftMargin );
63 float GetMarginRight();
64 void SetMarginRight(
float rightMargin );
65 std::string GetBackgroundImage();
66 void SetBackgroundImage(std::string fileName );
67 std::string GetFontName();
68 void SetFontName(
const std::string &fontName );
70 void SetFontSize(
short fontSize );
72 void SetFontBold(
bool fontBold );
74 void SetFontItalic(
bool fontItalic );
75 bool IsFontUnderline();
76 void SetFontUnderline(
bool fontUnderline );
77 void SetSupressingEnabled(
bool enabled );
Definition: EPrinterTemplate.cpp:18
EEventTripTicketPr __EDATAPTR d
Definition: EEventTripTicket.h:96
general draw object
Definition: EDrawObject.h:29
#define EMPRINTERTEMPLATE_API
Definition: EMPrinterTemplate.h:9
concrete template (XML file)
Definition: EPrinterTemplate.h:25
SYSTEM INCLUDES.
Definition: CardFacadeManagerXML.h:6