@vivliostyle/core 2.25.0 → 2.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -60,6 +60,7 @@ export declare class CounterStore {
|
|
|
60
60
|
[key: string]: TargetCounterReference[];
|
|
61
61
|
};
|
|
62
62
|
private pagesCounterExprs;
|
|
63
|
+
private pageCounterExprs;
|
|
63
64
|
constructor(documentURLTransformer: Base.DocumentURLTransformer);
|
|
64
65
|
createCounterListener(baseURL: string): CssCascade.CounterListener;
|
|
65
66
|
createCounterResolver(baseURL: string, rootScope: Exprs.LexicalScope, pageScope: Exprs.LexicalScope): CssCascade.CounterResolver;
|
|
@@ -121,7 +122,9 @@ export declare class CounterStore {
|
|
|
121
122
|
registerPageCounterExpr(name: string, format: (p1: number[]) => string, expr: Exprs.Val): void;
|
|
122
123
|
getExprContentListener(): Vtree.ExprContentListener;
|
|
123
124
|
private exprContentListener;
|
|
125
|
+
private fixPageCounterInRunningElement;
|
|
124
126
|
finishLastPage(viewport: Vgen.Viewport): void;
|
|
125
127
|
createLayoutConstraint(pageIndex: number): Layout.LayoutConstraint;
|
|
126
128
|
}
|
|
127
129
|
export declare const PAGES_COUNTER_ATTR = "data-vivliostyle-pages-counter";
|
|
130
|
+
export declare const PAGE_COUNTER_ATTR = "data-vivliostyle-page-counter";
|