@vivliostyle/core 2.17.0 → 2.17.1

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.
@@ -67,10 +67,7 @@ export declare function getURLParam(name: string, opt_url?: string): string | nu
67
67
  * @return new url
68
68
  */
69
69
  export declare function setURLParam(url: string, name: string, value: string): string;
70
- /**
71
- * @return ?string
72
- */
73
- export declare function asString(v: any): any;
70
+ export declare function asString(v: any): string | null;
74
71
  export interface Comparable {
75
72
  /**
76
73
  * @return -1 when this less then other, 0 when this equals other
@@ -107,9 +104,7 @@ export declare class StringBuffer {
107
104
  list: string[];
108
105
  append(str: string): StringBuffer;
109
106
  clear(): void;
110
- /**
111
- * @override
112
- */
107
+ /** @override */
113
108
  toString(): string;
114
109
  }
115
110
  export declare function escapeChar(str: string): string;
@@ -10,9 +10,7 @@ export declare abstract class AbstractBreakPosition implements Layout.AbstractBr
10
10
  current: number;
11
11
  minimum: number;
12
12
  };
13
- /**
14
- * @override
15
- */
13
+ /** @override */
16
14
  breakPositionChosen(column: Layout.Column): void;
17
15
  getNodeContext(): Vtree.NodeContext;
18
16
  }
@@ -32,17 +30,10 @@ export declare class EdgeBreakPosition extends AbstractBreakPosition implements
32
30
  protected isEdgeUpdated: boolean;
33
31
  private edge;
34
32
  constructor(position: Vtree.NodeContext, breakOnEdge: string | null, overflows: boolean, computedBlockSize: number);
35
- /**
36
- * @override
37
- */
38
33
  findAcceptableBreak(column: Layout.Column, penalty: number): Vtree.NodeContext;
39
- /**
40
- * @override
41
- */
42
34
  getMinBreakPenalty(): number;
43
35
  private updateEdge;
44
36
  private updateOverflows;
45
- /** @override */
46
37
  getNodeContext(): Vtree.NodeContext;
47
38
  private isFirstContentOfRepetitiveElementsOwner;
48
39
  }
@@ -41,9 +41,7 @@ export interface Step {
41
41
  }
42
42
  export declare class RefStep implements Step {
43
43
  appendTo(sb: Base.StringBuffer): void;
44
- /**
45
- * @override
46
- */
44
+ /** @override */
47
45
  applyTo(pos: Position): boolean;
48
46
  }
49
47
  export declare class ChildStep implements Step {
@@ -51,13 +49,9 @@ export declare class ChildStep implements Step {
51
49
  readonly id: string | null;
52
50
  readonly sideBias: string | null;
53
51
  constructor(index: number, id: string | null, sideBias: string | null);
54
- /**
55
- * @override
56
- */
52
+ /** @override */
57
53
  appendTo(sb: Base.StringBuffer): void;
58
- /**
59
- * @override
60
- */
54
+ /** @override */
61
55
  applyTo(pos: Position): boolean;
62
56
  }
63
57
  export declare class OffsetStep implements Step {
@@ -67,9 +61,7 @@ export declare class OffsetStep implements Step {
67
61
  readonly sideBias: string | null;
68
62
  constructor(offset: number, textBefore: string | null, textAfter: string | null, sideBias: string | null);
69
63
  applyTo(pos: Position): boolean;
70
- /**
71
- * @override
72
- */
64
+ /** @override */
73
65
  appendTo(sb: Base.StringBuffer): void;
74
66
  }
75
67
  export declare class Fragment {
@@ -37,37 +37,16 @@ export declare class BalanceLastColumnBalancer extends ColumnBalancer {
37
37
  originalPosition: Vtree.LayoutPosition | null;
38
38
  foundUpperBound: boolean;
39
39
  constructor(columnGenerator: ColumnGenerator, regionPageFloatLayoutContext: any, layoutContainer: Vtree.Container, columnCount: number);
40
- /**
41
- * @override
42
- */
43
40
  preBalance(layoutResult: ColumnLayoutResult): void;
44
41
  private checkPosition;
45
- /**
46
- * @override
47
- */
48
42
  calculatePenalty(layoutResult: ColumnLayoutResult): number;
49
- /**
50
- * @override
51
- */
52
43
  hasNextCandidate(candidates: ColumnBalancingTrialResult[]): boolean;
53
- /**
54
- * @override
55
- */
56
44
  updateCondition(candidates: ColumnBalancingTrialResult[]): void;
57
45
  }
58
46
  export declare class BalanceNonLastColumnBalancer extends ColumnBalancer {
59
47
  constructor(columnGenerator: ColumnGenerator, regionPageFloatLayoutContext: any, layoutContainer: Vtree.Container);
60
- /**
61
- * @override
62
- */
63
48
  calculatePenalty(layoutResult: ColumnLayoutResult): number;
64
- /**
65
- * @override
66
- */
67
49
  hasNextCandidate(candidates: ColumnBalancingTrialResult[]): boolean;
68
- /**
69
- * @override
70
- */
71
50
  updateCondition(candidates: ColumnBalancingTrialResult[]): void;
72
51
  }
73
52
  export declare function createColumnBalancer(columnCount: number, columnFill: Css.Ident, columnGenerator: ColumnGenerator, regionPageFloatLayoutContext: PageFloats.PageFloatLayoutContext, layoutContainer: Vtree.Container, columns: Layout.Column[], flowPosition: Vtree.FlowPosition): ColumnBalancer | null;