C# Class nl.siegmann.epublib.domain.SpineReference

Inheritance: ResourceReference
Afficher le fichier Open project: lanfengqi/EpubLib-Sharp Class Usage Examples

Méthodes publiques

Méthode Description
SpineReference ( Resource resource ) : System
SpineReference ( Resource resource, bool linear ) : System
isLinear ( ) : bool

Linear denotes whether the section is Primary or Auxiliary. Usually the cover page has linear set to false and all the other sections have it set to true. It's an optional property that readers may also ignore.

primary or auxiliary is useful for Reading Systems which opt to present auxiliary content differently than primary content. For example, a Reading System might opt to render auxiliary content in a popup window apart from the main window which presents the primary content. (For an example of the types of content that may be considered auxiliary, refer to the example below and the subsequent discussion.)

setLinear ( bool linear ) : void

Method Details

SpineReference() public méthode

public SpineReference ( Resource resource ) : System
resource Resource
Résultat System

SpineReference() public méthode

public SpineReference ( Resource resource, bool linear ) : System
resource Resource
linear bool
Résultat System

isLinear() public méthode

Linear denotes whether the section is Primary or Auxiliary. Usually the cover page has linear set to false and all the other sections have it set to true. It's an optional property that readers may also ignore.
primary or auxiliary is useful for Reading Systems which opt to present auxiliary content differently than primary content. For example, a Reading System might opt to render auxiliary content in a popup window apart from the main window which presents the primary content. (For an example of the types of content that may be considered auxiliary, refer to the example below and the subsequent discussion.)
public isLinear ( ) : bool
Résultat bool

setLinear() public méthode

public setLinear ( bool linear ) : void
linear bool
Résultat void