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

Referenced by operator=(), and Text().

◆ 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(), maxFontSize(), and Text().

◆ encoding

const char* libqxp::Text::encoding

Referenced by Text().

◆ paragraphs

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

Referenced by Text().

◆ text

std::string libqxp::Text::text

Referenced by Text().


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

Generated for libqxp by doxygen 1.14.0