C# Class Bloom.Publish.PublishView

Inheritance: System.Windows.Forms.UserControl, IBloomTabArea
Show file Open project: BloomBooks/BloomDesktop Class Usage Examples

Private Properties

Property Type Description
Activate void
BackgroundColorsForLinux void
ClearRadioButtons void
ControlsChanged void
FormActivatedAfterPrintDialog void
GetPreviewBounds System.Drawing.Rectangle
InitializeComponent void
LocalizeSuperToolTip void
MakePublishPreview void
OnBookletRadioChanged void
OnLayoutChosen void
OnPrintProgress void
OnPrint_Click void
OnSave_Click void
OnSinglePageModeChanged void
SetAutoCheck void
SetModelFromButtons void
SetupEpubControl void
SetupEpubControlContent void
SetupLocalization void
SetupPublishControl void
UpdateDisplay void
UpdateDisplayMode void
UpdateLayoutChoiceLabels void
UpdateSaveButton void
_epubButton_Click void
_makePdfBackgroundWorker_DoWork void
_makePdfBackgroundWorker_RunWorkerCompleted void
_openPDF_Click void
_openinBrowserMenuItem_Click void
isBooklet bool
tableLayoutPanel1_Paint void

Public Methods

Method Description
MakeBooklet ( ) : void
PublishView ( PublishModel model, SelectedTabChangedEvent selectedTabChangedEvent, LocalizationChangedEvent localizationChangedEvent, BookTransfer bookTransferrer, LoginDialog login, NavigationIsolator isolator ) : System
SetDisplayMode ( PublishModel displayMode ) : void
SetStateOfNonUploadRadios ( bool enable ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnLoad ( EventArgs e ) : void

Private Methods

Method Description
Activate ( ) : void
BackgroundColorsForLinux ( ) : void
ClearRadioButtons ( ) : void
ControlsChanged ( ) : void
FormActivatedAfterPrintDialog ( object sender, EventArgs eventArgs ) : void
GetPreviewBounds ( ) : Rectangle

Computes the preview bounds (since the image may be bigger than what we have room for).

InitializeComponent ( ) : void

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

LocalizeSuperToolTip ( Control controlThatHasSuperTooltipAttached, string l10nIdOfControl ) : void
MakePublishPreview ( ) : void

Make the preview required for publishing the book.

OnBookletRadioChanged ( object sender, EventArgs e ) : void
OnLayoutChosen ( object sender, EventArgs e ) : void
OnPrintProgress ( object sender, PdfPrintProgressEventArgs e ) : void
OnPrint_Click ( object sender, EventArgs e ) : void
OnSave_Click ( object sender, EventArgs e ) : void
OnSinglePageModeChanged ( object sender, EventArgs e ) : void
SetAutoCheck ( bool autoCheck ) : void
SetModelFromButtons ( ) : void
SetupEpubControl ( ) : void
SetupEpubControlContent ( ) : void
SetupLocalization ( ) : void
SetupPublishControl ( ) : void
UpdateDisplay ( ) : void
UpdateDisplayMode ( ) : void
UpdateLayoutChoiceLabels ( ) : void
UpdateSaveButton ( ) : void
_epubButton_Click ( object sender, EventArgs e ) : void
_makePdfBackgroundWorker_DoWork ( object sender, System e ) : void
_makePdfBackgroundWorker_RunWorkerCompleted ( object sender, System e ) : void
_openPDF_Click ( object sender, EventArgs e ) : void
_openinBrowserMenuItem_Click ( object sender, EventArgs e ) : void
isBooklet ( ) : bool
tableLayoutPanel1_Paint ( object sender, PaintEventArgs e ) : void

Method Details

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

MakeBooklet() public method

public MakeBooklet ( ) : void
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

PublishView() public method

public PublishView ( PublishModel model, SelectedTabChangedEvent selectedTabChangedEvent, LocalizationChangedEvent localizationChangedEvent, BookTransfer bookTransferrer, LoginDialog login, NavigationIsolator isolator ) : System
model PublishModel
selectedTabChangedEvent SelectedTabChangedEvent
localizationChangedEvent LocalizationChangedEvent
bookTransferrer Bloom.WebLibraryIntegration.BookTransfer
login Bloom.WebLibraryIntegration.LoginDialog
isolator NavigationIsolator
return System

SetDisplayMode() public method

public SetDisplayMode ( PublishModel displayMode ) : void
displayMode PublishModel
return void

SetStateOfNonUploadRadios() public method

public SetStateOfNonUploadRadios ( bool enable ) : void
enable bool
return void