MGUI::FORM_EDITSTYLE Class Reference

#include <rvc/formedst.h>

Inheritance diagram for MGUI::FORM_EDITSTYLE:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ERRVALUE CommitChanges ()
ERRVALUE Create (MGUI::LAYOUT_PANE_BASE &ParentPane, RVC::STYLE::TYPE StyleType, RVC::EDITSTYLEFLAGS FormStyle=RVC::EDITSTYLEFLAG_None)
 FORM_EDITSTYLE ()
INT32 GetActiveStyleNum (RVC::STYLE::TYPE StyleType) const
INT32 GetActiveStyleNum () const
RVC::STYLE::TYPE GetActiveStyleType () const
double GetCurrentScale ()
void GetDefaultStyle (MULTISTYLE &MultiStyle) const
void GetDefaultStyle (TEXTSTYLE &TextStyle) const
void GetDefaultStyle (POLYSTYLE &PolyStyle) const
void GetDefaultStyle (LINESTYLE &LineStyle) const
void GetDefaultStyle (POINTSTYLE &PointStyle) const
void GetStyleObjItem (RVC::OBJITEM &ObjItem) const
virtual bool IsCreated () const
bool IsObjectModified ()
void ResetModified ()
ERRVALUE SetActiveStyleNum (RVC::STYLE::TYPE StyleType, INT32 StyleNum)
void SetCurrentMapScale (double CurMapScale)
void SetDefaultStyle (const MULTISTYLE &MultiStyle)
void SetDefaultStyle (const TEXTSTYLE &TextStyle)
void SetDefaultStyle (const POLYSTYLE &PolygonStyle)
void SetDefaultStyle (const POINTSTYLE &PointStyle)
void SetDefaultStyle (const LINESTYLE &LineStyle)
virtual void SetEnabled (bool enabled=true)
void SetHardcopyDPI (double HardcopyDPI)
ERRVALUE SetStyleObject (const RVC::OBJITEM &ObjItem, RVC::OBJECT::OPENMODE OpenMode=RVC::OBJECT::OPENMODE_Read)
void SetStyleType (RVC::STYLE::TYPE StyleType)
virtual ~FORM_EDITSTYLE ()

Protected Member Functions

void NotifyModified ()
void SetObjectModified (bool ObjectModified=true)

Private Member Functions

virtual double v_OnGetCurrentScale ()
virtual void v_OnGetStyleDescription (RVC::STYLE::TYPE StyleType, INT32 StyleNum, MISTRING &desc)
virtual void v_OnNotifyModified ()

Constructor & Destructor Documentation

MGUI::FORM_EDITSTYLE::FORM_EDITSTYLE  ) 
 

Constructor.

virtual MGUI::FORM_EDITSTYLE::~FORM_EDITSTYLE  )  [virtual]
 

Destructor.


Member Function Documentation

ERRVALUE MGUI::FORM_EDITSTYLE::CommitChanges  ) 
 

Commit changes made by user to file.

ERRVALUE MGUI::FORM_EDITSTYLE::Create MGUI::LAYOUT_PANE_BASE ParentPane,
RVC::STYLE::TYPE  StyleType,
RVC::EDITSTYLEFLAGS  FormStyle = RVC::EDITSTYLEFLAG_None
 

Create the form.

INT32 MGUI::FORM_EDITSTYLE::GetActiveStyleNum RVC::STYLE::TYPE  StyleType  )  const
 

Get active style number for specified type.

Returns:
Active style number, -1 for "default" style, < -1 if error.

INT32 MGUI::FORM_EDITSTYLE::GetActiveStyleNum  )  const [inline]
 

Get active style number.

Returns:
Active style number, -1 for "default" style, < -1 if error.

Definition at line 128 of file formedst.h.

RVC::STYLE::TYPE MGUI::FORM_EDITSTYLE::GetActiveStyleType  )  const [inline]
 

Get active style type.

Definition at line 138 of file formedst.h.

double MGUI::FORM_EDITSTYLE::GetCurrentScale  )  [inline]
 

Get current scale.

Definition at line 142 of file formedst.h.

void MGUI::FORM_EDITSTYLE::GetDefaultStyle MULTISTYLE MultiStyle  )  const
 

Get default MULTISTYLE.

void MGUI::FORM_EDITSTYLE::GetDefaultStyle TEXTSTYLE TextStyle  )  const
 

Get default TEXTSTYLE.

void MGUI::FORM_EDITSTYLE::GetDefaultStyle POLYSTYLE PolyStyle  )  const
 

Get default POLYSTYLE.

void MGUI::FORM_EDITSTYLE::GetDefaultStyle LINESTYLE LineStyle  )  const
 

Get default LINESTYLE.

void MGUI::FORM_EDITSTYLE::GetDefaultStyle POINTSTYLE PointStyle  )  const
 

Get default POINTSTYLE.

void MGUI::FORM_EDITSTYLE::GetStyleObjItem RVC::OBJITEM ObjItem  )  const [inline]
 

Get current style object item.

Definition at line 171 of file formedst.h.

virtual bool MGUI::FORM_EDITSTYLE::IsCreated  )  const [virtual]
 

Determine if form has been created.

Returns:
true if created, false if not.

Implements MGUI::FORM.

bool MGUI::FORM_EDITSTYLE::IsObjectModified  )  [inline]
 

Determine if RVC style object has been modified by user edits.

Definition at line 178 of file formedst.h.

void MGUI::FORM_EDITSTYLE::NotifyModified  )  [inline, protected]
 

Definition at line 244 of file formedst.h.

void MGUI::FORM_EDITSTYLE::ResetModified  )  [inline]
 

Reset 'modified' status.

Definition at line 182 of file formedst.h.

ERRVALUE MGUI::FORM_EDITSTYLE::SetActiveStyleNum RVC::STYLE::TYPE  StyleType,
INT32  StyleNum
 

Set active style number for specified style type.

This does not change the style type being "edited", use SetStyleType() to do that.

void MGUI::FORM_EDITSTYLE::SetCurrentMapScale double  CurMapScale  )  [inline]
 

Set current 'map scale' for style samples and 'Current Scale' button.

Definition at line 193 of file formedst.h.

void MGUI::FORM_EDITSTYLE::SetDefaultStyle const MULTISTYLE MultiStyle  ) 
 

Set default MULTISTYLE style.

void MGUI::FORM_EDITSTYLE::SetDefaultStyle const TEXTSTYLE TextStyle  ) 
 

Set default TEXT style.

void MGUI::FORM_EDITSTYLE::SetDefaultStyle const POLYSTYLE PolygonStyle  ) 
 

Set default POLYGON style.

void MGUI::FORM_EDITSTYLE::SetDefaultStyle const POINTSTYLE PointStyle  ) 
 

Set default POINT style.

void MGUI::FORM_EDITSTYLE::SetDefaultStyle const LINESTYLE LineStyle  ) 
 

Set default LINE style.

virtual void MGUI::FORM_EDITSTYLE::SetEnabled bool  enabled = true  )  [virtual]
 

MGUI::FORM overrides.

Implements MGUI::FORM.

void MGUI::FORM_EDITSTYLE::SetHardcopyDPI double  HardcopyDPI  ) 
 

Set hardcopy pixel spacing in "pixels per inch".

This value is used when user chooses units to view style elements in.

void MGUI::FORM_EDITSTYLE::SetObjectModified bool  ObjectModified = true  )  [inline, protected]
 

Definition at line 246 of file formedst.h.

ERRVALUE MGUI::FORM_EDITSTYLE::SetStyleObject const RVC::OBJITEM ObjItem,
RVC::OBJECT::OPENMODE  OpenMode = RVC::OBJECT::OPENMODE_Read
 

Set style object to edit or select styles from.

void MGUI::FORM_EDITSTYLE::SetStyleType RVC::STYLE::TYPE  StyleType  ) 
 

Set type of style being edited.

virtual double MGUI::FORM_EDITSTYLE::v_OnGetCurrentScale  )  [private, virtual]
 

Called to obtain "current" map scale.

Default implementation returns -1.

virtual void MGUI::FORM_EDITSTYLE::v_OnGetStyleDescription RVC::STYLE::TYPE  StyleType,
INT32  StyleNum,
MISTRING desc
[private, virtual]
 

Method to obtain style description.

Override to provide own descriptions.

virtual void MGUI::FORM_EDITSTYLE::v_OnNotifyModified  )  [private, virtual]
 

Called when modification made to current style.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:20:54 2004 for TNTsdk by  doxygen 1.3.8-20040913