STOFFChart::Serie Struct Reference

a serie in a chart More...

#include <STOFFChart.hxx>

Public Types

enum  Type {
  S_Area, S_Bar, S_Bubble, S_Circle,
  S_Column, S_Gantt, S_Line, S_Radar,
  S_Ring, S_Scatter, S_Stock, S_Surface
}
 the series type More...
 
enum  PointType {
  P_None =0, P_Automatic, P_Square, P_Diamond,
  P_Arrow_Down, P_Arrow_Up, P_Arrow_Right, P_Arrow_Left,
  P_Bow_Tie, P_Hourglass, P_Circle, P_Star,
  P_X, P_Plus, P_Asterisk, P_Horizontal_Bar,
  P_Vertical_Bar
}
 the point type More...
 

Public Member Functions

 Serie ()
 constructor More...
 
virtual ~Serie ()
 destructor More...
 
bool is1DStyle () const
 return true if the serie style is 1D More...
 
bool valid () const
 return true if the serie is valid More...
 
void addContentTo (librevenge::RVNGPropertyList &propList) const
 add content to the propList More...
 
void addStyleTo (librevenge::RVNGPropertyList &propList) const
 add style to the propList More...
 

Static Public Member Functions

static std::string getSerieTypeName (Type type)
 returns a string corresponding to a series type More...
 

Public Attributes

Type m_type
 the type More...
 
Position m_ranges [2]
 the data range More...
 
bool m_useSecondaryY
 use or not the secondary y axis More...
 
STOFFFont m_font
 the label font More...
 
Position m_labelRanges [2]
 the label ranges if defined(unused) More...
 
Position m_legendRange
 the legend range if defined More...
 
librevenge::RVNGString m_legendText
 the legend name if defined More...
 
STOFFGraphicStyle m_style
 the graphic style More...
 
PointType m_pointType
 the point type More...
 

Friends

std::ostream & operator<< (std::ostream &o, Serie const &series)
 operator<< More...
 

Detailed Description

a serie in a chart

Member Enumeration Documentation

◆ PointType

the point type

Enumerator
P_None 
P_Automatic 
P_Square 
P_Diamond 
P_Arrow_Down 
P_Arrow_Up 
P_Arrow_Right 
P_Arrow_Left 
P_Bow_Tie 
P_Hourglass 
P_Circle 
P_Star 
P_X 
P_Plus 
P_Asterisk 
P_Horizontal_Bar 
P_Vertical_Bar 

◆ Type

the series type

Enumerator
S_Area 
S_Bar 
S_Bubble 
S_Circle 
S_Column 
S_Gantt 
S_Line 
S_Radar 
S_Ring 
S_Scatter 
S_Stock 
S_Surface 

Constructor & Destructor Documentation

◆ Serie()

STOFFChart::Serie::Serie ( )

constructor

◆ ~Serie()

STOFFChart::Serie::~Serie ( )
virtual

destructor

Member Function Documentation

◆ addContentTo()

void STOFFChart::Serie::addContentTo ( librevenge::RVNGPropertyList &  propList) const

add content to the propList

◆ addStyleTo()

void STOFFChart::Serie::addStyleTo ( librevenge::RVNGPropertyList &  propList) const

add style to the propList

◆ getSerieTypeName()

std::string STOFFChart::Serie::getSerieTypeName ( Type  type)
static

returns a string corresponding to a series type

Referenced by STOFFChart::sendChart().

◆ is1DStyle()

bool STOFFChart::Serie::is1DStyle ( ) const
inline

return true if the serie style is 1D

◆ valid()

bool STOFFChart::Serie::valid ( ) const
inline

return true if the serie is valid

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
STOFFChart::Serie const &  serie 
)
friend

operator<<

Member Data Documentation

◆ m_font

STOFFFont STOFFChart::Serie::m_font

the label font

◆ m_labelRanges

Position STOFFChart::Serie::m_labelRanges[2]

the label ranges if defined(unused)

Referenced by operator<<().

◆ m_legendRange

Position STOFFChart::Serie::m_legendRange

the legend range if defined

Referenced by operator<<().

◆ m_legendText

librevenge::RVNGString STOFFChart::Serie::m_legendText

the legend name if defined

Referenced by operator<<().

◆ m_pointType

PointType STOFFChart::Serie::m_pointType

the point type

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

◆ m_ranges

Position STOFFChart::Serie::m_ranges[2]

the data range

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

◆ m_style

STOFFGraphicStyle STOFFChart::Serie::m_style

the graphic style

Referenced by operator<<().

◆ m_type

Type STOFFChart::Serie::m_type

the type

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

◆ m_useSecondaryY

bool STOFFChart::Serie::m_useSecondaryY

use or not the secondary y axis


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

Generated on Mon Jan 20 2020 23:02:19 for libstaroffice by doxygen 1.8.16