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();
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();
67 std::string GetFontName();
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 );
#define EMPRINTERTEMPLATE_API
Definition EMPrinterTemplate.h:9
general draw object
Definition EDrawObject.h:30
concrete template (XML file)
Definition EPrinterTemplate.h:26
void SetBackgroundImage(std::string fileName)
EPrinterTemplate(const std::string &filePath, const std::string &name)
void RemoveDrawObject(std::string name)
EPrinterTemplate(EXMLConfig *xmlConfig, std::string name)
void SetFontName(const std::string &fontName)
Definition EPrinterTemplate.cpp:19
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7