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

concrete template (XML file) More...

#include <EPrinterTemplate.h>

Classes

class  DataClass
 

Public Member Functions

 EPrinterTemplate (const std::string &filePath, const std::string &name)
 
 EPrinterTemplate (EXMLConfig *xmlConfig, std::string name)
 
 ~EPrinterTemplate ()
 
void ReadTemplate (EXMLConfig *xmlConfig)
 
void Read ()
 
void Read (EXMLConfig *xmlConfig)
 
void Create (float defWidth)
 
long Save (EXMLConfig &xmlConfig)
 
void ReadTemplateHead (EXMLConfig *xmlConfig)
 
std::string GetName ()
 
Common::EDataCol * GetDataCol ()
 
void ClearDrawObject ()
 
void RemoveDrawObject (std::string name)
 
void Print (float moveY)
 
float GetWidth ()
 
float GetHeight ()
 
float Prepare ()
 
long Add (EDrawObject *drawObject)
 
EHeaderGetHeader ()
 
unsigned char GetVersion ()
 
void SetVersion (unsigned char version)
 
float GetPageWidth ()
 
void SetPageWidth (float pageWidth)
 
float GetPageHeight ()
 
void SetPageHeight (float pageHeight)
 
float GetMarginBottom ()
 
void SetMarginBottom (float bottomMargin)
 
float GetMarginTop ()
 
void SetMarginTop (float topMargin)
 
float GetMarginLeft ()
 
void SetMarginLeft (float leftMargin)
 
float GetMarginRight ()
 
void SetMarginRight (float rightMargin)
 
std::string GetBackgroundImage ()
 
void SetBackgroundImage (std::string fileName)
 
std::string GetFontName ()
 
void SetFontName (const std::string &fontName)
 
short GetFontSize ()
 
void SetFontSize (short fontSize)
 
bool IsFontBold ()
 
void SetFontBold (bool fontBold)
 
bool IsFontItalic ()
 
void SetFontItalic (bool fontItalic)
 
bool IsFontUnderline ()
 
void SetFontUnderline (bool fontUnderline)
 
void SetSupressingEnabled (bool enabled)
 
 EPrinterTemplate (const std::string &filePath, const std::string &name)
 
 EPrinterTemplate (EXMLConfig *xmlConfig, std::string name)
 
 ~EPrinterTemplate ()
 
void ReadTemplate (EXMLConfig *xmlConfig)
 
void Read ()
 
void Read (EXMLConfig *xmlConfig)
 
void Create (float defWidth)
 
long Save (EXMLConfig &xmlConfig)
 
void ReadTemplateHead (EXMLConfig *xmlConfig)
 
std::string GetName ()
 
Common::EDataCol * GetDataCol ()
 
void ClearDrawObject ()
 
void RemoveDrawObject (std::string name)
 
void Print (float moveY)
 
float GetWidth ()
 
float GetHeight ()
 
float Prepare ()
 
long Add (EDrawObject *drawObject)
 
EHeaderGetHeader ()
 
unsigned char GetVersion ()
 
void SetVersion (unsigned char version)
 
float GetPageWidth ()
 
void SetPageWidth (float pageWidth)
 
float GetPageHeight ()
 
void SetPageHeight (float pageHeight)
 
float GetMarginBottom ()
 
void SetMarginBottom (float bottomMargin)
 
float GetMarginTop ()
 
void SetMarginTop (float topMargin)
 
float GetMarginLeft ()
 
void SetMarginLeft (float leftMargin)
 
float GetMarginRight ()
 
void SetMarginRight (float rightMargin)
 
std::string GetBackgroundImage ()
 
void SetBackgroundImage (std::string fileName)
 
std::string GetFontName ()
 
void SetFontName (const std::string &fontName)
 
short GetFontSize ()
 
void SetFontSize (short fontSize)
 
bool IsFontBold ()
 
void SetFontBold (bool fontBold)
 
bool IsFontItalic ()
 
void SetFontItalic (bool fontItalic)
 
bool IsFontUnderline ()
 
void SetFontUnderline (bool fontUnderline)
 
void SetSupressingEnabled (bool enabled)
 

Detailed Description

concrete template (XML file)

class EPrinterTemplate

Constructor & Destructor Documentation

EM::PrinterTemplate::EPrinterTemplate::EPrinterTemplate ( const std::string &  filePath,
const std::string &  name 
)
EM::PrinterTemplate::EPrinterTemplate::EPrinterTemplate ( EXMLConfig *  xmlConfig,
std::string  name 
)
EPrinterTemplate::~EPrinterTemplate ( )

public destructor ~EPrinterTemplate

Returns
void
EM::PrinterTemplate::EPrinterTemplate::EPrinterTemplate ( const std::string &  filePath,
const std::string &  name 
)
EM::PrinterTemplate::EPrinterTemplate::EPrinterTemplate ( EXMLConfig *  xmlConfig,
std::string  name 
)
EM::PrinterTemplate::EPrinterTemplate::~EPrinterTemplate ( )

Member Function Documentation

long EPrinterTemplate::Add ( EDrawObject drawObject)
long EM::PrinterTemplate::EPrinterTemplate::Add ( EDrawObject drawObject)
void EM::PrinterTemplate::EPrinterTemplate::ClearDrawObject ( )
void EPrinterTemplate::ClearDrawObject ( )

public ClearDrawObject

Returns
void
void EPrinterTemplate::Create ( float  defWidth)
void EM::PrinterTemplate::EPrinterTemplate::Create ( float  defWidth)
std::string EM::PrinterTemplate::EPrinterTemplate::GetBackgroundImage ( )
string EPrinterTemplate::GetBackgroundImage ( )
EDataCol * EPrinterTemplate::GetDataCol ( )

public GetDataCol Vrati kolekciu dat

Returns
EM::PrinterTemplate::EDataCol * kolekcia dat

Here is the caller graph for this function:

Common::EDataCol* EM::PrinterTemplate::EPrinterTemplate::GetDataCol ( )
string EPrinterTemplate::GetFontName ( )
std::string EM::PrinterTemplate::EPrinterTemplate::GetFontName ( )
short EPrinterTemplate::GetFontSize ( )
short EM::PrinterTemplate::EPrinterTemplate::GetFontSize ( )
EHeader * EPrinterTemplate::GetHeader ( )
EHeader* EM::PrinterTemplate::EPrinterTemplate::GetHeader ( )
float EM::PrinterTemplate::EPrinterTemplate::GetHeight ( )
float EPrinterTemplate::GetHeight ( )

public GetHeight Vrati vysku sablony

Returns
float vysku

Here is the caller graph for this function:

float EM::PrinterTemplate::EPrinterTemplate::GetMarginBottom ( )
float EPrinterTemplate::GetMarginBottom ( )
float EM::PrinterTemplate::EPrinterTemplate::GetMarginLeft ( )
float EPrinterTemplate::GetMarginLeft ( )
float EM::PrinterTemplate::EPrinterTemplate::GetMarginRight ( )
float EPrinterTemplate::GetMarginRight ( )
float EM::PrinterTemplate::EPrinterTemplate::GetMarginTop ( )
float EPrinterTemplate::GetMarginTop ( )
string EPrinterTemplate::GetName ( )

public GetName Vrati meno sablony

Returns
string meno
Remarks
Vrati meno sablony, nie meno XML suboru
Date
11-23-2006
std::string EM::PrinterTemplate::EPrinterTemplate::GetName ( )
float EM::PrinterTemplate::EPrinterTemplate::GetPageHeight ( )
float EPrinterTemplate::GetPageHeight ( )
float EPrinterTemplate::GetPageWidth ( )
float EM::PrinterTemplate::EPrinterTemplate::GetPageWidth ( )
unsigned char EPrinterTemplate::GetVersion ( )

Here is the caller graph for this function:

unsigned char EM::PrinterTemplate::EPrinterTemplate::GetVersion ( )
float EPrinterTemplate::GetWidth ( )

public GetWidth Vrati sirku sablony

Returns
float sirka

Here is the caller graph for this function:

float EM::PrinterTemplate::EPrinterTemplate::GetWidth ( )
bool EPrinterTemplate::IsFontBold ( )
bool EM::PrinterTemplate::EPrinterTemplate::IsFontBold ( )
bool EPrinterTemplate::IsFontItalic ( )
bool EM::PrinterTemplate::EPrinterTemplate::IsFontItalic ( )
bool EPrinterTemplate::IsFontUnderline ( )
bool EM::PrinterTemplate::EPrinterTemplate::IsFontUnderline ( )
float EM::PrinterTemplate::EPrinterTemplate::Prepare ( )
float EPrinterTemplate::Prepare ( )

public Prepare Nastavenie dat vykreslovacim objektom

Returns
float

Here is the caller graph for this function:

void EPrinterTemplate::Print ( float  moveY)

public Print Tlac sablony

Parameters
moveYfloat * [vstup]
Returns
void

Here is the caller graph for this function:

void EM::PrinterTemplate::EPrinterTemplate::Print ( float  moveY)
void EPrinterTemplate::Read ( )

public Read Citanie sablony

Returns
void
Remarks
Ak je XML pozadovaneho typu, zavolaju sa funkcie EPrinterTemplate::ReadTemplateHead a EPrinterTemplate::ReadTemplate
void EM::PrinterTemplate::EPrinterTemplate::Read ( )
void EM::PrinterTemplate::EPrinterTemplate::Read ( EXMLConfig *  xmlConfig)
void EM::PrinterTemplate::EPrinterTemplate::Read ( EXMLConfig *  xmlConfig)
void EPrinterTemplate::ReadTemplate ( EXMLConfig *  xmlConfig)

public ReadTemplate Nacitavanie uzlov sablony

Parameters
pathFileconst char * * [vstup]
Returns
void
void EM::PrinterTemplate::EPrinterTemplate::ReadTemplate ( EXMLConfig *  xmlConfig)
void EM::PrinterTemplate::EPrinterTemplate::ReadTemplateHead ( EXMLConfig *  xmlConfig)
void EPrinterTemplate::ReadTemplateHead ( EXMLConfig *  xmlConfig)

public ReadTemplateHead Nacita hlavicku sablony

Parameters
pathFileconst char * * [vstup]
Returns
void
Remarks
Hlavicka - page-height, page-width, font-name, font-size, font-bold, atd...
void EM::PrinterTemplate::EPrinterTemplate::RemoveDrawObject ( std::string  name)
void EM::PrinterTemplate::EPrinterTemplate::RemoveDrawObject ( std::string  name)
long EPrinterTemplate::Save ( EXMLConfig &  xmlConfig)
long EM::PrinterTemplate::EPrinterTemplate::Save ( EXMLConfig &  xmlConfig)
void EM::PrinterTemplate::EPrinterTemplate::SetBackgroundImage ( std::string  fileName)
void EM::PrinterTemplate::EPrinterTemplate::SetBackgroundImage ( std::string  fileName)
void EM::PrinterTemplate::EPrinterTemplate::SetFontBold ( bool  fontBold)
void EPrinterTemplate::SetFontBold ( bool  fontBold)
void EM::PrinterTemplate::EPrinterTemplate::SetFontItalic ( bool  fontItalic)
void EPrinterTemplate::SetFontItalic ( bool  fontItalic)
void EM::PrinterTemplate::EPrinterTemplate::SetFontName ( const std::string &  fontName)
void EM::PrinterTemplate::EPrinterTemplate::SetFontName ( const std::string &  fontName)
void EM::PrinterTemplate::EPrinterTemplate::SetFontSize ( short  fontSize)
void EPrinterTemplate::SetFontSize ( short  fontSize)
void EM::PrinterTemplate::EPrinterTemplate::SetFontUnderline ( bool  fontUnderline)
void EPrinterTemplate::SetFontUnderline ( bool  fontUnderline)
void EPrinterTemplate::SetMarginBottom ( float  bottomMargin)
void EM::PrinterTemplate::EPrinterTemplate::SetMarginBottom ( float  bottomMargin)
void EM::PrinterTemplate::EPrinterTemplate::SetMarginLeft ( float  leftMargin)
void EPrinterTemplate::SetMarginLeft ( float  leftMargin)
void EPrinterTemplate::SetMarginRight ( float  rightMargin)
void EM::PrinterTemplate::EPrinterTemplate::SetMarginRight ( float  rightMargin)
void EM::PrinterTemplate::EPrinterTemplate::SetMarginTop ( float  topMargin)
void EPrinterTemplate::SetMarginTop ( float  topMargin)
void EPrinterTemplate::SetPageHeight ( float  pageHeight)
void EM::PrinterTemplate::EPrinterTemplate::SetPageHeight ( float  pageHeight)
void EM::PrinterTemplate::EPrinterTemplate::SetPageWidth ( float  pageWidth)
void EPrinterTemplate::SetPageWidth ( float  pageWidth)
void EM::PrinterTemplate::EPrinterTemplate::SetSupressingEnabled ( bool  enabled)
void EPrinterTemplate::SetSupressingEnabled ( bool  enabled)
void EPrinterTemplate::SetVersion ( unsigned char  version)
void EM::PrinterTemplate::EPrinterTemplate::SetVersion ( unsigned char  version)

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