C# Class GeckofxHtmlToPdf.ConversionProgress

ファイルを表示 Open project: hatton/geckofxHtmlToPdf

Private Properties

Property Type Description
ConversionProgress_Load void
InitializeComponent void
OnPdfMaker_Finished void
OnPdfMaker_StatusChanged void

Public Methods

Method Description
ConversionProgress ( ConversionOrder conversionOrder ) : System
SetUpXulRunner ( ) : void

Initialize Xpcom so that we can access xulrunner via Geckofx.

This logic is a merge of the original logic in the program (which looked in distfiles) and the logic in BloomExe/Browser.cs (which looks at the environment variable XULRUNNER and later in lib). It would be nice to a common place where this code could exist once, but that's left for another day. One of the palaso libraries might be a good place, but it demands indirect access to Xpcom via reflection.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ConversionProgress_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

OnPdfMaker_Finished ( object sender, EventArgs e ) : void
OnPdfMaker_StatusChanged ( object sender, PdfMakingStatus pdfMakingStatus ) : void

Method Details

ConversionProgress() public method

public ConversionProgress ( ConversionOrder conversionOrder ) : System
conversionOrder ConversionOrder
return System

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

SetUpXulRunner() public static method

Initialize Xpcom so that we can access xulrunner via Geckofx.
This logic is a merge of the original logic in the program (which looked in distfiles) and the logic in BloomExe/Browser.cs (which looks at the environment variable XULRUNNER and later in lib). It would be nice to a common place where this code could exist once, but that's left for another day. One of the palaso libraries might be a good place, but it demands indirect access to Xpcom via reflection.
public static SetUpXulRunner ( ) : void
return void