Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CDocumentPrinter Class Reference

#include <CDocumentPrinter.hpp>

Collaboration diagram for CDocumentPrinter:
[legend]

Classes

struct  SDataProcessDraw
 
struct  SDataProcessPanel
 

Public Member Functions

 CDocumentPrinter ()
 
 CDocumentPrinter (const CDocumentPrinter &other)
 
 CDocumentPrinter (const CDocumentPrinter &&other)=delete
 
 ~CDocumentPrinter ()
 
CDocumentPrinteroperator= (const CDocumentPrinter &other)=delete
 
CDocumentPrinteroperator= (CDocumentPrinter &&other)=delete
 
CTreeObjectsNode< IEntPrinter * > * addEntity (CTreeObjectsNode< IEntPrinter * > *father, class IEntPrinter **entity) const
 
void drawDocumentWithPage (IPrinter *printerDraw, IPrinter *printerCalNumPages)
 
void drawDocumentWithoutPage (IPrinter *printerDraw)
 
bool runDialogDocument (CDialog *dlgFather)
 
AbstractComponentGUIpanel () const
 
SDataProcessPanelprocessDocumentForPanel () const
 
std::string getPathDocumentWithExtension (const std::string &folderDocument, const std::string &ext) const
 
CTreeObjectsNode< IEntPrinter * > * getRootBodyDocument () const
 
CTreeObjectsNode< IEntPrinter * > * getRootCover () const
 
CTreeObjectsNode< IEntPrinter * > * getRootIndex () const
 
CTreeObjects< IEntPrinter * > * entities () const
 
std::string getImageFooterOpt ()
 
CStyleNumerationgetStyleTitleDocument () const
 
CStyleNumerationgetStyleSubTitle () const
 
CStyleNumerationgetStyleTextBody ()
 
CStyleNumerationgetStyleList ()
 
std::vector< CStyleNumeration * > & getStylesChapters ()
 
CStyleTablegetStyleTable ()
 
CStylePagegetStyleFirstPage ()
 
CStylePagegetStyleNormalPage ()
 
CStyleImagegetStyleImage ()
 
void setIsActivatedChapter (bool activate)
 
bool getIsActivatedChapter ()
 
void prvIntegrityDocumentPrinter () const
 

Static Public Member Functions

static CDocumentPrintercreateDocumentLandScapeDiamar (const std::string &nameDocument, uint64_t heightFontBodyText, const std::string &imageFooterOpt, bool hasNumerationChapters)
 
static CDocumentPrintercreateDocumentLandScape (const std::string &nameDocument, uint64_t heightFontBodyText, const std::string &imageFooterOpt, bool hasNumerationChapters)
 
static CDocumentPrintercreateDocumentPortraitDiamar (std::string nameDocument, uint64_t heightFontBodyText, std::string imageFooterOpt, bool hasNumerationChapters)
 
static CDocumentPrintercreateDocumentPortrait (std::string nameDocument, uint64_t heightFontBodyText, std::string imageFooterOpt, bool hasNumerationChapters)
 
static CDocumentPrintercreateDocumentLandscapeWithoutTitleDiamar (std::string nameDocument, uint64_t heightFontBodyText, std::string imageFooterOpt)
 
static CDocumentPrintercreateDocumentLandscapeWithoutTitle (std::string nameDocument, uint64_t heightFontBodyText, std::string imageFooterOpt)
 

Public Attributes

bool hasTitlePage {true}
 

Private Member Functions

void prvCreateDocPrinterDiamar (const std::string &nameDocument, CStylePage::EOrientationPage orientation, const std::string &imageFooterOpt, uint64_t heightFontBodyText, bool hasNumerationChapters, bool withTitle)
 
void prvCreateDocPrinterDefault (const std::string &nameDocument, CStylePage::EOrientationPage orientation, std::string imageFooterOpt, uint64_t heightFontBodyText, bool hasNumerationChapters, bool withTitle)
 
AbstractComponentGUIprvPanelDocument () const
 
void prvProcessDocument (IPrinter *printer, CDocumentPrinter::SDataProcessDraw *dataProcess, void func_processEntity(CDocumentPrinter::SDataProcessDraw *dataProcess, IEntPrinter *entity, uint64_t level))
 

Private Attributes

std::string m_nameDocument
 
std::string m_imageFooterOpt
 
CTreeObjects< IEntPrinter * > * m_entities
 
CTreeObjectsNode< IEntPrinter * > * m_entitiesCoverRef
 
CTreeObjectsNode< IEntPrinter * > * m_entitiesIndexRef
 
CStyleNumerationm_styleTitleDocument
 
CStyleNumerationm_styleSubTitle
 
CStyleNumerationm_styleTextBody
 
CStyleNumerationm_styleList
 
std::vector< CStyleNumeration * > m_stylesChapters
 
CStyleTablem_styleTable
 
CStylePagem_styleFirstPage
 
CStylePagem_styleNormalPage
 
CStylePagem_styleIndexPage
 
CStyleImagem_styleImage
 
bool m_isActivatedChapter
 
CStylePage::EOrientationPage m_orientation {CStylePage::EOrientationPage::Portrait}
 

Constructor & Destructor Documentation

◆ CDocumentPrinter() [1/3]

CDocumentPrinter::CDocumentPrinter ( )

◆ CDocumentPrinter() [2/3]

CDocumentPrinter::CDocumentPrinter ( const CDocumentPrinter & other)

◆ CDocumentPrinter() [3/3]

CDocumentPrinter::CDocumentPrinter ( const CDocumentPrinter && other)
delete

◆ ~CDocumentPrinter()

CDocumentPrinter::~CDocumentPrinter ( )

Member Function Documentation

◆ addEntity()

CTreeObjectsNode< IEntPrinter * > * CDocumentPrinter::addEntity ( CTreeObjectsNode< IEntPrinter * > * father,
class IEntPrinter ** entity ) const

◆ createDocumentLandScape()

CDocumentPrinter * CDocumentPrinter::createDocumentLandScape ( const std::string & nameDocument,
uint64_t heightFontBodyText,
const std::string & imageFooterOpt,
bool hasNumerationChapters )
static

◆ createDocumentLandScapeDiamar()

CDocumentPrinter * CDocumentPrinter::createDocumentLandScapeDiamar ( const std::string & nameDocument,
uint64_t heightFontBodyText,
const std::string & imageFooterOpt,
bool hasNumerationChapters )
static

◆ createDocumentLandscapeWithoutTitle()

CDocumentPrinter * CDocumentPrinter::createDocumentLandscapeWithoutTitle ( std::string nameDocument,
uint64_t heightFontBodyText,
std::string imageFooterOpt )
static

◆ createDocumentLandscapeWithoutTitleDiamar()

CDocumentPrinter * CDocumentPrinter::createDocumentLandscapeWithoutTitleDiamar ( std::string nameDocument,
uint64_t heightFontBodyText,
std::string imageFooterOpt )
static

◆ createDocumentPortrait()

CDocumentPrinter * CDocumentPrinter::createDocumentPortrait ( std::string nameDocument,
uint64_t heightFontBodyText,
std::string imageFooterOpt,
bool hasNumerationChapters )
static

◆ createDocumentPortraitDiamar()

CDocumentPrinter * CDocumentPrinter::createDocumentPortraitDiamar ( std::string nameDocument,
uint64_t heightFontBodyText,
std::string imageFooterOpt,
bool hasNumerationChapters )
static

◆ drawDocumentWithoutPage()

void CDocumentPrinter::drawDocumentWithoutPage ( IPrinter * printerDraw)

◆ drawDocumentWithPage()

void CDocumentPrinter::drawDocumentWithPage ( IPrinter * printerDraw,
IPrinter * printerCalNumPages )

◆ entities()

CTreeObjects< IEntPrinter * > * CDocumentPrinter::entities ( ) const

◆ getImageFooterOpt()

std::string CDocumentPrinter::getImageFooterOpt ( )

◆ getIsActivatedChapter()

bool CDocumentPrinter::getIsActivatedChapter ( )

◆ getPathDocumentWithExtension()

std::string CDocumentPrinter::getPathDocumentWithExtension ( const std::string & folderDocument,
const std::string & ext ) const
nodiscard

◆ getRootBodyDocument()

CTreeObjectsNode< IEntPrinter * > * CDocumentPrinter::getRootBodyDocument ( ) const

◆ getRootCover()

CTreeObjectsNode< IEntPrinter * > * CDocumentPrinter::getRootCover ( ) const

◆ getRootIndex()

CTreeObjectsNode< IEntPrinter * > * CDocumentPrinter::getRootIndex ( ) const

◆ getStyleFirstPage()

CStylePage * CDocumentPrinter::getStyleFirstPage ( )

◆ getStyleImage()

CStyleImage * CDocumentPrinter::getStyleImage ( )

◆ getStyleList()

CStyleNumeration * CDocumentPrinter::getStyleList ( )

◆ getStyleNormalPage()

CStylePage * CDocumentPrinter::getStyleNormalPage ( )

◆ getStylesChapters()

std::vector< CStyleNumeration * > & CDocumentPrinter::getStylesChapters ( )

◆ getStyleSubTitle()

CStyleNumeration * CDocumentPrinter::getStyleSubTitle ( ) const

◆ getStyleTable()

CStyleTable * CDocumentPrinter::getStyleTable ( )

◆ getStyleTextBody()

CStyleNumeration * CDocumentPrinter::getStyleTextBody ( )

◆ getStyleTitleDocument()

CStyleNumeration * CDocumentPrinter::getStyleTitleDocument ( ) const

◆ operator=() [1/2]

CDocumentPrinter & CDocumentPrinter::operator= ( CDocumentPrinter && other)
delete

◆ operator=() [2/2]

CDocumentPrinter & CDocumentPrinter::operator= ( const CDocumentPrinter & other)
delete

◆ panel()

AbstractComponentGUI * CDocumentPrinter::panel ( ) const

◆ processDocumentForPanel()

CDocumentPrinter::SDataProcessPanel * CDocumentPrinter::processDocumentForPanel ( ) const
nodiscard

◆ prvCreateDocPrinterDefault()

void CDocumentPrinter::prvCreateDocPrinterDefault ( const std::string & nameDocument,
CStylePage::EOrientationPage orientation,
std::string imageFooterOpt,
uint64_t heightFontBodyText,
bool hasNumerationChapters,
bool withTitle )
private

◆ prvCreateDocPrinterDiamar()

void CDocumentPrinter::prvCreateDocPrinterDiamar ( const std::string & nameDocument,
CStylePage::EOrientationPage orientation,
const std::string & imageFooterOpt,
uint64_t heightFontBodyText,
bool hasNumerationChapters,
bool withTitle )
private

◆ prvIntegrityDocumentPrinter()

void CDocumentPrinter::prvIntegrityDocumentPrinter ( ) const

◆ prvPanelDocument()

AbstractComponentGUI * CDocumentPrinter::prvPanelDocument ( ) const
private

◆ prvProcessDocument()

void CDocumentPrinter::prvProcessDocument ( IPrinter * printer,
CDocumentPrinter::SDataProcessDraw * dataProcess,
void func_processEntityCDocumentPrinter::SDataProcessDraw *dataProcess, IEntPrinter *entity, uint64_t level )
private

◆ runDialogDocument()

bool CDocumentPrinter::runDialogDocument ( CDialog * dlgFather)

◆ setIsActivatedChapter()

void CDocumentPrinter::setIsActivatedChapter ( bool activate)

Member Data Documentation

◆ hasTitlePage

bool CDocumentPrinter::hasTitlePage {true}

◆ m_entities

CTreeObjects<IEntPrinter *>* CDocumentPrinter::m_entities
private

◆ m_entitiesCoverRef

CTreeObjectsNode<IEntPrinter *>* CDocumentPrinter::m_entitiesCoverRef
private

◆ m_entitiesIndexRef

CTreeObjectsNode<IEntPrinter *>* CDocumentPrinter::m_entitiesIndexRef
private

◆ m_imageFooterOpt

std::string CDocumentPrinter::m_imageFooterOpt
private

◆ m_isActivatedChapter

bool CDocumentPrinter::m_isActivatedChapter
private

◆ m_nameDocument

std::string CDocumentPrinter::m_nameDocument
private

◆ m_orientation

CStylePage::EOrientationPage CDocumentPrinter::m_orientation {CStylePage::EOrientationPage::Portrait}
private

◆ m_styleFirstPage

CStylePage* CDocumentPrinter::m_styleFirstPage
private

◆ m_styleImage

CStyleImage* CDocumentPrinter::m_styleImage
private

◆ m_styleIndexPage

CStylePage* CDocumentPrinter::m_styleIndexPage
private

◆ m_styleList

CStyleNumeration* CDocumentPrinter::m_styleList
private

◆ m_styleNormalPage

CStylePage* CDocumentPrinter::m_styleNormalPage
private

◆ m_stylesChapters

std::vector<CStyleNumeration *> CDocumentPrinter::m_stylesChapters
private

◆ m_styleSubTitle

CStyleNumeration* CDocumentPrinter::m_styleSubTitle
private

◆ m_styleTable

CStyleTable* CDocumentPrinter::m_styleTable
private

◆ m_styleTextBody

CStyleNumeration* CDocumentPrinter::m_styleTextBody
private

◆ m_styleTitleDocument

CStyleNumeration* CDocumentPrinter::m_styleTitleDocument
private

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