@vivliostyle/core
    Preparing search index...

    Class Styler

    Implements

    Index

    Constructors

    Properties

    bodyReached: boolean = true
    boxStack: BoxStack
    breakBeforeValues: { [key: number]: string } = ...
    cascadeHolder: Cascade
    context: Context
    counterListener: CounterListener
    flowChunks: FlowChunk[] = ...
    flowListener: FlowListener = null
    flows: { [key: string]: Flow } = ...
    flowToReach: string = null
    idToReach: string = null
    last: Node
    lastOffset: number
    offsetMap: SlipMap
    primary: boolean = true
    primaryFlows: { [key: string]: boolean }
    primaryStack: boolean[] = ...
    root: Element
    rootBackgroundAssigned: boolean = false
    rootLayoutAssigned: boolean = false
    rootStyle: ElementStyle = ...
    styleMap: { [key: string]: ElementStyle } = {}
    validatorSet: ValidatorSet

    Methods

    • Returns number

      currently reached offset

    • Transfer properties that should be applied on the container (partition) level to this.rootStyle.

      Parameters

      • elemStyle: ElementStyle

        (source) element style

      • isBody: boolean

      Returns void

    • Parameters

      • breakValue: string
      • offset: number
      • flowName: string

      Returns void

    • Replay flow elements that were encountered since the given offset

      Parameters

      • offset: number

      Returns void

    • Parameters

      • startOffset: number

        current position in the document

      • lookup: number

        lookup window size for the next page

      Returns number

      lookup offset in the document for the next page

    • Parameters

      • flowName: string

      Returns void

    • Parameters

      • id: string

      Returns void