Public Member Functions | Public Attributes | List of all members
Quattro9ParserInternal::TextEntry Struct Reference

`#include <Quattro9.h>`

## Public Member Functions
| TextEntry ()
| constructor More...
bool | empty () const
| returns true if the string is empty More...
librevenge::RVNGString | getString (std::shared_ptr< WPSStream > const &stream, libwps_tools_win::Font::Type type=libwps_tools_win::Font::WIN3_WEUROPE) const
| returns the string More...
void | send (std::shared_ptr< WPSStream > const &stream, WPSFont const &font, libwps_tools_win::Font::Type type, WKSContentListenerPtr &listener)
| sends the text to the main listener More...
std::string | getDebugString (std::shared_ptr< WPSStream > const &stream) const
| internal: returns a debug string More...

## Public Attributes
WPSEntry | m_entry
| the text entry More...
std::vector< WPSFont > | m_fontsList
| the list of fonts More...
std::map< int, int > | m_posFontIdMap
| the position to font map(complex text) More...
int | m_flag
| the flag More...
std::string | m_extra
| extra data More...

## Constructor & Destructor Documentation

## ◆ TextEntry()

Quattro9ParserInternal::TextEntry::TextEntry | ( |  | ) |
| inline

constructor

## Member Function Documentation

## ◆ empty()

bool Quattro9ParserInternal::TextEntry::empty | ( |  | ) | const
| inline

returns true if the string is empty

## ◆ getDebugString()

std::string Quattro9ParserInternal::TextEntry::getDebugString | ( | std::shared_ptr< WPSStream > const & | stream | ) | const

internal: returns a debug string

Referenced by Quattro9Spreadsheet::readBeginSheet(), Quattro9Spreadsheet::readCellResult(), Quattro9Parser::readDocumentFields(), Quattro9Parser::readDocumentStrings(), Quattro9Parser::readFontNames(), Quattro9Graph::readOLEName(), Quattro9Graph::readTextboxText(), and Quattro9Parser::readZone().

## ◆ getString()

librevenge::RVNGString Quattro9ParserInternal::TextEntry::getString | ( | std::shared_ptr< WPSStream > const & | stream,
|  | libwps_tools_win::Font::Type | type = `libwps_tools_win::Font::WIN3_WEUROPE`
| ) |  | const

returns the string

Referenced by Quattro9Spreadsheet::readBeginSheet(), Quattro9Parser::readDocumentFields(), Quattro9Parser::readFontNames(), and Quattro9Parser::readZone().

## ◆ send()

void Quattro9ParserInternal::TextEntry::send | ( | std::shared_ptr< WPSStream > const & | stream,
|  | WPSFont const & | font,
|  | libwps_tools_win::Font::Type | type,
|  | WKSContentListenerPtr & | listener
| ) |  |

sends the text to the main listener

## Member Data Documentation

## ◆ m_entry

WPSEntry Quattro9ParserInternal::TextEntry::m_entry

the text entry

Referenced by empty(), and Quattro9Parser::readPString().

## ◆ m_extra

std::string Quattro9ParserInternal::TextEntry::m_extra

extra data

Referenced by Quattro9Parser::readPString().

## ◆ m_flag

int Quattro9ParserInternal::TextEntry::m_flag

the flag

Referenced by Quattro9Parser::readPString().

## ◆ m_fontsList

std::vector<WPSFont> Quattro9ParserInternal::TextEntry::m_fontsList

the list of fonts

Referenced by Quattro9Parser::readTextStyles().

## ◆ m_posFontIdMap

std::map<int, int> Quattro9ParserInternal::TextEntry::m_posFontIdMap

the position to font map(complex text)

Referenced by Quattro9Parser::readTextStyles().

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

- Quattro9.h
- Quattro9.cpp