@vivliostyle/core
    Preparing search index...

    Class PageRuleMaster

    Represent a page master generated for @page rules

    Cascaded style for @page rules

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _scope: LexicalScope
    children: PageBox<PageBoxInstance<any>>[] = []
    classes: string[]
    condition: Val
    index: number = 0
    key: string
    keyMap: { [key: string]: string } = {}
    name: string
    pageMaster: PageMaster = null
    parent: PageBox
    pseudoName: string
    specificity: number
    specified: ElementStyle = {}

    Accessors

    Methods

    • Point the pageMaster reference in the PageMasterScope to the current page master. This is needed when a page master is cloned and shares a common scope with the original page master. Since every Exprs.Val which the page master holds has a reference to the scope and uses it for variable resolution, this reference must be updated properly before the page master instance is used.

      Returns void