1#ifndef LIBS_DOCUMENTS_CMANAGERPRINTERTXT_HPP_
2#define LIBS_DOCUMENTS_CMANAGERPRINTERTXT_HPP_
7#include <bits/stdint-uintn.h>
23 bool withTitlePage)
override;
24 void beginRow(
double height,
double heightFooter)
override;
28 double heightTableFooter)
override;
30 void drawLinesForCell(
double width,
double height,
bool isLineTop,
bool isLineBottom,
bool isLineRight,
38 void processCellImagePNG(std::string_view nameImage,
double width,
double height, uint64_t sizeImageX,
39 uint64_t sizeImageY)
override;
41 void processChapter(std::string_view textChapter,
bool isChapterNameInHeading)
override;
43 void processImagePNG(std::string_view nameImage, uint64_t sizeX, uint64_t sizeY)
override;
48 double getHeightCellImage(uint64_t sizeImageY, uint64_t marginCellTop, uint64_t marginCellBottom)
override;
52 double getWidthCellImage(uint64_t sizeImageX, uint64_t marginCellRight, uint64_t marginCellLeft)
override;
Definition CGeoCanvas.hpp:13
Definition CManagerPrinterTXT.hpp:11
std::vector< uint64_t > m_numChapters
Definition CManagerPrinterTXT.hpp:72
void processChapter(std::string_view textChapter, bool isChapterNameInHeading) override
Definition CManagerPrinterTXT.cpp:192
CManagerPrinterTXT & operator=(CManagerPrinterTXT &&other)=delete
double getHeightCellText(std::string_view text, CStyleParagraph *styleParagraph) override
Definition CManagerPrinterTXT.cpp:273
void endTable() override
Definition CManagerPrinterTXT.cpp:175
void processImagePNG(std::string_view nameImage, uint64_t sizeX, uint64_t sizeY) override
Definition CManagerPrinterTXT.cpp:209
void endPage() override
Definition CManagerPrinterTXT.cpp:170
void endRow() override
Definition CManagerPrinterTXT.cpp:145
void beginRowHeader(double height, double heightFooter) override
Definition CManagerPrinterTXT.cpp:93
IPrinter * m_printerRef
Definition CManagerPrinterTXT.hpp:78
void setPrinter(IPrinter *printerRef) override
Definition CManagerPrinterTXT.cpp:348
void setNumChaptersOLD(uint64_t nextLevel) override
Definition CManagerPrinterTXT.cpp:303
void setSpecificBehaviourBecauseFirstIsCoverTittle(bool value) override
Definition CManagerPrinterTXT.cpp:372
double getHeightCellImage(uint64_t sizeImageY, uint64_t marginCellTop, uint64_t marginCellBottom) override
Definition CManagerPrinterTXT.cpp:267
void controlNumeration(uint64_t level) override
Definition CManagerPrinterTXT.cpp:104
CManagerPrinterTXT()
Definition CManagerPrinterTXT.cpp:38
void endRowHeader() override
Definition CManagerPrinterTXT.cpp:161
void endRowFooter() override
Definition CManagerPrinterTXT.cpp:153
void setStyleTable(CStyleTable *styleTable) override
Definition CManagerPrinterTXT.cpp:367
void processImage(CGeoCanvas *geoCanvas, double sizeX, double sizeY, iv::types::color colorRGBBackground) override
Definition CManagerPrinterTXT.cpp:203
void beginRow(double height, double heightFooter) override
Definition CManagerPrinterTXT.cpp:83
void drawLinesForCell(double width, double height, bool isLineTop, bool isLineBottom, bool isLineRight, bool isLineLeft, iv::types::color colorBackground, iv::types::color colorLines) override
Definition CManagerPrinterTXT.cpp:132
void restartCountingParagraphOLD(uint64_t nextLevel) override
Definition CManagerPrinterTXT.cpp:232
void prvProcessParagraph(std::string_view textParagraph)
Definition CManagerPrinterTXT.cpp:14
~CManagerPrinterTXT() override
Definition CManagerPrinterTXT.cpp:63
std::string getNameChapter() const override
Definition CManagerPrinterTXT.cpp:279
double getWidthCellText(std::string_view text, CStyleParagraph *styleParagraph) override
Definition CManagerPrinterTXT.cpp:297
std::string m_titleDocument
Definition CManagerPrinterTXT.hpp:67
void setOrientation(CStylePage::EOrientationPage orientation) override
Definition CManagerPrinterTXT.cpp:376
void setStyleImage(CStyleImage *styleImage) override
Definition CManagerPrinterTXT.cpp:353
void processParagraph(std::string_view textParagraph) override
Definition CManagerPrinterTXT.cpp:225
void beginTable(IManagerChangePage **managerChangePage, double heightTableHeading, double heightTableFooter) override
Definition CManagerPrinterTXT.cpp:98
double getWidthCellImage(uint64_t sizeImageX, uint64_t marginCellRight, uint64_t marginCellLeft) override
Definition CManagerPrinterTXT.cpp:291
void setNumTotalPages(uint64_t numTotalPages) override
Definition CManagerPrinterTXT.cpp:338
void beginRowFooter(double height) override
Definition CManagerPrinterTXT.cpp:88
void endDocument() override
Definition CManagerPrinterTXT.cpp:139
CManagerPrinterTXT(CManagerPrinterTXT &&other)=delete
void setPage(CStylePage *stylePage) override
Definition CManagerPrinterTXT.cpp:343
CStyleNumeration * m_styleNumerationRef
Definition CManagerPrinterTXT.hpp:69
void setStyleNumeration(CStyleNumeration *styleNumeration) override
Definition CManagerPrinterTXT.cpp:358
void beginDocument(IManagerChangePage **managerChangePage, CStylePage *stylePage, std::string_view imageFooter, bool withTitlePage) override
Definition CManagerPrinterTXT.cpp:68
CManagerPrinterTXT & operator=(const CManagerPrinterTXT &other)=delete
void processCellImagePNG(std::string_view nameImage, double width, double height, uint64_t sizeImageX, uint64_t sizeImageY) override
Definition CManagerPrinterTXT.cpp:181
bool m_isParagraphSet
Definition CManagerPrinterTXT.hpp:74
uint64_t getSizeXPageWithoutMargin() const override
Definition CManagerPrinterTXT.cpp:285
void processNumeration(std::string_view textNumeration) override
Definition CManagerPrinterTXT.cpp:214
uint64_t m_currentLevel
Definition CManagerPrinterTXT.hpp:71
std::vector< std::string > m_textRow
Definition CManagerPrinterTXT.hpp:76
void processCellText(std::string_view text, double width, double height, CStyleParagraph *styleCell) override
Definition CManagerPrinterTXT.cpp:187
Definition CStyleImage.hpp:7
Definition CStyleNumeration.hpp:10
Definition CStylePage.hpp:9
EOrientationPage
Definition CStylePage.hpp:12
Definition CStyleParagraph.hpp:10
Definition CStyleTable.hpp:7
Definition IManagerChangePage.hpp:7
Definition IManagerPrinter.hpp:19
Definition IPrinter.hpp:9
uint32_t color
Definition types.hpp:12