GRAPHICLAYOUT::NAMEDTEXTSTYLE Class Reference

#include <mi32/grlayout.h>

Inheritance diagram for GRAPHICLAYOUT::NAMEDTEXTSTYLE:
Inheritance graph
[legend]

List of all members.

Classes

struct  TABSTOP

Public Member Functions

 NAMEDTEXTSTYLE (const NAMEDTEXTSTYLE &)
 NAMEDTEXTSTYLE ()
 ~NAMEDTEXTSTYLE ()
bool CompareIgnoringName (const NAMEDTEXTSTYLE &rhs) const
void FreeData ()
const MIUNICODEGetName () const
INT32 GetNumTabStops () const
const TABSTOPGetTabStop (INT32 num) const
bool operator!= (const NAMEDTEXTSTYLE &rhs) const
NAMEDTEXTSTYLEoperator= (const NAMEDTEXTSTYLE &rhs)
bool operator== (const NAMEDTEXTSTYLE &rhs) const
void SetName (const MIUNICODE *name)
void SetStyle (const TEXTSTYLE *style)
void SortTabStops ()
INT32 TabStopAdd (INT32 pos, TABSTOP::TYPE type=TABSTOP::TYPE_Left, char padChar=0)
INT32 TabStopAdd (const TABSTOP &stop)
void TabStopMove (INT32 TabStopNum, INT32 NewPos, bool bSort=true)
void TabStopRemove (INT32 TabStopNum)
void TabStopRemoveAll ()

Constructor & Destructor Documentation

GRAPHICLAYOUT::NAMEDTEXTSTYLE::NAMEDTEXTSTYLE (  ) 
GRAPHICLAYOUT::NAMEDTEXTSTYLE::NAMEDTEXTSTYLE ( const NAMEDTEXTSTYLE  ) 
GRAPHICLAYOUT::NAMEDTEXTSTYLE::~NAMEDTEXTSTYLE (  ) 

Member Function Documentation

bool GRAPHICLAYOUT::NAMEDTEXTSTYLE::CompareIgnoringName ( const NAMEDTEXTSTYLE rhs  )  const

Compares this style to another one, ignoring the name.

Returns true if the two are the same.

void GRAPHICLAYOUT::NAMEDTEXTSTYLE::FreeData (  )  [inline]

Frees the tab stop information.

Necessary because we store have to store these things in a plain old array which we realloc.

const MIUNICODE* GRAPHICLAYOUT::NAMEDTEXTSTYLE::GetName (  )  const [inline]
INT32 GRAPHICLAYOUT::NAMEDTEXTSTYLE::GetNumTabStops (  )  const [inline]
const TABSTOP& GRAPHICLAYOUT::NAMEDTEXTSTYLE::GetTabStop ( INT32  num  )  const [inline]
bool GRAPHICLAYOUT::NAMEDTEXTSTYLE::operator!= ( const NAMEDTEXTSTYLE rhs  )  const [inline]

Inequality operator.

Reimplemented from TEXTSTYLE.

NAMEDTEXTSTYLE& GRAPHICLAYOUT::NAMEDTEXTSTYLE::operator= ( const NAMEDTEXTSTYLE rhs  ) 

Assignment from TEXTSTYLE.

Reimplemented from TEXTSTYLE.

bool GRAPHICLAYOUT::NAMEDTEXTSTYLE::operator== ( const NAMEDTEXTSTYLE rhs  )  const [inline]

Equality operator.

Reimplemented from TEXTSTYLE.

void GRAPHICLAYOUT::NAMEDTEXTSTYLE::SetName ( const MIUNICODE name  )  [inline]
void GRAPHICLAYOUT::NAMEDTEXTSTYLE::SetStyle ( const TEXTSTYLE style  )  [inline]
void GRAPHICLAYOUT::NAMEDTEXTSTYLE::SortTabStops (  ) 
INT32 GRAPHICLAYOUT::NAMEDTEXTSTYLE::TabStopAdd ( INT32  pos,
TABSTOP::TYPE  type = TABSTOP::TYPE_Left,
char  padChar = 0 
)

Add a new tabstop.

Returns stop number or error < 0

INT32 GRAPHICLAYOUT::NAMEDTEXTSTYLE::TabStopAdd ( const TABSTOP stop  ) 

Add a new tabstop.

Returns stop number or error < 0

void GRAPHICLAYOUT::NAMEDTEXTSTYLE::TabStopMove ( INT32  TabStopNum,
INT32  NewPos,
bool  bSort = true 
)
Parameters:
bSort Resort the tab stops after the move
void GRAPHICLAYOUT::NAMEDTEXTSTYLE::TabStopRemove ( INT32  TabStopNum  ) 

Remove a tabstop given it's index.

void GRAPHICLAYOUT::NAMEDTEXTSTYLE::TabStopRemoveAll (  )  [inline]

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

Generated on Sun Oct 7 21:33:28 2012 for TNTsdk 2012 by  doxygen 1.6.1