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
 
 TextZone (TextZone const &)=default
 
TextZoneoperator= (TextZone const &)=default
 
 ~TextZone ()
 destructor
 
void addContentTo (std::string const &sheetName, librevenge::RVNGPropertyList &propList) const
 add content to the propList
 
void addStyleTo (librevenge::RVNGPropertyList &propList, std::shared_ptr< MWAWFontConverter > fontConverter) const
 add to the propList
 

Public Attributes

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

Friends

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

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 )

◆ m_contentType

ContentType MWAWChart::TextZone::m_contentType

the content type

Referenced by BeagleWksSSParser::readChart(), and MWAWChart::sendChart().

◆ 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

◆ m_style

MWAWGraphicStyle MWAWChart::TextZone::m_style

the graphic style

Referenced by 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 Wed May 3 2023 07:18:29 for libmwaw by doxygen 1.9.6