C# Class POLGumpExport.POLExporter

Inheritance: BasePlugin
显示文件 Open project: polserver/poltools Class Usage Examples

Protected Properties

Property Type Description
frm_POLExportForm POLExportForm
m_Designer DesignerForm
mnu_FileExportPOLExport System.Windows.Forms.MenuItem
mnu_MenuItem System.Windows.Forms.MenuItem

Public Methods

Method Description
GetPOLScript ( bool bUsedistro ) : StringWriter
GetPOLScript ( bool bUseDistro, bool bShowComment, bool bShowNames, bool bDefaultTexts ) : StringWriter
GetPluginInfo ( ) : PluginInfo
Load ( DesignerForm frmDesigner ) : void

Private Methods

Method Description
BoolToString ( bool check ) : string
CreateBareScript ( ) : StringWriter
CreateDistroScript ( bool bShowComment, bool bShowNames, bool bDefaultTexts ) : StringWriter
DistroGump_GFAddAlphaRegion ( string gump_name, AlphaElement elem ) : string
DistroGump_GFAddButton ( string gump_name, ButtonElement elem ) : string
DistroGump_GFAddHTMLLocalized ( string gump_name, HTMLElement elem ) : string
DistroGump_GFCheckBox ( string gump_name, CheckboxElement elem ) : string
DistroGump_GFCreateGump ( string gump_name, System loc ) : string
DistroGump_GFGumpPic ( string gump_name, ImageElement elem ) : string
DistroGump_GFHTMLArea ( string gump_name, HTMLElement elem ) : string
DistroGump_GFPage ( string gump_name, int &pageindex ) : string
DistroGump_GFRadioButton ( string gump_name, RadioElement elem ) : string
DistroGump_GFResizePic ( string gump_name, BackgroundElement elem ) : string
DistroGump_GFTextEntry ( string gump_name, TextEntryElement elem ) : string
DistroGump_GFTextLine ( string gump_name, LabelElement elem ) : string
DistroGump_GFTilePic ( string gump_name, ItemElement elem ) : string
GetCommentString ( BaseElement be_elem, bool bShowComments, bool bShowNames ) : string
GetGumpName ( ) : string
Gump_Location ( System loc ) : string
Gump_WriteButton ( ButtonElement elem ) : string
Gump_WriteCheckBox ( CheckboxElement elem ) : string
Gump_WriteCheckerTrans ( AlphaElement elem ) : string
Gump_WriteGumpPic ( ImageElement elem ) : string
Gump_WriteGumpPicTiled ( TiledElement elem ) : string
Gump_WriteHTMLGump ( HTMLElement elem, List &texts ) : string
Gump_WritePage ( int &pageid ) : string
Gump_WriteRadioBox ( RadioElement elem ) : string
Gump_WriteResizePic ( BackgroundElement elem ) : string
Gump_WriteText ( LabelElement elem, List &texts ) : string
Gump_WriteTextEntry ( TextEntryElement elem, List &texts ) : string
Gump_WriteTilePic ( ItemElement elem ) : string
Gump_WriteXMFHtmlGump ( HTMLElement elem ) : string
IsHued ( string hue ) : bool
mnu_FileExportPOLExport_Click ( object sender, EventArgs e ) : void

Method Details

GetPOLScript() public method

public GetPOLScript ( bool bUsedistro ) : StringWriter
bUsedistro bool
return System.IO.StringWriter

GetPOLScript() public method

public GetPOLScript ( bool bUseDistro, bool bShowComment, bool bShowNames, bool bDefaultTexts ) : StringWriter
bUseDistro bool
bShowComment bool
bShowNames bool
bDefaultTexts bool
return System.IO.StringWriter

GetPluginInfo() public method

public GetPluginInfo ( ) : PluginInfo
return PluginInfo

Load() public method

public Load ( DesignerForm frmDesigner ) : void
frmDesigner DesignerForm
return void

Property Details

frm_POLExportForm protected_oe property

protected POLExportForm,POLGumpExport frm_POLExportForm
return POLExportForm

m_Designer protected_oe property

protected DesignerForm m_Designer
return DesignerForm

mnu_FileExportPOLExport protected_oe property

protected MenuItem,System.Windows.Forms mnu_FileExportPOLExport
return System.Windows.Forms.MenuItem

mnu_MenuItem protected_oe property

protected MenuItem,System.Windows.Forms mnu_MenuItem
return System.Windows.Forms.MenuItem