libetonyek::IWAText Class Reference

`#include <IWAText.h>`

## Public Member Functions
| IWAText (const std::string &text, IWORKLanguageManager &langManager)
void | setPageMasters (const std::map< unsigned, IWORKStylePtr_t > &pageMasters)
void | setSections (const std::map< unsigned, IWORKStylePtr_t > &sections)
void | setParagraphs (const std::map< unsigned, IWORKStylePtr_t > &paras)
void | setSpans (const std::map< unsigned, IWORKStylePtr_t > &spans)
void | setLanguages (const std::map< unsigned, std::string > &langs)
void | setLinks (const std::map< unsigned, std::string > &links)
void | setListLevels (const std::map< unsigned, unsigned > &levels)
void | setLists (const std::map< unsigned, IWORKStylePtr_t > &lists)
void | setDropCaps (const std::map< unsigned, IWORKStylePtr_t > &dropCaps)
void | setRTLs (const std::map< unsigned, bool > &rtls)
void | setAttachments (const std::multimap< unsigned, std::function< void(unsigned, bool &)> > &attachments)
void | parse (IWORKText &collector, const std::function< void(unsigned, IWORKStylePtr_t)> &openPageSpan=nullptr)

## Private Attributes
const librevenge::RVNGString | m_text
IWORKLanguageManager & | m_langManager
std::map< unsigned, IWORKStylePtr_t > | m_pageMasters
std::map< unsigned, IWORKStylePtr_t > | m_sections
std::map< unsigned, IWORKStylePtr_t > | m_paras
std::map< unsigned, IWORKStylePtr_t > | m_spans
std::map< unsigned, std::string > | m_langs
std::map< unsigned, std::string > | m_links
std::map< unsigned, IWORKStylePtr_t > | m_lists
std::map< unsigned, unsigned > | m_listLevels
std::map< unsigned, IWORKStylePtr_t > | m_dropCaps
std::map< unsigned, bool > | m_rtls
std::multimap< unsigned, std::function< void(unsigned, bool &)> > | m_attachments

## Constructor & Destructor Documentation

## ◆ IWAText()

libetonyek::IWAText::IWAText | ( | const std::string & | text,
|  | IWORKLanguageManager & | langManager )

## Member Function Documentation

## ◆ parse()

void libetonyek::IWAText::parse | ( | IWORKText & | collector,
|  | const std::function< void(unsigned, IWORKStylePtr_t)> & | openPageSpan = nullptr )

Referenced by libetonyek::IWAParser::parseText().

## ◆ setAttachments()

void libetonyek::IWAText::setAttachments | ( | const std::multimap< unsigned, std::function< void(unsigned, bool &)> > & | attachments | ) |

Referenced by libetonyek::IWAParser::parseText().

## ◆ setDropCaps()

void libetonyek::IWAText::setDropCaps | ( | const std::map< unsigned, IWORKStylePtr_t > & | dropCaps | ) |

Referenced by libetonyek::IWAParser::parseText().

## ◆ setLanguages()

void libetonyek::IWAText::setLanguages | ( | const std::map< unsigned, std::string > & | langs | ) |

Referenced by libetonyek::IWAParser::parseText().

## ◆ setLinks()

void libetonyek::IWAText::setLinks | ( | const std::map< unsigned, std::string > & | links | ) |

Referenced by libetonyek::IWAParser::parseText().

## ◆ setListLevels()

void libetonyek::IWAText::setListLevels | ( | const std::map< unsigned, unsigned > & | levels | ) |

Referenced by libetonyek::IWAParser::parseText().

## ◆ setLists()

void libetonyek::IWAText::setLists | ( | const std::map< unsigned, IWORKStylePtr_t > & | lists | ) |

Referenced by libetonyek::IWAParser::parseText().

## ◆ setPageMasters()

void libetonyek::IWAText::setPageMasters | ( | const std::map< unsigned, IWORKStylePtr_t > & | pageMasters | ) |

Referenced by libetonyek::IWAParser::parseText().

## ◆ setParagraphs()

void libetonyek::IWAText::setParagraphs | ( | const std::map< unsigned, IWORKStylePtr_t > & | paras | ) |

Referenced by libetonyek::IWAParser::parseText().

## ◆ setRTLs()

void libetonyek::IWAText::setRTLs | ( | const std::map< unsigned, bool > & | rtls | ) |

Referenced by libetonyek::IWAParser::parseText().

## ◆ setSections()

void libetonyek::IWAText::setSections | ( | const std::map< unsigned, IWORKStylePtr_t > & | sections | ) |

Referenced by libetonyek::IWAParser::parseText().

## ◆ setSpans()

void libetonyek::IWAText::setSpans | ( | const std::map< unsigned, IWORKStylePtr_t > & | spans | ) |

Referenced by libetonyek::IWAParser::parseText().

## Member Data Documentation

## ◆ m_attachments

std::multimap<unsigned, std::function<void(unsigned, bool &)> > libetonyek::IWAText::m_attachments
| private

Referenced by IWAText(), parse(), and setAttachments().

## ◆ m_dropCaps

std::map<unsigned, IWORKStylePtr_t> libetonyek::IWAText::m_dropCaps
| private

Referenced by IWAText(), parse(), and setDropCaps().

## ◆ m_langManager

IWORKLanguageManager& libetonyek::IWAText::m_langManager
| private

Referenced by IWAText(), and parse().

## ◆ m_langs

std::map<unsigned, std::string> libetonyek::IWAText::m_langs
| private

Referenced by IWAText(), parse(), and setLanguages().

## ◆ m_links

std::map<unsigned, std::string> libetonyek::IWAText::m_links
| private

Referenced by IWAText(), parse(), and setLinks().

## ◆ m_listLevels

std::map<unsigned, unsigned> libetonyek::IWAText::m_listLevels
| private

Referenced by IWAText(), parse(), and setListLevels().

## ◆ m_lists

std::map<unsigned, IWORKStylePtr_t> libetonyek::IWAText::m_lists
| private

Referenced by IWAText(), parse(), and setLists().

## ◆ m_pageMasters

std::map<unsigned, IWORKStylePtr_t> libetonyek::IWAText::m_pageMasters
| private

Referenced by IWAText(), parse(), and setPageMasters().

## ◆ m_paras

std::map<unsigned, IWORKStylePtr_t> libetonyek::IWAText::m_paras
| private

Referenced by IWAText(), parse(), and setParagraphs().

## ◆ m_rtls

std::map<unsigned, bool> libetonyek::IWAText::m_rtls
| private

Referenced by IWAText(), parse(), and setRTLs().

## ◆ m_sections

std::map<unsigned, IWORKStylePtr_t> libetonyek::IWAText::m_sections
| private

Referenced by IWAText(), parse(), and setSections().

## ◆ m_spans

std::map<unsigned, IWORKStylePtr_t> libetonyek::IWAText::m_spans
| private

Referenced by IWAText(), parse(), and setSpans().

## ◆ m_text

const librevenge::RVNGString libetonyek::IWAText::m_text
| private

Referenced by IWAText(), and parse().

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

- IWAText.h
- IWAText.cpp