Public Member Functions

UT_PropVector Class Reference

#include <ut_PropVector.h>

Inheritance diagram for UT_PropVector:
UT_GenericVector< gchar * >

List of all members.

Public Member Functions

 UT_PropVector ()
void addOrReplaceProp (const gchar *pszProp, const gchar *pszVal)
void getProp (const gchar *pszProp, const gchar *&pszVal) const
void removeProp (const gchar *pszProp)

Constructor & Destructor Documentation

UT_PropVector::UT_PropVector (  )  [inline]

Member Function Documentation

void UT_PropVector::addOrReplaceProp ( const gchar *  pszProp,
const gchar *  pszVal 
)

References UT_GenericVector< gchar * >::addItem(), FREEP, gchar, UT_GenericVector< gchar * >::getItemCount(), UT_GenericVector< gchar * >::getNthItem(), UT_GenericVector< gchar * >::setNthItem(), and UT_ASSERT.

Referenced by AP_Dialog_FormatFrame::applyChanges(), AP_Dialog_FormatTable::setBackgroundColor(), AP_Dialog_FormatFrame::setBGColor(), AP_Dialog_FormatTable::setBorderColor(), AP_Dialog_Border_Shading::setBorderColor(), AP_Dialog_FormatFrame::setBorderColorBottom(), AP_Dialog_FormatFrame::setBorderColorLeft(), AP_Dialog_FormatFrame::setBorderColorRight(), AP_Dialog_FormatFrame::setBorderColorTop(), AP_Dialog_FormatFrame::setBorderLineStyleBottom(), AP_Dialog_FormatFrame::setBorderLineStyleLeft(), AP_Dialog_FormatFrame::setBorderLineStyleRight(), AP_Dialog_FormatFrame::setBorderLineStyleTop(), AP_Dialog_Border_Shading::setBorderStyle(), AP_Dialog_FormatTable::setBorderThickness(), AP_Dialog_Border_Shading::setBorderThickness(), AP_Dialog_FormatFrame::setBorderThicknessBottom(), AP_Dialog_FormatFrame::setBorderThicknessLeft(), AP_Dialog_FormatFrame::setBorderThicknessRight(), AP_Dialog_FormatFrame::setBorderThicknessTop(), AP_Dialog_Border_Shading::setCurBlockProps(), AP_Dialog_FormatTable::setCurCellProps(), AP_Dialog_FormatFrame::setCurFrameProps(), AP_Dialog_FormatFrame::setPositionMode(), AP_Dialog_Border_Shading::setShadingColor(), AP_Dialog_Border_Shading::setShadingPattern(), AP_Dialog_FormatFrame::setWrapping(), AP_Dialog_FormatTable::toggleLineType(), AP_Dialog_FormatFrame::toggleLineType(), and AP_Dialog_Border_Shading::toggleLineType().

void UT_PropVector::removeProp ( const gchar *  pszProp  ) 

Removes the key,value pair (pszProp,pszVal) given by pszProp from the Vector of all properties of the current format. If the Property does not exists nothing happens

Parameters:
UT_Vector &vec the vector to remove the pair from
const gchar * pszProp the property name

References UT_GenericVector< gchar * >::deleteNthItem(), FREEP, gchar, UT_GenericVector< gchar * >::getItemCount(), and UT_GenericVector< gchar * >::getNthItem().

Referenced by AP_Dialog_FormatTable::setBackgroundColor(), AP_Dialog_FormatFrame::setBGColor(), AP_Dialog_Border_Shading::setCurBlockProps(), AP_Dialog_FormatTable::setCurCellProps(), and AP_Dialog_Border_Shading::setShadingColor().


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