AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | List of all members
EM::PrinterTemplate::EPrinterTemplateCol Class Reference

collection of templates (XML files) More...

#include <EPrinterTemplateCol.h>

Classes

class  DataClass
 

Public Member Functions

 EPrinterTemplateCol ()
 
 ~EPrinterTemplateCol ()
 
void SetHeight ()
 
float GetHeight ()
 
float GetWidth ()
 
EPrinterTemplateAdd (std::string filePath, std::string name)
 
EPrinterTemplateAdd (EXMLConfig *xmlConfig, std::string name)
 
EPrinterTemplateGet (const std::string &name)
 
void Initialization ()
 
void Clear ()
 
void Prepare ()
 
void Remove (const std::string &name)
 
void Read ()
 
void Create (float defWidth)
 
long Save (std::string fileName)
 
unsigned char * Print (unsigned long &length, unsigned long &width, unsigned long &height)
 
std::vector< ETicketBitmap * > Print ()
 
std::vector
< EM::Common::EDataCol * > 
GetDataCollections ()
 
 EPrinterTemplateCol ()
 
 ~EPrinterTemplateCol ()
 
void SetHeight ()
 
float GetHeight ()
 
float GetWidth ()
 
EPrinterTemplateAdd (std::string filePath, std::string name)
 
EPrinterTemplateAdd (EXMLConfig *xmlConfig, std::string name)
 
EPrinterTemplateGet (const std::string &name)
 
void Initialization ()
 
void Clear ()
 
void Prepare ()
 
void Remove (const std::string &name)
 
void Read ()
 
void Create (float defWidth)
 
long Save (std::string fileName)
 
unsigned char * Print (unsigned long &length, unsigned long &width, unsigned long &height)
 
std::vector< ETicketBitmap * > Print ()
 
std::vector
< EM::Common::EDataCol * > 
GetDataCollections ()
 

Detailed Description

collection of templates (XML files)

class EPrinterTemplateCol

Constructor & Destructor Documentation

EPrinterTemplateCol::EPrinterTemplateCol ( )

public constructor EPrinterTemplateCol

Returns
void
EPrinterTemplateCol::~EPrinterTemplateCol ( )

public destructor ~EPrinterTemplateCol

Returns
void
EM::PrinterTemplate::EPrinterTemplateCol::EPrinterTemplateCol ( )
EM::PrinterTemplate::EPrinterTemplateCol::~EPrinterTemplateCol ( )

Member Function Documentation

EPrinterTemplate* EM::PrinterTemplate::EPrinterTemplateCol::Add ( std::string  filePath,
std::string  name 
)
EPrinterTemplate* EM::PrinterTemplate::EPrinterTemplateCol::Add ( std::string  filePath,
std::string  name 
)
EPrinterTemplate* EM::PrinterTemplate::EPrinterTemplateCol::Add ( EXMLConfig *  xmlConfig,
std::string  name 
)
EPrinterTemplate* EM::PrinterTemplate::EPrinterTemplateCol::Add ( EXMLConfig *  xmlConfig,
std::string  name 
)
void EPrinterTemplateCol::Clear ( )

public Clear Vymazanie vsetkych sablon z kolekcie sablon

Returns
void
void EM::PrinterTemplate::EPrinterTemplateCol::Clear ( )
void EPrinterTemplateCol::Create ( float  defWidth)
void EM::PrinterTemplate::EPrinterTemplateCol::Create ( float  defWidth)
EPrinterTemplate* EM::PrinterTemplate::EPrinterTemplateCol::Get ( const std::string &  name)
EPrinterTemplate* EM::PrinterTemplate::EPrinterTemplateCol::Get ( const std::string &  name)
std::vector< EDataCol * > EPrinterTemplateCol::GetDataCollections ( )
std::vector<EM::Common::EDataCol*> EM::PrinterTemplate::EPrinterTemplateCol::GetDataCollections ( )
float EM::PrinterTemplate::EPrinterTemplateCol::GetHeight ( )
float EPrinterTemplateCol::GetHeight ( )

public GetHeight Vrati celkovu vysku vykreslovacej plochy

Returns
float vyska
float EM::PrinterTemplate::EPrinterTemplateCol::GetWidth ( )
float EPrinterTemplateCol::GetWidth ( )

public GetWidth Vrati sirku vykreslovacej plochy at(i)-

Returns
float sirka
void EM::PrinterTemplate::EPrinterTemplateCol::Initialization ( )
void EPrinterTemplateCol::Initialization ( )

public Initialization Vytvorenie objektov

Returns
void
void EPrinterTemplateCol::Prepare ( )

public Prepare Nastavenie dat vykreslovacim objektom

Returns
void
void EM::PrinterTemplate::EPrinterTemplateCol::Prepare ( )
unsigned char * EPrinterTemplateCol::Print ( unsigned long &  length,
unsigned long &  width,
unsigned long &  height 
)

public Print Tlac vsetkych sablon z kolekcie sablon - tlacia sa pod seba na jeden listok

Returns
void

Here is the call graph for this function:

unsigned char* EM::PrinterTemplate::EPrinterTemplateCol::Print ( unsigned long &  length,
unsigned long &  width,
unsigned long &  height 
)
std::vector< ETicketBitmap * > EPrinterTemplateCol::Print ( )

public Print Tlac vsetkych sablon z kolekcie sablon - kazda sablona je samostatna bitmapa

Returns
void

Here is the call graph for this function:

std::vector<ETicketBitmap*> EM::PrinterTemplate::EPrinterTemplateCol::Print ( )
void EPrinterTemplateCol::Read ( )

public Read Postupne nacitavanie vsetkych sablon z kolekcie sablon

Returns
void
Remarks
Nacitavanie uzlov XML v kazdej sablone
void EM::PrinterTemplate::EPrinterTemplateCol::Read ( )
void EM::PrinterTemplate::EPrinterTemplateCol::Remove ( const std::string &  name)
void EM::PrinterTemplate::EPrinterTemplateCol::Remove ( const std::string &  name)
long EM::PrinterTemplate::EPrinterTemplateCol::Save ( std::string  fileName)
long EM::PrinterTemplate::EPrinterTemplateCol::Save ( std::string  fileName)
void EM::PrinterTemplate::EPrinterTemplateCol::SetHeight ( )
void EPrinterTemplateCol::SetHeight ( )

at(i)-//////////////////////////// public SetHeight Nastavenie vysky vykreslovacej plochy

Returns
void
Remarks
Nastavuje sa sucet hodnot zo vsetkych sablon v kolekcii

The documentation for this class was generated from the following files: