C# Class ATMLCommonLibrary.controls.ATMLPreviewPanel

Inheritance: ATMLControl
Show file Open project: UtrsSoftware/ATMLWorkBench

Protected Properties

Property Type Description
previewPanel System.Windows.Forms.Panel
sourcePreviewer ATMLCommonLibrary.controls.awb.AWBEditor
webBrowser System.Windows.Forms.WebBrowser

Public Methods

Method Description
ATMLPreviewPanel ( ) : System
Back ( ) : void
Clear ( ) : void
CollapseAll ( ) : void
CurrentCaretPosition ( ) : Point
ExpandAll ( ) : void
Find ( ) : void
Forward ( ) : void
InitForATLAS ( ) : void
InitForText ( ) : void
InitForXML ( ) : void
Open ( ATMLModelLibrary.model.common.Document document ) : void
Open ( FileInfo fileInfo, byte content ) : void
Open ( string fileName, string fileExtension, byte content ) : void
Print ( ) : void
ToggleWordWrap ( ) : void
UnloadPreview ( ) : void

Protected Methods

Method Description
CreateHandle ( ) : void
DestroyHandle ( ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnAtlasDocumentLoaded ( ) : void
OnPreviewDocumentLoaded ( ) : void
OnScintillaUiEvent ( NativeScintillaEventArgs args ) : void
OnSourceDocumentLoaded ( ) : void
OnWebDocumentLoaded ( ) : void
OnXmlDocumentLoaded ( ) : void

Private Methods

Method Description
GetPreviewHandlerGUID ( string filename ) : System.Guid
InitEditor ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Instance_LeftButtonUp ( object sender, MouseEventArgs e ) : void
PreView ( System.Guid guid, string fileName ) : void
PreviewHtml ( String file ) : void
PreviewHtml ( Uri file ) : void
PreviewHtml ( byte content ) : void
PreviewSource ( String content, String extension ) : void
ProcessPasteFromWebBrowser ( ) : void
WebBrowserDocumentCompleted ( object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e ) : void
previewPanel_Resize ( object sender, EventArgs e ) : void
sourcePreviewer_KeyUp ( object sender, KeyEventArgs e ) : void
sourcePreviewer_MouseUp ( object sender, MouseEventArgs e ) : void

Method Details

ATMLPreviewPanel() public method

public ATMLPreviewPanel ( ) : System
return System

Back() public method

public Back ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

CollapseAll() public method

public CollapseAll ( ) : void
return void

CreateHandle() protected method

protected CreateHandle ( ) : void
return void

CurrentCaretPosition() public method

public CurrentCaretPosition ( ) : Point
return Point

DestroyHandle() protected method

protected DestroyHandle ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ExpandAll() public method

public ExpandAll ( ) : void
return void

Find() public method

public Find ( ) : void
return void

Forward() public method

public Forward ( ) : void
return void

InitForATLAS() public method

public InitForATLAS ( ) : void
return void

InitForText() public method

public InitForText ( ) : void
return void

InitForXML() public method

public InitForXML ( ) : void
return void

OnAtlasDocumentLoaded() protected method

protected OnAtlasDocumentLoaded ( ) : void
return void

OnPreviewDocumentLoaded() protected method

protected OnPreviewDocumentLoaded ( ) : void
return void

OnScintillaUiEvent() protected method

protected OnScintillaUiEvent ( NativeScintillaEventArgs args ) : void
args ScintillaNET.NativeScintillaEventArgs
return void

OnSourceDocumentLoaded() protected method

protected OnSourceDocumentLoaded ( ) : void
return void

OnWebDocumentLoaded() protected method

protected OnWebDocumentLoaded ( ) : void
return void

OnXmlDocumentLoaded() protected method

protected OnXmlDocumentLoaded ( ) : void
return void

Open() public method

public Open ( ATMLModelLibrary.model.common.Document document ) : void
document ATMLModelLibrary.model.common.Document
return void

Open() public method

public Open ( FileInfo fileInfo, byte content ) : void
fileInfo System.IO.FileInfo
content byte
return void

Open() public method

public Open ( string fileName, string fileExtension, byte content ) : void
fileName string
fileExtension string
content byte
return void

Print() public method

public Print ( ) : void
return void

ToggleWordWrap() public method

public ToggleWordWrap ( ) : void
return void

UnloadPreview() public method

public UnloadPreview ( ) : void
return void

Property Details

previewPanel protected property

protected System.Windows.Forms.Panel previewPanel
return System.Windows.Forms.Panel

sourcePreviewer protected property

protected ATMLCommonLibrary.controls.awb.AWBEditor sourcePreviewer
return ATMLCommonLibrary.controls.awb.AWBEditor

webBrowser protected property

protected System.Windows.Forms.WebBrowser webBrowser
return System.Windows.Forms.WebBrowser