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

#include <CManagerPrinterTXT.hpp>

Inheritance diagram for CManagerPrinterTXT:
[legend]
Collaboration diagram for CManagerPrinterTXT:
[legend]

Public Member Functions

 CManagerPrinterTXT ()
 
 CManagerPrinterTXT (const CManagerPrinterTXT &other)
 
 CManagerPrinterTXT (CManagerPrinterTXT &&other)=delete
 
 ~CManagerPrinterTXT () override
 
CManagerPrinterTXToperator= (const CManagerPrinterTXT &other)=delete
 
CManagerPrinterTXToperator= (CManagerPrinterTXT &&other)=delete
 

Protected Member Functions

void beginDocument (IManagerChangePage **managerChangePage, CStylePage *stylePage, std::string_view imageFooter, bool withTitlePage) override
 
void beginRow (double height, double heightFooter) override
 
void beginRowFooter (double height) override
 
void beginRowHeader (double height, double heightFooter) override
 
void beginTable (IManagerChangePage **managerChangePage, double heightTableHeading, double heightTableFooter) override
 
void controlNumeration (uint64_t level) override
 
void drawLinesForCell (double width, double height, bool isLineTop, bool isLineBottom, bool isLineRight, bool isLineLeft, iv::types::color colorBackground, iv::types::color colorLines) override
 
void endDocument () override
 
void endRow () override
 
void endRowFooter () override
 
void endRowHeader () override
 
void endPage () override
 
void endTable () override
 
void processCellImagePNG (std::string_view nameImage, double width, double height, uint64_t sizeImageX, uint64_t sizeImageY) override
 
void processCellText (std::string_view text, double width, double height, CStyleParagraph *styleCell) override
 
void processChapter (std::string_view textChapter, bool isChapterNameInHeading) override
 
void processImage (CGeoCanvas *geoCanvas, double sizeX, double sizeY, iv::types::color colorRGBBackground) override
 
void processImagePNG (std::string_view nameImage, uint64_t sizeX, uint64_t sizeY) override
 
void processNumeration (std::string_view textNumeration) override
 
void processParagraph (std::string_view textParagraph) override
 
void restartCountingParagraphOLD (uint64_t nextLevel) override
 
double getHeightCellImage (uint64_t sizeImageY, uint64_t marginCellTop, uint64_t marginCellBottom) override
 
double getHeightCellText (std::string_view text, CStyleParagraph *styleParagraph) override
 
std::string getNameChapter () const override
 
uint64_t getSizeXPageWithoutMargin () const override
 
double getWidthCellImage (uint64_t sizeImageX, uint64_t marginCellRight, uint64_t marginCellLeft) override
 
double getWidthCellText (std::string_view text, CStyleParagraph *styleParagraph) override
 
void setNumChaptersOLD (uint64_t nextLevel) override
 
void setNumTotalPages (uint64_t numTotalPages) override
 
void setPage (CStylePage *stylePage) override
 
void setPrinter (IPrinter *printerRef) override
 
void setStyleImage (CStyleImage *styleImage) override
 
void setStyleNumeration (CStyleNumeration *styleNumeration) override
 
void setStyleTable (CStyleTable *styleTable) override
 
void setSpecificBehaviourBecauseFirstIsCoverTittle (bool value) override
 
void setOrientation (CStylePage::EOrientationPage orientation) override
 

Private Member Functions

void prvProcessParagraph (std::string_view textParagraph)
 

Private Attributes

std::string m_titleDocument
 
CStyleNumerationm_styleNumerationRef
 
uint64_t m_currentLevel
 
std::vector< uint64_t > m_numChapters
 
bool m_isParagraphSet
 
std::vector< std::string > m_textRow
 
IPrinterm_printerRef
 

Constructor & Destructor Documentation

◆ CManagerPrinterTXT() [1/3]

CManagerPrinterTXT::CManagerPrinterTXT ( )

◆ CManagerPrinterTXT() [2/3]

CManagerPrinterTXT::CManagerPrinterTXT ( const CManagerPrinterTXT & other)

◆ CManagerPrinterTXT() [3/3]

CManagerPrinterTXT::CManagerPrinterTXT ( CManagerPrinterTXT && other)
delete

◆ ~CManagerPrinterTXT()

CManagerPrinterTXT::~CManagerPrinterTXT ( )
override

Member Function Documentation

◆ beginDocument()

void CManagerPrinterTXT::beginDocument ( IManagerChangePage ** managerChangePage,
CStylePage * stylePage,
std::string_view imageFooter,
bool withTitlePage )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ beginRow()

void CManagerPrinterTXT::beginRow ( double height,
double heightFooter )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ beginRowFooter()

void CManagerPrinterTXT::beginRowFooter ( double height)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ beginRowHeader()

void CManagerPrinterTXT::beginRowHeader ( double height,
double heightFooter )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ beginTable()

void CManagerPrinterTXT::beginTable ( IManagerChangePage ** managerChangePage,
double heightTableHeading,
double heightTableFooter )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ controlNumeration()

void CManagerPrinterTXT::controlNumeration ( uint64_t level)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ drawLinesForCell()

void CManagerPrinterTXT::drawLinesForCell ( double width,
double height,
bool isLineTop,
bool isLineBottom,
bool isLineRight,
bool isLineLeft,
iv::types::color colorBackground,
iv::types::color colorLines )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ endDocument()

void CManagerPrinterTXT::endDocument ( )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ endPage()

void CManagerPrinterTXT::endPage ( )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ endRow()

void CManagerPrinterTXT::endRow ( )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ endRowFooter()

void CManagerPrinterTXT::endRowFooter ( )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ endRowHeader()

void CManagerPrinterTXT::endRowHeader ( )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ endTable()

void CManagerPrinterTXT::endTable ( )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ getHeightCellImage()

double CManagerPrinterTXT::getHeightCellImage ( uint64_t sizeImageY,
uint64_t marginCellTop,
uint64_t marginCellBottom )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ getHeightCellText()

double CManagerPrinterTXT::getHeightCellText ( std::string_view text,
CStyleParagraph * styleParagraph )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ getNameChapter()

std::string CManagerPrinterTXT::getNameChapter ( ) const
nodiscardoverrideprotectedvirtual

Implements IManagerPrinter.

◆ getSizeXPageWithoutMargin()

uint64_t CManagerPrinterTXT::getSizeXPageWithoutMargin ( ) const
nodiscardoverrideprotectedvirtual

Implements IManagerPrinter.

◆ getWidthCellImage()

double CManagerPrinterTXT::getWidthCellImage ( uint64_t sizeImageX,
uint64_t marginCellRight,
uint64_t marginCellLeft )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ getWidthCellText()

double CManagerPrinterTXT::getWidthCellText ( std::string_view text,
CStyleParagraph * styleParagraph )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ processCellImagePNG()

void CManagerPrinterTXT::processCellImagePNG ( std::string_view nameImage,
double width,
double height,
uint64_t sizeImageX,
uint64_t sizeImageY )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ processCellText()

void CManagerPrinterTXT::processCellText ( std::string_view text,
double width,
double height,
CStyleParagraph * styleCell )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ processChapter()

void CManagerPrinterTXT::processChapter ( std::string_view textChapter,
bool isChapterNameInHeading )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ processImage()

void CManagerPrinterTXT::processImage ( CGeoCanvas * geoCanvas,
double sizeX,
double sizeY,
iv::types::color colorRGBBackground )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ processImagePNG()

void CManagerPrinterTXT::processImagePNG ( std::string_view nameImage,
uint64_t sizeX,
uint64_t sizeY )
overrideprotectedvirtual

Implements IManagerPrinter.

◆ processNumeration()

void CManagerPrinterTXT::processNumeration ( std::string_view textNumeration)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ processParagraph()

void CManagerPrinterTXT::processParagraph ( std::string_view textParagraph)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ prvProcessParagraph()

void CManagerPrinterTXT::prvProcessParagraph ( std::string_view textParagraph)
private

◆ restartCountingParagraphOLD()

void CManagerPrinterTXT::restartCountingParagraphOLD ( uint64_t nextLevel)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ setNumChaptersOLD()

void CManagerPrinterTXT::setNumChaptersOLD ( uint64_t nextLevel)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ setNumTotalPages()

void CManagerPrinterTXT::setNumTotalPages ( uint64_t numTotalPages)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ setOrientation()

void CManagerPrinterTXT::setOrientation ( CStylePage::EOrientationPage orientation)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ setPage()

void CManagerPrinterTXT::setPage ( CStylePage * stylePage)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ setPrinter()

void CManagerPrinterTXT::setPrinter ( IPrinter * printerRef)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ setSpecificBehaviourBecauseFirstIsCoverTittle()

void CManagerPrinterTXT::setSpecificBehaviourBecauseFirstIsCoverTittle ( bool value)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ setStyleImage()

void CManagerPrinterTXT::setStyleImage ( CStyleImage * styleImage)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ setStyleNumeration()

void CManagerPrinterTXT::setStyleNumeration ( CStyleNumeration * styleNumeration)
overrideprotectedvirtual

Implements IManagerPrinter.

◆ setStyleTable()

void CManagerPrinterTXT::setStyleTable ( CStyleTable * styleTable)
overrideprotectedvirtual

Implements IManagerPrinter.

Member Data Documentation

◆ m_currentLevel

uint64_t CManagerPrinterTXT::m_currentLevel
private

◆ m_isParagraphSet

bool CManagerPrinterTXT::m_isParagraphSet
private

◆ m_numChapters

std::vector<uint64_t> CManagerPrinterTXT::m_numChapters
private

◆ m_printerRef

IPrinter* CManagerPrinterTXT::m_printerRef
private

◆ m_styleNumerationRef

CStyleNumeration* CManagerPrinterTXT::m_styleNumerationRef
private

◆ m_textRow

std::vector<std::string> CManagerPrinterTXT::m_textRow
private

◆ m_titleDocument

std::string CManagerPrinterTXT::m_titleDocument
private

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