7 #include "appcore/printertemplate/EDrawObject.h"
8 #include "appcore/printertemplate/EImageIface.h"
9 #include "appcore/printertemplate/EMPrinterTemplate.h"
13 namespace PrinterTemplate
22 EText( std::string name );
25 virtual void SetText( std::string text );
26 virtual void Draw(
float moveY );
28 virtual void ReadXML( EXMLNode *node );
29 virtual long Save( EXMLNode *node );
30 virtual float GetHeight();
31 virtual float GetWidth();
32 virtual void SetWidth(
long width );
33 virtual void SetHeight(
long height );
35 void SetWrap(
bool wrap);
36 std::vector<std::string> WrapLines( std::string text );
38 std::string GetText();
39 std::string GetFont();
40 short int GetFontSize();
43 bool IsFontUnderline();
44 unsigned long GetForeColour();
45 unsigned long GetBackColour();
46 std::string GetAlign();
49 void SetFont(
const std::string &font );
50 void SetFontSize(
short int fontSize );
51 void SetIsFontBold(
bool fontBold );
52 void SetIsFontItalic(
bool fontItalic );
53 void SetIsFontUnderline(
bool fontUnderline );
54 void SetForeColour(
unsigned long foreColour );
55 void SetBackColour(
unsigned long backColour );
56 void SetAlign(
const std::string &align );
59 virtual bool VerticalMove();
60 virtual long GetContentWidth();
63 void SaveCommonTextAttributes( EXMLNode *node );
EEventTripTicketPr __EDATAPTR d
Definition: EEventTripTicket.h:96
general draw object
Definition: EDrawObject.h:29
#define EMPRINTERTEMPLATE_API
Definition: EMPrinterTemplate.h:9
Alignement
Definition: EImageIface.h:7
virtual CardEvent __EDATAPTR Clone()
SYSTEM INCLUDES.
Definition: CardFacadeManagerXML.h:6
concrete draw object
Definition: EText.h:19