C# Class Bloom.Book.Page

Inheritance: IPage
ファイルを表示 Open project: BloomBooks/BloomDesktop Class Usage Examples

Public Methods

Method Description
GetCaptionOrPageNumber ( int &pageNumber, string &captionI18nId ) : string
GetDivNodeForThisPage ( ) : XmlElement
GetIndex ( ) : int

Return the index of this page in the IEnumerable of pages

GetPageSelectorXPath ( XmlDocument pageDom ) : string
Page ( Book book, XmlElement sourcePage, string caption, string captionI18nId, XmlElement>.Func getDivNodeForThisPageMethod ) : System

Private Methods

Method Description
FixPageId ( string id ) : string
ReadClasses ( XmlElement sourcePage ) : void
ReadPageTags ( XmlElement sourcePage ) : void
UpdateLineage ( string lineage ) : void

Method Details

GetCaptionOrPageNumber() public method

public GetCaptionOrPageNumber ( int &pageNumber, string &captionI18nId ) : string
pageNumber int
captionI18nId string
return string

GetDivNodeForThisPage() public method

public GetDivNodeForThisPage ( ) : XmlElement
return System.Xml.XmlElement

GetIndex() public method

Return the index of this page in the IEnumerable of pages
public GetIndex ( ) : int
return int

GetPageSelectorXPath() public static method

public static GetPageSelectorXPath ( XmlDocument pageDom ) : string
pageDom System.Xml.XmlDocument
return string

Page() public method

public Page ( Book book, XmlElement sourcePage, string caption, string captionI18nId, XmlElement>.Func getDivNodeForThisPageMethod ) : System
book Book
sourcePage System.Xml.XmlElement
caption string
captionI18nId string
getDivNodeForThisPageMethod XmlElement>.Func
return System