AppCore
Loading...
Searching...
No Matches
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

◆ EPrinterTemplate() [1/4]

EM::PrinterTemplate::EPrinterTemplate::EPrinterTemplate ( const std::string &  filePath,
const std::string &  name 
)

◆ EPrinterTemplate() [2/4]

EM::PrinterTemplate::EPrinterTemplate::EPrinterTemplate ( EXMLConfig *  xmlConfig,
std::string  name 
)

◆ ~EPrinterTemplate() [1/2]

EPrinterTemplate::~EPrinterTemplate ( )

public destructor ~EPrinterTemplate

Returns
void
Here is the call graph for this function:

◆ EPrinterTemplate() [3/4]

EM::PrinterTemplate::EPrinterTemplate::EPrinterTemplate ( const std::string &  filePath,
const std::string &  name 
)

◆ EPrinterTemplate() [4/4]

EM::PrinterTemplate::EPrinterTemplate::EPrinterTemplate ( EXMLConfig *  xmlConfig,
std::string  name 
)

◆ ~EPrinterTemplate() [2/2]

EM::PrinterTemplate::EPrinterTemplate::~EPrinterTemplate ( )

Member Function Documentation

◆ Add() [1/2]

long EPrinterTemplate::Add ( EDrawObject drawObject)
Here is the call graph for this function:

◆ Add() [2/2]

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

◆ ClearDrawObject() [1/2]

void EPrinterTemplate::ClearDrawObject ( )

public ClearDrawObject

Returns
void
Here is the caller graph for this function:

◆ ClearDrawObject() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::ClearDrawObject ( )

◆ Create() [1/2]

void EPrinterTemplate::Create ( float  defWidth)
Here is the call graph for this function:

◆ Create() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::Create ( float  defWidth)

◆ GetBackgroundImage() [1/2]

string EPrinterTemplate::GetBackgroundImage ( )
Here is the call graph for this function:

◆ GetBackgroundImage() [2/2]

std::string EM::PrinterTemplate::EPrinterTemplate::GetBackgroundImage ( )

◆ GetDataCol() [1/2]

EDataCol * EPrinterTemplate::GetDataCol ( )

public GetDataCol Vrati kolekciu dat

Returns
EM::PrinterTemplate::EDataCol * kolekcia dat
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDataCol() [2/2]

Common::EDataCol * EM::PrinterTemplate::EPrinterTemplate::GetDataCol ( )

◆ GetFontName() [1/2]

string EPrinterTemplate::GetFontName ( )

◆ GetFontName() [2/2]

std::string EM::PrinterTemplate::EPrinterTemplate::GetFontName ( )

◆ GetFontSize() [1/2]

short EPrinterTemplate::GetFontSize ( )

◆ GetFontSize() [2/2]

short EM::PrinterTemplate::EPrinterTemplate::GetFontSize ( )

◆ GetHeader() [1/2]

EHeader * EPrinterTemplate::GetHeader ( )

◆ GetHeader() [2/2]

EHeader * EM::PrinterTemplate::EPrinterTemplate::GetHeader ( )

◆ GetHeight() [1/2]

float EPrinterTemplate::GetHeight ( )

public GetHeight Vrati vysku sablony

Returns
float vysku
Here is the caller graph for this function:

◆ GetHeight() [2/2]

float EM::PrinterTemplate::EPrinterTemplate::GetHeight ( )

◆ GetMarginBottom() [1/2]

float EPrinterTemplate::GetMarginBottom ( )

◆ GetMarginBottom() [2/2]

float EM::PrinterTemplate::EPrinterTemplate::GetMarginBottom ( )

◆ GetMarginLeft() [1/2]

float EPrinterTemplate::GetMarginLeft ( )

◆ GetMarginLeft() [2/2]

float EM::PrinterTemplate::EPrinterTemplate::GetMarginLeft ( )

◆ GetMarginRight() [1/2]

float EPrinterTemplate::GetMarginRight ( )

◆ GetMarginRight() [2/2]

float EM::PrinterTemplate::EPrinterTemplate::GetMarginRight ( )

◆ GetMarginTop() [1/2]

float EPrinterTemplate::GetMarginTop ( )

◆ GetMarginTop() [2/2]

float EM::PrinterTemplate::EPrinterTemplate::GetMarginTop ( )

◆ GetName() [1/2]

string EPrinterTemplate::GetName ( )

public GetName Vrati meno sablony

Returns
string meno
Remarks
Vrati meno sablony, nie meno XML suboru
Date
11-23-2006

◆ GetName() [2/2]

std::string EM::PrinterTemplate::EPrinterTemplate::GetName ( )

◆ GetPageHeight() [1/2]

float EPrinterTemplate::GetPageHeight ( )

◆ GetPageHeight() [2/2]

float EM::PrinterTemplate::EPrinterTemplate::GetPageHeight ( )

◆ GetPageWidth() [1/2]

float EPrinterTemplate::GetPageWidth ( )

◆ GetPageWidth() [2/2]

float EM::PrinterTemplate::EPrinterTemplate::GetPageWidth ( )

◆ GetVersion() [1/2]

unsigned char EPrinterTemplate::GetVersion ( )
Here is the caller graph for this function:

◆ GetVersion() [2/2]

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

◆ GetWidth() [1/2]

float EPrinterTemplate::GetWidth ( )

public GetWidth Vrati sirku sablony

Returns
float sirka
Here is the caller graph for this function:

◆ GetWidth() [2/2]

float EM::PrinterTemplate::EPrinterTemplate::GetWidth ( )

◆ IsFontBold() [1/2]

bool EPrinterTemplate::IsFontBold ( )

◆ IsFontBold() [2/2]

bool EM::PrinterTemplate::EPrinterTemplate::IsFontBold ( )

◆ IsFontItalic() [1/2]

bool EPrinterTemplate::IsFontItalic ( )

◆ IsFontItalic() [2/2]

bool EM::PrinterTemplate::EPrinterTemplate::IsFontItalic ( )

◆ IsFontUnderline() [1/2]

bool EPrinterTemplate::IsFontUnderline ( )

◆ IsFontUnderline() [2/2]

bool EM::PrinterTemplate::EPrinterTemplate::IsFontUnderline ( )

◆ Prepare() [1/2]

float EPrinterTemplate::Prepare ( )

public Prepare Nastavenie dat vykreslovacim objektom

Returns
float
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Prepare() [2/2]

float EM::PrinterTemplate::EPrinterTemplate::Prepare ( )

◆ Print() [1/2]

void EPrinterTemplate::Print ( float  moveY)

public Print Tlac sablony

Parameters
moveYfloat * [vstup]
Returns
void
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Print() [2/2]

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

◆ Read() [1/4]

void EPrinterTemplate::Read ( )

public Read Citanie sablony

Returns
void
Remarks
Ak je XML pozadovaneho typu, zavolaju sa funkcie EPrinterTemplate::ReadTemplateHead a EPrinterTemplate::ReadTemplate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Read() [2/4]

void EM::PrinterTemplate::EPrinterTemplate::Read ( )

◆ Read() [3/4]

void EM::PrinterTemplate::EPrinterTemplate::Read ( EXMLConfig *  xmlConfig)

◆ Read() [4/4]

void EM::PrinterTemplate::EPrinterTemplate::Read ( EXMLConfig *  xmlConfig)

◆ ReadTemplate() [1/2]

void EPrinterTemplate::ReadTemplate ( EXMLConfig *  xmlConfig)

public ReadTemplate Nacitavanie uzlov sablony

Parameters
pathFileconst char * * [vstup]
Returns
void
Here is the call graph for this function:

◆ ReadTemplate() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::ReadTemplate ( EXMLConfig *  xmlConfig)

◆ ReadTemplateHead() [1/2]

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...

◆ ReadTemplateHead() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::ReadTemplateHead ( EXMLConfig *  xmlConfig)

◆ RemoveDrawObject() [1/2]

void EM::PrinterTemplate::EPrinterTemplate::RemoveDrawObject ( std::string  name)

◆ RemoveDrawObject() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::RemoveDrawObject ( std::string  name)

◆ Save() [1/2]

long EPrinterTemplate::Save ( EXMLConfig &  xmlConfig)
Here is the call graph for this function:

◆ Save() [2/2]

long EM::PrinterTemplate::EPrinterTemplate::Save ( EXMLConfig &  xmlConfig)

◆ SetBackgroundImage() [1/2]

void EM::PrinterTemplate::EPrinterTemplate::SetBackgroundImage ( std::string  fileName)

◆ SetBackgroundImage() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetBackgroundImage ( std::string  fileName)

◆ SetFontBold() [1/2]

void EPrinterTemplate::SetFontBold ( bool  fontBold)

◆ SetFontBold() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetFontBold ( bool  fontBold)

◆ SetFontItalic() [1/2]

void EPrinterTemplate::SetFontItalic ( bool  fontItalic)

◆ SetFontItalic() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetFontItalic ( bool  fontItalic)

◆ SetFontName() [1/2]

void EM::PrinterTemplate::EPrinterTemplate::SetFontName ( const std::string &  fontName)

◆ SetFontName() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetFontName ( const std::string &  fontName)

◆ SetFontSize() [1/2]

void EPrinterTemplate::SetFontSize ( short  fontSize)

◆ SetFontSize() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetFontSize ( short  fontSize)

◆ SetFontUnderline() [1/2]

void EPrinterTemplate::SetFontUnderline ( bool  fontUnderline)

◆ SetFontUnderline() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetFontUnderline ( bool  fontUnderline)

◆ SetMarginBottom() [1/2]

void EPrinterTemplate::SetMarginBottom ( float  bottomMargin)

◆ SetMarginBottom() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetMarginBottom ( float  bottomMargin)

◆ SetMarginLeft() [1/2]

void EPrinterTemplate::SetMarginLeft ( float  leftMargin)

◆ SetMarginLeft() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetMarginLeft ( float  leftMargin)

◆ SetMarginRight() [1/2]

void EPrinterTemplate::SetMarginRight ( float  rightMargin)

◆ SetMarginRight() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetMarginRight ( float  rightMargin)

◆ SetMarginTop() [1/2]

void EPrinterTemplate::SetMarginTop ( float  topMargin)

◆ SetMarginTop() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetMarginTop ( float  topMargin)

◆ SetPageHeight() [1/2]

void EPrinterTemplate::SetPageHeight ( float  pageHeight)

◆ SetPageHeight() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetPageHeight ( float  pageHeight)

◆ SetPageWidth() [1/2]

void EPrinterTemplate::SetPageWidth ( float  pageWidth)

◆ SetPageWidth() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetPageWidth ( float  pageWidth)

◆ SetSupressingEnabled() [1/2]

void EPrinterTemplate::SetSupressingEnabled ( bool  enabled)
Here is the call graph for this function:

◆ SetSupressingEnabled() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetSupressingEnabled ( bool  enabled)

◆ SetVersion() [1/2]

void EPrinterTemplate::SetVersion ( unsigned char  version)

◆ SetVersion() [2/2]

void EM::PrinterTemplate::EPrinterTemplate::SetVersion ( unsigned char  version)

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