#include <ap_Dialog_Stylist.h>
Public Member Functions | |
Stylist_row (void) | |
virtual | ~Stylist_row (void) |
void | addStyle (const std::string &sStyle) |
void | setRowName (const std::string &sRowname) |
void | getRowName (std::string &sRowname) const |
UT_sint32 | getNumCols (void) const |
bool | findStyle (UT_UTF8String &sStyleName, UT_sint32 &col) |
bool | getStyle (UT_UTF8String &sStyleName, UT_sint32 col) |
Private Attributes | |
UT_GenericVector< UT_UTF8String * > | m_vecStyles |
std::string | m_sRowName |
Stylist_row::Stylist_row | ( | void | ) |
This class holds a row of style names and a useful API to access them.
References UT_GenericVector< T >::clear(), m_vecStyles, and UT_DEBUGMSG.
Stylist_row::~Stylist_row | ( | void | ) | [virtual] |
References UT_GenericVector< T >::getItemCount(), m_vecStyles, UT_DEBUGMSG, and UT_VECTOR_PURGEALL.
void Stylist_row::addStyle | ( | const std::string & | sStyle | ) |
References UT_GenericVector< T >::addItem(), and m_vecStyles.
Referenced by Stylist_tree::buildStyles().
bool Stylist_row::findStyle | ( | UT_UTF8String & | sStyleName, | |
UT_sint32 & | col | |||
) |
References UT_GenericVector< T >::getNthItem(), getNumCols(), and m_vecStyles.
Referenced by Stylist_tree::findStyle().
UT_sint32 Stylist_row::getNumCols | ( | void | ) | const |
References UT_GenericVector< T >::getItemCount(), and m_vecStyles.
Referenced by findStyle(), Stylist_tree::getNumCols(), and getStyle().
void Stylist_row::getRowName | ( | std::string & | sRowname | ) | const |
References m_sRowName.
Referenced by Stylist_tree::getNameOfRow().
bool Stylist_row::getStyle | ( | UT_UTF8String & | sStyleName, | |
UT_sint32 | col | |||
) |
References UT_GenericVector< T >::getNthItem(), getNumCols(), and m_vecStyles.
Referenced by Stylist_tree::getStyleAtRowCol().
void Stylist_row::setRowName | ( | const std::string & | sRowname | ) |
References m_sRowName.
Referenced by Stylist_tree::buildStyles().
std::string Stylist_row::m_sRowName [private] |
Referenced by getRowName(), and setRowName().
UT_GenericVector<UT_UTF8String *> Stylist_row::m_vecStyles [private] |
Referenced by addStyle(), findStyle(), getNumCols(), getStyle(), Stylist_row(), and ~Stylist_row().