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

#include <CStyleParagraph.hpp>

Collaboration diagram for CStyleParagraph:
[legend]

Public Member Functions

 CStyleParagraph ()
 
 CStyleParagraph (uint64_t marginParagraphTop, uint64_t marginParagraphBottom, uint64_t indentRightMm, uint64_t indentLeftMm, int64_t indentFirstLineMm, double spacingBetweenLines, CStyleFont **styleFont)
 
 CStyleParagraph (const CStyleParagraph &styleParagraph)
 
 CStyleParagraph (CStyleParagraph &&other) noexcept
 
 ~CStyleParagraph ()
 
CStyleParagraphoperator= (const CStyleParagraph &other)=default
 
CStyleParagraphoperator= (CStyleParagraph &&other)=default
 
void setStyleParagraphForPrinter (uint64_t width, IPrinter *printer) const
 
uint64_t getFontHeight () const
 
uint64_t getMarginParagraphBottomDP () const
 
uint64_t getMarginParagraphTopDP () const
 
uint64_t getIndentLeftDP () const
 
uint64_t getIndentRightDP () const
 
void setAlignment (iv::eFontAlignment alignment)
 
void setColorForeground (iv::types::color colorForeground)
 
void setFont (const std::string &nameFont)
 
void setMarginParagraph (uint64_t marginTop, uint64_t marginBottom, uint64_t marginRight, uint64_t marginLeft)
 
void setSlant (iv::eFontSlant slant)
 
void setTextHeight (uint64_t sizeDP)
 
void setWeight (iv::eFontWeight weight)
 

Private Attributes

uint64_t m_marginParagraphTopDP
 
uint64_t m_marginParagraphBottomDP
 
uint64_t m_indentRightDP
 
uint64_t m_indentLeftDP
 
int64_t m_indentFirstLineDP
 
double m_spacingBetweenLines
 
CStyleFontm_styleFont
 

Constructor & Destructor Documentation

◆ CStyleParagraph() [1/4]

CStyleParagraph::CStyleParagraph ( )

◆ CStyleParagraph() [2/4]

CStyleParagraph::CStyleParagraph ( uint64_t marginParagraphTop,
uint64_t marginParagraphBottom,
uint64_t indentRightMm,
uint64_t indentLeftMm,
int64_t indentFirstLineMm,
double spacingBetweenLines,
CStyleFont ** styleFont )

◆ CStyleParagraph() [3/4]

CStyleParagraph::CStyleParagraph ( const CStyleParagraph & styleParagraph)

◆ CStyleParagraph() [4/4]

CStyleParagraph::CStyleParagraph ( CStyleParagraph && other)
noexcept

◆ ~CStyleParagraph()

CStyleParagraph::~CStyleParagraph ( )

Member Function Documentation

◆ getFontHeight()

uint64_t CStyleParagraph::getFontHeight ( ) const
nodiscard

◆ getIndentLeftDP()

uint64_t CStyleParagraph::getIndentLeftDP ( ) const
nodiscard

◆ getIndentRightDP()

uint64_t CStyleParagraph::getIndentRightDP ( ) const
nodiscard

◆ getMarginParagraphBottomDP()

uint64_t CStyleParagraph::getMarginParagraphBottomDP ( ) const
nodiscard

◆ getMarginParagraphTopDP()

uint64_t CStyleParagraph::getMarginParagraphTopDP ( ) const
nodiscard

◆ operator=() [1/2]

CStyleParagraph & CStyleParagraph::operator= ( const CStyleParagraph & other)
default

◆ operator=() [2/2]

CStyleParagraph & CStyleParagraph::operator= ( CStyleParagraph && other)
default

◆ setAlignment()

void CStyleParagraph::setAlignment ( iv::eFontAlignment alignment)

◆ setColorForeground()

void CStyleParagraph::setColorForeground ( iv::types::color colorForeground)

◆ setFont()

void CStyleParagraph::setFont ( const std::string & nameFont)

◆ setMarginParagraph()

void CStyleParagraph::setMarginParagraph ( uint64_t marginTop,
uint64_t marginBottom,
uint64_t marginRight,
uint64_t marginLeft )

◆ setSlant()

void CStyleParagraph::setSlant ( iv::eFontSlant slant)

◆ setStyleParagraphForPrinter()

void CStyleParagraph::setStyleParagraphForPrinter ( uint64_t width,
IPrinter * printer ) const

◆ setTextHeight()

void CStyleParagraph::setTextHeight ( uint64_t sizeDP)

◆ setWeight()

void CStyleParagraph::setWeight ( iv::eFontWeight weight)

Member Data Documentation

◆ m_indentFirstLineDP

int64_t CStyleParagraph::m_indentFirstLineDP
private

◆ m_indentLeftDP

uint64_t CStyleParagraph::m_indentLeftDP
private

◆ m_indentRightDP

uint64_t CStyleParagraph::m_indentRightDP
private

◆ m_marginParagraphBottomDP

uint64_t CStyleParagraph::m_marginParagraphBottomDP
private

◆ m_marginParagraphTopDP

uint64_t CStyleParagraph::m_marginParagraphTopDP
private

◆ m_spacingBetweenLines

double CStyleParagraph::m_spacingBetweenLines
private

◆ m_styleFont

CStyleFont* CStyleParagraph::m_styleFont
private

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