SmDistanceDialog Class Reference

#include <dialog.hxx>

Collaboration diagram for SmDistanceDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmDistanceDialog (Window *pParent, BOOL bFreeRes=TRUE)
 ~SmDistanceDialog ()
void ReadFrom (const SmFormat &rFormat)
void WriteTo (SmFormat &rFormat)
virtual void DataChanged (const DataChangedEvent &rEvt)

Private Member Functions

 DECL_LINK (GetFocusHdl, Control *)
 DECL_LINK (MenuSelectHdl, Menu *)
 DECL_LINK (DefaultButtonClickHdl, Button *)
 DECL_LINK (CheckBoxClickHdl, CheckBox *)
void SetHelpId (MetricField &rField, ULONG nHelpId)
void SetCategory (USHORT Category)
void ApplyImages ()

Private Attributes

FixedText aFixedText1
MetricField aMetricField1
FixedText aFixedText2
MetricField aMetricField2
FixedText aFixedText3
MetricField aMetricField3
CheckBox aCheckBox1
FixedText aFixedText4
MetricField aMetricField4
OKButton aOKButton1
CancelButton aCancelButton1
MenuButton aMenuButton
PushButton aDefaultButton
FixedBitmap aBitmap
FixedLine aFixedLine
SmCategoryDescCategories [NOCATEGORIES]
USHORT nActiveCategory
BOOL bScaleAllBrackets

Detailed Description

Definition at line 278 of file dialog.hxx.


Constructor & Destructor Documentation

SmDistanceDialog::SmDistanceDialog ( Window *  pParent,
BOOL  bFreeRes = TRUE 
)

Definition at line 975 of file dialog.cxx.

References aBitmap, aCheckBox1, aDefaultButton, aMenuButton, aMetricField1, aMetricField2, aMetricField3, aMetricField4, ApplyImages(), bScaleAllBrackets, Categories, CATEGORY_NONE, nActiveCategory, and NOCATEGORIES.

SmDistanceDialog::~SmDistanceDialog (  ) 

Definition at line 1018 of file dialog.cxx.

References Categories, and NOCATEGORIES.


Member Function Documentation

SmDistanceDialog::DECL_LINK ( GetFocusHdl  ,
Control *   
) [private]

SmDistanceDialog::DECL_LINK ( MenuSelectHdl  ,
Menu *   
) [private]

SmDistanceDialog::DECL_LINK ( DefaultButtonClickHdl  ,
Button *   
) [private]

SmDistanceDialog::DECL_LINK ( CheckBoxClickHdl  ,
CheckBox *   
) [private]

void SmDistanceDialog::SetHelpId ( MetricField &  rField,
ULONG  nHelpId 
) [private]

Definition at line 826 of file dialog.cxx.

Referenced by SetCategory().

void SmDistanceDialog::SetCategory ( USHORT  Category  )  [private]

Definition at line 851 of file dialog.cxx.

References aCheckBox1, aFixedLine, aFixedText1, aFixedText2, aFixedText3, aFixedText4, aMenuButton, aMetricField1, aMetricField2, aMetricField3, aMetricField4, bScaleAllBrackets, Categories, CATEGORY_NONE, SmCategoryDesc::GetMaximum(), SmCategoryDesc::GetMinimum(), SmCategoryDesc::GetString(), SmCategoryDesc::GetValue(), nActiveCategory, NOCATEGORIES, SetHelpId(), and SmCategoryDesc::SetValue().

Referenced by ReadFrom(), and WriteTo().

void SmDistanceDialog::ApplyImages (  )  [private]

Definition at line 1024 of file dialog.cxx.

References Categories, NOCATEGORIES, and SmCategoryDesc::SetHighContrast().

Referenced by DataChanged(), and SmDistanceDialog().

void SmDistanceDialog::ReadFrom ( const SmFormat rFormat  ) 

Definition at line 1043 of file dialog.cxx.

References bScaleAllBrackets, Categories, CATEGORY_NONE, DIS_BOTTOMSPACE, DIS_BRACKETSIZE, DIS_BRACKETSPACE, DIS_DENOMINATOR, DIS_FRACTION, DIS_HORIZONTAL, DIS_LEFTSPACE, DIS_LOWERLIMIT, DIS_MATRIXCOL, DIS_MATRIXROW, DIS_NORMALBRACKETSIZE, DIS_NUMERATOR, DIS_OPERATORSIZE, DIS_OPERATORSPACE, DIS_ORNAMENTSIZE, DIS_ORNAMENTSPACE, DIS_RIGHTSPACE, DIS_ROOT, DIS_STROKEWIDTH, DIS_SUBSCRIPT, DIS_SUPERSCRIPT, DIS_TOPSPACE, DIS_UPPERLIMIT, DIS_VERTICAL, SmFormat::GetDistance(), SmFormat::IsScaleNormalBrackets(), nActiveCategory, SetCategory(), and SmCategoryDesc::SetValue().

Referenced by SmDocShell::Execute().

void SmDistanceDialog::WriteTo ( SmFormat rFormat  ) 

Definition at line 1079 of file dialog.cxx.

References bScaleAllBrackets, Categories, DIS_BOTTOMSPACE, DIS_BRACKETSIZE, DIS_BRACKETSPACE, DIS_DENOMINATOR, DIS_FRACTION, DIS_HORIZONTAL, DIS_LEFTSPACE, DIS_LOWERLIMIT, DIS_MATRIXCOL, DIS_MATRIXROW, DIS_NORMALBRACKETSIZE, DIS_NUMERATOR, DIS_OPERATORSIZE, DIS_OPERATORSPACE, DIS_ORNAMENTSIZE, DIS_ORNAMENTSPACE, DIS_RIGHTSPACE, DIS_ROOT, DIS_STROKEWIDTH, DIS_SUBSCRIPT, DIS_SUPERSCRIPT, DIS_TOPSPACE, DIS_UPPERLIMIT, DIS_VERTICAL, nActiveCategory, SmFormat::RequestApplyChanges(), SetCategory(), SmFormat::SetDistance(), and SmFormat::SetScaleNormalBrackets().

Referenced by SmDocShell::Execute().

void SmDistanceDialog::DataChanged ( const DataChangedEvent &  rEvt  )  [virtual]

Definition at line 1035 of file dialog.cxx.

References ApplyImages().


Member Data Documentation

FixedText SmDistanceDialog::aFixedText1 [private]

Definition at line 280 of file dialog.hxx.

Referenced by SetCategory().

MetricField SmDistanceDialog::aMetricField1 [private]

Definition at line 281 of file dialog.hxx.

Referenced by SetCategory(), and SmDistanceDialog().

FixedText SmDistanceDialog::aFixedText2 [private]

Definition at line 282 of file dialog.hxx.

Referenced by SetCategory().

MetricField SmDistanceDialog::aMetricField2 [private]

Definition at line 283 of file dialog.hxx.

Referenced by SetCategory(), and SmDistanceDialog().

FixedText SmDistanceDialog::aFixedText3 [private]

Definition at line 284 of file dialog.hxx.

Referenced by SetCategory().

MetricField SmDistanceDialog::aMetricField3 [private]

Definition at line 285 of file dialog.hxx.

Referenced by SetCategory(), and SmDistanceDialog().

CheckBox SmDistanceDialog::aCheckBox1 [private]

Definition at line 286 of file dialog.hxx.

Referenced by SetCategory(), and SmDistanceDialog().

FixedText SmDistanceDialog::aFixedText4 [private]

Definition at line 287 of file dialog.hxx.

Referenced by SetCategory().

MetricField SmDistanceDialog::aMetricField4 [private]

Definition at line 288 of file dialog.hxx.

Referenced by SetCategory(), and SmDistanceDialog().

OKButton SmDistanceDialog::aOKButton1 [private]

Definition at line 289 of file dialog.hxx.

CancelButton SmDistanceDialog::aCancelButton1 [private]

Definition at line 290 of file dialog.hxx.

MenuButton SmDistanceDialog::aMenuButton [private]

Definition at line 291 of file dialog.hxx.

Referenced by SetCategory(), and SmDistanceDialog().

PushButton SmDistanceDialog::aDefaultButton [private]

Definition at line 292 of file dialog.hxx.

Referenced by SmDistanceDialog().

FixedBitmap SmDistanceDialog::aBitmap [private]

Definition at line 293 of file dialog.hxx.

Referenced by SmDistanceDialog().

FixedLine SmDistanceDialog::aFixedLine [private]

Definition at line 294 of file dialog.hxx.

Referenced by SetCategory().

SmCategoryDesc* SmDistanceDialog::Categories[NOCATEGORIES] [private]

Definition at line 296 of file dialog.hxx.

Referenced by ApplyImages(), ReadFrom(), SetCategory(), SmDistanceDialog(), WriteTo(), and ~SmDistanceDialog().

USHORT SmDistanceDialog::nActiveCategory [private]

Definition at line 297 of file dialog.hxx.

Referenced by ReadFrom(), SetCategory(), SmDistanceDialog(), and WriteTo().

BOOL SmDistanceDialog::bScaleAllBrackets [private]

Definition at line 298 of file dialog.hxx.

Referenced by ReadFrom(), SetCategory(), SmDistanceDialog(), and WriteTo().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 17:23:10 2008 for maths by  doxygen 1.5.1