STOFFCell::Format Struct Reference

a structure uses to define the format of a cell content More...

#include <STOFFCell.hxx>

Public Member Functions

 Format ()
 constructor More...
 
virtual ~Format ()
 destructor More...
 
bool hasBasicFormat () const
 returns true if this is a basic format style More...
 
std::string getValueType () const
 returns a value type More...
 

Static Public Member Functions

static bool convertDTFormat (std::string const &dtFormat, librevenge::RVNGPropertyListVector &propListVector)
 convert a DTFormat in a propertyList More...
 

Public Attributes

FormatType m_format
 the cell format : by default unknown More...
 
NumberType m_numberFormat
 the numeric format More...
 

Friends

std::ostream & operator<< (std::ostream &o, Format const &format)
 operator<< More...
 

Detailed Description

a structure uses to define the format of a cell content

Constructor & Destructor Documentation

◆ Format()

STOFFCell::Format::Format ( )
inline

constructor

◆ ~Format()

STOFFCell::Format::~Format ( )
virtual

destructor

Member Function Documentation

◆ convertDTFormat()

bool STOFFCell::Format::convertDTFormat ( std::string const &  dtFormat,
librevenge::RVNGPropertyListVector &  propListVector 
)
static

convert a DTFormat in a propertyList

◆ getValueType()

std::string STOFFCell::Format::getValueType ( ) const

returns a value type

Referenced by STOFFSpreadsheetListener::openSheetCell().

◆ hasBasicFormat()

bool STOFFCell::Format::hasBasicFormat ( ) const
inline

returns true if this is a basic format style

Referenced by STOFFSpreadsheetListener::openSheetCell().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
STOFFCell::Format const &  format 
)
friend

operator<<

Member Data Documentation

◆ m_format

◆ m_numberFormat

NumberType STOFFCell::Format::m_numberFormat

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