#include <dialog.hxx>
Collaboration diagram for SmDistanceDialog:

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 |
| SmCategoryDesc * | Categories [NOCATEGORIES] |
| USHORT | nActiveCategory |
| BOOL | bScaleAllBrackets |
Definition at line 278 of file dialog.hxx.
| 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 | ( | ) |
| 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] |
| 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] |
FixedText SmDistanceDialog::aFixedText1 [private] |
MetricField SmDistanceDialog::aMetricField1 [private] |
FixedText SmDistanceDialog::aFixedText2 [private] |
MetricField SmDistanceDialog::aMetricField2 [private] |
FixedText SmDistanceDialog::aFixedText3 [private] |
MetricField SmDistanceDialog::aMetricField3 [private] |
CheckBox SmDistanceDialog::aCheckBox1 [private] |
FixedText SmDistanceDialog::aFixedText4 [private] |
MetricField SmDistanceDialog::aMetricField4 [private] |
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] |
PushButton SmDistanceDialog::aDefaultButton [private] |
FixedBitmap SmDistanceDialog::aBitmap [private] |
FixedLine SmDistanceDialog::aFixedLine [private] |
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().
1.5.1