@embedpdf/plugin-annotation 1.3.12 → 1.3.13
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/preact/index.cjs +1 -1
- package/dist/preact/index.cjs.map +1 -1
- package/dist/preact/index.js +21 -5
- package/dist/preact/index.js.map +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +21 -5
- package/dist/react/index.js.map +1 -1
- package/dist/shared-preact/components/annotation-container.d.ts +2 -1
- package/dist/shared-preact/components/annotation-layer.d.ts +1 -1
- package/dist/shared-preact/components/annotations.d.ts +1 -1
- package/dist/shared-preact/components/types.d.ts +51 -0
- package/dist/shared-preact/hooks/use-annotation.d.ts +5 -1
- package/dist/shared-preact/types.d.ts +1 -50
- package/dist/shared-react/components/annotation-container.d.ts +2 -1
- package/dist/shared-react/components/annotation-layer.d.ts +1 -1
- package/dist/shared-react/components/annotations.d.ts +1 -1
- package/dist/shared-react/components/types.d.ts +51 -0
- package/dist/shared-react/hooks/use-annotation.d.ts +5 -1
- package/dist/shared-react/types.d.ts +1 -50
- package/dist/vue/components/annotation-container.vue.d.ts +48 -0
- package/dist/vue/components/annotation-layer.vue.d.ts +27 -0
- package/dist/vue/components/annotation-paint-layer.vue.d.ts +6 -0
- package/dist/vue/components/annotations/circle.vue.d.ts +19 -0
- package/dist/vue/components/annotations/free-text.vue.d.ts +12 -0
- package/dist/vue/components/annotations/index.d.ts +8 -0
- package/dist/vue/components/annotations/ink.vue.d.ts +16 -0
- package/dist/vue/components/annotations/line.vue.d.ts +22 -0
- package/dist/vue/components/annotations/polygon.vue.d.ts +24 -0
- package/dist/vue/components/annotations/polyline.vue.d.ts +19 -0
- package/dist/vue/components/annotations/square.vue.d.ts +19 -0
- package/dist/vue/components/annotations/stamp.vue.d.ts +11 -0
- package/dist/vue/components/annotations.vue.d.ts +77 -0
- package/dist/vue/components/index.d.ts +9 -0
- package/dist/vue/components/preview-renderer.vue.d.ts +7 -0
- package/dist/vue/components/render-annotation.vue.d.ts +12 -0
- package/dist/vue/components/text-markup/highlight.vue.d.ts +14 -0
- package/dist/vue/components/text-markup/index.d.ts +4 -0
- package/dist/vue/components/text-markup/squiggly.vue.d.ts +14 -0
- package/dist/vue/components/text-markup/strikeout.vue.d.ts +14 -0
- package/dist/vue/components/text-markup/underline.vue.d.ts +14 -0
- package/dist/vue/components/text-markup.vue.d.ts +6 -0
- package/dist/vue/hooks/use-annotation.d.ts +2682 -0
- package/dist/vue/index.cjs +1 -1
- package/dist/vue/index.cjs.map +1 -1
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.js +1921 -1
- package/dist/vue/index.js.map +1 -1
- package/package.json +11 -11
|
@@ -1,3 +1,2685 @@
|
|
|
1
1
|
import { AnnotationPlugin } from '../../lib/index.ts';
|
|
2
2
|
export declare const useAnnotationPlugin: () => import('@embedpdf/core/vue').PluginState<AnnotationPlugin>;
|
|
3
3
|
export declare const useAnnotationCapability: () => import('@embedpdf/core/vue').CapabilityState<Readonly<import('../../lib/index.ts').AnnotationCapability>>;
|
|
4
|
+
export declare const useAnnotation: () => {
|
|
5
|
+
state: Readonly<import('vue').Ref<{
|
|
6
|
+
readonly pages: {
|
|
7
|
+
readonly [x: number]: readonly string[];
|
|
8
|
+
};
|
|
9
|
+
readonly byUid: {
|
|
10
|
+
readonly [x: string]: {
|
|
11
|
+
readonly commitState: import('../../lib/index.ts').CommitState;
|
|
12
|
+
readonly object: {
|
|
13
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.INK;
|
|
14
|
+
readonly inkList: readonly {
|
|
15
|
+
readonly points: readonly {
|
|
16
|
+
readonly x: number;
|
|
17
|
+
readonly y: number;
|
|
18
|
+
}[];
|
|
19
|
+
}[];
|
|
20
|
+
readonly color: string;
|
|
21
|
+
readonly opacity: number;
|
|
22
|
+
readonly strokeWidth: number;
|
|
23
|
+
readonly author?: string | undefined;
|
|
24
|
+
readonly modified?: Date | undefined;
|
|
25
|
+
readonly created?: Date | undefined;
|
|
26
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
27
|
+
readonly intent?: string | undefined;
|
|
28
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
29
|
+
readonly pageIndex: number;
|
|
30
|
+
readonly contents?: string | undefined;
|
|
31
|
+
readonly id: string;
|
|
32
|
+
readonly rect: {
|
|
33
|
+
readonly origin: {
|
|
34
|
+
readonly x: number;
|
|
35
|
+
readonly y: number;
|
|
36
|
+
};
|
|
37
|
+
readonly size: {
|
|
38
|
+
readonly width: number;
|
|
39
|
+
readonly height: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
readonly custom?: any;
|
|
43
|
+
} | {
|
|
44
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.TEXT;
|
|
45
|
+
readonly contents: string;
|
|
46
|
+
readonly color?: string | undefined;
|
|
47
|
+
readonly opacity?: number | undefined;
|
|
48
|
+
readonly inReplyToId?: string | undefined;
|
|
49
|
+
readonly state?: import('@embedpdf/models').PdfAnnotationState | undefined;
|
|
50
|
+
readonly stateModel?: import('@embedpdf/models').PdfAnnotationStateModel | undefined;
|
|
51
|
+
readonly icon?: import('@embedpdf/models').PdfAnnotationIcon | undefined;
|
|
52
|
+
readonly author?: string | undefined;
|
|
53
|
+
readonly modified?: Date | undefined;
|
|
54
|
+
readonly created?: Date | undefined;
|
|
55
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
56
|
+
readonly intent?: string | undefined;
|
|
57
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
58
|
+
readonly pageIndex: number;
|
|
59
|
+
readonly id: string;
|
|
60
|
+
readonly rect: {
|
|
61
|
+
readonly origin: {
|
|
62
|
+
readonly x: number;
|
|
63
|
+
readonly y: number;
|
|
64
|
+
};
|
|
65
|
+
readonly size: {
|
|
66
|
+
readonly width: number;
|
|
67
|
+
readonly height: number;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
readonly custom?: any;
|
|
71
|
+
} | {
|
|
72
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.LINK;
|
|
73
|
+
readonly target: {
|
|
74
|
+
readonly type: "action";
|
|
75
|
+
readonly action: {
|
|
76
|
+
readonly type: import("@embedpdf/models").PdfActionType.Unsupported;
|
|
77
|
+
} | {
|
|
78
|
+
readonly type: import("@embedpdf/models").PdfActionType.Goto;
|
|
79
|
+
readonly destination: {
|
|
80
|
+
readonly pageIndex: number;
|
|
81
|
+
readonly zoom: {
|
|
82
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
83
|
+
} | {
|
|
84
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
85
|
+
readonly params: {
|
|
86
|
+
readonly x: number;
|
|
87
|
+
readonly y: number;
|
|
88
|
+
readonly zoom: number;
|
|
89
|
+
};
|
|
90
|
+
} | {
|
|
91
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
92
|
+
} | {
|
|
93
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
94
|
+
} | {
|
|
95
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
96
|
+
} | {
|
|
97
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
98
|
+
} | {
|
|
99
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
100
|
+
} | {
|
|
101
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
102
|
+
} | {
|
|
103
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
104
|
+
};
|
|
105
|
+
readonly view: readonly number[];
|
|
106
|
+
};
|
|
107
|
+
} | {
|
|
108
|
+
readonly type: import("@embedpdf/models").PdfActionType.RemoteGoto;
|
|
109
|
+
readonly destination: {
|
|
110
|
+
readonly pageIndex: number;
|
|
111
|
+
readonly zoom: {
|
|
112
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
113
|
+
} | {
|
|
114
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
115
|
+
readonly params: {
|
|
116
|
+
readonly x: number;
|
|
117
|
+
readonly y: number;
|
|
118
|
+
readonly zoom: number;
|
|
119
|
+
};
|
|
120
|
+
} | {
|
|
121
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
122
|
+
} | {
|
|
123
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
124
|
+
} | {
|
|
125
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
126
|
+
} | {
|
|
127
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
128
|
+
} | {
|
|
129
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
130
|
+
} | {
|
|
131
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
132
|
+
} | {
|
|
133
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
134
|
+
};
|
|
135
|
+
readonly view: readonly number[];
|
|
136
|
+
};
|
|
137
|
+
} | {
|
|
138
|
+
readonly type: import("@embedpdf/models").PdfActionType.URI;
|
|
139
|
+
readonly uri: string;
|
|
140
|
+
} | {
|
|
141
|
+
readonly type: import("@embedpdf/models").PdfActionType.LaunchAppOrOpenFile;
|
|
142
|
+
readonly path: string;
|
|
143
|
+
};
|
|
144
|
+
} | {
|
|
145
|
+
readonly type: "destination";
|
|
146
|
+
readonly destination: {
|
|
147
|
+
readonly pageIndex: number;
|
|
148
|
+
readonly zoom: {
|
|
149
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
150
|
+
} | {
|
|
151
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
152
|
+
readonly params: {
|
|
153
|
+
readonly x: number;
|
|
154
|
+
readonly y: number;
|
|
155
|
+
readonly zoom: number;
|
|
156
|
+
};
|
|
157
|
+
} | {
|
|
158
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
159
|
+
} | {
|
|
160
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
161
|
+
} | {
|
|
162
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
163
|
+
} | {
|
|
164
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
165
|
+
} | {
|
|
166
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
167
|
+
} | {
|
|
168
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
169
|
+
} | {
|
|
170
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
171
|
+
};
|
|
172
|
+
readonly view: readonly number[];
|
|
173
|
+
};
|
|
174
|
+
} | undefined;
|
|
175
|
+
readonly author?: string | undefined;
|
|
176
|
+
readonly modified?: Date | undefined;
|
|
177
|
+
readonly created?: Date | undefined;
|
|
178
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
179
|
+
readonly intent?: string | undefined;
|
|
180
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
181
|
+
readonly pageIndex: number;
|
|
182
|
+
readonly contents?: string | undefined;
|
|
183
|
+
readonly id: string;
|
|
184
|
+
readonly rect: {
|
|
185
|
+
readonly origin: {
|
|
186
|
+
readonly x: number;
|
|
187
|
+
readonly y: number;
|
|
188
|
+
};
|
|
189
|
+
readonly size: {
|
|
190
|
+
readonly width: number;
|
|
191
|
+
readonly height: number;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
readonly custom?: any;
|
|
195
|
+
} | {
|
|
196
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.POLYGON;
|
|
197
|
+
readonly contents?: string | undefined;
|
|
198
|
+
readonly vertices: readonly {
|
|
199
|
+
readonly x: number;
|
|
200
|
+
readonly y: number;
|
|
201
|
+
}[];
|
|
202
|
+
readonly color: string;
|
|
203
|
+
readonly opacity: number;
|
|
204
|
+
readonly strokeWidth: number;
|
|
205
|
+
readonly strokeColor: string;
|
|
206
|
+
readonly strokeStyle: import('@embedpdf/models').PdfAnnotationBorderStyle;
|
|
207
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
208
|
+
readonly author?: string | undefined;
|
|
209
|
+
readonly modified?: Date | undefined;
|
|
210
|
+
readonly created?: Date | undefined;
|
|
211
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
212
|
+
readonly intent?: string | undefined;
|
|
213
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
214
|
+
readonly pageIndex: number;
|
|
215
|
+
readonly id: string;
|
|
216
|
+
readonly rect: {
|
|
217
|
+
readonly origin: {
|
|
218
|
+
readonly x: number;
|
|
219
|
+
readonly y: number;
|
|
220
|
+
};
|
|
221
|
+
readonly size: {
|
|
222
|
+
readonly width: number;
|
|
223
|
+
readonly height: number;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
readonly custom?: any;
|
|
227
|
+
} | {
|
|
228
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.POLYLINE;
|
|
229
|
+
readonly contents?: string | undefined;
|
|
230
|
+
readonly lineEndings?: {
|
|
231
|
+
readonly start: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
232
|
+
readonly end: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
233
|
+
} | undefined;
|
|
234
|
+
readonly vertices: readonly {
|
|
235
|
+
readonly x: number;
|
|
236
|
+
readonly y: number;
|
|
237
|
+
}[];
|
|
238
|
+
readonly color: string;
|
|
239
|
+
readonly opacity: number;
|
|
240
|
+
readonly strokeWidth: number;
|
|
241
|
+
readonly strokeColor: string;
|
|
242
|
+
readonly strokeStyle: import('@embedpdf/models').PdfAnnotationBorderStyle;
|
|
243
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
244
|
+
readonly author?: string | undefined;
|
|
245
|
+
readonly modified?: Date | undefined;
|
|
246
|
+
readonly created?: Date | undefined;
|
|
247
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
248
|
+
readonly intent?: string | undefined;
|
|
249
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
250
|
+
readonly pageIndex: number;
|
|
251
|
+
readonly id: string;
|
|
252
|
+
readonly rect: {
|
|
253
|
+
readonly origin: {
|
|
254
|
+
readonly x: number;
|
|
255
|
+
readonly y: number;
|
|
256
|
+
};
|
|
257
|
+
readonly size: {
|
|
258
|
+
readonly width: number;
|
|
259
|
+
readonly height: number;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
readonly custom?: any;
|
|
263
|
+
} | {
|
|
264
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.HIGHLIGHT;
|
|
265
|
+
readonly contents?: string | undefined;
|
|
266
|
+
readonly color: string;
|
|
267
|
+
readonly opacity: number;
|
|
268
|
+
readonly segmentRects: readonly {
|
|
269
|
+
readonly origin: {
|
|
270
|
+
readonly x: number;
|
|
271
|
+
readonly y: number;
|
|
272
|
+
};
|
|
273
|
+
readonly size: {
|
|
274
|
+
readonly width: number;
|
|
275
|
+
readonly height: number;
|
|
276
|
+
};
|
|
277
|
+
}[];
|
|
278
|
+
readonly author?: string | undefined;
|
|
279
|
+
readonly modified?: Date | undefined;
|
|
280
|
+
readonly created?: Date | undefined;
|
|
281
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
282
|
+
readonly intent?: string | undefined;
|
|
283
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
284
|
+
readonly pageIndex: number;
|
|
285
|
+
readonly id: string;
|
|
286
|
+
readonly rect: {
|
|
287
|
+
readonly origin: {
|
|
288
|
+
readonly x: number;
|
|
289
|
+
readonly y: number;
|
|
290
|
+
};
|
|
291
|
+
readonly size: {
|
|
292
|
+
readonly width: number;
|
|
293
|
+
readonly height: number;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
readonly custom?: any;
|
|
297
|
+
} | {
|
|
298
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.LINE;
|
|
299
|
+
readonly contents?: string | undefined;
|
|
300
|
+
readonly linePoints: {
|
|
301
|
+
readonly start: {
|
|
302
|
+
readonly x: number;
|
|
303
|
+
readonly y: number;
|
|
304
|
+
};
|
|
305
|
+
readonly end: {
|
|
306
|
+
readonly x: number;
|
|
307
|
+
readonly y: number;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
readonly lineEndings?: {
|
|
311
|
+
readonly start: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
312
|
+
readonly end: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
313
|
+
} | undefined;
|
|
314
|
+
readonly color: string;
|
|
315
|
+
readonly opacity: number;
|
|
316
|
+
readonly strokeWidth: number;
|
|
317
|
+
readonly strokeColor: string;
|
|
318
|
+
readonly strokeStyle: import('@embedpdf/models').PdfAnnotationBorderStyle;
|
|
319
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
320
|
+
readonly author?: string | undefined;
|
|
321
|
+
readonly modified?: Date | undefined;
|
|
322
|
+
readonly created?: Date | undefined;
|
|
323
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
324
|
+
readonly intent?: string | undefined;
|
|
325
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
326
|
+
readonly pageIndex: number;
|
|
327
|
+
readonly id: string;
|
|
328
|
+
readonly rect: {
|
|
329
|
+
readonly origin: {
|
|
330
|
+
readonly x: number;
|
|
331
|
+
readonly y: number;
|
|
332
|
+
};
|
|
333
|
+
readonly size: {
|
|
334
|
+
readonly width: number;
|
|
335
|
+
readonly height: number;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
readonly custom?: any;
|
|
339
|
+
} | {
|
|
340
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.WIDGET;
|
|
341
|
+
readonly field: {
|
|
342
|
+
readonly flag: import('@embedpdf/models').PDF_FORM_FIELD_FLAG;
|
|
343
|
+
readonly name: string;
|
|
344
|
+
readonly alternateName: string;
|
|
345
|
+
readonly type: import('@embedpdf/models').PDF_FORM_FIELD_TYPE;
|
|
346
|
+
readonly value: string;
|
|
347
|
+
readonly isChecked: boolean;
|
|
348
|
+
readonly options: readonly {
|
|
349
|
+
readonly label: string;
|
|
350
|
+
readonly isSelected: boolean;
|
|
351
|
+
}[];
|
|
352
|
+
};
|
|
353
|
+
readonly author?: string | undefined;
|
|
354
|
+
readonly modified?: Date | undefined;
|
|
355
|
+
readonly created?: Date | undefined;
|
|
356
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
357
|
+
readonly intent?: string | undefined;
|
|
358
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
359
|
+
readonly pageIndex: number;
|
|
360
|
+
readonly contents?: string | undefined;
|
|
361
|
+
readonly id: string;
|
|
362
|
+
readonly rect: {
|
|
363
|
+
readonly origin: {
|
|
364
|
+
readonly x: number;
|
|
365
|
+
readonly y: number;
|
|
366
|
+
};
|
|
367
|
+
readonly size: {
|
|
368
|
+
readonly width: number;
|
|
369
|
+
readonly height: number;
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
readonly custom?: any;
|
|
373
|
+
} | {
|
|
374
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.FILEATTACHMENT;
|
|
375
|
+
readonly author?: string | undefined;
|
|
376
|
+
readonly modified?: Date | undefined;
|
|
377
|
+
readonly created?: Date | undefined;
|
|
378
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
379
|
+
readonly intent?: string | undefined;
|
|
380
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
381
|
+
readonly pageIndex: number;
|
|
382
|
+
readonly contents?: string | undefined;
|
|
383
|
+
readonly id: string;
|
|
384
|
+
readonly rect: {
|
|
385
|
+
readonly origin: {
|
|
386
|
+
readonly x: number;
|
|
387
|
+
readonly y: number;
|
|
388
|
+
};
|
|
389
|
+
readonly size: {
|
|
390
|
+
readonly width: number;
|
|
391
|
+
readonly height: number;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
readonly custom?: any;
|
|
395
|
+
} | {
|
|
396
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.STAMP;
|
|
397
|
+
readonly icon?: import('@embedpdf/models').PdfAnnotationIcon | undefined;
|
|
398
|
+
readonly subject?: string | undefined;
|
|
399
|
+
readonly author?: string | undefined;
|
|
400
|
+
readonly modified?: Date | undefined;
|
|
401
|
+
readonly created?: Date | undefined;
|
|
402
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
403
|
+
readonly intent?: string | undefined;
|
|
404
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
405
|
+
readonly pageIndex: number;
|
|
406
|
+
readonly contents?: string | undefined;
|
|
407
|
+
readonly id: string;
|
|
408
|
+
readonly rect: {
|
|
409
|
+
readonly origin: {
|
|
410
|
+
readonly x: number;
|
|
411
|
+
readonly y: number;
|
|
412
|
+
};
|
|
413
|
+
readonly size: {
|
|
414
|
+
readonly width: number;
|
|
415
|
+
readonly height: number;
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
readonly custom?: any;
|
|
419
|
+
} | {
|
|
420
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.SQUARE;
|
|
421
|
+
readonly contents?: string | undefined;
|
|
422
|
+
readonly flags: readonly import('@embedpdf/models').PdfAnnotationFlagName[];
|
|
423
|
+
readonly color: string;
|
|
424
|
+
readonly opacity: number;
|
|
425
|
+
readonly strokeWidth: number;
|
|
426
|
+
readonly strokeColor: string;
|
|
427
|
+
readonly strokeStyle: import('@embedpdf/models').PdfAnnotationBorderStyle;
|
|
428
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
429
|
+
readonly cloudyBorderIntensity?: number | undefined;
|
|
430
|
+
readonly cloudyBorderInset?: readonly number[] | undefined;
|
|
431
|
+
readonly author?: string | undefined;
|
|
432
|
+
readonly modified?: Date | undefined;
|
|
433
|
+
readonly created?: Date | undefined;
|
|
434
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
435
|
+
readonly intent?: string | undefined;
|
|
436
|
+
readonly pageIndex: number;
|
|
437
|
+
readonly id: string;
|
|
438
|
+
readonly rect: {
|
|
439
|
+
readonly origin: {
|
|
440
|
+
readonly x: number;
|
|
441
|
+
readonly y: number;
|
|
442
|
+
};
|
|
443
|
+
readonly size: {
|
|
444
|
+
readonly width: number;
|
|
445
|
+
readonly height: number;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
readonly custom?: any;
|
|
449
|
+
} | {
|
|
450
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.CIRCLE;
|
|
451
|
+
readonly flags: readonly import('@embedpdf/models').PdfAnnotationFlagName[];
|
|
452
|
+
readonly contents?: string | undefined;
|
|
453
|
+
readonly color: string;
|
|
454
|
+
readonly opacity: number;
|
|
455
|
+
readonly strokeWidth: number;
|
|
456
|
+
readonly strokeColor: string;
|
|
457
|
+
readonly strokeStyle: import('@embedpdf/models').PdfAnnotationBorderStyle;
|
|
458
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
459
|
+
readonly cloudyBorderIntensity?: number | undefined;
|
|
460
|
+
readonly cloudyBorderInset?: readonly number[] | undefined;
|
|
461
|
+
readonly author?: string | undefined;
|
|
462
|
+
readonly modified?: Date | undefined;
|
|
463
|
+
readonly created?: Date | undefined;
|
|
464
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
465
|
+
readonly intent?: string | undefined;
|
|
466
|
+
readonly pageIndex: number;
|
|
467
|
+
readonly id: string;
|
|
468
|
+
readonly rect: {
|
|
469
|
+
readonly origin: {
|
|
470
|
+
readonly x: number;
|
|
471
|
+
readonly y: number;
|
|
472
|
+
};
|
|
473
|
+
readonly size: {
|
|
474
|
+
readonly width: number;
|
|
475
|
+
readonly height: number;
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
readonly custom?: any;
|
|
479
|
+
} | {
|
|
480
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.SQUIGGLY;
|
|
481
|
+
readonly contents?: string | undefined;
|
|
482
|
+
readonly color: string;
|
|
483
|
+
readonly opacity: number;
|
|
484
|
+
readonly segmentRects: readonly {
|
|
485
|
+
readonly origin: {
|
|
486
|
+
readonly x: number;
|
|
487
|
+
readonly y: number;
|
|
488
|
+
};
|
|
489
|
+
readonly size: {
|
|
490
|
+
readonly width: number;
|
|
491
|
+
readonly height: number;
|
|
492
|
+
};
|
|
493
|
+
}[];
|
|
494
|
+
readonly author?: string | undefined;
|
|
495
|
+
readonly modified?: Date | undefined;
|
|
496
|
+
readonly created?: Date | undefined;
|
|
497
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
498
|
+
readonly intent?: string | undefined;
|
|
499
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
500
|
+
readonly pageIndex: number;
|
|
501
|
+
readonly id: string;
|
|
502
|
+
readonly rect: {
|
|
503
|
+
readonly origin: {
|
|
504
|
+
readonly x: number;
|
|
505
|
+
readonly y: number;
|
|
506
|
+
};
|
|
507
|
+
readonly size: {
|
|
508
|
+
readonly width: number;
|
|
509
|
+
readonly height: number;
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
readonly custom?: any;
|
|
513
|
+
} | {
|
|
514
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.UNDERLINE;
|
|
515
|
+
readonly contents?: string | undefined;
|
|
516
|
+
readonly color: string;
|
|
517
|
+
readonly opacity: number;
|
|
518
|
+
readonly segmentRects: readonly {
|
|
519
|
+
readonly origin: {
|
|
520
|
+
readonly x: number;
|
|
521
|
+
readonly y: number;
|
|
522
|
+
};
|
|
523
|
+
readonly size: {
|
|
524
|
+
readonly width: number;
|
|
525
|
+
readonly height: number;
|
|
526
|
+
};
|
|
527
|
+
}[];
|
|
528
|
+
readonly author?: string | undefined;
|
|
529
|
+
readonly modified?: Date | undefined;
|
|
530
|
+
readonly created?: Date | undefined;
|
|
531
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
532
|
+
readonly intent?: string | undefined;
|
|
533
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
534
|
+
readonly pageIndex: number;
|
|
535
|
+
readonly id: string;
|
|
536
|
+
readonly rect: {
|
|
537
|
+
readonly origin: {
|
|
538
|
+
readonly x: number;
|
|
539
|
+
readonly y: number;
|
|
540
|
+
};
|
|
541
|
+
readonly size: {
|
|
542
|
+
readonly width: number;
|
|
543
|
+
readonly height: number;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
readonly custom?: any;
|
|
547
|
+
} | {
|
|
548
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.STRIKEOUT;
|
|
549
|
+
readonly contents?: string | undefined;
|
|
550
|
+
readonly color: string;
|
|
551
|
+
readonly opacity: number;
|
|
552
|
+
readonly segmentRects: readonly {
|
|
553
|
+
readonly origin: {
|
|
554
|
+
readonly x: number;
|
|
555
|
+
readonly y: number;
|
|
556
|
+
};
|
|
557
|
+
readonly size: {
|
|
558
|
+
readonly width: number;
|
|
559
|
+
readonly height: number;
|
|
560
|
+
};
|
|
561
|
+
}[];
|
|
562
|
+
readonly author?: string | undefined;
|
|
563
|
+
readonly modified?: Date | undefined;
|
|
564
|
+
readonly created?: Date | undefined;
|
|
565
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
566
|
+
readonly intent?: string | undefined;
|
|
567
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
568
|
+
readonly pageIndex: number;
|
|
569
|
+
readonly id: string;
|
|
570
|
+
readonly rect: {
|
|
571
|
+
readonly origin: {
|
|
572
|
+
readonly x: number;
|
|
573
|
+
readonly y: number;
|
|
574
|
+
};
|
|
575
|
+
readonly size: {
|
|
576
|
+
readonly width: number;
|
|
577
|
+
readonly height: number;
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
readonly custom?: any;
|
|
581
|
+
} | {
|
|
582
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.CARET;
|
|
583
|
+
readonly author?: string | undefined;
|
|
584
|
+
readonly modified?: Date | undefined;
|
|
585
|
+
readonly created?: Date | undefined;
|
|
586
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
587
|
+
readonly intent?: string | undefined;
|
|
588
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
589
|
+
readonly pageIndex: number;
|
|
590
|
+
readonly contents?: string | undefined;
|
|
591
|
+
readonly id: string;
|
|
592
|
+
readonly rect: {
|
|
593
|
+
readonly origin: {
|
|
594
|
+
readonly x: number;
|
|
595
|
+
readonly y: number;
|
|
596
|
+
};
|
|
597
|
+
readonly size: {
|
|
598
|
+
readonly width: number;
|
|
599
|
+
readonly height: number;
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
readonly custom?: any;
|
|
603
|
+
} | {
|
|
604
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.FREETEXT;
|
|
605
|
+
readonly contents: string;
|
|
606
|
+
readonly fontFamily: import('@embedpdf/models').PdfStandardFont;
|
|
607
|
+
readonly fontSize: number;
|
|
608
|
+
readonly fontColor: string;
|
|
609
|
+
readonly textAlign: import('@embedpdf/models').PdfTextAlignment;
|
|
610
|
+
readonly verticalAlign: import('@embedpdf/models').PdfVerticalAlignment;
|
|
611
|
+
readonly opacity: number;
|
|
612
|
+
readonly backgroundColor?: string | undefined;
|
|
613
|
+
readonly defaultStyle?: string | undefined;
|
|
614
|
+
readonly richContent?: string | undefined;
|
|
615
|
+
readonly author?: string | undefined;
|
|
616
|
+
readonly modified?: Date | undefined;
|
|
617
|
+
readonly created?: Date | undefined;
|
|
618
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
619
|
+
readonly intent?: string | undefined;
|
|
620
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
621
|
+
readonly pageIndex: number;
|
|
622
|
+
readonly id: string;
|
|
623
|
+
readonly rect: {
|
|
624
|
+
readonly origin: {
|
|
625
|
+
readonly x: number;
|
|
626
|
+
readonly y: number;
|
|
627
|
+
};
|
|
628
|
+
readonly size: {
|
|
629
|
+
readonly width: number;
|
|
630
|
+
readonly height: number;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
readonly custom?: any;
|
|
634
|
+
} | {
|
|
635
|
+
readonly type: Exclude<import('@embedpdf/models').PdfAnnotationSubtype, import('@embedpdf/models').PdfSupportedAnnoObject["type"]>;
|
|
636
|
+
readonly author?: string | undefined;
|
|
637
|
+
readonly modified?: Date | undefined;
|
|
638
|
+
readonly created?: Date | undefined;
|
|
639
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
640
|
+
readonly intent?: string | undefined;
|
|
641
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
642
|
+
readonly pageIndex: number;
|
|
643
|
+
readonly contents?: string | undefined;
|
|
644
|
+
readonly id: string;
|
|
645
|
+
readonly rect: {
|
|
646
|
+
readonly origin: {
|
|
647
|
+
readonly x: number;
|
|
648
|
+
readonly y: number;
|
|
649
|
+
};
|
|
650
|
+
readonly size: {
|
|
651
|
+
readonly width: number;
|
|
652
|
+
readonly height: number;
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
readonly custom?: any;
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
readonly selectedUid: string | null;
|
|
660
|
+
readonly activeToolId: string | null;
|
|
661
|
+
readonly tools: readonly {
|
|
662
|
+
readonly id: string;
|
|
663
|
+
readonly name: string;
|
|
664
|
+
readonly matchScore: (annotation: import('@embedpdf/models').PdfAnnotationObject) => number;
|
|
665
|
+
readonly defaults: {
|
|
666
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.INK | undefined;
|
|
667
|
+
readonly inkList?: readonly {
|
|
668
|
+
readonly points: readonly {
|
|
669
|
+
readonly x: number;
|
|
670
|
+
readonly y: number;
|
|
671
|
+
}[];
|
|
672
|
+
}[] | undefined;
|
|
673
|
+
readonly color?: string | undefined;
|
|
674
|
+
readonly opacity?: number | undefined;
|
|
675
|
+
readonly strokeWidth?: number | undefined;
|
|
676
|
+
readonly author?: string | undefined;
|
|
677
|
+
readonly modified?: Date | undefined;
|
|
678
|
+
readonly created?: Date | undefined;
|
|
679
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
680
|
+
readonly intent?: string | undefined;
|
|
681
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
682
|
+
readonly pageIndex?: number | undefined;
|
|
683
|
+
readonly contents?: string | undefined;
|
|
684
|
+
readonly id?: string | undefined;
|
|
685
|
+
readonly rect?: {
|
|
686
|
+
readonly origin: {
|
|
687
|
+
readonly x: number;
|
|
688
|
+
readonly y: number;
|
|
689
|
+
};
|
|
690
|
+
readonly size: {
|
|
691
|
+
readonly width: number;
|
|
692
|
+
readonly height: number;
|
|
693
|
+
};
|
|
694
|
+
} | undefined;
|
|
695
|
+
readonly custom?: any;
|
|
696
|
+
} | {
|
|
697
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.TEXT | undefined;
|
|
698
|
+
readonly contents?: string | undefined;
|
|
699
|
+
readonly color?: string | undefined;
|
|
700
|
+
readonly opacity?: number | undefined;
|
|
701
|
+
readonly inReplyToId?: string | undefined;
|
|
702
|
+
readonly state?: import('@embedpdf/models').PdfAnnotationState | undefined;
|
|
703
|
+
readonly stateModel?: import('@embedpdf/models').PdfAnnotationStateModel | undefined;
|
|
704
|
+
readonly icon?: import('@embedpdf/models').PdfAnnotationIcon | undefined;
|
|
705
|
+
readonly author?: string | undefined;
|
|
706
|
+
readonly modified?: Date | undefined;
|
|
707
|
+
readonly created?: Date | undefined;
|
|
708
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
709
|
+
readonly intent?: string | undefined;
|
|
710
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
711
|
+
readonly pageIndex?: number | undefined;
|
|
712
|
+
readonly id?: string | undefined;
|
|
713
|
+
readonly rect?: {
|
|
714
|
+
readonly origin: {
|
|
715
|
+
readonly x: number;
|
|
716
|
+
readonly y: number;
|
|
717
|
+
};
|
|
718
|
+
readonly size: {
|
|
719
|
+
readonly width: number;
|
|
720
|
+
readonly height: number;
|
|
721
|
+
};
|
|
722
|
+
} | undefined;
|
|
723
|
+
readonly custom?: any;
|
|
724
|
+
} | {
|
|
725
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.LINK | undefined;
|
|
726
|
+
readonly target?: {
|
|
727
|
+
readonly type: "action";
|
|
728
|
+
readonly action: {
|
|
729
|
+
readonly type: import("@embedpdf/models").PdfActionType.Unsupported;
|
|
730
|
+
} | {
|
|
731
|
+
readonly type: import("@embedpdf/models").PdfActionType.Goto;
|
|
732
|
+
readonly destination: {
|
|
733
|
+
readonly pageIndex: number;
|
|
734
|
+
readonly zoom: {
|
|
735
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
736
|
+
} | {
|
|
737
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
738
|
+
readonly params: {
|
|
739
|
+
readonly x: number;
|
|
740
|
+
readonly y: number;
|
|
741
|
+
readonly zoom: number;
|
|
742
|
+
};
|
|
743
|
+
} | {
|
|
744
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
745
|
+
} | {
|
|
746
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
747
|
+
} | {
|
|
748
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
749
|
+
} | {
|
|
750
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
751
|
+
} | {
|
|
752
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
753
|
+
} | {
|
|
754
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
755
|
+
} | {
|
|
756
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
757
|
+
};
|
|
758
|
+
readonly view: readonly number[];
|
|
759
|
+
};
|
|
760
|
+
} | {
|
|
761
|
+
readonly type: import("@embedpdf/models").PdfActionType.RemoteGoto;
|
|
762
|
+
readonly destination: {
|
|
763
|
+
readonly pageIndex: number;
|
|
764
|
+
readonly zoom: {
|
|
765
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
766
|
+
} | {
|
|
767
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
768
|
+
readonly params: {
|
|
769
|
+
readonly x: number;
|
|
770
|
+
readonly y: number;
|
|
771
|
+
readonly zoom: number;
|
|
772
|
+
};
|
|
773
|
+
} | {
|
|
774
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
775
|
+
} | {
|
|
776
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
777
|
+
} | {
|
|
778
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
779
|
+
} | {
|
|
780
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
781
|
+
} | {
|
|
782
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
783
|
+
} | {
|
|
784
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
785
|
+
} | {
|
|
786
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
787
|
+
};
|
|
788
|
+
readonly view: readonly number[];
|
|
789
|
+
};
|
|
790
|
+
} | {
|
|
791
|
+
readonly type: import("@embedpdf/models").PdfActionType.URI;
|
|
792
|
+
readonly uri: string;
|
|
793
|
+
} | {
|
|
794
|
+
readonly type: import("@embedpdf/models").PdfActionType.LaunchAppOrOpenFile;
|
|
795
|
+
readonly path: string;
|
|
796
|
+
};
|
|
797
|
+
} | {
|
|
798
|
+
readonly type: "destination";
|
|
799
|
+
readonly destination: {
|
|
800
|
+
readonly pageIndex: number;
|
|
801
|
+
readonly zoom: {
|
|
802
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
803
|
+
} | {
|
|
804
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
805
|
+
readonly params: {
|
|
806
|
+
readonly x: number;
|
|
807
|
+
readonly y: number;
|
|
808
|
+
readonly zoom: number;
|
|
809
|
+
};
|
|
810
|
+
} | {
|
|
811
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
812
|
+
} | {
|
|
813
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
814
|
+
} | {
|
|
815
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
816
|
+
} | {
|
|
817
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
818
|
+
} | {
|
|
819
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
820
|
+
} | {
|
|
821
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
822
|
+
} | {
|
|
823
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
824
|
+
};
|
|
825
|
+
readonly view: readonly number[];
|
|
826
|
+
};
|
|
827
|
+
} | undefined;
|
|
828
|
+
readonly author?: string | undefined;
|
|
829
|
+
readonly modified?: Date | undefined;
|
|
830
|
+
readonly created?: Date | undefined;
|
|
831
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
832
|
+
readonly intent?: string | undefined;
|
|
833
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
834
|
+
readonly pageIndex?: number | undefined;
|
|
835
|
+
readonly contents?: string | undefined;
|
|
836
|
+
readonly id?: string | undefined;
|
|
837
|
+
readonly rect?: {
|
|
838
|
+
readonly origin: {
|
|
839
|
+
readonly x: number;
|
|
840
|
+
readonly y: number;
|
|
841
|
+
};
|
|
842
|
+
readonly size: {
|
|
843
|
+
readonly width: number;
|
|
844
|
+
readonly height: number;
|
|
845
|
+
};
|
|
846
|
+
} | undefined;
|
|
847
|
+
readonly custom?: any;
|
|
848
|
+
} | {
|
|
849
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.POLYGON | undefined;
|
|
850
|
+
readonly contents?: string | undefined;
|
|
851
|
+
readonly vertices?: readonly {
|
|
852
|
+
readonly x: number;
|
|
853
|
+
readonly y: number;
|
|
854
|
+
}[] | undefined;
|
|
855
|
+
readonly color?: string | undefined;
|
|
856
|
+
readonly opacity?: number | undefined;
|
|
857
|
+
readonly strokeWidth?: number | undefined;
|
|
858
|
+
readonly strokeColor?: string | undefined;
|
|
859
|
+
readonly strokeStyle?: import('@embedpdf/models').PdfAnnotationBorderStyle | undefined;
|
|
860
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
861
|
+
readonly author?: string | undefined;
|
|
862
|
+
readonly modified?: Date | undefined;
|
|
863
|
+
readonly created?: Date | undefined;
|
|
864
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
865
|
+
readonly intent?: string | undefined;
|
|
866
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
867
|
+
readonly pageIndex?: number | undefined;
|
|
868
|
+
readonly id?: string | undefined;
|
|
869
|
+
readonly rect?: {
|
|
870
|
+
readonly origin: {
|
|
871
|
+
readonly x: number;
|
|
872
|
+
readonly y: number;
|
|
873
|
+
};
|
|
874
|
+
readonly size: {
|
|
875
|
+
readonly width: number;
|
|
876
|
+
readonly height: number;
|
|
877
|
+
};
|
|
878
|
+
} | undefined;
|
|
879
|
+
readonly custom?: any;
|
|
880
|
+
} | {
|
|
881
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.POLYLINE | undefined;
|
|
882
|
+
readonly contents?: string | undefined;
|
|
883
|
+
readonly lineEndings?: {
|
|
884
|
+
readonly start: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
885
|
+
readonly end: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
886
|
+
} | undefined;
|
|
887
|
+
readonly vertices?: readonly {
|
|
888
|
+
readonly x: number;
|
|
889
|
+
readonly y: number;
|
|
890
|
+
}[] | undefined;
|
|
891
|
+
readonly color?: string | undefined;
|
|
892
|
+
readonly opacity?: number | undefined;
|
|
893
|
+
readonly strokeWidth?: number | undefined;
|
|
894
|
+
readonly strokeColor?: string | undefined;
|
|
895
|
+
readonly strokeStyle?: import('@embedpdf/models').PdfAnnotationBorderStyle | undefined;
|
|
896
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
897
|
+
readonly author?: string | undefined;
|
|
898
|
+
readonly modified?: Date | undefined;
|
|
899
|
+
readonly created?: Date | undefined;
|
|
900
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
901
|
+
readonly intent?: string | undefined;
|
|
902
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
903
|
+
readonly pageIndex?: number | undefined;
|
|
904
|
+
readonly id?: string | undefined;
|
|
905
|
+
readonly rect?: {
|
|
906
|
+
readonly origin: {
|
|
907
|
+
readonly x: number;
|
|
908
|
+
readonly y: number;
|
|
909
|
+
};
|
|
910
|
+
readonly size: {
|
|
911
|
+
readonly width: number;
|
|
912
|
+
readonly height: number;
|
|
913
|
+
};
|
|
914
|
+
} | undefined;
|
|
915
|
+
readonly custom?: any;
|
|
916
|
+
} | {
|
|
917
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.HIGHLIGHT | undefined;
|
|
918
|
+
readonly contents?: string | undefined;
|
|
919
|
+
readonly color?: string | undefined;
|
|
920
|
+
readonly opacity?: number | undefined;
|
|
921
|
+
readonly segmentRects?: readonly {
|
|
922
|
+
readonly origin: {
|
|
923
|
+
readonly x: number;
|
|
924
|
+
readonly y: number;
|
|
925
|
+
};
|
|
926
|
+
readonly size: {
|
|
927
|
+
readonly width: number;
|
|
928
|
+
readonly height: number;
|
|
929
|
+
};
|
|
930
|
+
}[] | undefined;
|
|
931
|
+
readonly author?: string | undefined;
|
|
932
|
+
readonly modified?: Date | undefined;
|
|
933
|
+
readonly created?: Date | undefined;
|
|
934
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
935
|
+
readonly intent?: string | undefined;
|
|
936
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
937
|
+
readonly pageIndex?: number | undefined;
|
|
938
|
+
readonly id?: string | undefined;
|
|
939
|
+
readonly rect?: {
|
|
940
|
+
readonly origin: {
|
|
941
|
+
readonly x: number;
|
|
942
|
+
readonly y: number;
|
|
943
|
+
};
|
|
944
|
+
readonly size: {
|
|
945
|
+
readonly width: number;
|
|
946
|
+
readonly height: number;
|
|
947
|
+
};
|
|
948
|
+
} | undefined;
|
|
949
|
+
readonly custom?: any;
|
|
950
|
+
} | {
|
|
951
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.LINE | undefined;
|
|
952
|
+
readonly contents?: string | undefined;
|
|
953
|
+
readonly linePoints?: {
|
|
954
|
+
readonly start: {
|
|
955
|
+
readonly x: number;
|
|
956
|
+
readonly y: number;
|
|
957
|
+
};
|
|
958
|
+
readonly end: {
|
|
959
|
+
readonly x: number;
|
|
960
|
+
readonly y: number;
|
|
961
|
+
};
|
|
962
|
+
} | undefined;
|
|
963
|
+
readonly lineEndings?: {
|
|
964
|
+
readonly start: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
965
|
+
readonly end: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
966
|
+
} | undefined;
|
|
967
|
+
readonly color?: string | undefined;
|
|
968
|
+
readonly opacity?: number | undefined;
|
|
969
|
+
readonly strokeWidth?: number | undefined;
|
|
970
|
+
readonly strokeColor?: string | undefined;
|
|
971
|
+
readonly strokeStyle?: import('@embedpdf/models').PdfAnnotationBorderStyle | undefined;
|
|
972
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
973
|
+
readonly author?: string | undefined;
|
|
974
|
+
readonly modified?: Date | undefined;
|
|
975
|
+
readonly created?: Date | undefined;
|
|
976
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
977
|
+
readonly intent?: string | undefined;
|
|
978
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
979
|
+
readonly pageIndex?: number | undefined;
|
|
980
|
+
readonly id?: string | undefined;
|
|
981
|
+
readonly rect?: {
|
|
982
|
+
readonly origin: {
|
|
983
|
+
readonly x: number;
|
|
984
|
+
readonly y: number;
|
|
985
|
+
};
|
|
986
|
+
readonly size: {
|
|
987
|
+
readonly width: number;
|
|
988
|
+
readonly height: number;
|
|
989
|
+
};
|
|
990
|
+
} | undefined;
|
|
991
|
+
readonly custom?: any;
|
|
992
|
+
} | {
|
|
993
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.WIDGET | undefined;
|
|
994
|
+
readonly field?: {
|
|
995
|
+
readonly flag: import('@embedpdf/models').PDF_FORM_FIELD_FLAG;
|
|
996
|
+
readonly name: string;
|
|
997
|
+
readonly alternateName: string;
|
|
998
|
+
readonly type: import('@embedpdf/models').PDF_FORM_FIELD_TYPE;
|
|
999
|
+
readonly value: string;
|
|
1000
|
+
readonly isChecked: boolean;
|
|
1001
|
+
readonly options: readonly {
|
|
1002
|
+
readonly label: string;
|
|
1003
|
+
readonly isSelected: boolean;
|
|
1004
|
+
}[];
|
|
1005
|
+
} | undefined;
|
|
1006
|
+
readonly author?: string | undefined;
|
|
1007
|
+
readonly modified?: Date | undefined;
|
|
1008
|
+
readonly created?: Date | undefined;
|
|
1009
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1010
|
+
readonly intent?: string | undefined;
|
|
1011
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1012
|
+
readonly pageIndex?: number | undefined;
|
|
1013
|
+
readonly contents?: string | undefined;
|
|
1014
|
+
readonly id?: string | undefined;
|
|
1015
|
+
readonly rect?: {
|
|
1016
|
+
readonly origin: {
|
|
1017
|
+
readonly x: number;
|
|
1018
|
+
readonly y: number;
|
|
1019
|
+
};
|
|
1020
|
+
readonly size: {
|
|
1021
|
+
readonly width: number;
|
|
1022
|
+
readonly height: number;
|
|
1023
|
+
};
|
|
1024
|
+
} | undefined;
|
|
1025
|
+
readonly custom?: any;
|
|
1026
|
+
} | {
|
|
1027
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.FILEATTACHMENT | undefined;
|
|
1028
|
+
readonly author?: string | undefined;
|
|
1029
|
+
readonly modified?: Date | undefined;
|
|
1030
|
+
readonly created?: Date | undefined;
|
|
1031
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1032
|
+
readonly intent?: string | undefined;
|
|
1033
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1034
|
+
readonly pageIndex?: number | undefined;
|
|
1035
|
+
readonly contents?: string | undefined;
|
|
1036
|
+
readonly id?: string | undefined;
|
|
1037
|
+
readonly rect?: {
|
|
1038
|
+
readonly origin: {
|
|
1039
|
+
readonly x: number;
|
|
1040
|
+
readonly y: number;
|
|
1041
|
+
};
|
|
1042
|
+
readonly size: {
|
|
1043
|
+
readonly width: number;
|
|
1044
|
+
readonly height: number;
|
|
1045
|
+
};
|
|
1046
|
+
} | undefined;
|
|
1047
|
+
readonly custom?: any;
|
|
1048
|
+
} | {
|
|
1049
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.STAMP | undefined;
|
|
1050
|
+
readonly icon?: import('@embedpdf/models').PdfAnnotationIcon | undefined;
|
|
1051
|
+
readonly subject?: string | undefined;
|
|
1052
|
+
readonly author?: string | undefined;
|
|
1053
|
+
readonly modified?: Date | undefined;
|
|
1054
|
+
readonly created?: Date | undefined;
|
|
1055
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1056
|
+
readonly intent?: string | undefined;
|
|
1057
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1058
|
+
readonly pageIndex?: number | undefined;
|
|
1059
|
+
readonly contents?: string | undefined;
|
|
1060
|
+
readonly id?: string | undefined;
|
|
1061
|
+
readonly rect?: {
|
|
1062
|
+
readonly origin: {
|
|
1063
|
+
readonly x: number;
|
|
1064
|
+
readonly y: number;
|
|
1065
|
+
};
|
|
1066
|
+
readonly size: {
|
|
1067
|
+
readonly width: number;
|
|
1068
|
+
readonly height: number;
|
|
1069
|
+
};
|
|
1070
|
+
} | undefined;
|
|
1071
|
+
readonly custom?: any;
|
|
1072
|
+
} | {
|
|
1073
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.SQUARE | undefined;
|
|
1074
|
+
readonly contents?: string | undefined;
|
|
1075
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1076
|
+
readonly color?: string | undefined;
|
|
1077
|
+
readonly opacity?: number | undefined;
|
|
1078
|
+
readonly strokeWidth?: number | undefined;
|
|
1079
|
+
readonly strokeColor?: string | undefined;
|
|
1080
|
+
readonly strokeStyle?: import('@embedpdf/models').PdfAnnotationBorderStyle | undefined;
|
|
1081
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
1082
|
+
readonly cloudyBorderIntensity?: number | undefined;
|
|
1083
|
+
readonly cloudyBorderInset?: readonly number[] | undefined;
|
|
1084
|
+
readonly author?: string | undefined;
|
|
1085
|
+
readonly modified?: Date | undefined;
|
|
1086
|
+
readonly created?: Date | undefined;
|
|
1087
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1088
|
+
readonly intent?: string | undefined;
|
|
1089
|
+
readonly pageIndex?: number | undefined;
|
|
1090
|
+
readonly id?: string | undefined;
|
|
1091
|
+
readonly rect?: {
|
|
1092
|
+
readonly origin: {
|
|
1093
|
+
readonly x: number;
|
|
1094
|
+
readonly y: number;
|
|
1095
|
+
};
|
|
1096
|
+
readonly size: {
|
|
1097
|
+
readonly width: number;
|
|
1098
|
+
readonly height: number;
|
|
1099
|
+
};
|
|
1100
|
+
} | undefined;
|
|
1101
|
+
readonly custom?: any;
|
|
1102
|
+
} | {
|
|
1103
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.CIRCLE | undefined;
|
|
1104
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1105
|
+
readonly contents?: string | undefined;
|
|
1106
|
+
readonly color?: string | undefined;
|
|
1107
|
+
readonly opacity?: number | undefined;
|
|
1108
|
+
readonly strokeWidth?: number | undefined;
|
|
1109
|
+
readonly strokeColor?: string | undefined;
|
|
1110
|
+
readonly strokeStyle?: import('@embedpdf/models').PdfAnnotationBorderStyle | undefined;
|
|
1111
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
1112
|
+
readonly cloudyBorderIntensity?: number | undefined;
|
|
1113
|
+
readonly cloudyBorderInset?: readonly number[] | undefined;
|
|
1114
|
+
readonly author?: string | undefined;
|
|
1115
|
+
readonly modified?: Date | undefined;
|
|
1116
|
+
readonly created?: Date | undefined;
|
|
1117
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1118
|
+
readonly intent?: string | undefined;
|
|
1119
|
+
readonly pageIndex?: number | undefined;
|
|
1120
|
+
readonly id?: string | undefined;
|
|
1121
|
+
readonly rect?: {
|
|
1122
|
+
readonly origin: {
|
|
1123
|
+
readonly x: number;
|
|
1124
|
+
readonly y: number;
|
|
1125
|
+
};
|
|
1126
|
+
readonly size: {
|
|
1127
|
+
readonly width: number;
|
|
1128
|
+
readonly height: number;
|
|
1129
|
+
};
|
|
1130
|
+
} | undefined;
|
|
1131
|
+
readonly custom?: any;
|
|
1132
|
+
} | {
|
|
1133
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.SQUIGGLY | undefined;
|
|
1134
|
+
readonly contents?: string | undefined;
|
|
1135
|
+
readonly color?: string | undefined;
|
|
1136
|
+
readonly opacity?: number | undefined;
|
|
1137
|
+
readonly segmentRects?: readonly {
|
|
1138
|
+
readonly origin: {
|
|
1139
|
+
readonly x: number;
|
|
1140
|
+
readonly y: number;
|
|
1141
|
+
};
|
|
1142
|
+
readonly size: {
|
|
1143
|
+
readonly width: number;
|
|
1144
|
+
readonly height: number;
|
|
1145
|
+
};
|
|
1146
|
+
}[] | undefined;
|
|
1147
|
+
readonly author?: string | undefined;
|
|
1148
|
+
readonly modified?: Date | undefined;
|
|
1149
|
+
readonly created?: Date | undefined;
|
|
1150
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1151
|
+
readonly intent?: string | undefined;
|
|
1152
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1153
|
+
readonly pageIndex?: number | undefined;
|
|
1154
|
+
readonly id?: string | undefined;
|
|
1155
|
+
readonly rect?: {
|
|
1156
|
+
readonly origin: {
|
|
1157
|
+
readonly x: number;
|
|
1158
|
+
readonly y: number;
|
|
1159
|
+
};
|
|
1160
|
+
readonly size: {
|
|
1161
|
+
readonly width: number;
|
|
1162
|
+
readonly height: number;
|
|
1163
|
+
};
|
|
1164
|
+
} | undefined;
|
|
1165
|
+
readonly custom?: any;
|
|
1166
|
+
} | {
|
|
1167
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.UNDERLINE | undefined;
|
|
1168
|
+
readonly contents?: string | undefined;
|
|
1169
|
+
readonly color?: string | undefined;
|
|
1170
|
+
readonly opacity?: number | undefined;
|
|
1171
|
+
readonly segmentRects?: readonly {
|
|
1172
|
+
readonly origin: {
|
|
1173
|
+
readonly x: number;
|
|
1174
|
+
readonly y: number;
|
|
1175
|
+
};
|
|
1176
|
+
readonly size: {
|
|
1177
|
+
readonly width: number;
|
|
1178
|
+
readonly height: number;
|
|
1179
|
+
};
|
|
1180
|
+
}[] | undefined;
|
|
1181
|
+
readonly author?: string | undefined;
|
|
1182
|
+
readonly modified?: Date | undefined;
|
|
1183
|
+
readonly created?: Date | undefined;
|
|
1184
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1185
|
+
readonly intent?: string | undefined;
|
|
1186
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1187
|
+
readonly pageIndex?: number | undefined;
|
|
1188
|
+
readonly id?: string | undefined;
|
|
1189
|
+
readonly rect?: {
|
|
1190
|
+
readonly origin: {
|
|
1191
|
+
readonly x: number;
|
|
1192
|
+
readonly y: number;
|
|
1193
|
+
};
|
|
1194
|
+
readonly size: {
|
|
1195
|
+
readonly width: number;
|
|
1196
|
+
readonly height: number;
|
|
1197
|
+
};
|
|
1198
|
+
} | undefined;
|
|
1199
|
+
readonly custom?: any;
|
|
1200
|
+
} | {
|
|
1201
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.STRIKEOUT | undefined;
|
|
1202
|
+
readonly contents?: string | undefined;
|
|
1203
|
+
readonly color?: string | undefined;
|
|
1204
|
+
readonly opacity?: number | undefined;
|
|
1205
|
+
readonly segmentRects?: readonly {
|
|
1206
|
+
readonly origin: {
|
|
1207
|
+
readonly x: number;
|
|
1208
|
+
readonly y: number;
|
|
1209
|
+
};
|
|
1210
|
+
readonly size: {
|
|
1211
|
+
readonly width: number;
|
|
1212
|
+
readonly height: number;
|
|
1213
|
+
};
|
|
1214
|
+
}[] | undefined;
|
|
1215
|
+
readonly author?: string | undefined;
|
|
1216
|
+
readonly modified?: Date | undefined;
|
|
1217
|
+
readonly created?: Date | undefined;
|
|
1218
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1219
|
+
readonly intent?: string | undefined;
|
|
1220
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1221
|
+
readonly pageIndex?: number | undefined;
|
|
1222
|
+
readonly id?: string | undefined;
|
|
1223
|
+
readonly rect?: {
|
|
1224
|
+
readonly origin: {
|
|
1225
|
+
readonly x: number;
|
|
1226
|
+
readonly y: number;
|
|
1227
|
+
};
|
|
1228
|
+
readonly size: {
|
|
1229
|
+
readonly width: number;
|
|
1230
|
+
readonly height: number;
|
|
1231
|
+
};
|
|
1232
|
+
} | undefined;
|
|
1233
|
+
readonly custom?: any;
|
|
1234
|
+
} | {
|
|
1235
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.CARET | undefined;
|
|
1236
|
+
readonly author?: string | undefined;
|
|
1237
|
+
readonly modified?: Date | undefined;
|
|
1238
|
+
readonly created?: Date | undefined;
|
|
1239
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1240
|
+
readonly intent?: string | undefined;
|
|
1241
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1242
|
+
readonly pageIndex?: number | undefined;
|
|
1243
|
+
readonly contents?: string | undefined;
|
|
1244
|
+
readonly id?: string | undefined;
|
|
1245
|
+
readonly rect?: {
|
|
1246
|
+
readonly origin: {
|
|
1247
|
+
readonly x: number;
|
|
1248
|
+
readonly y: number;
|
|
1249
|
+
};
|
|
1250
|
+
readonly size: {
|
|
1251
|
+
readonly width: number;
|
|
1252
|
+
readonly height: number;
|
|
1253
|
+
};
|
|
1254
|
+
} | undefined;
|
|
1255
|
+
readonly custom?: any;
|
|
1256
|
+
} | {
|
|
1257
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.FREETEXT | undefined;
|
|
1258
|
+
readonly contents?: string | undefined;
|
|
1259
|
+
readonly fontFamily?: import('@embedpdf/models').PdfStandardFont | undefined;
|
|
1260
|
+
readonly fontSize?: number | undefined;
|
|
1261
|
+
readonly fontColor?: string | undefined;
|
|
1262
|
+
readonly textAlign?: import('@embedpdf/models').PdfTextAlignment | undefined;
|
|
1263
|
+
readonly verticalAlign?: import('@embedpdf/models').PdfVerticalAlignment | undefined;
|
|
1264
|
+
readonly opacity?: number | undefined;
|
|
1265
|
+
readonly backgroundColor?: string | undefined;
|
|
1266
|
+
readonly defaultStyle?: string | undefined;
|
|
1267
|
+
readonly richContent?: string | undefined;
|
|
1268
|
+
readonly author?: string | undefined;
|
|
1269
|
+
readonly modified?: Date | undefined;
|
|
1270
|
+
readonly created?: Date | undefined;
|
|
1271
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1272
|
+
readonly intent?: string | undefined;
|
|
1273
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1274
|
+
readonly pageIndex?: number | undefined;
|
|
1275
|
+
readonly id?: string | undefined;
|
|
1276
|
+
readonly rect?: {
|
|
1277
|
+
readonly origin: {
|
|
1278
|
+
readonly x: number;
|
|
1279
|
+
readonly y: number;
|
|
1280
|
+
};
|
|
1281
|
+
readonly size: {
|
|
1282
|
+
readonly width: number;
|
|
1283
|
+
readonly height: number;
|
|
1284
|
+
};
|
|
1285
|
+
} | undefined;
|
|
1286
|
+
readonly custom?: any;
|
|
1287
|
+
} | {
|
|
1288
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.UNKNOWN | import("@embedpdf/models").PdfAnnotationSubtype.POPUP | import("@embedpdf/models").PdfAnnotationSubtype.SOUND | import("@embedpdf/models").PdfAnnotationSubtype.MOVIE | import("@embedpdf/models").PdfAnnotationSubtype.SCREEN | import("@embedpdf/models").PdfAnnotationSubtype.PRINTERMARK | import("@embedpdf/models").PdfAnnotationSubtype.TRAPNET | import("@embedpdf/models").PdfAnnotationSubtype.WATERMARK | import("@embedpdf/models").PdfAnnotationSubtype.THREED | import("@embedpdf/models").PdfAnnotationSubtype.RICHMEDIA | import("@embedpdf/models").PdfAnnotationSubtype.XFAWIDGET | import("@embedpdf/models").PdfAnnotationSubtype.REDACT | undefined;
|
|
1289
|
+
readonly author?: string | undefined;
|
|
1290
|
+
readonly modified?: Date | undefined;
|
|
1291
|
+
readonly created?: Date | undefined;
|
|
1292
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1293
|
+
readonly intent?: string | undefined;
|
|
1294
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1295
|
+
readonly pageIndex?: number | undefined;
|
|
1296
|
+
readonly contents?: string | undefined;
|
|
1297
|
+
readonly id?: string | undefined;
|
|
1298
|
+
readonly rect?: {
|
|
1299
|
+
readonly origin: {
|
|
1300
|
+
readonly x: number;
|
|
1301
|
+
readonly y: number;
|
|
1302
|
+
};
|
|
1303
|
+
readonly size: {
|
|
1304
|
+
readonly width: number;
|
|
1305
|
+
readonly height: number;
|
|
1306
|
+
};
|
|
1307
|
+
} | undefined;
|
|
1308
|
+
readonly custom?: any;
|
|
1309
|
+
};
|
|
1310
|
+
readonly interaction: {
|
|
1311
|
+
readonly mode?: string | undefined;
|
|
1312
|
+
readonly exclusive: boolean;
|
|
1313
|
+
readonly cursor?: string | undefined;
|
|
1314
|
+
readonly textSelection?: boolean | undefined;
|
|
1315
|
+
readonly isDraggable?: boolean | undefined;
|
|
1316
|
+
readonly isResizable?: boolean | undefined;
|
|
1317
|
+
readonly lockAspectRatio?: boolean | undefined;
|
|
1318
|
+
};
|
|
1319
|
+
readonly behavior?: {
|
|
1320
|
+
readonly deactivateToolAfterCreate?: boolean | undefined;
|
|
1321
|
+
readonly selectAfterCreate?: boolean | undefined;
|
|
1322
|
+
} | undefined;
|
|
1323
|
+
readonly clickBehavior?: {
|
|
1324
|
+
readonly enabled: boolean;
|
|
1325
|
+
readonly defaultSize: {
|
|
1326
|
+
readonly width: number;
|
|
1327
|
+
readonly height: number;
|
|
1328
|
+
};
|
|
1329
|
+
} | {
|
|
1330
|
+
readonly enabled: boolean;
|
|
1331
|
+
readonly defaultLength: number;
|
|
1332
|
+
readonly defaultAngle?: number | undefined;
|
|
1333
|
+
} | {
|
|
1334
|
+
readonly enabled: boolean;
|
|
1335
|
+
readonly defaultSize: {
|
|
1336
|
+
readonly width: number;
|
|
1337
|
+
readonly height: number;
|
|
1338
|
+
};
|
|
1339
|
+
readonly defaultContent?: string | undefined;
|
|
1340
|
+
} | undefined;
|
|
1341
|
+
}[];
|
|
1342
|
+
readonly colorPresets: readonly string[];
|
|
1343
|
+
readonly hasPendingChanges: boolean;
|
|
1344
|
+
}, {
|
|
1345
|
+
readonly pages: {
|
|
1346
|
+
readonly [x: number]: readonly string[];
|
|
1347
|
+
};
|
|
1348
|
+
readonly byUid: {
|
|
1349
|
+
readonly [x: string]: {
|
|
1350
|
+
readonly commitState: import('../../lib/index.ts').CommitState;
|
|
1351
|
+
readonly object: {
|
|
1352
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.INK;
|
|
1353
|
+
readonly inkList: readonly {
|
|
1354
|
+
readonly points: readonly {
|
|
1355
|
+
readonly x: number;
|
|
1356
|
+
readonly y: number;
|
|
1357
|
+
}[];
|
|
1358
|
+
}[];
|
|
1359
|
+
readonly color: string;
|
|
1360
|
+
readonly opacity: number;
|
|
1361
|
+
readonly strokeWidth: number;
|
|
1362
|
+
readonly author?: string | undefined;
|
|
1363
|
+
readonly modified?: Date | undefined;
|
|
1364
|
+
readonly created?: Date | undefined;
|
|
1365
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1366
|
+
readonly intent?: string | undefined;
|
|
1367
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1368
|
+
readonly pageIndex: number;
|
|
1369
|
+
readonly contents?: string | undefined;
|
|
1370
|
+
readonly id: string;
|
|
1371
|
+
readonly rect: {
|
|
1372
|
+
readonly origin: {
|
|
1373
|
+
readonly x: number;
|
|
1374
|
+
readonly y: number;
|
|
1375
|
+
};
|
|
1376
|
+
readonly size: {
|
|
1377
|
+
readonly width: number;
|
|
1378
|
+
readonly height: number;
|
|
1379
|
+
};
|
|
1380
|
+
};
|
|
1381
|
+
readonly custom?: any;
|
|
1382
|
+
} | {
|
|
1383
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.TEXT;
|
|
1384
|
+
readonly contents: string;
|
|
1385
|
+
readonly color?: string | undefined;
|
|
1386
|
+
readonly opacity?: number | undefined;
|
|
1387
|
+
readonly inReplyToId?: string | undefined;
|
|
1388
|
+
readonly state?: import('@embedpdf/models').PdfAnnotationState | undefined;
|
|
1389
|
+
readonly stateModel?: import('@embedpdf/models').PdfAnnotationStateModel | undefined;
|
|
1390
|
+
readonly icon?: import('@embedpdf/models').PdfAnnotationIcon | undefined;
|
|
1391
|
+
readonly author?: string | undefined;
|
|
1392
|
+
readonly modified?: Date | undefined;
|
|
1393
|
+
readonly created?: Date | undefined;
|
|
1394
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1395
|
+
readonly intent?: string | undefined;
|
|
1396
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1397
|
+
readonly pageIndex: number;
|
|
1398
|
+
readonly id: string;
|
|
1399
|
+
readonly rect: {
|
|
1400
|
+
readonly origin: {
|
|
1401
|
+
readonly x: number;
|
|
1402
|
+
readonly y: number;
|
|
1403
|
+
};
|
|
1404
|
+
readonly size: {
|
|
1405
|
+
readonly width: number;
|
|
1406
|
+
readonly height: number;
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
readonly custom?: any;
|
|
1410
|
+
} | {
|
|
1411
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.LINK;
|
|
1412
|
+
readonly target: {
|
|
1413
|
+
readonly type: "action";
|
|
1414
|
+
readonly action: {
|
|
1415
|
+
readonly type: import("@embedpdf/models").PdfActionType.Unsupported;
|
|
1416
|
+
} | {
|
|
1417
|
+
readonly type: import("@embedpdf/models").PdfActionType.Goto;
|
|
1418
|
+
readonly destination: {
|
|
1419
|
+
readonly pageIndex: number;
|
|
1420
|
+
readonly zoom: {
|
|
1421
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
1422
|
+
} | {
|
|
1423
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
1424
|
+
readonly params: {
|
|
1425
|
+
readonly x: number;
|
|
1426
|
+
readonly y: number;
|
|
1427
|
+
readonly zoom: number;
|
|
1428
|
+
};
|
|
1429
|
+
} | {
|
|
1430
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
1431
|
+
} | {
|
|
1432
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
1433
|
+
} | {
|
|
1434
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
1435
|
+
} | {
|
|
1436
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
1437
|
+
} | {
|
|
1438
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
1439
|
+
} | {
|
|
1440
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
1441
|
+
} | {
|
|
1442
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
1443
|
+
};
|
|
1444
|
+
readonly view: readonly number[];
|
|
1445
|
+
};
|
|
1446
|
+
} | {
|
|
1447
|
+
readonly type: import("@embedpdf/models").PdfActionType.RemoteGoto;
|
|
1448
|
+
readonly destination: {
|
|
1449
|
+
readonly pageIndex: number;
|
|
1450
|
+
readonly zoom: {
|
|
1451
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
1452
|
+
} | {
|
|
1453
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
1454
|
+
readonly params: {
|
|
1455
|
+
readonly x: number;
|
|
1456
|
+
readonly y: number;
|
|
1457
|
+
readonly zoom: number;
|
|
1458
|
+
};
|
|
1459
|
+
} | {
|
|
1460
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
1461
|
+
} | {
|
|
1462
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
1463
|
+
} | {
|
|
1464
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
1465
|
+
} | {
|
|
1466
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
1467
|
+
} | {
|
|
1468
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
1469
|
+
} | {
|
|
1470
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
1471
|
+
} | {
|
|
1472
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
1473
|
+
};
|
|
1474
|
+
readonly view: readonly number[];
|
|
1475
|
+
};
|
|
1476
|
+
} | {
|
|
1477
|
+
readonly type: import("@embedpdf/models").PdfActionType.URI;
|
|
1478
|
+
readonly uri: string;
|
|
1479
|
+
} | {
|
|
1480
|
+
readonly type: import("@embedpdf/models").PdfActionType.LaunchAppOrOpenFile;
|
|
1481
|
+
readonly path: string;
|
|
1482
|
+
};
|
|
1483
|
+
} | {
|
|
1484
|
+
readonly type: "destination";
|
|
1485
|
+
readonly destination: {
|
|
1486
|
+
readonly pageIndex: number;
|
|
1487
|
+
readonly zoom: {
|
|
1488
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
1489
|
+
} | {
|
|
1490
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
1491
|
+
readonly params: {
|
|
1492
|
+
readonly x: number;
|
|
1493
|
+
readonly y: number;
|
|
1494
|
+
readonly zoom: number;
|
|
1495
|
+
};
|
|
1496
|
+
} | {
|
|
1497
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
1498
|
+
} | {
|
|
1499
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
1500
|
+
} | {
|
|
1501
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
1502
|
+
} | {
|
|
1503
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
1504
|
+
} | {
|
|
1505
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
1506
|
+
} | {
|
|
1507
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
1508
|
+
} | {
|
|
1509
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
1510
|
+
};
|
|
1511
|
+
readonly view: readonly number[];
|
|
1512
|
+
};
|
|
1513
|
+
} | undefined;
|
|
1514
|
+
readonly author?: string | undefined;
|
|
1515
|
+
readonly modified?: Date | undefined;
|
|
1516
|
+
readonly created?: Date | undefined;
|
|
1517
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1518
|
+
readonly intent?: string | undefined;
|
|
1519
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1520
|
+
readonly pageIndex: number;
|
|
1521
|
+
readonly contents?: string | undefined;
|
|
1522
|
+
readonly id: string;
|
|
1523
|
+
readonly rect: {
|
|
1524
|
+
readonly origin: {
|
|
1525
|
+
readonly x: number;
|
|
1526
|
+
readonly y: number;
|
|
1527
|
+
};
|
|
1528
|
+
readonly size: {
|
|
1529
|
+
readonly width: number;
|
|
1530
|
+
readonly height: number;
|
|
1531
|
+
};
|
|
1532
|
+
};
|
|
1533
|
+
readonly custom?: any;
|
|
1534
|
+
} | {
|
|
1535
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.POLYGON;
|
|
1536
|
+
readonly contents?: string | undefined;
|
|
1537
|
+
readonly vertices: readonly {
|
|
1538
|
+
readonly x: number;
|
|
1539
|
+
readonly y: number;
|
|
1540
|
+
}[];
|
|
1541
|
+
readonly color: string;
|
|
1542
|
+
readonly opacity: number;
|
|
1543
|
+
readonly strokeWidth: number;
|
|
1544
|
+
readonly strokeColor: string;
|
|
1545
|
+
readonly strokeStyle: import('@embedpdf/models').PdfAnnotationBorderStyle;
|
|
1546
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
1547
|
+
readonly author?: string | undefined;
|
|
1548
|
+
readonly modified?: Date | undefined;
|
|
1549
|
+
readonly created?: Date | undefined;
|
|
1550
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1551
|
+
readonly intent?: string | undefined;
|
|
1552
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1553
|
+
readonly pageIndex: number;
|
|
1554
|
+
readonly id: string;
|
|
1555
|
+
readonly rect: {
|
|
1556
|
+
readonly origin: {
|
|
1557
|
+
readonly x: number;
|
|
1558
|
+
readonly y: number;
|
|
1559
|
+
};
|
|
1560
|
+
readonly size: {
|
|
1561
|
+
readonly width: number;
|
|
1562
|
+
readonly height: number;
|
|
1563
|
+
};
|
|
1564
|
+
};
|
|
1565
|
+
readonly custom?: any;
|
|
1566
|
+
} | {
|
|
1567
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.POLYLINE;
|
|
1568
|
+
readonly contents?: string | undefined;
|
|
1569
|
+
readonly lineEndings?: {
|
|
1570
|
+
readonly start: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
1571
|
+
readonly end: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
1572
|
+
} | undefined;
|
|
1573
|
+
readonly vertices: readonly {
|
|
1574
|
+
readonly x: number;
|
|
1575
|
+
readonly y: number;
|
|
1576
|
+
}[];
|
|
1577
|
+
readonly color: string;
|
|
1578
|
+
readonly opacity: number;
|
|
1579
|
+
readonly strokeWidth: number;
|
|
1580
|
+
readonly strokeColor: string;
|
|
1581
|
+
readonly strokeStyle: import('@embedpdf/models').PdfAnnotationBorderStyle;
|
|
1582
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
1583
|
+
readonly author?: string | undefined;
|
|
1584
|
+
readonly modified?: Date | undefined;
|
|
1585
|
+
readonly created?: Date | undefined;
|
|
1586
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1587
|
+
readonly intent?: string | undefined;
|
|
1588
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1589
|
+
readonly pageIndex: number;
|
|
1590
|
+
readonly id: string;
|
|
1591
|
+
readonly rect: {
|
|
1592
|
+
readonly origin: {
|
|
1593
|
+
readonly x: number;
|
|
1594
|
+
readonly y: number;
|
|
1595
|
+
};
|
|
1596
|
+
readonly size: {
|
|
1597
|
+
readonly width: number;
|
|
1598
|
+
readonly height: number;
|
|
1599
|
+
};
|
|
1600
|
+
};
|
|
1601
|
+
readonly custom?: any;
|
|
1602
|
+
} | {
|
|
1603
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.HIGHLIGHT;
|
|
1604
|
+
readonly contents?: string | undefined;
|
|
1605
|
+
readonly color: string;
|
|
1606
|
+
readonly opacity: number;
|
|
1607
|
+
readonly segmentRects: readonly {
|
|
1608
|
+
readonly origin: {
|
|
1609
|
+
readonly x: number;
|
|
1610
|
+
readonly y: number;
|
|
1611
|
+
};
|
|
1612
|
+
readonly size: {
|
|
1613
|
+
readonly width: number;
|
|
1614
|
+
readonly height: number;
|
|
1615
|
+
};
|
|
1616
|
+
}[];
|
|
1617
|
+
readonly author?: string | undefined;
|
|
1618
|
+
readonly modified?: Date | undefined;
|
|
1619
|
+
readonly created?: Date | undefined;
|
|
1620
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1621
|
+
readonly intent?: string | undefined;
|
|
1622
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1623
|
+
readonly pageIndex: number;
|
|
1624
|
+
readonly id: string;
|
|
1625
|
+
readonly rect: {
|
|
1626
|
+
readonly origin: {
|
|
1627
|
+
readonly x: number;
|
|
1628
|
+
readonly y: number;
|
|
1629
|
+
};
|
|
1630
|
+
readonly size: {
|
|
1631
|
+
readonly width: number;
|
|
1632
|
+
readonly height: number;
|
|
1633
|
+
};
|
|
1634
|
+
};
|
|
1635
|
+
readonly custom?: any;
|
|
1636
|
+
} | {
|
|
1637
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.LINE;
|
|
1638
|
+
readonly contents?: string | undefined;
|
|
1639
|
+
readonly linePoints: {
|
|
1640
|
+
readonly start: {
|
|
1641
|
+
readonly x: number;
|
|
1642
|
+
readonly y: number;
|
|
1643
|
+
};
|
|
1644
|
+
readonly end: {
|
|
1645
|
+
readonly x: number;
|
|
1646
|
+
readonly y: number;
|
|
1647
|
+
};
|
|
1648
|
+
};
|
|
1649
|
+
readonly lineEndings?: {
|
|
1650
|
+
readonly start: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
1651
|
+
readonly end: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
readonly color: string;
|
|
1654
|
+
readonly opacity: number;
|
|
1655
|
+
readonly strokeWidth: number;
|
|
1656
|
+
readonly strokeColor: string;
|
|
1657
|
+
readonly strokeStyle: import('@embedpdf/models').PdfAnnotationBorderStyle;
|
|
1658
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
1659
|
+
readonly author?: string | undefined;
|
|
1660
|
+
readonly modified?: Date | undefined;
|
|
1661
|
+
readonly created?: Date | undefined;
|
|
1662
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1663
|
+
readonly intent?: string | undefined;
|
|
1664
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1665
|
+
readonly pageIndex: number;
|
|
1666
|
+
readonly id: string;
|
|
1667
|
+
readonly rect: {
|
|
1668
|
+
readonly origin: {
|
|
1669
|
+
readonly x: number;
|
|
1670
|
+
readonly y: number;
|
|
1671
|
+
};
|
|
1672
|
+
readonly size: {
|
|
1673
|
+
readonly width: number;
|
|
1674
|
+
readonly height: number;
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
readonly custom?: any;
|
|
1678
|
+
} | {
|
|
1679
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.WIDGET;
|
|
1680
|
+
readonly field: {
|
|
1681
|
+
readonly flag: import('@embedpdf/models').PDF_FORM_FIELD_FLAG;
|
|
1682
|
+
readonly name: string;
|
|
1683
|
+
readonly alternateName: string;
|
|
1684
|
+
readonly type: import('@embedpdf/models').PDF_FORM_FIELD_TYPE;
|
|
1685
|
+
readonly value: string;
|
|
1686
|
+
readonly isChecked: boolean;
|
|
1687
|
+
readonly options: readonly {
|
|
1688
|
+
readonly label: string;
|
|
1689
|
+
readonly isSelected: boolean;
|
|
1690
|
+
}[];
|
|
1691
|
+
};
|
|
1692
|
+
readonly author?: string | undefined;
|
|
1693
|
+
readonly modified?: Date | undefined;
|
|
1694
|
+
readonly created?: Date | undefined;
|
|
1695
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1696
|
+
readonly intent?: string | undefined;
|
|
1697
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1698
|
+
readonly pageIndex: number;
|
|
1699
|
+
readonly contents?: string | undefined;
|
|
1700
|
+
readonly id: string;
|
|
1701
|
+
readonly rect: {
|
|
1702
|
+
readonly origin: {
|
|
1703
|
+
readonly x: number;
|
|
1704
|
+
readonly y: number;
|
|
1705
|
+
};
|
|
1706
|
+
readonly size: {
|
|
1707
|
+
readonly width: number;
|
|
1708
|
+
readonly height: number;
|
|
1709
|
+
};
|
|
1710
|
+
};
|
|
1711
|
+
readonly custom?: any;
|
|
1712
|
+
} | {
|
|
1713
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.FILEATTACHMENT;
|
|
1714
|
+
readonly author?: string | undefined;
|
|
1715
|
+
readonly modified?: Date | undefined;
|
|
1716
|
+
readonly created?: Date | undefined;
|
|
1717
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1718
|
+
readonly intent?: string | undefined;
|
|
1719
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1720
|
+
readonly pageIndex: number;
|
|
1721
|
+
readonly contents?: string | undefined;
|
|
1722
|
+
readonly id: string;
|
|
1723
|
+
readonly rect: {
|
|
1724
|
+
readonly origin: {
|
|
1725
|
+
readonly x: number;
|
|
1726
|
+
readonly y: number;
|
|
1727
|
+
};
|
|
1728
|
+
readonly size: {
|
|
1729
|
+
readonly width: number;
|
|
1730
|
+
readonly height: number;
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
readonly custom?: any;
|
|
1734
|
+
} | {
|
|
1735
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.STAMP;
|
|
1736
|
+
readonly icon?: import('@embedpdf/models').PdfAnnotationIcon | undefined;
|
|
1737
|
+
readonly subject?: string | undefined;
|
|
1738
|
+
readonly author?: string | undefined;
|
|
1739
|
+
readonly modified?: Date | undefined;
|
|
1740
|
+
readonly created?: Date | undefined;
|
|
1741
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1742
|
+
readonly intent?: string | undefined;
|
|
1743
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1744
|
+
readonly pageIndex: number;
|
|
1745
|
+
readonly contents?: string | undefined;
|
|
1746
|
+
readonly id: string;
|
|
1747
|
+
readonly rect: {
|
|
1748
|
+
readonly origin: {
|
|
1749
|
+
readonly x: number;
|
|
1750
|
+
readonly y: number;
|
|
1751
|
+
};
|
|
1752
|
+
readonly size: {
|
|
1753
|
+
readonly width: number;
|
|
1754
|
+
readonly height: number;
|
|
1755
|
+
};
|
|
1756
|
+
};
|
|
1757
|
+
readonly custom?: any;
|
|
1758
|
+
} | {
|
|
1759
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.SQUARE;
|
|
1760
|
+
readonly contents?: string | undefined;
|
|
1761
|
+
readonly flags: readonly import('@embedpdf/models').PdfAnnotationFlagName[];
|
|
1762
|
+
readonly color: string;
|
|
1763
|
+
readonly opacity: number;
|
|
1764
|
+
readonly strokeWidth: number;
|
|
1765
|
+
readonly strokeColor: string;
|
|
1766
|
+
readonly strokeStyle: import('@embedpdf/models').PdfAnnotationBorderStyle;
|
|
1767
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
1768
|
+
readonly cloudyBorderIntensity?: number | undefined;
|
|
1769
|
+
readonly cloudyBorderInset?: readonly number[] | undefined;
|
|
1770
|
+
readonly author?: string | undefined;
|
|
1771
|
+
readonly modified?: Date | undefined;
|
|
1772
|
+
readonly created?: Date | undefined;
|
|
1773
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1774
|
+
readonly intent?: string | undefined;
|
|
1775
|
+
readonly pageIndex: number;
|
|
1776
|
+
readonly id: string;
|
|
1777
|
+
readonly rect: {
|
|
1778
|
+
readonly origin: {
|
|
1779
|
+
readonly x: number;
|
|
1780
|
+
readonly y: number;
|
|
1781
|
+
};
|
|
1782
|
+
readonly size: {
|
|
1783
|
+
readonly width: number;
|
|
1784
|
+
readonly height: number;
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
readonly custom?: any;
|
|
1788
|
+
} | {
|
|
1789
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.CIRCLE;
|
|
1790
|
+
readonly flags: readonly import('@embedpdf/models').PdfAnnotationFlagName[];
|
|
1791
|
+
readonly contents?: string | undefined;
|
|
1792
|
+
readonly color: string;
|
|
1793
|
+
readonly opacity: number;
|
|
1794
|
+
readonly strokeWidth: number;
|
|
1795
|
+
readonly strokeColor: string;
|
|
1796
|
+
readonly strokeStyle: import('@embedpdf/models').PdfAnnotationBorderStyle;
|
|
1797
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
1798
|
+
readonly cloudyBorderIntensity?: number | undefined;
|
|
1799
|
+
readonly cloudyBorderInset?: readonly number[] | undefined;
|
|
1800
|
+
readonly author?: string | undefined;
|
|
1801
|
+
readonly modified?: Date | undefined;
|
|
1802
|
+
readonly created?: Date | undefined;
|
|
1803
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1804
|
+
readonly intent?: string | undefined;
|
|
1805
|
+
readonly pageIndex: number;
|
|
1806
|
+
readonly id: string;
|
|
1807
|
+
readonly rect: {
|
|
1808
|
+
readonly origin: {
|
|
1809
|
+
readonly x: number;
|
|
1810
|
+
readonly y: number;
|
|
1811
|
+
};
|
|
1812
|
+
readonly size: {
|
|
1813
|
+
readonly width: number;
|
|
1814
|
+
readonly height: number;
|
|
1815
|
+
};
|
|
1816
|
+
};
|
|
1817
|
+
readonly custom?: any;
|
|
1818
|
+
} | {
|
|
1819
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.SQUIGGLY;
|
|
1820
|
+
readonly contents?: string | undefined;
|
|
1821
|
+
readonly color: string;
|
|
1822
|
+
readonly opacity: number;
|
|
1823
|
+
readonly segmentRects: readonly {
|
|
1824
|
+
readonly origin: {
|
|
1825
|
+
readonly x: number;
|
|
1826
|
+
readonly y: number;
|
|
1827
|
+
};
|
|
1828
|
+
readonly size: {
|
|
1829
|
+
readonly width: number;
|
|
1830
|
+
readonly height: number;
|
|
1831
|
+
};
|
|
1832
|
+
}[];
|
|
1833
|
+
readonly author?: string | undefined;
|
|
1834
|
+
readonly modified?: Date | undefined;
|
|
1835
|
+
readonly created?: Date | undefined;
|
|
1836
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1837
|
+
readonly intent?: string | undefined;
|
|
1838
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1839
|
+
readonly pageIndex: number;
|
|
1840
|
+
readonly id: string;
|
|
1841
|
+
readonly rect: {
|
|
1842
|
+
readonly origin: {
|
|
1843
|
+
readonly x: number;
|
|
1844
|
+
readonly y: number;
|
|
1845
|
+
};
|
|
1846
|
+
readonly size: {
|
|
1847
|
+
readonly width: number;
|
|
1848
|
+
readonly height: number;
|
|
1849
|
+
};
|
|
1850
|
+
};
|
|
1851
|
+
readonly custom?: any;
|
|
1852
|
+
} | {
|
|
1853
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.UNDERLINE;
|
|
1854
|
+
readonly contents?: string | undefined;
|
|
1855
|
+
readonly color: string;
|
|
1856
|
+
readonly opacity: number;
|
|
1857
|
+
readonly segmentRects: readonly {
|
|
1858
|
+
readonly origin: {
|
|
1859
|
+
readonly x: number;
|
|
1860
|
+
readonly y: number;
|
|
1861
|
+
};
|
|
1862
|
+
readonly size: {
|
|
1863
|
+
readonly width: number;
|
|
1864
|
+
readonly height: number;
|
|
1865
|
+
};
|
|
1866
|
+
}[];
|
|
1867
|
+
readonly author?: string | undefined;
|
|
1868
|
+
readonly modified?: Date | undefined;
|
|
1869
|
+
readonly created?: Date | undefined;
|
|
1870
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1871
|
+
readonly intent?: string | undefined;
|
|
1872
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1873
|
+
readonly pageIndex: number;
|
|
1874
|
+
readonly id: string;
|
|
1875
|
+
readonly rect: {
|
|
1876
|
+
readonly origin: {
|
|
1877
|
+
readonly x: number;
|
|
1878
|
+
readonly y: number;
|
|
1879
|
+
};
|
|
1880
|
+
readonly size: {
|
|
1881
|
+
readonly width: number;
|
|
1882
|
+
readonly height: number;
|
|
1883
|
+
};
|
|
1884
|
+
};
|
|
1885
|
+
readonly custom?: any;
|
|
1886
|
+
} | {
|
|
1887
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.STRIKEOUT;
|
|
1888
|
+
readonly contents?: string | undefined;
|
|
1889
|
+
readonly color: string;
|
|
1890
|
+
readonly opacity: number;
|
|
1891
|
+
readonly segmentRects: readonly {
|
|
1892
|
+
readonly origin: {
|
|
1893
|
+
readonly x: number;
|
|
1894
|
+
readonly y: number;
|
|
1895
|
+
};
|
|
1896
|
+
readonly size: {
|
|
1897
|
+
readonly width: number;
|
|
1898
|
+
readonly height: number;
|
|
1899
|
+
};
|
|
1900
|
+
}[];
|
|
1901
|
+
readonly author?: string | undefined;
|
|
1902
|
+
readonly modified?: Date | undefined;
|
|
1903
|
+
readonly created?: Date | undefined;
|
|
1904
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1905
|
+
readonly intent?: string | undefined;
|
|
1906
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1907
|
+
readonly pageIndex: number;
|
|
1908
|
+
readonly id: string;
|
|
1909
|
+
readonly rect: {
|
|
1910
|
+
readonly origin: {
|
|
1911
|
+
readonly x: number;
|
|
1912
|
+
readonly y: number;
|
|
1913
|
+
};
|
|
1914
|
+
readonly size: {
|
|
1915
|
+
readonly width: number;
|
|
1916
|
+
readonly height: number;
|
|
1917
|
+
};
|
|
1918
|
+
};
|
|
1919
|
+
readonly custom?: any;
|
|
1920
|
+
} | {
|
|
1921
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.CARET;
|
|
1922
|
+
readonly author?: string | undefined;
|
|
1923
|
+
readonly modified?: Date | undefined;
|
|
1924
|
+
readonly created?: Date | undefined;
|
|
1925
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1926
|
+
readonly intent?: string | undefined;
|
|
1927
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1928
|
+
readonly pageIndex: number;
|
|
1929
|
+
readonly contents?: string | undefined;
|
|
1930
|
+
readonly id: string;
|
|
1931
|
+
readonly rect: {
|
|
1932
|
+
readonly origin: {
|
|
1933
|
+
readonly x: number;
|
|
1934
|
+
readonly y: number;
|
|
1935
|
+
};
|
|
1936
|
+
readonly size: {
|
|
1937
|
+
readonly width: number;
|
|
1938
|
+
readonly height: number;
|
|
1939
|
+
};
|
|
1940
|
+
};
|
|
1941
|
+
readonly custom?: any;
|
|
1942
|
+
} | {
|
|
1943
|
+
readonly type: import("@embedpdf/models").PdfAnnotationSubtype.FREETEXT;
|
|
1944
|
+
readonly contents: string;
|
|
1945
|
+
readonly fontFamily: import('@embedpdf/models').PdfStandardFont;
|
|
1946
|
+
readonly fontSize: number;
|
|
1947
|
+
readonly fontColor: string;
|
|
1948
|
+
readonly textAlign: import('@embedpdf/models').PdfTextAlignment;
|
|
1949
|
+
readonly verticalAlign: import('@embedpdf/models').PdfVerticalAlignment;
|
|
1950
|
+
readonly opacity: number;
|
|
1951
|
+
readonly backgroundColor?: string | undefined;
|
|
1952
|
+
readonly defaultStyle?: string | undefined;
|
|
1953
|
+
readonly richContent?: string | undefined;
|
|
1954
|
+
readonly author?: string | undefined;
|
|
1955
|
+
readonly modified?: Date | undefined;
|
|
1956
|
+
readonly created?: Date | undefined;
|
|
1957
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1958
|
+
readonly intent?: string | undefined;
|
|
1959
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1960
|
+
readonly pageIndex: number;
|
|
1961
|
+
readonly id: string;
|
|
1962
|
+
readonly rect: {
|
|
1963
|
+
readonly origin: {
|
|
1964
|
+
readonly x: number;
|
|
1965
|
+
readonly y: number;
|
|
1966
|
+
};
|
|
1967
|
+
readonly size: {
|
|
1968
|
+
readonly width: number;
|
|
1969
|
+
readonly height: number;
|
|
1970
|
+
};
|
|
1971
|
+
};
|
|
1972
|
+
readonly custom?: any;
|
|
1973
|
+
} | {
|
|
1974
|
+
readonly type: Exclude<import('@embedpdf/models').PdfAnnotationSubtype, import('@embedpdf/models').PdfSupportedAnnoObject["type"]>;
|
|
1975
|
+
readonly author?: string | undefined;
|
|
1976
|
+
readonly modified?: Date | undefined;
|
|
1977
|
+
readonly created?: Date | undefined;
|
|
1978
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
1979
|
+
readonly intent?: string | undefined;
|
|
1980
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
1981
|
+
readonly pageIndex: number;
|
|
1982
|
+
readonly contents?: string | undefined;
|
|
1983
|
+
readonly id: string;
|
|
1984
|
+
readonly rect: {
|
|
1985
|
+
readonly origin: {
|
|
1986
|
+
readonly x: number;
|
|
1987
|
+
readonly y: number;
|
|
1988
|
+
};
|
|
1989
|
+
readonly size: {
|
|
1990
|
+
readonly width: number;
|
|
1991
|
+
readonly height: number;
|
|
1992
|
+
};
|
|
1993
|
+
};
|
|
1994
|
+
readonly custom?: any;
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1997
|
+
};
|
|
1998
|
+
readonly selectedUid: string | null;
|
|
1999
|
+
readonly activeToolId: string | null;
|
|
2000
|
+
readonly tools: readonly {
|
|
2001
|
+
readonly id: string;
|
|
2002
|
+
readonly name: string;
|
|
2003
|
+
readonly matchScore: (annotation: import('@embedpdf/models').PdfAnnotationObject) => number;
|
|
2004
|
+
readonly defaults: {
|
|
2005
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.INK | undefined;
|
|
2006
|
+
readonly inkList?: readonly {
|
|
2007
|
+
readonly points: readonly {
|
|
2008
|
+
readonly x: number;
|
|
2009
|
+
readonly y: number;
|
|
2010
|
+
}[];
|
|
2011
|
+
}[] | undefined;
|
|
2012
|
+
readonly color?: string | undefined;
|
|
2013
|
+
readonly opacity?: number | undefined;
|
|
2014
|
+
readonly strokeWidth?: number | undefined;
|
|
2015
|
+
readonly author?: string | undefined;
|
|
2016
|
+
readonly modified?: Date | undefined;
|
|
2017
|
+
readonly created?: Date | undefined;
|
|
2018
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2019
|
+
readonly intent?: string | undefined;
|
|
2020
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2021
|
+
readonly pageIndex?: number | undefined;
|
|
2022
|
+
readonly contents?: string | undefined;
|
|
2023
|
+
readonly id?: string | undefined;
|
|
2024
|
+
readonly rect?: {
|
|
2025
|
+
readonly origin: {
|
|
2026
|
+
readonly x: number;
|
|
2027
|
+
readonly y: number;
|
|
2028
|
+
};
|
|
2029
|
+
readonly size: {
|
|
2030
|
+
readonly width: number;
|
|
2031
|
+
readonly height: number;
|
|
2032
|
+
};
|
|
2033
|
+
} | undefined;
|
|
2034
|
+
readonly custom?: any;
|
|
2035
|
+
} | {
|
|
2036
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.TEXT | undefined;
|
|
2037
|
+
readonly contents?: string | undefined;
|
|
2038
|
+
readonly color?: string | undefined;
|
|
2039
|
+
readonly opacity?: number | undefined;
|
|
2040
|
+
readonly inReplyToId?: string | undefined;
|
|
2041
|
+
readonly state?: import('@embedpdf/models').PdfAnnotationState | undefined;
|
|
2042
|
+
readonly stateModel?: import('@embedpdf/models').PdfAnnotationStateModel | undefined;
|
|
2043
|
+
readonly icon?: import('@embedpdf/models').PdfAnnotationIcon | undefined;
|
|
2044
|
+
readonly author?: string | undefined;
|
|
2045
|
+
readonly modified?: Date | undefined;
|
|
2046
|
+
readonly created?: Date | undefined;
|
|
2047
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2048
|
+
readonly intent?: string | undefined;
|
|
2049
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2050
|
+
readonly pageIndex?: number | undefined;
|
|
2051
|
+
readonly id?: string | undefined;
|
|
2052
|
+
readonly rect?: {
|
|
2053
|
+
readonly origin: {
|
|
2054
|
+
readonly x: number;
|
|
2055
|
+
readonly y: number;
|
|
2056
|
+
};
|
|
2057
|
+
readonly size: {
|
|
2058
|
+
readonly width: number;
|
|
2059
|
+
readonly height: number;
|
|
2060
|
+
};
|
|
2061
|
+
} | undefined;
|
|
2062
|
+
readonly custom?: any;
|
|
2063
|
+
} | {
|
|
2064
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.LINK | undefined;
|
|
2065
|
+
readonly target?: {
|
|
2066
|
+
readonly type: "action";
|
|
2067
|
+
readonly action: {
|
|
2068
|
+
readonly type: import("@embedpdf/models").PdfActionType.Unsupported;
|
|
2069
|
+
} | {
|
|
2070
|
+
readonly type: import("@embedpdf/models").PdfActionType.Goto;
|
|
2071
|
+
readonly destination: {
|
|
2072
|
+
readonly pageIndex: number;
|
|
2073
|
+
readonly zoom: {
|
|
2074
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
2075
|
+
} | {
|
|
2076
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
2077
|
+
readonly params: {
|
|
2078
|
+
readonly x: number;
|
|
2079
|
+
readonly y: number;
|
|
2080
|
+
readonly zoom: number;
|
|
2081
|
+
};
|
|
2082
|
+
} | {
|
|
2083
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
2084
|
+
} | {
|
|
2085
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
2086
|
+
} | {
|
|
2087
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
2088
|
+
} | {
|
|
2089
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
2090
|
+
} | {
|
|
2091
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
2092
|
+
} | {
|
|
2093
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
2094
|
+
} | {
|
|
2095
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
2096
|
+
};
|
|
2097
|
+
readonly view: readonly number[];
|
|
2098
|
+
};
|
|
2099
|
+
} | {
|
|
2100
|
+
readonly type: import("@embedpdf/models").PdfActionType.RemoteGoto;
|
|
2101
|
+
readonly destination: {
|
|
2102
|
+
readonly pageIndex: number;
|
|
2103
|
+
readonly zoom: {
|
|
2104
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
2105
|
+
} | {
|
|
2106
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
2107
|
+
readonly params: {
|
|
2108
|
+
readonly x: number;
|
|
2109
|
+
readonly y: number;
|
|
2110
|
+
readonly zoom: number;
|
|
2111
|
+
};
|
|
2112
|
+
} | {
|
|
2113
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
2114
|
+
} | {
|
|
2115
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
2116
|
+
} | {
|
|
2117
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
2118
|
+
} | {
|
|
2119
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
2120
|
+
} | {
|
|
2121
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
2122
|
+
} | {
|
|
2123
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
2124
|
+
} | {
|
|
2125
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
2126
|
+
};
|
|
2127
|
+
readonly view: readonly number[];
|
|
2128
|
+
};
|
|
2129
|
+
} | {
|
|
2130
|
+
readonly type: import("@embedpdf/models").PdfActionType.URI;
|
|
2131
|
+
readonly uri: string;
|
|
2132
|
+
} | {
|
|
2133
|
+
readonly type: import("@embedpdf/models").PdfActionType.LaunchAppOrOpenFile;
|
|
2134
|
+
readonly path: string;
|
|
2135
|
+
};
|
|
2136
|
+
} | {
|
|
2137
|
+
readonly type: "destination";
|
|
2138
|
+
readonly destination: {
|
|
2139
|
+
readonly pageIndex: number;
|
|
2140
|
+
readonly zoom: {
|
|
2141
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.Unknown;
|
|
2142
|
+
} | {
|
|
2143
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.XYZ;
|
|
2144
|
+
readonly params: {
|
|
2145
|
+
readonly x: number;
|
|
2146
|
+
readonly y: number;
|
|
2147
|
+
readonly zoom: number;
|
|
2148
|
+
};
|
|
2149
|
+
} | {
|
|
2150
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitPage;
|
|
2151
|
+
} | {
|
|
2152
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitHorizontal;
|
|
2153
|
+
} | {
|
|
2154
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitVertical;
|
|
2155
|
+
} | {
|
|
2156
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitRectangle;
|
|
2157
|
+
} | {
|
|
2158
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBox;
|
|
2159
|
+
} | {
|
|
2160
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxHorizontal;
|
|
2161
|
+
} | {
|
|
2162
|
+
readonly mode: import("@embedpdf/models").PdfZoomMode.FitBoundingBoxVertical;
|
|
2163
|
+
};
|
|
2164
|
+
readonly view: readonly number[];
|
|
2165
|
+
};
|
|
2166
|
+
} | undefined;
|
|
2167
|
+
readonly author?: string | undefined;
|
|
2168
|
+
readonly modified?: Date | undefined;
|
|
2169
|
+
readonly created?: Date | undefined;
|
|
2170
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2171
|
+
readonly intent?: string | undefined;
|
|
2172
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2173
|
+
readonly pageIndex?: number | undefined;
|
|
2174
|
+
readonly contents?: string | undefined;
|
|
2175
|
+
readonly id?: string | undefined;
|
|
2176
|
+
readonly rect?: {
|
|
2177
|
+
readonly origin: {
|
|
2178
|
+
readonly x: number;
|
|
2179
|
+
readonly y: number;
|
|
2180
|
+
};
|
|
2181
|
+
readonly size: {
|
|
2182
|
+
readonly width: number;
|
|
2183
|
+
readonly height: number;
|
|
2184
|
+
};
|
|
2185
|
+
} | undefined;
|
|
2186
|
+
readonly custom?: any;
|
|
2187
|
+
} | {
|
|
2188
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.POLYGON | undefined;
|
|
2189
|
+
readonly contents?: string | undefined;
|
|
2190
|
+
readonly vertices?: readonly {
|
|
2191
|
+
readonly x: number;
|
|
2192
|
+
readonly y: number;
|
|
2193
|
+
}[] | undefined;
|
|
2194
|
+
readonly color?: string | undefined;
|
|
2195
|
+
readonly opacity?: number | undefined;
|
|
2196
|
+
readonly strokeWidth?: number | undefined;
|
|
2197
|
+
readonly strokeColor?: string | undefined;
|
|
2198
|
+
readonly strokeStyle?: import('@embedpdf/models').PdfAnnotationBorderStyle | undefined;
|
|
2199
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
2200
|
+
readonly author?: string | undefined;
|
|
2201
|
+
readonly modified?: Date | undefined;
|
|
2202
|
+
readonly created?: Date | undefined;
|
|
2203
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2204
|
+
readonly intent?: string | undefined;
|
|
2205
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2206
|
+
readonly pageIndex?: number | undefined;
|
|
2207
|
+
readonly id?: string | undefined;
|
|
2208
|
+
readonly rect?: {
|
|
2209
|
+
readonly origin: {
|
|
2210
|
+
readonly x: number;
|
|
2211
|
+
readonly y: number;
|
|
2212
|
+
};
|
|
2213
|
+
readonly size: {
|
|
2214
|
+
readonly width: number;
|
|
2215
|
+
readonly height: number;
|
|
2216
|
+
};
|
|
2217
|
+
} | undefined;
|
|
2218
|
+
readonly custom?: any;
|
|
2219
|
+
} | {
|
|
2220
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.POLYLINE | undefined;
|
|
2221
|
+
readonly contents?: string | undefined;
|
|
2222
|
+
readonly lineEndings?: {
|
|
2223
|
+
readonly start: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
2224
|
+
readonly end: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
2225
|
+
} | undefined;
|
|
2226
|
+
readonly vertices?: readonly {
|
|
2227
|
+
readonly x: number;
|
|
2228
|
+
readonly y: number;
|
|
2229
|
+
}[] | undefined;
|
|
2230
|
+
readonly color?: string | undefined;
|
|
2231
|
+
readonly opacity?: number | undefined;
|
|
2232
|
+
readonly strokeWidth?: number | undefined;
|
|
2233
|
+
readonly strokeColor?: string | undefined;
|
|
2234
|
+
readonly strokeStyle?: import('@embedpdf/models').PdfAnnotationBorderStyle | undefined;
|
|
2235
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
2236
|
+
readonly author?: string | undefined;
|
|
2237
|
+
readonly modified?: Date | undefined;
|
|
2238
|
+
readonly created?: Date | undefined;
|
|
2239
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2240
|
+
readonly intent?: string | undefined;
|
|
2241
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2242
|
+
readonly pageIndex?: number | undefined;
|
|
2243
|
+
readonly id?: string | undefined;
|
|
2244
|
+
readonly rect?: {
|
|
2245
|
+
readonly origin: {
|
|
2246
|
+
readonly x: number;
|
|
2247
|
+
readonly y: number;
|
|
2248
|
+
};
|
|
2249
|
+
readonly size: {
|
|
2250
|
+
readonly width: number;
|
|
2251
|
+
readonly height: number;
|
|
2252
|
+
};
|
|
2253
|
+
} | undefined;
|
|
2254
|
+
readonly custom?: any;
|
|
2255
|
+
} | {
|
|
2256
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.HIGHLIGHT | undefined;
|
|
2257
|
+
readonly contents?: string | undefined;
|
|
2258
|
+
readonly color?: string | undefined;
|
|
2259
|
+
readonly opacity?: number | undefined;
|
|
2260
|
+
readonly segmentRects?: readonly {
|
|
2261
|
+
readonly origin: {
|
|
2262
|
+
readonly x: number;
|
|
2263
|
+
readonly y: number;
|
|
2264
|
+
};
|
|
2265
|
+
readonly size: {
|
|
2266
|
+
readonly width: number;
|
|
2267
|
+
readonly height: number;
|
|
2268
|
+
};
|
|
2269
|
+
}[] | undefined;
|
|
2270
|
+
readonly author?: string | undefined;
|
|
2271
|
+
readonly modified?: Date | undefined;
|
|
2272
|
+
readonly created?: Date | undefined;
|
|
2273
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2274
|
+
readonly intent?: string | undefined;
|
|
2275
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2276
|
+
readonly pageIndex?: number | undefined;
|
|
2277
|
+
readonly id?: string | undefined;
|
|
2278
|
+
readonly rect?: {
|
|
2279
|
+
readonly origin: {
|
|
2280
|
+
readonly x: number;
|
|
2281
|
+
readonly y: number;
|
|
2282
|
+
};
|
|
2283
|
+
readonly size: {
|
|
2284
|
+
readonly width: number;
|
|
2285
|
+
readonly height: number;
|
|
2286
|
+
};
|
|
2287
|
+
} | undefined;
|
|
2288
|
+
readonly custom?: any;
|
|
2289
|
+
} | {
|
|
2290
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.LINE | undefined;
|
|
2291
|
+
readonly contents?: string | undefined;
|
|
2292
|
+
readonly linePoints?: {
|
|
2293
|
+
readonly start: {
|
|
2294
|
+
readonly x: number;
|
|
2295
|
+
readonly y: number;
|
|
2296
|
+
};
|
|
2297
|
+
readonly end: {
|
|
2298
|
+
readonly x: number;
|
|
2299
|
+
readonly y: number;
|
|
2300
|
+
};
|
|
2301
|
+
} | undefined;
|
|
2302
|
+
readonly lineEndings?: {
|
|
2303
|
+
readonly start: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
2304
|
+
readonly end: import('@embedpdf/models').PdfAnnotationLineEnding;
|
|
2305
|
+
} | undefined;
|
|
2306
|
+
readonly color?: string | undefined;
|
|
2307
|
+
readonly opacity?: number | undefined;
|
|
2308
|
+
readonly strokeWidth?: number | undefined;
|
|
2309
|
+
readonly strokeColor?: string | undefined;
|
|
2310
|
+
readonly strokeStyle?: import('@embedpdf/models').PdfAnnotationBorderStyle | undefined;
|
|
2311
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
2312
|
+
readonly author?: string | undefined;
|
|
2313
|
+
readonly modified?: Date | undefined;
|
|
2314
|
+
readonly created?: Date | undefined;
|
|
2315
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2316
|
+
readonly intent?: string | undefined;
|
|
2317
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2318
|
+
readonly pageIndex?: number | undefined;
|
|
2319
|
+
readonly id?: string | undefined;
|
|
2320
|
+
readonly rect?: {
|
|
2321
|
+
readonly origin: {
|
|
2322
|
+
readonly x: number;
|
|
2323
|
+
readonly y: number;
|
|
2324
|
+
};
|
|
2325
|
+
readonly size: {
|
|
2326
|
+
readonly width: number;
|
|
2327
|
+
readonly height: number;
|
|
2328
|
+
};
|
|
2329
|
+
} | undefined;
|
|
2330
|
+
readonly custom?: any;
|
|
2331
|
+
} | {
|
|
2332
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.WIDGET | undefined;
|
|
2333
|
+
readonly field?: {
|
|
2334
|
+
readonly flag: import('@embedpdf/models').PDF_FORM_FIELD_FLAG;
|
|
2335
|
+
readonly name: string;
|
|
2336
|
+
readonly alternateName: string;
|
|
2337
|
+
readonly type: import('@embedpdf/models').PDF_FORM_FIELD_TYPE;
|
|
2338
|
+
readonly value: string;
|
|
2339
|
+
readonly isChecked: boolean;
|
|
2340
|
+
readonly options: readonly {
|
|
2341
|
+
readonly label: string;
|
|
2342
|
+
readonly isSelected: boolean;
|
|
2343
|
+
}[];
|
|
2344
|
+
} | undefined;
|
|
2345
|
+
readonly author?: string | undefined;
|
|
2346
|
+
readonly modified?: Date | undefined;
|
|
2347
|
+
readonly created?: Date | undefined;
|
|
2348
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2349
|
+
readonly intent?: string | undefined;
|
|
2350
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2351
|
+
readonly pageIndex?: number | undefined;
|
|
2352
|
+
readonly contents?: string | undefined;
|
|
2353
|
+
readonly id?: string | undefined;
|
|
2354
|
+
readonly rect?: {
|
|
2355
|
+
readonly origin: {
|
|
2356
|
+
readonly x: number;
|
|
2357
|
+
readonly y: number;
|
|
2358
|
+
};
|
|
2359
|
+
readonly size: {
|
|
2360
|
+
readonly width: number;
|
|
2361
|
+
readonly height: number;
|
|
2362
|
+
};
|
|
2363
|
+
} | undefined;
|
|
2364
|
+
readonly custom?: any;
|
|
2365
|
+
} | {
|
|
2366
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.FILEATTACHMENT | undefined;
|
|
2367
|
+
readonly author?: string | undefined;
|
|
2368
|
+
readonly modified?: Date | undefined;
|
|
2369
|
+
readonly created?: Date | undefined;
|
|
2370
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2371
|
+
readonly intent?: string | undefined;
|
|
2372
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2373
|
+
readonly pageIndex?: number | undefined;
|
|
2374
|
+
readonly contents?: string | undefined;
|
|
2375
|
+
readonly id?: string | undefined;
|
|
2376
|
+
readonly rect?: {
|
|
2377
|
+
readonly origin: {
|
|
2378
|
+
readonly x: number;
|
|
2379
|
+
readonly y: number;
|
|
2380
|
+
};
|
|
2381
|
+
readonly size: {
|
|
2382
|
+
readonly width: number;
|
|
2383
|
+
readonly height: number;
|
|
2384
|
+
};
|
|
2385
|
+
} | undefined;
|
|
2386
|
+
readonly custom?: any;
|
|
2387
|
+
} | {
|
|
2388
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.STAMP | undefined;
|
|
2389
|
+
readonly icon?: import('@embedpdf/models').PdfAnnotationIcon | undefined;
|
|
2390
|
+
readonly subject?: string | undefined;
|
|
2391
|
+
readonly author?: string | undefined;
|
|
2392
|
+
readonly modified?: Date | undefined;
|
|
2393
|
+
readonly created?: Date | undefined;
|
|
2394
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2395
|
+
readonly intent?: string | undefined;
|
|
2396
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2397
|
+
readonly pageIndex?: number | undefined;
|
|
2398
|
+
readonly contents?: string | undefined;
|
|
2399
|
+
readonly id?: string | undefined;
|
|
2400
|
+
readonly rect?: {
|
|
2401
|
+
readonly origin: {
|
|
2402
|
+
readonly x: number;
|
|
2403
|
+
readonly y: number;
|
|
2404
|
+
};
|
|
2405
|
+
readonly size: {
|
|
2406
|
+
readonly width: number;
|
|
2407
|
+
readonly height: number;
|
|
2408
|
+
};
|
|
2409
|
+
} | undefined;
|
|
2410
|
+
readonly custom?: any;
|
|
2411
|
+
} | {
|
|
2412
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.SQUARE | undefined;
|
|
2413
|
+
readonly contents?: string | undefined;
|
|
2414
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2415
|
+
readonly color?: string | undefined;
|
|
2416
|
+
readonly opacity?: number | undefined;
|
|
2417
|
+
readonly strokeWidth?: number | undefined;
|
|
2418
|
+
readonly strokeColor?: string | undefined;
|
|
2419
|
+
readonly strokeStyle?: import('@embedpdf/models').PdfAnnotationBorderStyle | undefined;
|
|
2420
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
2421
|
+
readonly cloudyBorderIntensity?: number | undefined;
|
|
2422
|
+
readonly cloudyBorderInset?: readonly number[] | undefined;
|
|
2423
|
+
readonly author?: string | undefined;
|
|
2424
|
+
readonly modified?: Date | undefined;
|
|
2425
|
+
readonly created?: Date | undefined;
|
|
2426
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2427
|
+
readonly intent?: string | undefined;
|
|
2428
|
+
readonly pageIndex?: number | undefined;
|
|
2429
|
+
readonly id?: string | undefined;
|
|
2430
|
+
readonly rect?: {
|
|
2431
|
+
readonly origin: {
|
|
2432
|
+
readonly x: number;
|
|
2433
|
+
readonly y: number;
|
|
2434
|
+
};
|
|
2435
|
+
readonly size: {
|
|
2436
|
+
readonly width: number;
|
|
2437
|
+
readonly height: number;
|
|
2438
|
+
};
|
|
2439
|
+
} | undefined;
|
|
2440
|
+
readonly custom?: any;
|
|
2441
|
+
} | {
|
|
2442
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.CIRCLE | undefined;
|
|
2443
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2444
|
+
readonly contents?: string | undefined;
|
|
2445
|
+
readonly color?: string | undefined;
|
|
2446
|
+
readonly opacity?: number | undefined;
|
|
2447
|
+
readonly strokeWidth?: number | undefined;
|
|
2448
|
+
readonly strokeColor?: string | undefined;
|
|
2449
|
+
readonly strokeStyle?: import('@embedpdf/models').PdfAnnotationBorderStyle | undefined;
|
|
2450
|
+
readonly strokeDashArray?: readonly number[] | undefined;
|
|
2451
|
+
readonly cloudyBorderIntensity?: number | undefined;
|
|
2452
|
+
readonly cloudyBorderInset?: readonly number[] | undefined;
|
|
2453
|
+
readonly author?: string | undefined;
|
|
2454
|
+
readonly modified?: Date | undefined;
|
|
2455
|
+
readonly created?: Date | undefined;
|
|
2456
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2457
|
+
readonly intent?: string | undefined;
|
|
2458
|
+
readonly pageIndex?: number | undefined;
|
|
2459
|
+
readonly id?: string | undefined;
|
|
2460
|
+
readonly rect?: {
|
|
2461
|
+
readonly origin: {
|
|
2462
|
+
readonly x: number;
|
|
2463
|
+
readonly y: number;
|
|
2464
|
+
};
|
|
2465
|
+
readonly size: {
|
|
2466
|
+
readonly width: number;
|
|
2467
|
+
readonly height: number;
|
|
2468
|
+
};
|
|
2469
|
+
} | undefined;
|
|
2470
|
+
readonly custom?: any;
|
|
2471
|
+
} | {
|
|
2472
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.SQUIGGLY | undefined;
|
|
2473
|
+
readonly contents?: string | undefined;
|
|
2474
|
+
readonly color?: string | undefined;
|
|
2475
|
+
readonly opacity?: number | undefined;
|
|
2476
|
+
readonly segmentRects?: readonly {
|
|
2477
|
+
readonly origin: {
|
|
2478
|
+
readonly x: number;
|
|
2479
|
+
readonly y: number;
|
|
2480
|
+
};
|
|
2481
|
+
readonly size: {
|
|
2482
|
+
readonly width: number;
|
|
2483
|
+
readonly height: number;
|
|
2484
|
+
};
|
|
2485
|
+
}[] | undefined;
|
|
2486
|
+
readonly author?: string | undefined;
|
|
2487
|
+
readonly modified?: Date | undefined;
|
|
2488
|
+
readonly created?: Date | undefined;
|
|
2489
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2490
|
+
readonly intent?: string | undefined;
|
|
2491
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2492
|
+
readonly pageIndex?: number | undefined;
|
|
2493
|
+
readonly id?: string | undefined;
|
|
2494
|
+
readonly rect?: {
|
|
2495
|
+
readonly origin: {
|
|
2496
|
+
readonly x: number;
|
|
2497
|
+
readonly y: number;
|
|
2498
|
+
};
|
|
2499
|
+
readonly size: {
|
|
2500
|
+
readonly width: number;
|
|
2501
|
+
readonly height: number;
|
|
2502
|
+
};
|
|
2503
|
+
} | undefined;
|
|
2504
|
+
readonly custom?: any;
|
|
2505
|
+
} | {
|
|
2506
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.UNDERLINE | undefined;
|
|
2507
|
+
readonly contents?: string | undefined;
|
|
2508
|
+
readonly color?: string | undefined;
|
|
2509
|
+
readonly opacity?: number | undefined;
|
|
2510
|
+
readonly segmentRects?: readonly {
|
|
2511
|
+
readonly origin: {
|
|
2512
|
+
readonly x: number;
|
|
2513
|
+
readonly y: number;
|
|
2514
|
+
};
|
|
2515
|
+
readonly size: {
|
|
2516
|
+
readonly width: number;
|
|
2517
|
+
readonly height: number;
|
|
2518
|
+
};
|
|
2519
|
+
}[] | undefined;
|
|
2520
|
+
readonly author?: string | undefined;
|
|
2521
|
+
readonly modified?: Date | undefined;
|
|
2522
|
+
readonly created?: Date | undefined;
|
|
2523
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2524
|
+
readonly intent?: string | undefined;
|
|
2525
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2526
|
+
readonly pageIndex?: number | undefined;
|
|
2527
|
+
readonly id?: string | undefined;
|
|
2528
|
+
readonly rect?: {
|
|
2529
|
+
readonly origin: {
|
|
2530
|
+
readonly x: number;
|
|
2531
|
+
readonly y: number;
|
|
2532
|
+
};
|
|
2533
|
+
readonly size: {
|
|
2534
|
+
readonly width: number;
|
|
2535
|
+
readonly height: number;
|
|
2536
|
+
};
|
|
2537
|
+
} | undefined;
|
|
2538
|
+
readonly custom?: any;
|
|
2539
|
+
} | {
|
|
2540
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.STRIKEOUT | undefined;
|
|
2541
|
+
readonly contents?: string | undefined;
|
|
2542
|
+
readonly color?: string | undefined;
|
|
2543
|
+
readonly opacity?: number | undefined;
|
|
2544
|
+
readonly segmentRects?: readonly {
|
|
2545
|
+
readonly origin: {
|
|
2546
|
+
readonly x: number;
|
|
2547
|
+
readonly y: number;
|
|
2548
|
+
};
|
|
2549
|
+
readonly size: {
|
|
2550
|
+
readonly width: number;
|
|
2551
|
+
readonly height: number;
|
|
2552
|
+
};
|
|
2553
|
+
}[] | undefined;
|
|
2554
|
+
readonly author?: string | undefined;
|
|
2555
|
+
readonly modified?: Date | undefined;
|
|
2556
|
+
readonly created?: Date | undefined;
|
|
2557
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2558
|
+
readonly intent?: string | undefined;
|
|
2559
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2560
|
+
readonly pageIndex?: number | undefined;
|
|
2561
|
+
readonly id?: string | undefined;
|
|
2562
|
+
readonly rect?: {
|
|
2563
|
+
readonly origin: {
|
|
2564
|
+
readonly x: number;
|
|
2565
|
+
readonly y: number;
|
|
2566
|
+
};
|
|
2567
|
+
readonly size: {
|
|
2568
|
+
readonly width: number;
|
|
2569
|
+
readonly height: number;
|
|
2570
|
+
};
|
|
2571
|
+
} | undefined;
|
|
2572
|
+
readonly custom?: any;
|
|
2573
|
+
} | {
|
|
2574
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.CARET | undefined;
|
|
2575
|
+
readonly author?: string | undefined;
|
|
2576
|
+
readonly modified?: Date | undefined;
|
|
2577
|
+
readonly created?: Date | undefined;
|
|
2578
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2579
|
+
readonly intent?: string | undefined;
|
|
2580
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2581
|
+
readonly pageIndex?: number | undefined;
|
|
2582
|
+
readonly contents?: string | undefined;
|
|
2583
|
+
readonly id?: string | undefined;
|
|
2584
|
+
readonly rect?: {
|
|
2585
|
+
readonly origin: {
|
|
2586
|
+
readonly x: number;
|
|
2587
|
+
readonly y: number;
|
|
2588
|
+
};
|
|
2589
|
+
readonly size: {
|
|
2590
|
+
readonly width: number;
|
|
2591
|
+
readonly height: number;
|
|
2592
|
+
};
|
|
2593
|
+
} | undefined;
|
|
2594
|
+
readonly custom?: any;
|
|
2595
|
+
} | {
|
|
2596
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.FREETEXT | undefined;
|
|
2597
|
+
readonly contents?: string | undefined;
|
|
2598
|
+
readonly fontFamily?: import('@embedpdf/models').PdfStandardFont | undefined;
|
|
2599
|
+
readonly fontSize?: number | undefined;
|
|
2600
|
+
readonly fontColor?: string | undefined;
|
|
2601
|
+
readonly textAlign?: import('@embedpdf/models').PdfTextAlignment | undefined;
|
|
2602
|
+
readonly verticalAlign?: import('@embedpdf/models').PdfVerticalAlignment | undefined;
|
|
2603
|
+
readonly opacity?: number | undefined;
|
|
2604
|
+
readonly backgroundColor?: string | undefined;
|
|
2605
|
+
readonly defaultStyle?: string | undefined;
|
|
2606
|
+
readonly richContent?: string | undefined;
|
|
2607
|
+
readonly author?: string | undefined;
|
|
2608
|
+
readonly modified?: Date | undefined;
|
|
2609
|
+
readonly created?: Date | undefined;
|
|
2610
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2611
|
+
readonly intent?: string | undefined;
|
|
2612
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2613
|
+
readonly pageIndex?: number | undefined;
|
|
2614
|
+
readonly id?: string | undefined;
|
|
2615
|
+
readonly rect?: {
|
|
2616
|
+
readonly origin: {
|
|
2617
|
+
readonly x: number;
|
|
2618
|
+
readonly y: number;
|
|
2619
|
+
};
|
|
2620
|
+
readonly size: {
|
|
2621
|
+
readonly width: number;
|
|
2622
|
+
readonly height: number;
|
|
2623
|
+
};
|
|
2624
|
+
} | undefined;
|
|
2625
|
+
readonly custom?: any;
|
|
2626
|
+
} | {
|
|
2627
|
+
readonly type?: import("@embedpdf/models").PdfAnnotationSubtype.UNKNOWN | import("@embedpdf/models").PdfAnnotationSubtype.POPUP | import("@embedpdf/models").PdfAnnotationSubtype.SOUND | import("@embedpdf/models").PdfAnnotationSubtype.MOVIE | import("@embedpdf/models").PdfAnnotationSubtype.SCREEN | import("@embedpdf/models").PdfAnnotationSubtype.PRINTERMARK | import("@embedpdf/models").PdfAnnotationSubtype.TRAPNET | import("@embedpdf/models").PdfAnnotationSubtype.WATERMARK | import("@embedpdf/models").PdfAnnotationSubtype.THREED | import("@embedpdf/models").PdfAnnotationSubtype.RICHMEDIA | import("@embedpdf/models").PdfAnnotationSubtype.XFAWIDGET | import("@embedpdf/models").PdfAnnotationSubtype.REDACT | undefined;
|
|
2628
|
+
readonly author?: string | undefined;
|
|
2629
|
+
readonly modified?: Date | undefined;
|
|
2630
|
+
readonly created?: Date | undefined;
|
|
2631
|
+
readonly blendMode?: import('@embedpdf/models').PdfBlendMode | undefined;
|
|
2632
|
+
readonly intent?: string | undefined;
|
|
2633
|
+
readonly flags?: readonly import('@embedpdf/models').PdfAnnotationFlagName[] | undefined;
|
|
2634
|
+
readonly pageIndex?: number | undefined;
|
|
2635
|
+
readonly contents?: string | undefined;
|
|
2636
|
+
readonly id?: string | undefined;
|
|
2637
|
+
readonly rect?: {
|
|
2638
|
+
readonly origin: {
|
|
2639
|
+
readonly x: number;
|
|
2640
|
+
readonly y: number;
|
|
2641
|
+
};
|
|
2642
|
+
readonly size: {
|
|
2643
|
+
readonly width: number;
|
|
2644
|
+
readonly height: number;
|
|
2645
|
+
};
|
|
2646
|
+
} | undefined;
|
|
2647
|
+
readonly custom?: any;
|
|
2648
|
+
};
|
|
2649
|
+
readonly interaction: {
|
|
2650
|
+
readonly mode?: string | undefined;
|
|
2651
|
+
readonly exclusive: boolean;
|
|
2652
|
+
readonly cursor?: string | undefined;
|
|
2653
|
+
readonly textSelection?: boolean | undefined;
|
|
2654
|
+
readonly isDraggable?: boolean | undefined;
|
|
2655
|
+
readonly isResizable?: boolean | undefined;
|
|
2656
|
+
readonly lockAspectRatio?: boolean | undefined;
|
|
2657
|
+
};
|
|
2658
|
+
readonly behavior?: {
|
|
2659
|
+
readonly deactivateToolAfterCreate?: boolean | undefined;
|
|
2660
|
+
readonly selectAfterCreate?: boolean | undefined;
|
|
2661
|
+
} | undefined;
|
|
2662
|
+
readonly clickBehavior?: {
|
|
2663
|
+
readonly enabled: boolean;
|
|
2664
|
+
readonly defaultSize: {
|
|
2665
|
+
readonly width: number;
|
|
2666
|
+
readonly height: number;
|
|
2667
|
+
};
|
|
2668
|
+
} | {
|
|
2669
|
+
readonly enabled: boolean;
|
|
2670
|
+
readonly defaultLength: number;
|
|
2671
|
+
readonly defaultAngle?: number | undefined;
|
|
2672
|
+
} | {
|
|
2673
|
+
readonly enabled: boolean;
|
|
2674
|
+
readonly defaultSize: {
|
|
2675
|
+
readonly width: number;
|
|
2676
|
+
readonly height: number;
|
|
2677
|
+
};
|
|
2678
|
+
readonly defaultContent?: string | undefined;
|
|
2679
|
+
} | undefined;
|
|
2680
|
+
}[];
|
|
2681
|
+
readonly colorPresets: readonly string[];
|
|
2682
|
+
readonly hasPendingChanges: boolean;
|
|
2683
|
+
}>>;
|
|
2684
|
+
provides: import('vue').Ref<Readonly<import('../../lib/index.ts').AnnotationCapability> | null, Readonly<import('../../lib/index.ts').AnnotationCapability> | null>;
|
|
2685
|
+
};
|