#include <txtattr.h>
Public Member Functions | |
TxtTabStop (TxtTabType TheType, MILLIPOINT ThePosition) | |
Constructor. | |
TxtTabStop (TxtTabType TheType, MILLIPOINT ThePosition, WCHAR DecimalPointChar, WCHAR TabFillerChar) | |
Alternative constructor (mainly for use by loader code). | |
TxtTabType | GetType () const |
void | SetType (TxtTabType TheType) |
Constructor. | |
MILLIPOINT | GetPosition () const |
void | SetPosition (MILLIPOINT ThePosition) |
WCHAR | GetDecimalPointChar () const |
void | SetDecimalPointChar (WCHAR DecimalPointChar) |
WCHAR | GetTabFillerChar () const |
void | SetTabFillerChar (WCHAR TheChar) |
Private Attributes | |
TxtTabType | mType |
MILLIPOINT | mPosition |
WCHAR | mDecimalPointChar |
WCHAR | mTabFillerChar |
Definition at line 595 of file txtattr.h.
|
Constructor.
Definition at line 3272 of file txtattr.cpp. 03272 : 03273 mType(TheType), mPosition(ThePosition), mTabFillerChar((WCHAR)0) 03274 { 03275 // The decimal point character is initialised by reading the character used in the conversion class 03276 if (TheType == DecimalTab) 03277 mDecimalPointChar = Convert::GetDecimalPointChar(); 03278 else 03279 // not a decimal tab, so set to a well-defined value (to make equality comparisons easier) 03280 mDecimalPointChar = (WCHAR)0; 03281 }
|
|
Alternative constructor (mainly for use by loader code).
Definition at line 3297 of file txtattr.cpp. 03298 :mType(Type), mPosition(ThePosition), mDecimalPointChar(DecimalPointChar), mTabFillerChar(TabFillerChar) 03299 { 03300 }
|
|
Definition at line 608 of file txtattr.h. 00608 { return mDecimalPointChar; }
|
|
Definition at line 606 of file txtattr.h. 00606 { return mPosition; }
|
|
Definition at line 610 of file txtattr.h. 00610 { return mTabFillerChar; }
|
|
Definition at line 604 of file txtattr.h. 00604 { return mType; }
|
|
Definition at line 609 of file txtattr.h. 00609 { mDecimalPointChar = DecimalPointChar; }
|
|
Definition at line 607 of file txtattr.h. 00607 { mPosition = ThePosition; }
|
|
Definition at line 611 of file txtattr.h. 00611 { mTabFillerChar = TheChar; }
|
|
Constructor.
Definition at line 3314 of file txtattr.cpp. 03315 { 03316 // in addition to setting the type we also update the decimal point char to the 03317 // one valid in the current locale if the type is changed to decimal tab 03318 mType = TheType; 03319 if (TheType == DecimalTab) 03320 mDecimalPointChar = Convert::GetDecimalPointChar(); 03321 else 03322 mDecimalPointChar = (WCHAR)0; 03323 }
|
|
|
|
|
|
|
|
|