libqxp::Text Struct Reference

#include <QXPTypes.h>

Public Member Functions

double maxFontSize () const
 
double maxFontSize (const ParagraphSpec &paragraph) const
 
 Text ()
 
 Text (const Text &other)=default
 
Textoperator= (const Text &other)=default
 

Public Attributes

std::string text
 
const char * encoding
 
std::vector< ParagraphSpecparagraphs
 
std::vector< CharFormatSpeccharFormats
 

Constructor & Destructor Documentation

◆ Text() [1/2]

libqxp::Text::Text ( )
inline

◆ Text() [2/2]

libqxp::Text::Text ( const Text other)
default

Member Function Documentation

◆ maxFontSize() [1/2]

double libqxp::Text::maxFontSize ( ) const

◆ maxFontSize() [2/2]

double libqxp::Text::maxFontSize ( const ParagraphSpec paragraph) const

◆ operator=()

Text & libqxp::Text::operator= ( const Text other)
default

Member Data Documentation

◆ charFormats

std::vector<CharFormatSpec> libqxp::Text::charFormats

Referenced by maxFontSize().

◆ encoding

const char* libqxp::Text::encoding

◆ paragraphs

std::vector<ParagraphSpec> libqxp::Text::paragraphs

◆ text

std::string libqxp::Text::text

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

Generated for libqxp by doxygen 1.9.6