C# 클래스 Bloom.Publish.PublishModel

Contains the logic behind the PublishView control, which involves creating a pdf from the html book and letting you print it.
상속: IDisposable
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddStylesheetClasses void
GetPdfPath string
MakeFinalHtmlForPdfMaker Bloom.Api.SimulatedPageFile
OnBookSelectionChanged void
PrepareToStageEpub void
SanitizeFileName string
SaveAsEpub void
StageEpub void

공개 메소드들

메소드 설명
DebugCurrentPDFLayout ( ) : void
Dispose ( ) : void
GetExtensionMenuItems ( ) : IEnumerable
GetPageDoms ( ) : IEnumerable
GetThumbnailAsync ( int width, int height, HtmlDom dom, Action onReady, Action onError ) : void
LoadBook ( BackgroundWorker worker, DoWorkEventArgs doWorkEventArgs ) : void
PublishModel ( BookSelection bookSelection, PdfMaker pdfMaker, CurrentEditableCollectionSelection currentBookCollectionSelection, CollectionSettings collectionSettings, BookServer bookServer, BookThumbNailer thumbNailer, NavigationIsolator isolator ) : System
RefreshValuesUponActivation ( ) : void
ReportAnalytics ( string eventName ) : void
Save ( ) : void

비공개 메소드들

메소드 설명
AddStylesheetClasses ( XmlDocument dom ) : void
GetPdfPath ( string fname ) : string
MakeFinalHtmlForPdfMaker ( ) : SimulatedPageFile
OnBookSelectionChanged ( object sender, EventArgs e ) : void
PrepareToStageEpub ( ) : void
SanitizeFileName ( string fileName ) : string

Ampersand in book title was causing Publish problems

SaveAsEpub ( ) : void
StageEpub ( bool publishWithoutAudio ) : void

메소드 상세

DebugCurrentPDFLayout() 공개 메소드

public DebugCurrentPDFLayout ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetExtensionMenuItems() 공개 메소드

public GetExtensionMenuItems ( ) : IEnumerable
리턴 IEnumerable

GetPageDoms() 공개 메소드

public GetPageDoms ( ) : IEnumerable
리턴 IEnumerable

GetThumbnailAsync() 공개 메소드

public GetThumbnailAsync ( int width, int height, HtmlDom dom, Action onReady, Action onError ) : void
width int
height int
dom Bloom.Book.HtmlDom
onReady Action
onError Action
리턴 void

LoadBook() 공개 메소드

public LoadBook ( BackgroundWorker worker, DoWorkEventArgs doWorkEventArgs ) : void
worker System.ComponentModel.BackgroundWorker
doWorkEventArgs System.ComponentModel.DoWorkEventArgs
리턴 void

PublishModel() 공개 메소드

public PublishModel ( BookSelection bookSelection, PdfMaker pdfMaker, CurrentEditableCollectionSelection currentBookCollectionSelection, CollectionSettings collectionSettings, BookServer bookServer, BookThumbNailer thumbNailer, NavigationIsolator isolator ) : System
bookSelection Bloom.Book.BookSelection
pdfMaker PdfMaker
currentBookCollectionSelection Bloom.Book.CurrentEditableCollectionSelection
collectionSettings Bloom.Collection.CollectionSettings
bookServer Bloom.Book.BookServer
thumbNailer BookThumbNailer
isolator NavigationIsolator
리턴 System

RefreshValuesUponActivation() 공개 메소드

public RefreshValuesUponActivation ( ) : void
리턴 void

ReportAnalytics() 공개 메소드

public ReportAnalytics ( string eventName ) : void
eventName string
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void