MWAWChart::TextZone Struct Reference

a text zone a chart More...

#include <MWAWChart.hxx>

Public Types

enum  Type {
  T_Title, T_SubTitle, T_AxisX, T_AxisY,
  T_AxisZ
}
 the text type More...
 
enum  ContentType { C_Cell, C_Text }
 the text content type More...
 

Public Member Functions

 TextZone ()
 constructor More...
 
 TextZone (TextZone const &)=default
 
TextZoneoperator= (TextZone const &)=default
 
 ~TextZone ()
 destructor More...
 
void addContentTo (std::string const &sheetName, librevenge::RVNGPropertyList &propList) const
 add content to the propList More...
 
void addStyleTo (librevenge::RVNGPropertyList &propList, std::shared_ptr< MWAWFontConverter > fontConverter) const
 add to the propList More...
 

Public Attributes

Type m_type
 the zone type More...
 
ContentType m_contentType
 the content type More...
 
MWAWVec2f m_position
 the position in the zone More...
 
MWAWVec2i m_cell
 the cell position ( for title and subtitle ) More...
 
MWAWEntry m_textEntry
 the text entry More...
 
MWAWFont m_font
 the zone format More...
 
MWAWGraphicStyle m_style
 the graphic style More...
 

Friends

std::ostream & operator<< (std::ostream &o, TextZone const &zone)
 operator<< More...
 

Detailed Description

a text zone a chart

Member Enumeration Documentation

◆ ContentType

the text content type

Enumerator
C_Cell 
C_Text 

◆ Type

the text type

Enumerator
T_Title 
T_SubTitle 
T_AxisX 
T_AxisY 
T_AxisZ 

Constructor & Destructor Documentation

◆ TextZone() [1/2]

MWAWChart::TextZone::TextZone ( )

constructor

◆ TextZone() [2/2]

MWAWChart::TextZone::TextZone ( TextZone const &  )
default

◆ ~TextZone()

MWAWChart::TextZone::~TextZone ( )

destructor

Member Function Documentation

◆ addContentTo()

void MWAWChart::TextZone::addContentTo ( std::string const &  sheetName,
librevenge::RVNGPropertyList &  propList 
) const

add content to the propList

Referenced by MWAWChart::sendChart().

◆ addStyleTo()

void MWAWChart::TextZone::addStyleTo ( librevenge::RVNGPropertyList &  propList,
std::shared_ptr< MWAWFontConverter fontConverter 
) const

add to the propList

Referenced by MWAWChart::sendChart().

◆ operator=()

TextZone& MWAWChart::TextZone::operator= ( TextZone const &  )
default

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
MWAWChart::TextZone const &  zone 
)
friend

operator<<

Member Data Documentation

◆ m_cell

MWAWVec2i MWAWChart::TextZone::m_cell

the cell position ( for title and subtitle )

Referenced by operator<<().

◆ m_contentType

ContentType MWAWChart::TextZone::m_contentType

◆ m_font

MWAWFont MWAWChart::TextZone::m_font

the zone format

Referenced by BeagleWksSSParserInternal::Chart::sendContent().

◆ m_position

MWAWVec2f MWAWChart::TextZone::m_position

the position in the zone

Referenced by operator<<().

◆ m_style

MWAWGraphicStyle MWAWChart::TextZone::m_style

the graphic style

Referenced by operator<<(), and TextZone().

◆ m_textEntry

MWAWEntry MWAWChart::TextZone::m_textEntry

◆ m_type

Type MWAWChart::TextZone::m_type

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

Generated on Fri Sep 18 2020 18:14:52 for libmwaw by doxygen 1.8.20