AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EPicture.h
Go to the documentation of this file.
1 #ifndef EPICTURE_H
2 #define EPICTURE_H
3 
4 #include <string>
5 
6 #include "appcore/printertemplate/EMPrinterTemplate.h"
7 #include "appcore/printertemplate/EDrawObject.h"
8 #include "appcore/printertemplate/EImageIface.h"
9 
10 namespace EM
11 {
12  namespace PrinterTemplate
13  {
18  class EMPRINTERTEMPLATE_API EPicture: public EDrawObject
19  {
20  public:
21  EPicture( std::string name );
22  ~EPicture();
23 
24  virtual void Draw( float moveY );
25  virtual EDrawObject* Clone();
26  virtual void ReadXML( EXMLNode* node );
27  virtual long Save( EXMLNode* node );
28  virtual float GetHeight();
29  virtual float GetWidth();
30  virtual void SetWidth( long width );
31  virtual void SetHeight( long height );
32 
33  virtual bool VerticalMove();
34  virtual long GetContentWidth();
35 
36  std::string GetFileName();
37  void SetFileName( const std::string &fileName );
38  Alignement GetAlignment();
39  void SetAlignment( Alignement align );
40  bool GetStretch();
41  void SetStretch( bool stretch );
42 
43  protected:
44  void SaveCommonPictureAttributes( EXMLNode* node );
45 
46  private:
47  class DataClass;
48  DataClass* d;
49  };
50  }
51 }
52 
53 #endif
EEventTripTicketPr __EDATAPTR d
Definition: EEventTripTicket.h:96
#define EMPRINTERTEMPLATE_API
Definition: EMPrinterTemplate.h:9
Alignement
Definition: EImageIface.h:7
virtual CardEvent __EDATAPTR Clone()
__ECLASS DataClass
Definition: EEventUpdateCustomerData.h:35
SYSTEM INCLUDES.
Definition: CardFacadeManagerXML.h:6