C# Class Bloom.Publish.PdfViewer

Show file Open project: BloomBooks/BloomDesktop

Public Methods

Method Description
BrowserPrint ( ) : void
GetWeakReference ( ) : nsIWeakReference
OnLocationChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, nsIURI aLocation, uint flags ) : void
OnProgressChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, int aCurSelfProgress, int aMaxSelfProgress, int aCurTotalProgress, int aMaxTotalProgress ) : void
OnSecurityChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, uint aState ) : void
OnStateChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, uint aStateFlags, int aStatus ) : void
OnStatusChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, int aStatus, string aMessage ) : void
PdfViewer ( ) : System
Print ( ) : void
RunJavaScript ( string script ) : string
ShowPdf ( string pdfFile ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

PrintAfterPause ( object sender, EventArgs e ) : void
PrintProcessExited ( object sender, EventArgs e ) : void
RestoreAfterPrint ( object sender, EventArgs e ) : void
SetupViewerControl ( ) : void
TryGhostcriptPrint ( ) : bool
UpdatePdfViewer ( Control viewerControl ) : void

Method Details

BrowserPrint() public method

public BrowserPrint ( ) : 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

GetWeakReference() public method

public GetWeakReference ( ) : nsIWeakReference
return nsIWeakReference

OnLocationChange() public method

public OnLocationChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, nsIURI aLocation, uint flags ) : void
aWebProgress nsIWebProgress
aRequest nsIRequest
aLocation nsIURI
flags uint
return void

OnProgressChange() public method

public OnProgressChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, int aCurSelfProgress, int aMaxSelfProgress, int aCurTotalProgress, int aMaxTotalProgress ) : void
aWebProgress nsIWebProgress
aRequest nsIRequest
aCurSelfProgress int
aMaxSelfProgress int
aCurTotalProgress int
aMaxTotalProgress int
return void

OnSecurityChange() public method

public OnSecurityChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, uint aState ) : void
aWebProgress nsIWebProgress
aRequest nsIRequest
aState uint
return void

OnStateChange() public method

public OnStateChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, uint aStateFlags, int aStatus ) : void
aWebProgress nsIWebProgress
aRequest nsIRequest
aStateFlags uint
aStatus int
return void

OnStatusChange() public method

public OnStatusChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, int aStatus, string aMessage ) : void
aWebProgress nsIWebProgress
aRequest nsIRequest
aStatus int
aMessage string
return void

PdfViewer() public method

public PdfViewer ( ) : System
return System

Print() public method

public Print ( ) : void
return void

RunJavaScript() public method

public RunJavaScript ( string script ) : string
script string
return string

ShowPdf() public method

public ShowPdf ( string pdfFile ) : bool
pdfFile string
return bool