#include <XMLStylesheet.h>
Public Types | |
enum | Source { SOURCE_UA, SOURCE_USER, SOURCE_AUTHOR } |
Public Member Functions | |
XMLStylesheet (Source source, bool quirks=false, librevenge::RVNGInputStream *input=0) | |
void | append (const std::string &selector, const std::string &rule) |
bool | isQuirks () const |
Source | getSource () const |
CSSStylesheetPtr_t | get () const |
Private Attributes | |
std::deque< std::string > | m_data |
const Source | m_source |
const bool | m_quirks |
bool | m_changed |
CSSStylesheetPtr_t | m_compiled |
libebook::XMLStylesheet::XMLStylesheet | ( | const XMLStylesheet::Source | source, |
bool | quirks = false , |
||
librevenge::RVNGInputStream * | input = 0 |
||
) | [explicit] |
void libebook::XMLStylesheet::append | ( | const std::string & | selector, |
const std::string & | rule | ||
) |
bool libebook::XMLStylesheet::isQuirks | ( | ) | const |
bool libebook::XMLStylesheet::m_changed [mutable, private] |
CSSStylesheetPtr_t libebook::XMLStylesheet::m_compiled [mutable, private] |
Referenced by get().
std::deque<std::string> libebook::XMLStylesheet::m_data [private] |
Referenced by append(), get(), and XMLStylesheet().
const bool libebook::XMLStylesheet::m_quirks [private] |
Referenced by get(), and isQuirks().
const Source libebook::XMLStylesheet::m_source [private] |
Referenced by getSource().