@vivliostyle/core 2.24.3 → 2.25.0
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.
- package/lib/vivliostyle/adaptive-viewer.d.ts +167 -167
- package/lib/vivliostyle/asserts.d.ts +21 -21
- package/lib/vivliostyle/assets.d.ts +35 -35
- package/lib/vivliostyle/base.d.ts +189 -189
- package/lib/vivliostyle/break-position.d.ts +39 -39
- package/lib/vivliostyle/break.d.ts +112 -112
- package/lib/vivliostyle/cfi.d.ts +77 -77
- package/lib/vivliostyle/columns.d.ts +52 -52
- package/lib/vivliostyle/constants.d.ts +53 -53
- package/lib/vivliostyle/core-viewer.d.ts +240 -240
- package/lib/vivliostyle/counters.d.ts +127 -127
- package/lib/vivliostyle/css-cascade.d.ts +974 -954
- package/lib/vivliostyle/css-logical-util.d.ts +3 -3
- package/lib/vivliostyle/css-page.d.ts +451 -451
- package/lib/vivliostyle/css-parser.d.ts +320 -320
- package/lib/vivliostyle/css-prop.d.ts +74 -74
- package/lib/vivliostyle/css-styler.d.ts +210 -210
- package/lib/vivliostyle/css-tokenizer.d.ts +243 -243
- package/lib/vivliostyle/css-validator.d.ts +319 -319
- package/lib/vivliostyle/css.d.ts +205 -205
- package/lib/vivliostyle/diff.d.ts +26 -26
- package/lib/vivliostyle/display.d.ts +62 -57
- package/lib/vivliostyle/epub.d.ts +329 -329
- package/lib/vivliostyle/exprs.d.ts +395 -395
- package/lib/vivliostyle/font.d.ts +87 -87
- package/lib/vivliostyle/footnotes.d.ts +41 -41
- package/lib/vivliostyle/geometry-util.d.ts +110 -110
- package/lib/vivliostyle/layout-helper.d.ts +16 -15
- package/lib/vivliostyle/layout-processor.d.ts +73 -73
- package/lib/vivliostyle/layout-retryers.d.ts +21 -21
- package/lib/vivliostyle/layout-util.d.ts +55 -55
- package/lib/vivliostyle/layout.d.ts +456 -456
- package/lib/vivliostyle/logging.d.ts +56 -56
- package/lib/vivliostyle/matchers.d.ts +36 -36
- package/lib/vivliostyle/math-util.d.ts +22 -22
- package/lib/vivliostyle/net.d.ts +72 -72
- package/lib/vivliostyle/ops.d.ts +263 -263
- package/lib/vivliostyle/page-floats.d.ts +178 -178
- package/lib/vivliostyle/page-master.d.ts +247 -247
- package/lib/vivliostyle/plugin.d.ts +172 -172
- package/lib/vivliostyle/print.d.ts +7 -7
- package/lib/vivliostyle/profile.d.ts +59 -59
- package/lib/vivliostyle/pseudo-element.d.ts +32 -32
- package/lib/vivliostyle/repetitive-element.d.ts +162 -162
- package/lib/vivliostyle/scripts.d.ts +15 -15
- package/lib/vivliostyle/sha1.d.ts +33 -33
- package/lib/vivliostyle/shared.d.ts +24 -24
- package/lib/vivliostyle/sizing.d.ts +29 -29
- package/lib/vivliostyle/table.d.ts +263 -263
- package/lib/vivliostyle/task-util.d.ts +37 -37
- package/lib/vivliostyle/task.d.ts +357 -357
- package/lib/vivliostyle/text-polyfill.d.ts +3 -3
- package/lib/vivliostyle/toc.d.ts +64 -64
- package/lib/vivliostyle/types.d.ts +977 -977
- package/lib/vivliostyle/urls.d.ts +25 -25
- package/lib/vivliostyle/vgen.d.ts +213 -213
- package/lib/vivliostyle/viewer-app.d.ts +19 -19
- package/lib/vivliostyle/vtree.d.ts +392 -392
- package/lib/vivliostyle/xml-doc.d.ts +88 -88
- package/lib/vivliostyle.d.ts +6 -6
- package/lib/vivliostyle.js +1 -1
- package/lib/vivliostyle.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import * as Task from "./task";
|
|
2
|
-
import { FormattingContextType, Layout, LayoutProcessor, Vtree } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* Processor doing some special layout (e.g. table layout)
|
|
5
|
-
*/
|
|
6
|
-
export interface LayoutProcessor {
|
|
7
|
-
/**
|
|
8
|
-
* Do actual layout in the column starting from given NodeContext.
|
|
9
|
-
*/
|
|
10
|
-
layout(nodeContext: Vtree.NodeContext, column: Layout.Column, leadingEdge: boolean): Task.Result<Vtree.NodeContext>;
|
|
11
|
-
/**
|
|
12
|
-
* Potential edge breaking position.
|
|
13
|
-
*/
|
|
14
|
-
createEdgeBreakPosition(position: Vtree.NodeContext, breakOnEdge: string | null, overflows: boolean, columnBlockSize: number): Layout.BreakPosition;
|
|
15
|
-
/**
|
|
16
|
-
* process nodecontext at the start of a non inline element.
|
|
17
|
-
* @return return true if you skip the subsequent nodes
|
|
18
|
-
*/
|
|
19
|
-
startNonInlineElementNode(nodeContext: Vtree.NodeContext): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* process nodecontext after a non inline element.
|
|
22
|
-
* @return return true if you skip the subsequent nodes
|
|
23
|
-
*/
|
|
24
|
-
afterNonInlineElementNode(nodeContext: Vtree.NodeContext, stopAtOverflow: boolean): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* @return holing true
|
|
27
|
-
*/
|
|
28
|
-
finishBreak(column: Layout.Column, nodeContext: Vtree.NodeContext, forceRemoveSelf: boolean, endOfColumn: boolean): Task.Result<boolean>;
|
|
29
|
-
clearOverflownViewNodes(column: Layout.Column, parentNodeContext: Vtree.NodeContext, nodeContext: Vtree.NodeContext, removeSelf: boolean): any;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Resolver finding an appropriate LayoutProcessor given a formatting context
|
|
33
|
-
*/
|
|
34
|
-
export declare class LayoutProcessorResolver {
|
|
35
|
-
/**
|
|
36
|
-
* Find LayoutProcessor corresponding to given formatting context.
|
|
37
|
-
*/
|
|
38
|
-
find(formattingContext: Vtree.FormattingContext): LayoutProcessor;
|
|
39
|
-
}
|
|
40
|
-
export declare class BlockLayoutProcessor implements LayoutProcessor {
|
|
41
|
-
/** @override */
|
|
42
|
-
layout(nodeContext: Vtree.NodeContext, column: Layout.Column, leadingEdge: boolean): Task.Result<Vtree.NodeContext>;
|
|
43
|
-
/** @override */
|
|
44
|
-
createEdgeBreakPosition(position: Vtree.NodeContext, breakOnEdge: string | null, overflows: boolean, columnBlockSize: number): Layout.BreakPosition;
|
|
45
|
-
/** @override */
|
|
46
|
-
startNonInlineElementNode(nodeContext: Vtree.NodeContext): boolean;
|
|
47
|
-
/** @override */
|
|
48
|
-
afterNonInlineElementNode(nodeContext: Vtree.NodeContext, stopAtOverflow: boolean): boolean;
|
|
49
|
-
/** @override */
|
|
50
|
-
clearOverflownViewNodes(column: Layout.Column, parentNodeContext: Vtree.NodeContext, nodeContext: Vtree.NodeContext, removeSelf: boolean): void;
|
|
51
|
-
/**
|
|
52
|
-
* @return holing true
|
|
53
|
-
* @override
|
|
54
|
-
*/
|
|
55
|
-
finishBreak(column: Layout.Column, nodeContext: Vtree.NodeContext, forceRemoveSelf: boolean, endOfColumn: boolean): Task.Result<boolean>;
|
|
56
|
-
}
|
|
57
|
-
export declare class BlockFormattingContext implements LayoutProcessor.BlockFormattingContext {
|
|
58
|
-
private readonly parent;
|
|
59
|
-
formattingContextType: FormattingContextType;
|
|
60
|
-
constructor(parent: Vtree.FormattingContext);
|
|
61
|
-
/** @override */
|
|
62
|
-
getName(): string;
|
|
63
|
-
/** @override */
|
|
64
|
-
isFirstTime(nodeContext: Vtree.NodeContext, firstTime: boolean): boolean;
|
|
65
|
-
/** @override */
|
|
66
|
-
getParent(): Vtree.FormattingContext;
|
|
67
|
-
/** @override */
|
|
68
|
-
saveState(): any;
|
|
69
|
-
/** @override */
|
|
70
|
-
restoreState(state: any): void;
|
|
71
|
-
}
|
|
72
|
-
export declare const blockLayoutProcessor: BlockLayoutProcessor;
|
|
73
|
-
export declare const isInstanceOfBlockFormattingContext: typeof LayoutProcessor.isInstanceOfBlockFormattingContext;
|
|
1
|
+
import * as Task from "./task";
|
|
2
|
+
import { FormattingContextType, Layout, LayoutProcessor, Vtree } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Processor doing some special layout (e.g. table layout)
|
|
5
|
+
*/
|
|
6
|
+
export interface LayoutProcessor {
|
|
7
|
+
/**
|
|
8
|
+
* Do actual layout in the column starting from given NodeContext.
|
|
9
|
+
*/
|
|
10
|
+
layout(nodeContext: Vtree.NodeContext, column: Layout.Column, leadingEdge: boolean): Task.Result<Vtree.NodeContext>;
|
|
11
|
+
/**
|
|
12
|
+
* Potential edge breaking position.
|
|
13
|
+
*/
|
|
14
|
+
createEdgeBreakPosition(position: Vtree.NodeContext, breakOnEdge: string | null, overflows: boolean, columnBlockSize: number): Layout.BreakPosition;
|
|
15
|
+
/**
|
|
16
|
+
* process nodecontext at the start of a non inline element.
|
|
17
|
+
* @return return true if you skip the subsequent nodes
|
|
18
|
+
*/
|
|
19
|
+
startNonInlineElementNode(nodeContext: Vtree.NodeContext): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* process nodecontext after a non inline element.
|
|
22
|
+
* @return return true if you skip the subsequent nodes
|
|
23
|
+
*/
|
|
24
|
+
afterNonInlineElementNode(nodeContext: Vtree.NodeContext, stopAtOverflow: boolean): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* @return holing true
|
|
27
|
+
*/
|
|
28
|
+
finishBreak(column: Layout.Column, nodeContext: Vtree.NodeContext, forceRemoveSelf: boolean, endOfColumn: boolean): Task.Result<boolean>;
|
|
29
|
+
clearOverflownViewNodes(column: Layout.Column, parentNodeContext: Vtree.NodeContext, nodeContext: Vtree.NodeContext, removeSelf: boolean): any;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Resolver finding an appropriate LayoutProcessor given a formatting context
|
|
33
|
+
*/
|
|
34
|
+
export declare class LayoutProcessorResolver {
|
|
35
|
+
/**
|
|
36
|
+
* Find LayoutProcessor corresponding to given formatting context.
|
|
37
|
+
*/
|
|
38
|
+
find(formattingContext: Vtree.FormattingContext): LayoutProcessor;
|
|
39
|
+
}
|
|
40
|
+
export declare class BlockLayoutProcessor implements LayoutProcessor {
|
|
41
|
+
/** @override */
|
|
42
|
+
layout(nodeContext: Vtree.NodeContext, column: Layout.Column, leadingEdge: boolean): Task.Result<Vtree.NodeContext>;
|
|
43
|
+
/** @override */
|
|
44
|
+
createEdgeBreakPosition(position: Vtree.NodeContext, breakOnEdge: string | null, overflows: boolean, columnBlockSize: number): Layout.BreakPosition;
|
|
45
|
+
/** @override */
|
|
46
|
+
startNonInlineElementNode(nodeContext: Vtree.NodeContext): boolean;
|
|
47
|
+
/** @override */
|
|
48
|
+
afterNonInlineElementNode(nodeContext: Vtree.NodeContext, stopAtOverflow: boolean): boolean;
|
|
49
|
+
/** @override */
|
|
50
|
+
clearOverflownViewNodes(column: Layout.Column, parentNodeContext: Vtree.NodeContext, nodeContext: Vtree.NodeContext, removeSelf: boolean): void;
|
|
51
|
+
/**
|
|
52
|
+
* @return holing true
|
|
53
|
+
* @override
|
|
54
|
+
*/
|
|
55
|
+
finishBreak(column: Layout.Column, nodeContext: Vtree.NodeContext, forceRemoveSelf: boolean, endOfColumn: boolean): Task.Result<boolean>;
|
|
56
|
+
}
|
|
57
|
+
export declare class BlockFormattingContext implements LayoutProcessor.BlockFormattingContext {
|
|
58
|
+
private readonly parent;
|
|
59
|
+
formattingContextType: FormattingContextType;
|
|
60
|
+
constructor(parent: Vtree.FormattingContext);
|
|
61
|
+
/** @override */
|
|
62
|
+
getName(): string;
|
|
63
|
+
/** @override */
|
|
64
|
+
isFirstTime(nodeContext: Vtree.NodeContext, firstTime: boolean): boolean;
|
|
65
|
+
/** @override */
|
|
66
|
+
getParent(): Vtree.FormattingContext;
|
|
67
|
+
/** @override */
|
|
68
|
+
saveState(): any;
|
|
69
|
+
/** @override */
|
|
70
|
+
restoreState(state: any): void;
|
|
71
|
+
}
|
|
72
|
+
export declare const blockLayoutProcessor: BlockLayoutProcessor;
|
|
73
|
+
export declare const isInstanceOfBlockFormattingContext: typeof LayoutProcessor.isInstanceOfBlockFormattingContext;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as Task from "./task";
|
|
2
|
-
import { Layout, Vtree } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* @abstract
|
|
5
|
-
*/
|
|
6
|
-
export declare abstract class AbstractLayoutRetryer {
|
|
7
|
-
initialBreakPositions: Layout.BreakPosition[];
|
|
8
|
-
initialStateOfFormattingContext: Vtree.NodeContext;
|
|
9
|
-
initialPosition: Vtree.NodeContext;
|
|
10
|
-
initialFragmentLayoutConstraints: Layout.FragmentLayoutConstraint[];
|
|
11
|
-
layout(nodeContext: Vtree.NodeContext, column: Layout.Column): Task.Result<Vtree.NodeContext>;
|
|
12
|
-
private tryLayout;
|
|
13
|
-
/**
|
|
14
|
-
* @abstract
|
|
15
|
-
*/
|
|
16
|
-
abstract resolveLayoutMode(nodeContext: Vtree.NodeContext): Layout.LayoutMode;
|
|
17
|
-
prepareLayout(nodeContext: Vtree.NodeContext, column: Layout.Column): void;
|
|
18
|
-
clearNodes(initialPosition: Vtree.NodeContext): void;
|
|
19
|
-
saveState(nodeContext: Vtree.NodeContext, column: Layout.Column): void;
|
|
20
|
-
restoreState(nodeContext: Vtree.NodeContext, column: Layout.Column): void;
|
|
21
|
-
}
|
|
1
|
+
import * as Task from "./task";
|
|
2
|
+
import { Layout, Vtree } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* @abstract
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class AbstractLayoutRetryer {
|
|
7
|
+
initialBreakPositions: Layout.BreakPosition[];
|
|
8
|
+
initialStateOfFormattingContext: Vtree.NodeContext;
|
|
9
|
+
initialPosition: Vtree.NodeContext;
|
|
10
|
+
initialFragmentLayoutConstraints: Layout.FragmentLayoutConstraint[];
|
|
11
|
+
layout(nodeContext: Vtree.NodeContext, column: Layout.Column): Task.Result<Vtree.NodeContext>;
|
|
12
|
+
private tryLayout;
|
|
13
|
+
/**
|
|
14
|
+
* @abstract
|
|
15
|
+
*/
|
|
16
|
+
abstract resolveLayoutMode(nodeContext: Vtree.NodeContext): Layout.LayoutMode;
|
|
17
|
+
prepareLayout(nodeContext: Vtree.NodeContext, column: Layout.Column): void;
|
|
18
|
+
clearNodes(initialPosition: Vtree.NodeContext): void;
|
|
19
|
+
saveState(nodeContext: Vtree.NodeContext, column: Layout.Column): void;
|
|
20
|
+
restoreState(nodeContext: Vtree.NodeContext, column: Layout.Column): void;
|
|
21
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import * as Task from "./task";
|
|
2
|
-
import { Layout, Vtree } from "./types";
|
|
3
|
-
export type LayoutIteratorState = {
|
|
4
|
-
nodeContext: Vtree.NodeContext;
|
|
5
|
-
atUnforcedBreak: boolean;
|
|
6
|
-
break: boolean;
|
|
7
|
-
leadingEdge?: boolean;
|
|
8
|
-
breakAtTheEdge?: string | null;
|
|
9
|
-
onStartEdges?: boolean;
|
|
10
|
-
leadingEdgeContexts?: Vtree.NodeContext[];
|
|
11
|
-
lastAfterNodeContext?: Vtree.NodeContext | null;
|
|
12
|
-
};
|
|
13
|
-
export declare class LayoutIteratorStrategy {
|
|
14
|
-
initialState(initialNodeContext: Vtree.NodeContext): LayoutIteratorState;
|
|
15
|
-
startNonDisplayableNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
16
|
-
afterNonDisplayableNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
17
|
-
startIgnoredTextNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
18
|
-
afterIgnoredTextNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
19
|
-
startNonElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
20
|
-
afterNonElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
21
|
-
startInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
22
|
-
afterInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
23
|
-
startNonInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
24
|
-
afterNonInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
25
|
-
finish(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
26
|
-
}
|
|
27
|
-
export declare class LayoutIterator {
|
|
28
|
-
private readonly strategy;
|
|
29
|
-
private readonly layoutContext;
|
|
30
|
-
constructor(strategy: LayoutIteratorStrategy, layoutContext: Vtree.LayoutContext);
|
|
31
|
-
iterate(initialNodeContext: Vtree.NodeContext): Task.Result<Vtree.NodeContext>;
|
|
32
|
-
}
|
|
33
|
-
export declare class EdgeSkipper extends LayoutIteratorStrategy {
|
|
34
|
-
protected readonly leadingEdge?: boolean;
|
|
35
|
-
constructor(leadingEdge?: boolean);
|
|
36
|
-
startNonInlineBox(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
37
|
-
endEmptyNonInlineBox(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
38
|
-
endNonInlineBox(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
39
|
-
initialState(initialNodeContext: Vtree.NodeContext): LayoutIteratorState;
|
|
40
|
-
/**
|
|
41
|
-
* @return Returns true if a forced break occurs.
|
|
42
|
-
*/
|
|
43
|
-
processForcedBreak(state: LayoutIteratorState, column: Layout.Column): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* @return Returns true if the node overflows the column.
|
|
46
|
-
*/
|
|
47
|
-
saveEdgeAndProcessOverflow(state: LayoutIteratorState, column: Layout.Column): boolean;
|
|
48
|
-
/**
|
|
49
|
-
* @returns Returns true if the layout constraint is violated.
|
|
50
|
-
*/
|
|
51
|
-
processLayoutConstraint(state: LayoutIteratorState, layoutConstraint: Layout.LayoutConstraint, column: Layout.Column): boolean;
|
|
52
|
-
startNonElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
53
|
-
startNonInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
54
|
-
afterNonInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
55
|
-
}
|
|
1
|
+
import * as Task from "./task";
|
|
2
|
+
import { Layout, Vtree } from "./types";
|
|
3
|
+
export type LayoutIteratorState = {
|
|
4
|
+
nodeContext: Vtree.NodeContext;
|
|
5
|
+
atUnforcedBreak: boolean;
|
|
6
|
+
break: boolean;
|
|
7
|
+
leadingEdge?: boolean;
|
|
8
|
+
breakAtTheEdge?: string | null;
|
|
9
|
+
onStartEdges?: boolean;
|
|
10
|
+
leadingEdgeContexts?: Vtree.NodeContext[];
|
|
11
|
+
lastAfterNodeContext?: Vtree.NodeContext | null;
|
|
12
|
+
};
|
|
13
|
+
export declare class LayoutIteratorStrategy {
|
|
14
|
+
initialState(initialNodeContext: Vtree.NodeContext): LayoutIteratorState;
|
|
15
|
+
startNonDisplayableNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
16
|
+
afterNonDisplayableNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
17
|
+
startIgnoredTextNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
18
|
+
afterIgnoredTextNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
19
|
+
startNonElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
20
|
+
afterNonElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
21
|
+
startInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
22
|
+
afterInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
23
|
+
startNonInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
24
|
+
afterNonInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
25
|
+
finish(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
26
|
+
}
|
|
27
|
+
export declare class LayoutIterator {
|
|
28
|
+
private readonly strategy;
|
|
29
|
+
private readonly layoutContext;
|
|
30
|
+
constructor(strategy: LayoutIteratorStrategy, layoutContext: Vtree.LayoutContext);
|
|
31
|
+
iterate(initialNodeContext: Vtree.NodeContext): Task.Result<Vtree.NodeContext>;
|
|
32
|
+
}
|
|
33
|
+
export declare class EdgeSkipper extends LayoutIteratorStrategy {
|
|
34
|
+
protected readonly leadingEdge?: boolean;
|
|
35
|
+
constructor(leadingEdge?: boolean);
|
|
36
|
+
startNonInlineBox(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
37
|
+
endEmptyNonInlineBox(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
38
|
+
endNonInlineBox(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
39
|
+
initialState(initialNodeContext: Vtree.NodeContext): LayoutIteratorState;
|
|
40
|
+
/**
|
|
41
|
+
* @return Returns true if a forced break occurs.
|
|
42
|
+
*/
|
|
43
|
+
processForcedBreak(state: LayoutIteratorState, column: Layout.Column): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* @return Returns true if the node overflows the column.
|
|
46
|
+
*/
|
|
47
|
+
saveEdgeAndProcessOverflow(state: LayoutIteratorState, column: Layout.Column): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* @returns Returns true if the layout constraint is violated.
|
|
50
|
+
*/
|
|
51
|
+
processLayoutConstraint(state: LayoutIteratorState, layoutConstraint: Layout.LayoutConstraint, column: Layout.Column): boolean;
|
|
52
|
+
startNonElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
53
|
+
startNonInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
54
|
+
afterNonInlineElementNode(state: LayoutIteratorState): void | Task.Result<boolean>;
|
|
55
|
+
}
|