HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_StringPager Class Reference

#include <UT_StringPager.h>

Public Member Functions

 UT_StringPager (int width=80, int leftmargin=0, int rightmargin=3)
 
int getLeftMargin () const
 
int getRightMargin () const
 
int getWidth () const
 
void setLeftMargin (int leftmargin)
 
void setRightMargin (int rightmargin)
 
void setWidth (int width)
 
UT_StringHolder getLine (exint line) const
 
exint numLines () const
 
void clear ()
 
UT_StringHolder buildText () const
 
void appendText (const char *text)
 
void newLine ()
 

Detailed Description

Definition at line 27 of file UT_StringPager.h.

Constructor & Destructor Documentation

UT_StringPager::UT_StringPager ( int  width = 80,
int  leftmargin = 0,
int  rightmargin = 3 
)
inline

Definition at line 30 of file UT_StringPager.h.

Member Function Documentation

void UT_StringPager::appendText ( const char *  text)
UT_StringHolder UT_StringPager::buildText ( ) const
void UT_StringPager::clear ( )
int UT_StringPager::getLeftMargin ( ) const
inline

Definition at line 36 of file UT_StringPager.h.

UT_StringHolder UT_StringPager::getLine ( exint  line) const
int UT_StringPager::getRightMargin ( ) const
inline

Definition at line 37 of file UT_StringPager.h.

int UT_StringPager::getWidth ( ) const
inline

Definition at line 38 of file UT_StringPager.h.

void UT_StringPager::newLine ( )
exint UT_StringPager::numLines ( ) const
inline

Definition at line 46 of file UT_StringPager.h.

void UT_StringPager::setLeftMargin ( int  leftmargin)
inline

Definition at line 41 of file UT_StringPager.h.

void UT_StringPager::setRightMargin ( int  rightmargin)
inline

Definition at line 42 of file UT_StringPager.h.

void UT_StringPager::setWidth ( int  width)
inline

Definition at line 43 of file UT_StringPager.h.


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