SmFontSizeDialog Class Reference

#include <dialog.hxx>

List of all members.

Public Member Functions

 SmFontSizeDialog (Window *pParent, BOOL bFreeRes=TRUE)
void ReadFrom (const SmFormat &rFormat)
void WriteTo (SmFormat &rFormat) const

Private Member Functions

 DECL_LINK (DefaultButtonClickHdl, Button *)

Private Attributes

FixedText aFixedText1
MetricField aBaseSize
FixedText aFixedText4
MetricField aTextSize
FixedText aFixedText5
MetricField aIndexSize
FixedText aFixedText6
MetricField aFunctionSize
FixedText aFixedText7
MetricField aOperatorSize
FixedText aFixedText8
MetricField aBorderSize
FixedLine aFixedLine1
OKButton aOKButton1
CancelButton aCancelButton1
PushButton aDefaultButton


Detailed Description

Definition at line 179 of file dialog.hxx.


Constructor & Destructor Documentation

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

Definition at line 499 of file dialog.cxx.

References aDefaultButton.


Member Function Documentation

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

void SmFontSizeDialog::ReadFrom ( const SmFormat rFormat  ) 

Definition at line 525 of file dialog.cxx.

References aBaseSize, aBorderSize, aFunctionSize, aIndexSize, aOperatorSize, aTextSize, SmFormat::GetBaseSize(), SmFormat::GetRelSize(), SIZ_FUNCTION, SIZ_INDEX, SIZ_LIMITS, SIZ_OPERATOR, SIZ_TEXT, Sm100th_mmToPts(), and SmRoundFraction().

Referenced by SmDocShell::Execute().

void SmFontSizeDialog::WriteTo ( SmFormat rFormat  )  const

Definition at line 539 of file dialog.cxx.

References aBaseSize, aBorderSize, aFunctionSize, aIndexSize, aOperatorSize, aTextSize, FNT_BEGIN, FNT_END, SmFormat::GetBaseSize(), SmFormat::RequestApplyChanges(), SmFormat::SetBaseSize(), SmFormat::SetFontSize(), SmFormat::SetRelSize(), SIZ_FUNCTION, SIZ_INDEX, SIZ_LIMITS, SIZ_OPERATOR, SIZ_TEXT, and SmPtsTo100th_mm().

Referenced by SmDocShell::Execute().


Member Data Documentation

FixedText SmFontSizeDialog::aFixedText1 [private]

Definition at line 181 of file dialog.hxx.

MetricField SmFontSizeDialog::aBaseSize [private]

Definition at line 182 of file dialog.hxx.

Referenced by ReadFrom(), and WriteTo().

FixedText SmFontSizeDialog::aFixedText4 [private]

Definition at line 183 of file dialog.hxx.

MetricField SmFontSizeDialog::aTextSize [private]

Definition at line 184 of file dialog.hxx.

Referenced by ReadFrom(), and WriteTo().

FixedText SmFontSizeDialog::aFixedText5 [private]

Definition at line 185 of file dialog.hxx.

MetricField SmFontSizeDialog::aIndexSize [private]

Definition at line 186 of file dialog.hxx.

Referenced by ReadFrom(), and WriteTo().

FixedText SmFontSizeDialog::aFixedText6 [private]

Definition at line 187 of file dialog.hxx.

MetricField SmFontSizeDialog::aFunctionSize [private]

Definition at line 188 of file dialog.hxx.

Referenced by ReadFrom(), and WriteTo().

FixedText SmFontSizeDialog::aFixedText7 [private]

Definition at line 189 of file dialog.hxx.

MetricField SmFontSizeDialog::aOperatorSize [private]

Definition at line 190 of file dialog.hxx.

Referenced by ReadFrom(), and WriteTo().

FixedText SmFontSizeDialog::aFixedText8 [private]

Definition at line 191 of file dialog.hxx.

MetricField SmFontSizeDialog::aBorderSize [private]

Definition at line 192 of file dialog.hxx.

Referenced by ReadFrom(), and WriteTo().

FixedLine SmFontSizeDialog::aFixedLine1 [private]

Definition at line 193 of file dialog.hxx.

OKButton SmFontSizeDialog::aOKButton1 [private]

Definition at line 194 of file dialog.hxx.

CancelButton SmFontSizeDialog::aCancelButton1 [private]

Definition at line 195 of file dialog.hxx.

PushButton SmFontSizeDialog::aDefaultButton [private]

Definition at line 196 of file dialog.hxx.

Referenced by SmFontSizeDialog().


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