@yudaocode/univer-pdfs 1.6.215 → 1.6.217
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/PDF_BROWSER_RENDERING_CONTRACT.md +288 -22
- package/fixtures/pdf-s1-s7-fidelity-v1.json +2010 -0
- package/lib/cjs/facade/index.js +18 -10
- package/lib/cjs/facade/index.js.map +1 -1
- package/lib/cjs/index.js +557 -100
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/jsx/index.js +143 -68
- package/lib/cjs/jsx/index.js.map +1 -1
- package/lib/es/{chunk-DYTQBEM7.js → chunk-EMSHTYYU.js} +148 -70
- package/lib/es/chunk-EMSHTYYU.js.map +1 -0
- package/lib/es/facade/index.js +19 -10
- package/lib/es/facade/index.js.map +1 -1
- package/lib/es/index.js +408 -32
- package/lib/es/index.js.map +1 -1
- package/lib/es/jsx/index.js +1 -1
- package/lib/types/facade/index.d.ts +3 -0
- package/lib/types/index.d.ts +74 -4
- package/lib/types/jsx/index.d.ts +2 -2
- package/lib/types/jsx/jsx-dev-runtime.d.ts +1 -1
- package/lib/types/jsx/jsx-runtime.d.ts +1 -1
- package/lib/types/{jsx-dev-runtime-BFeiWVJj.d.ts → jsx-dev-runtime-Dm72R_Vm.d.ts} +15 -1
- package/package.json +3 -1
- package/lib/es/chunk-DYTQBEM7.js.map +0 -1
|
@@ -0,0 +1,2010 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "univer-pdf-fidelity-expectations",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"samples": [
|
|
5
|
+
{
|
|
6
|
+
"id": "S1",
|
|
7
|
+
"sampleKey": "s1ShortCjk",
|
|
8
|
+
"title": "S1 中文短文本与中西混排",
|
|
9
|
+
"inputSnapshot": {
|
|
10
|
+
"schema": "univer-pdf-unit",
|
|
11
|
+
"schemaVersion": 1,
|
|
12
|
+
"id": "s1-cjk-short",
|
|
13
|
+
"rev": 1,
|
|
14
|
+
"name": "S1 中文短文本与中西混排",
|
|
15
|
+
"document": {
|
|
16
|
+
"pageSize": {
|
|
17
|
+
"width": 595.28,
|
|
18
|
+
"height": 841.89,
|
|
19
|
+
"preset": "A4"
|
|
20
|
+
},
|
|
21
|
+
"margins": [
|
|
22
|
+
40,
|
|
23
|
+
40,
|
|
24
|
+
40,
|
|
25
|
+
40
|
|
26
|
+
],
|
|
27
|
+
"pages": {
|
|
28
|
+
"page-1": {
|
|
29
|
+
"id": "page-1",
|
|
30
|
+
"title": "Page 1",
|
|
31
|
+
"pageSize": {
|
|
32
|
+
"width": 595.28,
|
|
33
|
+
"height": 841.89,
|
|
34
|
+
"preset": "A4"
|
|
35
|
+
},
|
|
36
|
+
"backgroundColor": "#ffffff"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"pageOrder": [
|
|
40
|
+
"page-1"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"editState": {
|
|
44
|
+
"elementsByPage": {
|
|
45
|
+
"page-1": {
|
|
46
|
+
"s1-banner": {
|
|
47
|
+
"id": "s1-banner",
|
|
48
|
+
"type": "shape",
|
|
49
|
+
"shapeType": "rect",
|
|
50
|
+
"fillColor": "#1e293b",
|
|
51
|
+
"strokeWidth": 0,
|
|
52
|
+
"transform": {
|
|
53
|
+
"left": 40,
|
|
54
|
+
"top": 40,
|
|
55
|
+
"width": 515.28,
|
|
56
|
+
"height": 42
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"s1-title": {
|
|
60
|
+
"id": "s1-title",
|
|
61
|
+
"type": "text",
|
|
62
|
+
"content": "Monthly Report · 月度经营简报(2026)",
|
|
63
|
+
"transform": {
|
|
64
|
+
"left": 52,
|
|
65
|
+
"top": 47,
|
|
66
|
+
"width": 490,
|
|
67
|
+
"height": 28
|
|
68
|
+
},
|
|
69
|
+
"style": {
|
|
70
|
+
"fontSize": 15,
|
|
71
|
+
"fontWeight": "bold",
|
|
72
|
+
"color": "#ffffff",
|
|
73
|
+
"verticalAlign": "middle"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"s1-subtitle": {
|
|
77
|
+
"id": "s1-subtitle",
|
|
78
|
+
"type": "text",
|
|
79
|
+
"content": "Vector Subset Font & ToUnicode Verification Sample",
|
|
80
|
+
"transform": {
|
|
81
|
+
"left": 40,
|
|
82
|
+
"top": 92,
|
|
83
|
+
"width": 515.28,
|
|
84
|
+
"height": 22
|
|
85
|
+
},
|
|
86
|
+
"style": {
|
|
87
|
+
"fontSize": 10.5,
|
|
88
|
+
"italic": true,
|
|
89
|
+
"color": "#475569"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"s1-lbl-period": {
|
|
93
|
+
"id": "s1-lbl-period",
|
|
94
|
+
"type": "text",
|
|
95
|
+
"content": "Report Period:",
|
|
96
|
+
"transform": {
|
|
97
|
+
"left": 40,
|
|
98
|
+
"top": 130,
|
|
99
|
+
"width": 130,
|
|
100
|
+
"height": 26
|
|
101
|
+
},
|
|
102
|
+
"style": {
|
|
103
|
+
"fontSize": 11,
|
|
104
|
+
"fontWeight": "bold",
|
|
105
|
+
"color": "#334155",
|
|
106
|
+
"verticalAlign": "middle"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"s1-val-period": {
|
|
110
|
+
"id": "s1-val-period",
|
|
111
|
+
"type": "text",
|
|
112
|
+
"content": "一月(2026Q1)",
|
|
113
|
+
"transform": {
|
|
114
|
+
"left": 178,
|
|
115
|
+
"top": 130,
|
|
116
|
+
"width": 377.28,
|
|
117
|
+
"height": 26
|
|
118
|
+
},
|
|
119
|
+
"style": {
|
|
120
|
+
"fontSize": 11,
|
|
121
|
+
"color": "#0f172a",
|
|
122
|
+
"backgroundColor": "#f8fafc",
|
|
123
|
+
"borderColor": "#cbd5e1",
|
|
124
|
+
"borderWidth": 1,
|
|
125
|
+
"padding": 5,
|
|
126
|
+
"verticalAlign": "middle"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"s1-lbl-region": {
|
|
130
|
+
"id": "s1-lbl-region",
|
|
131
|
+
"type": "text",
|
|
132
|
+
"content": "Service Region:",
|
|
133
|
+
"transform": {
|
|
134
|
+
"left": 40,
|
|
135
|
+
"top": 168,
|
|
136
|
+
"width": 130,
|
|
137
|
+
"height": 26
|
|
138
|
+
},
|
|
139
|
+
"style": {
|
|
140
|
+
"fontSize": 11,
|
|
141
|
+
"fontWeight": "bold",
|
|
142
|
+
"color": "#334155",
|
|
143
|
+
"verticalAlign": "middle"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"s1-val-region": {
|
|
147
|
+
"id": "s1-val-region",
|
|
148
|
+
"type": "text",
|
|
149
|
+
"content": "华东·上海浦东张江高科技园区",
|
|
150
|
+
"transform": {
|
|
151
|
+
"left": 178,
|
|
152
|
+
"top": 168,
|
|
153
|
+
"width": 377.28,
|
|
154
|
+
"height": 26
|
|
155
|
+
},
|
|
156
|
+
"style": {
|
|
157
|
+
"fontSize": 11,
|
|
158
|
+
"color": "#0f172a",
|
|
159
|
+
"backgroundColor": "#f8fafc",
|
|
160
|
+
"borderColor": "#cbd5e1",
|
|
161
|
+
"borderWidth": 1,
|
|
162
|
+
"padding": 5,
|
|
163
|
+
"verticalAlign": "middle"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"s1-lbl-status": {
|
|
167
|
+
"id": "s1-lbl-status",
|
|
168
|
+
"type": "text",
|
|
169
|
+
"content": "Audit Status:",
|
|
170
|
+
"transform": {
|
|
171
|
+
"left": 40,
|
|
172
|
+
"top": 206,
|
|
173
|
+
"width": 130,
|
|
174
|
+
"height": 26
|
|
175
|
+
},
|
|
176
|
+
"style": {
|
|
177
|
+
"fontSize": 11,
|
|
178
|
+
"fontWeight": "bold",
|
|
179
|
+
"color": "#334155",
|
|
180
|
+
"verticalAlign": "middle"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"s1-val-status": {
|
|
184
|
+
"id": "s1-val-status",
|
|
185
|
+
"type": "text",
|
|
186
|
+
"content": "已核验:专票通过!【批次 A-108】",
|
|
187
|
+
"transform": {
|
|
188
|
+
"left": 178,
|
|
189
|
+
"top": 206,
|
|
190
|
+
"width": 377.28,
|
|
191
|
+
"height": 26
|
|
192
|
+
},
|
|
193
|
+
"style": {
|
|
194
|
+
"fontSize": 11,
|
|
195
|
+
"fontWeight": "bold",
|
|
196
|
+
"color": "#0f766e",
|
|
197
|
+
"backgroundColor": "#f0fdfa",
|
|
198
|
+
"borderColor": "#99f6e4",
|
|
199
|
+
"borderWidth": 1,
|
|
200
|
+
"padding": 5,
|
|
201
|
+
"verticalAlign": "middle"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"s1-lbl-summary": {
|
|
205
|
+
"id": "s1-lbl-summary",
|
|
206
|
+
"type": "text",
|
|
207
|
+
"content": "Summary Note:",
|
|
208
|
+
"transform": {
|
|
209
|
+
"left": 40,
|
|
210
|
+
"top": 244,
|
|
211
|
+
"width": 130,
|
|
212
|
+
"height": 26
|
|
213
|
+
},
|
|
214
|
+
"style": {
|
|
215
|
+
"fontSize": 11,
|
|
216
|
+
"fontWeight": "bold",
|
|
217
|
+
"color": "#334155",
|
|
218
|
+
"verticalAlign": "middle"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"s1-val-summary": {
|
|
222
|
+
"id": "s1-val-summary",
|
|
223
|
+
"type": "text",
|
|
224
|
+
"content": "核心模块 Controller-V2 完成度 98.5%;次日达正常,“零差错”交付。",
|
|
225
|
+
"transform": {
|
|
226
|
+
"left": 178,
|
|
227
|
+
"top": 244,
|
|
228
|
+
"width": 377.28,
|
|
229
|
+
"height": 26
|
|
230
|
+
},
|
|
231
|
+
"style": {
|
|
232
|
+
"fontSize": 11,
|
|
233
|
+
"color": "#0f172a",
|
|
234
|
+
"backgroundColor": "#f8fafc",
|
|
235
|
+
"borderColor": "#cbd5e1",
|
|
236
|
+
"borderWidth": 1,
|
|
237
|
+
"padding": 5,
|
|
238
|
+
"verticalAlign": "middle"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"elementOrderByPage": {
|
|
244
|
+
"page-1": [
|
|
245
|
+
"s1-banner",
|
|
246
|
+
"s1-title",
|
|
247
|
+
"s1-subtitle",
|
|
248
|
+
"s1-lbl-period",
|
|
249
|
+
"s1-val-period",
|
|
250
|
+
"s1-lbl-region",
|
|
251
|
+
"s1-val-region",
|
|
252
|
+
"s1-lbl-status",
|
|
253
|
+
"s1-val-status",
|
|
254
|
+
"s1-lbl-summary",
|
|
255
|
+
"s1-val-summary"
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"resourceBindings": {},
|
|
260
|
+
"metadata": {}
|
|
261
|
+
},
|
|
262
|
+
"renderScenario": {
|
|
263
|
+
"cjkTextMode": "subset-ttf",
|
|
264
|
+
"suppliesSubsetFont": true,
|
|
265
|
+
"omitsRenderOptions": false,
|
|
266
|
+
"description": "subset-ttf vector CJK short text, fullwidth punctuation, and mixed CJK/Latin"
|
|
267
|
+
},
|
|
268
|
+
"expected": {
|
|
269
|
+
"pageCount": 1,
|
|
270
|
+
"tableRowsPerPage": [],
|
|
271
|
+
"extractableTextSnippetsByPage": [
|
|
272
|
+
[
|
|
273
|
+
"Monthly Report · 月度经营简报(2026)",
|
|
274
|
+
"Vector Subset Font & ToUnicode Verification Sample",
|
|
275
|
+
"Report Period:",
|
|
276
|
+
"一月(2026Q1)",
|
|
277
|
+
"华东·上海浦东张江高科技园区",
|
|
278
|
+
"已核验:专票通过!【批次 A-108】",
|
|
279
|
+
"核心模块 Controller-V2 完成度 98.5%;次日达正常,“零差错”交付"
|
|
280
|
+
]
|
|
281
|
+
],
|
|
282
|
+
"embedsType0SubsetFont": true,
|
|
283
|
+
"usesRasterTextImages": false
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"id": "S2",
|
|
288
|
+
"sampleKey": "s2LongTextBox",
|
|
289
|
+
"title": "S2 中文长文本框对齐与裁切",
|
|
290
|
+
"inputSnapshot": {
|
|
291
|
+
"schema": "univer-pdf-unit",
|
|
292
|
+
"schemaVersion": 1,
|
|
293
|
+
"id": "s2-cjk-long-textbox",
|
|
294
|
+
"rev": 1,
|
|
295
|
+
"name": "S2 中文长文本框对齐与裁切",
|
|
296
|
+
"document": {
|
|
297
|
+
"pageSize": {
|
|
298
|
+
"width": 595.28,
|
|
299
|
+
"height": 841.89,
|
|
300
|
+
"preset": "A4"
|
|
301
|
+
},
|
|
302
|
+
"margins": [
|
|
303
|
+
40,
|
|
304
|
+
40,
|
|
305
|
+
40,
|
|
306
|
+
40
|
|
307
|
+
],
|
|
308
|
+
"pages": {
|
|
309
|
+
"page-1": {
|
|
310
|
+
"id": "page-1",
|
|
311
|
+
"title": "Page 1",
|
|
312
|
+
"pageSize": {
|
|
313
|
+
"width": 595.28,
|
|
314
|
+
"height": 841.89,
|
|
315
|
+
"preset": "A4"
|
|
316
|
+
},
|
|
317
|
+
"backgroundColor": "#ffffff"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"pageOrder": [
|
|
321
|
+
"page-1"
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
"editState": {
|
|
325
|
+
"elementsByPage": {
|
|
326
|
+
"page-1": {
|
|
327
|
+
"s2-title": {
|
|
328
|
+
"id": "s2-title",
|
|
329
|
+
"type": "text",
|
|
330
|
+
"content": "S2 多段混排长文本框(左/中/右 × 上/中/下对齐、超长西文断行与溢出裁切)",
|
|
331
|
+
"transform": {
|
|
332
|
+
"left": 40,
|
|
333
|
+
"top": 40,
|
|
334
|
+
"width": 515.28,
|
|
335
|
+
"height": 28
|
|
336
|
+
},
|
|
337
|
+
"style": {
|
|
338
|
+
"fontSize": 13,
|
|
339
|
+
"fontWeight": "bold",
|
|
340
|
+
"color": "#0f172a",
|
|
341
|
+
"verticalAlign": "middle"
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"s2-left-top-clip": {
|
|
345
|
+
"id": "s2-left-top-clip",
|
|
346
|
+
"type": "text",
|
|
347
|
+
"content": "左对齐·顶部示例:上海浦东张江高科技园区工业传感器模块已完成年度核验。\nEnglish words wrap cleanly while SupercalifragilisticexpialidociousControllerModule2026 breaks by character.\n第三段:超出固定高度的第四行与第五行将在框内严格裁切,绝不向下方元素溢出。\n第四段:本行位于框底裁切边界之外。",
|
|
348
|
+
"overflow": "clip",
|
|
349
|
+
"transform": {
|
|
350
|
+
"left": 40,
|
|
351
|
+
"top": 82,
|
|
352
|
+
"width": 515.28,
|
|
353
|
+
"height": 74
|
|
354
|
+
},
|
|
355
|
+
"style": {
|
|
356
|
+
"fontSize": 10.5,
|
|
357
|
+
"lineHeight": 1.45,
|
|
358
|
+
"textAlign": "left",
|
|
359
|
+
"verticalAlign": "top",
|
|
360
|
+
"color": "#0f172a",
|
|
361
|
+
"backgroundColor": "#f8fafc",
|
|
362
|
+
"borderColor": "#94a3b8",
|
|
363
|
+
"borderWidth": 1,
|
|
364
|
+
"padding": 6
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"s2-center-middle": {
|
|
368
|
+
"id": "s2-center-middle",
|
|
369
|
+
"type": "text",
|
|
370
|
+
"content": "居中·垂直居中示例(Center / Middle)\n华东华南华北三区合计通过率 99.2%,单据状态正常。",
|
|
371
|
+
"transform": {
|
|
372
|
+
"left": 40,
|
|
373
|
+
"top": 174,
|
|
374
|
+
"width": 250,
|
|
375
|
+
"height": 86
|
|
376
|
+
},
|
|
377
|
+
"style": {
|
|
378
|
+
"fontSize": 10.5,
|
|
379
|
+
"lineHeight": 1.45,
|
|
380
|
+
"textAlign": "center",
|
|
381
|
+
"verticalAlign": "middle",
|
|
382
|
+
"color": "#1e293b",
|
|
383
|
+
"backgroundColor": "#eff6ff",
|
|
384
|
+
"borderColor": "#93c5fd",
|
|
385
|
+
"borderWidth": 1,
|
|
386
|
+
"padding": 6
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"s2-right-bottom": {
|
|
390
|
+
"id": "s2-right-bottom",
|
|
391
|
+
"type": "text",
|
|
392
|
+
"content": "右对齐·底部示例(Right / Bottom)\n财务专用章 | 仓库签章\n2026-01-31",
|
|
393
|
+
"transform": {
|
|
394
|
+
"left": 305.28,
|
|
395
|
+
"top": 174,
|
|
396
|
+
"width": 250,
|
|
397
|
+
"height": 86
|
|
398
|
+
},
|
|
399
|
+
"style": {
|
|
400
|
+
"fontSize": 10.5,
|
|
401
|
+
"lineHeight": 1.4,
|
|
402
|
+
"textAlign": "right",
|
|
403
|
+
"verticalAlign": "bottom",
|
|
404
|
+
"color": "#0f766e",
|
|
405
|
+
"backgroundColor": "#f0fdfa",
|
|
406
|
+
"borderColor": "#5eead4",
|
|
407
|
+
"borderWidth": 1,
|
|
408
|
+
"padding": 6
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"s2-autofit-shrink": {
|
|
412
|
+
"id": "s2-autofit-shrink",
|
|
413
|
+
"type": "text",
|
|
414
|
+
"content": "缩小字号自适应示例(autoFitFontSize):当长文本超出紧凑高度时自动缩小字号至不低于最小字号,完整保留华东张江园区精密控制器组件验收说明与 Batch-2026-Q1 编号。",
|
|
415
|
+
"overflow": "shrink",
|
|
416
|
+
"autoFitFontSize": true,
|
|
417
|
+
"minFontSize": 7,
|
|
418
|
+
"transform": {
|
|
419
|
+
"left": 40,
|
|
420
|
+
"top": 278,
|
|
421
|
+
"width": 515.28,
|
|
422
|
+
"height": 42
|
|
423
|
+
},
|
|
424
|
+
"style": {
|
|
425
|
+
"fontSize": 12,
|
|
426
|
+
"lineHeight": 1.35,
|
|
427
|
+
"textAlign": "left",
|
|
428
|
+
"verticalAlign": "middle",
|
|
429
|
+
"color": "#334155",
|
|
430
|
+
"backgroundColor": "#fefce8",
|
|
431
|
+
"borderColor": "#fde047",
|
|
432
|
+
"borderWidth": 1,
|
|
433
|
+
"padding": 5
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
"elementOrderByPage": {
|
|
439
|
+
"page-1": [
|
|
440
|
+
"s2-title",
|
|
441
|
+
"s2-left-top-clip",
|
|
442
|
+
"s2-center-middle",
|
|
443
|
+
"s2-right-bottom",
|
|
444
|
+
"s2-autofit-shrink"
|
|
445
|
+
]
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"resourceBindings": {},
|
|
449
|
+
"metadata": {}
|
|
450
|
+
},
|
|
451
|
+
"renderScenario": {
|
|
452
|
+
"cjkTextMode": "subset-ttf",
|
|
453
|
+
"suppliesSubsetFont": true,
|
|
454
|
+
"omitsRenderOptions": false,
|
|
455
|
+
"description": "subset-ttf multi-paragraph wrapping, 3x3 alignment, box clipping, and autoFitFontSize shrink"
|
|
456
|
+
},
|
|
457
|
+
"expected": {
|
|
458
|
+
"pageCount": 1,
|
|
459
|
+
"tableRowsPerPage": [],
|
|
460
|
+
"extractableTextSnippetsByPage": [
|
|
461
|
+
[
|
|
462
|
+
"S2 多段混排长文本框",
|
|
463
|
+
"English words wrap cleanly while",
|
|
464
|
+
"居中·垂直居中示例(Center / Middle)",
|
|
465
|
+
"99.2%",
|
|
466
|
+
"右对齐·底部示例(Right / Bottom)",
|
|
467
|
+
"2026-01-31",
|
|
468
|
+
"缩小字号自适应示例(autoFitFontSize)",
|
|
469
|
+
"Batch-2026-Q1"
|
|
470
|
+
]
|
|
471
|
+
],
|
|
472
|
+
"embedsType0SubsetFont": true,
|
|
473
|
+
"usesRasterTextImages": false
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"id": "S3",
|
|
478
|
+
"sampleKey": "s3SinglePageTable",
|
|
479
|
+
"title": "S3 单页五列比例与格式表格",
|
|
480
|
+
"inputSnapshot": {
|
|
481
|
+
"schema": "univer-pdf-unit",
|
|
482
|
+
"schemaVersion": 1,
|
|
483
|
+
"id": "s3-single-page-table",
|
|
484
|
+
"rev": 1,
|
|
485
|
+
"name": "S3 单页五列比例与格式表格",
|
|
486
|
+
"document": {
|
|
487
|
+
"pageSize": {
|
|
488
|
+
"width": 595.28,
|
|
489
|
+
"height": 841.89,
|
|
490
|
+
"preset": "A4"
|
|
491
|
+
},
|
|
492
|
+
"margins": [
|
|
493
|
+
40,
|
|
494
|
+
40,
|
|
495
|
+
40,
|
|
496
|
+
40
|
|
497
|
+
],
|
|
498
|
+
"pages": {
|
|
499
|
+
"page-1": {
|
|
500
|
+
"id": "page-1",
|
|
501
|
+
"title": "Page 1",
|
|
502
|
+
"pageSize": {
|
|
503
|
+
"width": 595.28,
|
|
504
|
+
"height": 841.89,
|
|
505
|
+
"preset": "A4"
|
|
506
|
+
},
|
|
507
|
+
"backgroundColor": "#ffffff"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"pageOrder": [
|
|
511
|
+
"page-1"
|
|
512
|
+
]
|
|
513
|
+
},
|
|
514
|
+
"editState": {
|
|
515
|
+
"elementsByPage": {
|
|
516
|
+
"page-1": {
|
|
517
|
+
"s3-title": {
|
|
518
|
+
"id": "s3-title",
|
|
519
|
+
"type": "text",
|
|
520
|
+
"content": "S3 采购出库核验单页明细表(列宽比例 1:2:1:1:1 · 数值/货币/百分比)",
|
|
521
|
+
"transform": {
|
|
522
|
+
"left": 40,
|
|
523
|
+
"top": 40,
|
|
524
|
+
"width": 515.28,
|
|
525
|
+
"height": 28
|
|
526
|
+
},
|
|
527
|
+
"style": {
|
|
528
|
+
"fontSize": 13.5,
|
|
529
|
+
"fontWeight": "bold",
|
|
530
|
+
"color": "#0f172a",
|
|
531
|
+
"verticalAlign": "middle"
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"s3-table": {
|
|
535
|
+
"id": "s3-table",
|
|
536
|
+
"type": "table",
|
|
537
|
+
"transform": {
|
|
538
|
+
"left": 40,
|
|
539
|
+
"top": 82,
|
|
540
|
+
"width": 515.28,
|
|
541
|
+
"height": 196
|
|
542
|
+
},
|
|
543
|
+
"headerHeight": 28,
|
|
544
|
+
"rowHeight": 24,
|
|
545
|
+
"borderColor": "#cbd5e1",
|
|
546
|
+
"borderWidth": 0.8,
|
|
547
|
+
"zebraStripeColor": "#f1f5f9",
|
|
548
|
+
"headerStyle": {
|
|
549
|
+
"fontSize": 10,
|
|
550
|
+
"fontWeight": "bold",
|
|
551
|
+
"color": "#ffffff",
|
|
552
|
+
"backgroundColor": "#1e293b",
|
|
553
|
+
"padding": 5
|
|
554
|
+
},
|
|
555
|
+
"bodyStyle": {
|
|
556
|
+
"fontSize": 9.5,
|
|
557
|
+
"color": "#0f172a",
|
|
558
|
+
"padding": 5
|
|
559
|
+
},
|
|
560
|
+
"columns": [
|
|
561
|
+
{
|
|
562
|
+
"id": "c1",
|
|
563
|
+
"header": "序号",
|
|
564
|
+
"field": "seq",
|
|
565
|
+
"widthRatio": 1,
|
|
566
|
+
"align": "center",
|
|
567
|
+
"format": "text"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"id": "c2",
|
|
571
|
+
"header": "商品规格说明",
|
|
572
|
+
"field": "spec",
|
|
573
|
+
"widthRatio": 2,
|
|
574
|
+
"align": "left",
|
|
575
|
+
"format": "text"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"id": "c3",
|
|
579
|
+
"header": "数量",
|
|
580
|
+
"field": "qty",
|
|
581
|
+
"widthRatio": 1,
|
|
582
|
+
"align": "right",
|
|
583
|
+
"format": "number",
|
|
584
|
+
"decimals": 0
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"id": "c4",
|
|
588
|
+
"header": "单价",
|
|
589
|
+
"field": "price",
|
|
590
|
+
"widthRatio": 1,
|
|
591
|
+
"align": "right",
|
|
592
|
+
"format": "currency",
|
|
593
|
+
"currencySymbol": "¥",
|
|
594
|
+
"decimals": 2
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"id": "c5",
|
|
598
|
+
"header": "完成度",
|
|
599
|
+
"field": "rate",
|
|
600
|
+
"widthRatio": 1,
|
|
601
|
+
"align": "right",
|
|
602
|
+
"format": "percent",
|
|
603
|
+
"decimals": 1
|
|
604
|
+
}
|
|
605
|
+
],
|
|
606
|
+
"rows": [
|
|
607
|
+
[
|
|
608
|
+
"A-01",
|
|
609
|
+
"工业传感器模块(华东标准版)",
|
|
610
|
+
"1200",
|
|
611
|
+
"358.5",
|
|
612
|
+
"0.985"
|
|
613
|
+
],
|
|
614
|
+
[
|
|
615
|
+
"A-02",
|
|
616
|
+
"精密控制器组件 Controller-V2",
|
|
617
|
+
"450",
|
|
618
|
+
"1280",
|
|
619
|
+
"1"
|
|
620
|
+
],
|
|
621
|
+
[
|
|
622
|
+
"A-03",
|
|
623
|
+
"张江园区次日达保价运输包",
|
|
624
|
+
"3200",
|
|
625
|
+
"45.25",
|
|
626
|
+
"0.962"
|
|
627
|
+
],
|
|
628
|
+
[
|
|
629
|
+
"A-04",
|
|
630
|
+
"华南深圳陆运专票核验批次",
|
|
631
|
+
"860",
|
|
632
|
+
"512.8",
|
|
633
|
+
"0.894"
|
|
634
|
+
],
|
|
635
|
+
[
|
|
636
|
+
"A-05",
|
|
637
|
+
"华北北京仓库签章追溯码套装",
|
|
638
|
+
"1540",
|
|
639
|
+
"96",
|
|
640
|
+
"0.998"
|
|
641
|
+
],
|
|
642
|
+
[
|
|
643
|
+
"A-06",
|
|
644
|
+
"年度合计备品模块(内部资料)",
|
|
645
|
+
"300",
|
|
646
|
+
"2150.4",
|
|
647
|
+
"0.95"
|
|
648
|
+
]
|
|
649
|
+
]
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
"elementOrderByPage": {
|
|
654
|
+
"page-1": [
|
|
655
|
+
"s3-title",
|
|
656
|
+
"s3-table"
|
|
657
|
+
]
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
"resourceBindings": {},
|
|
661
|
+
"metadata": {}
|
|
662
|
+
},
|
|
663
|
+
"renderScenario": {
|
|
664
|
+
"cjkTextMode": "subset-ttf",
|
|
665
|
+
"suppliesSubsetFont": true,
|
|
666
|
+
"omitsRenderOptions": false,
|
|
667
|
+
"description": "subset-ttf single-page 5-column (1:2:1:1:1) formatted table with zebra stripes"
|
|
668
|
+
},
|
|
669
|
+
"expected": {
|
|
670
|
+
"pageCount": 1,
|
|
671
|
+
"tableRowsPerPage": [
|
|
672
|
+
6
|
|
673
|
+
],
|
|
674
|
+
"extractableTextSnippetsByPage": [
|
|
675
|
+
[
|
|
676
|
+
"S3 采购出库核验单页明细表",
|
|
677
|
+
"商品规格说明",
|
|
678
|
+
"A-01",
|
|
679
|
+
"工业传感器模块(华东标准版)",
|
|
680
|
+
"1,200",
|
|
681
|
+
"¥358.50",
|
|
682
|
+
"98.5%",
|
|
683
|
+
"A-06",
|
|
684
|
+
"¥2,150.40",
|
|
685
|
+
"95.0%"
|
|
686
|
+
]
|
|
687
|
+
],
|
|
688
|
+
"embedsType0SubsetFont": true,
|
|
689
|
+
"usesRasterTextImages": false
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"id": "S4",
|
|
694
|
+
"sampleKey": "s4CellOverflow",
|
|
695
|
+
"title": "S4 窄列单元格断行裁切与自适应字号",
|
|
696
|
+
"inputSnapshot": {
|
|
697
|
+
"schema": "univer-pdf-unit",
|
|
698
|
+
"schemaVersion": 1,
|
|
699
|
+
"id": "s4-cell-overflow",
|
|
700
|
+
"rev": 1,
|
|
701
|
+
"name": "S4 窄列单元格断行裁切与自适应字号",
|
|
702
|
+
"document": {
|
|
703
|
+
"pageSize": {
|
|
704
|
+
"width": 595.28,
|
|
705
|
+
"height": 841.89,
|
|
706
|
+
"preset": "A4"
|
|
707
|
+
},
|
|
708
|
+
"margins": [
|
|
709
|
+
40,
|
|
710
|
+
40,
|
|
711
|
+
40,
|
|
712
|
+
40
|
|
713
|
+
],
|
|
714
|
+
"pages": {
|
|
715
|
+
"page-1": {
|
|
716
|
+
"id": "page-1",
|
|
717
|
+
"title": "Page 1",
|
|
718
|
+
"pageSize": {
|
|
719
|
+
"width": 595.28,
|
|
720
|
+
"height": 841.89,
|
|
721
|
+
"preset": "A4"
|
|
722
|
+
},
|
|
723
|
+
"backgroundColor": "#ffffff"
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
"pageOrder": [
|
|
727
|
+
"page-1"
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
"editState": {
|
|
731
|
+
"elementsByPage": {
|
|
732
|
+
"page-1": {
|
|
733
|
+
"s4-title-clip": {
|
|
734
|
+
"id": "s4-title-clip",
|
|
735
|
+
"type": "text",
|
|
736
|
+
"content": "S4-A 默认固定行高(24pt)窄列溢出严格裁切(T4 断行 + T5 单元格内裁切,不侵入邻格)",
|
|
737
|
+
"transform": {
|
|
738
|
+
"left": 40,
|
|
739
|
+
"top": 40,
|
|
740
|
+
"width": 515.28,
|
|
741
|
+
"height": 24
|
|
742
|
+
},
|
|
743
|
+
"style": {
|
|
744
|
+
"fontSize": 11.5,
|
|
745
|
+
"fontWeight": "bold",
|
|
746
|
+
"color": "#0f172a",
|
|
747
|
+
"verticalAlign": "middle"
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
"s4-table-clip": {
|
|
751
|
+
"id": "s4-table-clip",
|
|
752
|
+
"type": "table",
|
|
753
|
+
"transform": {
|
|
754
|
+
"left": 40,
|
|
755
|
+
"top": 72,
|
|
756
|
+
"width": 515.28,
|
|
757
|
+
"height": 84
|
|
758
|
+
},
|
|
759
|
+
"headerHeight": 26,
|
|
760
|
+
"rowHeight": 24,
|
|
761
|
+
"borderColor": "#94a3b8",
|
|
762
|
+
"borderWidth": 0.8,
|
|
763
|
+
"zebraStripeColor": "#f8fafc",
|
|
764
|
+
"headerStyle": {
|
|
765
|
+
"fontSize": 9.5,
|
|
766
|
+
"fontWeight": "bold",
|
|
767
|
+
"color": "#ffffff",
|
|
768
|
+
"backgroundColor": "#334155",
|
|
769
|
+
"padding": 4
|
|
770
|
+
},
|
|
771
|
+
"bodyStyle": {
|
|
772
|
+
"fontSize": 9.5,
|
|
773
|
+
"color": "#0f172a",
|
|
774
|
+
"padding": 4
|
|
775
|
+
},
|
|
776
|
+
"columns": [
|
|
777
|
+
{
|
|
778
|
+
"id": "o1",
|
|
779
|
+
"header": "窄列长中文",
|
|
780
|
+
"field": "cjk",
|
|
781
|
+
"widthRatio": 1,
|
|
782
|
+
"align": "left"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"id": "o2",
|
|
786
|
+
"header": "窄列超长西文",
|
|
787
|
+
"field": "latin",
|
|
788
|
+
"widthRatio": 1,
|
|
789
|
+
"align": "left"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"id": "o3",
|
|
793
|
+
"header": "窄列多行文本",
|
|
794
|
+
"field": "multi",
|
|
795
|
+
"widthRatio": 1,
|
|
796
|
+
"align": "left"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"id": "o4",
|
|
800
|
+
"header": "对照邻格",
|
|
801
|
+
"field": "neighbor",
|
|
802
|
+
"widthRatio": 1,
|
|
803
|
+
"align": "center"
|
|
804
|
+
}
|
|
805
|
+
],
|
|
806
|
+
"rows": [
|
|
807
|
+
[
|
|
808
|
+
"上海浦东张江高科技园区工业传感器精密控制器组件核验通过明细超出裁切不外溢",
|
|
809
|
+
"SupercalifragilisticexpialidociousControllerModule2026OverflowCheck",
|
|
810
|
+
"第一行:已核验\n第二行:待审说明\n第三行:超出裁切不外溢",
|
|
811
|
+
"正常邻格 A1"
|
|
812
|
+
],
|
|
813
|
+
[
|
|
814
|
+
"北京深圳杭州三地仓库签章与顺丰电子面单三联采购出库套打模板长文本核验",
|
|
815
|
+
"ElectroencephalographicallyCalibratedSensorBatch99887766",
|
|
816
|
+
"首行正常显示\n次行超出固定行高裁切",
|
|
817
|
+
"正常邻格 A2"
|
|
818
|
+
]
|
|
819
|
+
]
|
|
820
|
+
},
|
|
821
|
+
"s4-title-autofit": {
|
|
822
|
+
"id": "s4-title-autofit",
|
|
823
|
+
"type": "text",
|
|
824
|
+
"content": "S4-B 开启表格单元格缩小字号(T6 autoFitFontSize: true, minFontSize: 6.5)",
|
|
825
|
+
"transform": {
|
|
826
|
+
"left": 40,
|
|
827
|
+
"top": 180,
|
|
828
|
+
"width": 515.28,
|
|
829
|
+
"height": 24
|
|
830
|
+
},
|
|
831
|
+
"style": {
|
|
832
|
+
"fontSize": 11.5,
|
|
833
|
+
"fontWeight": "bold",
|
|
834
|
+
"color": "#0f766e",
|
|
835
|
+
"verticalAlign": "middle"
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
"s4-table-autofit": {
|
|
839
|
+
"id": "s4-table-autofit",
|
|
840
|
+
"type": "table",
|
|
841
|
+
"transform": {
|
|
842
|
+
"left": 40,
|
|
843
|
+
"top": 212,
|
|
844
|
+
"width": 515.28,
|
|
845
|
+
"height": 84
|
|
846
|
+
},
|
|
847
|
+
"headerHeight": 26,
|
|
848
|
+
"rowHeight": 24,
|
|
849
|
+
"autoFitFontSize": true,
|
|
850
|
+
"minFontSize": 6.5,
|
|
851
|
+
"borderColor": "#94a3b8",
|
|
852
|
+
"borderWidth": 0.8,
|
|
853
|
+
"zebraStripeColor": "#f0fdfa",
|
|
854
|
+
"headerStyle": {
|
|
855
|
+
"fontSize": 9.5,
|
|
856
|
+
"fontWeight": "bold",
|
|
857
|
+
"color": "#ffffff",
|
|
858
|
+
"backgroundColor": "#0f766e",
|
|
859
|
+
"padding": 4
|
|
860
|
+
},
|
|
861
|
+
"bodyStyle": {
|
|
862
|
+
"fontSize": 9.5,
|
|
863
|
+
"color": "#0f172a",
|
|
864
|
+
"padding": 4
|
|
865
|
+
},
|
|
866
|
+
"columns": [
|
|
867
|
+
{
|
|
868
|
+
"id": "a1",
|
|
869
|
+
"header": "窄列长中文",
|
|
870
|
+
"field": "cjk",
|
|
871
|
+
"widthRatio": 1,
|
|
872
|
+
"align": "left"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"id": "a2",
|
|
876
|
+
"header": "窄列超长西文",
|
|
877
|
+
"field": "latin",
|
|
878
|
+
"widthRatio": 1,
|
|
879
|
+
"align": "left"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"id": "a3",
|
|
883
|
+
"header": "窄列多行文本",
|
|
884
|
+
"field": "multi",
|
|
885
|
+
"widthRatio": 1,
|
|
886
|
+
"align": "left"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"id": "a4",
|
|
890
|
+
"header": "对照邻格",
|
|
891
|
+
"field": "neighbor",
|
|
892
|
+
"widthRatio": 1,
|
|
893
|
+
"align": "center"
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
"rows": [
|
|
897
|
+
[
|
|
898
|
+
"上海浦东张江高科技园区工业传感器精密控制器组件核验通过明细超出裁切不外溢",
|
|
899
|
+
"SupercalifragilisticexpialidociousControllerModule2026OverflowCheck",
|
|
900
|
+
"第一行:已核验\n第二行:待审说明\n第三行:超出裁切不外溢",
|
|
901
|
+
"正常邻格 A1"
|
|
902
|
+
],
|
|
903
|
+
[
|
|
904
|
+
"北京深圳杭州三地仓库签章与顺丰电子面单三联采购出库套打模板长文本核验",
|
|
905
|
+
"ElectroencephalographicallyCalibratedSensorBatch99887766",
|
|
906
|
+
"首行正常显示\n次行超出固定行高裁切",
|
|
907
|
+
"正常邻格 A2"
|
|
908
|
+
]
|
|
909
|
+
]
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
},
|
|
913
|
+
"elementOrderByPage": {
|
|
914
|
+
"page-1": [
|
|
915
|
+
"s4-title-clip",
|
|
916
|
+
"s4-table-clip",
|
|
917
|
+
"s4-title-autofit",
|
|
918
|
+
"s4-table-autofit"
|
|
919
|
+
]
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"resourceBindings": {},
|
|
923
|
+
"metadata": {}
|
|
924
|
+
},
|
|
925
|
+
"renderScenario": {
|
|
926
|
+
"cjkTextMode": "subset-ttf",
|
|
927
|
+
"suppliesSubsetFont": true,
|
|
928
|
+
"omitsRenderOptions": false,
|
|
929
|
+
"description": "subset-ttf narrow-column cell overflow clipping and table autoFitFontSize"
|
|
930
|
+
},
|
|
931
|
+
"expected": {
|
|
932
|
+
"pageCount": 1,
|
|
933
|
+
"tableRowsPerPage": [
|
|
934
|
+
2
|
|
935
|
+
],
|
|
936
|
+
"extractableTextSnippetsByPage": [
|
|
937
|
+
[
|
|
938
|
+
"S4-A 默认固定行高(24pt)窄列溢出严格裁切",
|
|
939
|
+
"窄列长中文",
|
|
940
|
+
"窄列超长西文",
|
|
941
|
+
"正常邻格 A1",
|
|
942
|
+
"正常邻格 A2",
|
|
943
|
+
"S4-B 开启表格单元格缩小字号"
|
|
944
|
+
]
|
|
945
|
+
],
|
|
946
|
+
"embedsType0SubsetFont": true,
|
|
947
|
+
"usesRasterTextImages": false
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"id": "S5",
|
|
952
|
+
"sampleKey": "s5MultiPageTable",
|
|
953
|
+
"title": "S5 多页表格与上下元素流转",
|
|
954
|
+
"inputSnapshot": {
|
|
955
|
+
"schema": "univer-pdf-unit",
|
|
956
|
+
"schemaVersion": 1,
|
|
957
|
+
"id": "s5-multipage-table",
|
|
958
|
+
"rev": 1,
|
|
959
|
+
"name": "S5 多页表格与上下元素流转",
|
|
960
|
+
"document": {
|
|
961
|
+
"pageSize": {
|
|
962
|
+
"width": 595.28,
|
|
963
|
+
"height": 841.89,
|
|
964
|
+
"preset": "A4"
|
|
965
|
+
},
|
|
966
|
+
"margins": [
|
|
967
|
+
40,
|
|
968
|
+
40,
|
|
969
|
+
40,
|
|
970
|
+
40
|
|
971
|
+
],
|
|
972
|
+
"pages": {
|
|
973
|
+
"page-1": {
|
|
974
|
+
"id": "page-1",
|
|
975
|
+
"title": "Page 1",
|
|
976
|
+
"pageSize": {
|
|
977
|
+
"width": 595.28,
|
|
978
|
+
"height": 841.89,
|
|
979
|
+
"preset": "A4"
|
|
980
|
+
},
|
|
981
|
+
"backgroundColor": "#ffffff"
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
"pageOrder": [
|
|
985
|
+
"page-1"
|
|
986
|
+
]
|
|
987
|
+
},
|
|
988
|
+
"editState": {
|
|
989
|
+
"elementsByPage": {
|
|
990
|
+
"page-1": {
|
|
991
|
+
"s5-above-title": {
|
|
992
|
+
"id": "s5-above-title",
|
|
993
|
+
"type": "text",
|
|
994
|
+
"content": "S5 多页出入库核验明细表(单页容量 14 行 × 2.5 倍 = 35 行)",
|
|
995
|
+
"transform": {
|
|
996
|
+
"left": 40,
|
|
997
|
+
"top": 42,
|
|
998
|
+
"width": 515.28,
|
|
999
|
+
"height": 26
|
|
1000
|
+
},
|
|
1001
|
+
"style": {
|
|
1002
|
+
"fontSize": 13.5,
|
|
1003
|
+
"fontWeight": "bold",
|
|
1004
|
+
"color": "#0f172a",
|
|
1005
|
+
"verticalAlign": "middle"
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
"s5-above-meta": {
|
|
1009
|
+
"id": "s5-above-meta",
|
|
1010
|
+
"type": "text",
|
|
1011
|
+
"content": "单据状态:已核验 | 园区:华东张江高科技园区 | 日期:2026-01-31",
|
|
1012
|
+
"transform": {
|
|
1013
|
+
"left": 40,
|
|
1014
|
+
"top": 72,
|
|
1015
|
+
"width": 515.28,
|
|
1016
|
+
"height": 22
|
|
1017
|
+
},
|
|
1018
|
+
"style": {
|
|
1019
|
+
"fontSize": 10,
|
|
1020
|
+
"color": "#334155",
|
|
1021
|
+
"backgroundColor": "#f8fafc",
|
|
1022
|
+
"borderColor": "#cbd5e1",
|
|
1023
|
+
"borderWidth": 0.8,
|
|
1024
|
+
"padding": 4,
|
|
1025
|
+
"verticalAlign": "middle"
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
"s5-table": {
|
|
1029
|
+
"id": "s5-table",
|
|
1030
|
+
"type": "table",
|
|
1031
|
+
"transform": {
|
|
1032
|
+
"left": 40,
|
|
1033
|
+
"top": 106,
|
|
1034
|
+
"width": 515.28,
|
|
1035
|
+
"height": 362
|
|
1036
|
+
},
|
|
1037
|
+
"headerHeight": 26,
|
|
1038
|
+
"rowHeight": 24,
|
|
1039
|
+
"repeatHeader": true,
|
|
1040
|
+
"zebraParity": "continuous",
|
|
1041
|
+
"zebraStripeColor": "#f1f5f9",
|
|
1042
|
+
"borderColor": "#cbd5e1",
|
|
1043
|
+
"borderWidth": 0.8,
|
|
1044
|
+
"headerStyle": {
|
|
1045
|
+
"fontSize": 10,
|
|
1046
|
+
"fontWeight": "bold",
|
|
1047
|
+
"color": "#ffffff",
|
|
1048
|
+
"backgroundColor": "#1e293b",
|
|
1049
|
+
"padding": 5
|
|
1050
|
+
},
|
|
1051
|
+
"bodyStyle": {
|
|
1052
|
+
"fontSize": 9.5,
|
|
1053
|
+
"color": "#0f172a",
|
|
1054
|
+
"padding": 5
|
|
1055
|
+
},
|
|
1056
|
+
"columns": [
|
|
1057
|
+
{
|
|
1058
|
+
"id": "m1",
|
|
1059
|
+
"header": "订单编号",
|
|
1060
|
+
"field": "no",
|
|
1061
|
+
"widthRatio": 1,
|
|
1062
|
+
"align": "center",
|
|
1063
|
+
"format": "text"
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"id": "m2",
|
|
1067
|
+
"header": "商品规格",
|
|
1068
|
+
"field": "spec",
|
|
1069
|
+
"widthRatio": 2,
|
|
1070
|
+
"align": "left",
|
|
1071
|
+
"format": "text"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"id": "m3",
|
|
1075
|
+
"header": "数量",
|
|
1076
|
+
"field": "qty",
|
|
1077
|
+
"widthRatio": 1,
|
|
1078
|
+
"align": "right",
|
|
1079
|
+
"format": "number",
|
|
1080
|
+
"decimals": 0
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"id": "m4",
|
|
1084
|
+
"header": "金额",
|
|
1085
|
+
"field": "amt",
|
|
1086
|
+
"widthRatio": 1,
|
|
1087
|
+
"align": "right",
|
|
1088
|
+
"format": "currency",
|
|
1089
|
+
"currencySymbol": "¥",
|
|
1090
|
+
"decimals": 2
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"id": "m5",
|
|
1094
|
+
"header": "状态",
|
|
1095
|
+
"field": "status",
|
|
1096
|
+
"widthRatio": 1,
|
|
1097
|
+
"align": "center",
|
|
1098
|
+
"format": "text"
|
|
1099
|
+
}
|
|
1100
|
+
],
|
|
1101
|
+
"rows": [
|
|
1102
|
+
[
|
|
1103
|
+
"R-01",
|
|
1104
|
+
"华东上海园区·工业传感器模块",
|
|
1105
|
+
"10",
|
|
1106
|
+
"125.50",
|
|
1107
|
+
"已核验"
|
|
1108
|
+
],
|
|
1109
|
+
[
|
|
1110
|
+
"R-02",
|
|
1111
|
+
"华南深圳园区·精密控制器组件",
|
|
1112
|
+
"20",
|
|
1113
|
+
"251.00",
|
|
1114
|
+
"通过"
|
|
1115
|
+
],
|
|
1116
|
+
[
|
|
1117
|
+
"R-03",
|
|
1118
|
+
"华北北京园区·工业传感器模块",
|
|
1119
|
+
"30",
|
|
1120
|
+
"376.50",
|
|
1121
|
+
"已核验"
|
|
1122
|
+
],
|
|
1123
|
+
[
|
|
1124
|
+
"R-04",
|
|
1125
|
+
"华东上海园区·精密控制器组件",
|
|
1126
|
+
"40",
|
|
1127
|
+
"502.00",
|
|
1128
|
+
"通过"
|
|
1129
|
+
],
|
|
1130
|
+
[
|
|
1131
|
+
"R-05",
|
|
1132
|
+
"华南深圳园区·工业传感器模块",
|
|
1133
|
+
"50",
|
|
1134
|
+
"627.50",
|
|
1135
|
+
"已核验"
|
|
1136
|
+
],
|
|
1137
|
+
[
|
|
1138
|
+
"R-06",
|
|
1139
|
+
"华北北京园区·精密控制器组件",
|
|
1140
|
+
"60",
|
|
1141
|
+
"753.00",
|
|
1142
|
+
"通过"
|
|
1143
|
+
],
|
|
1144
|
+
[
|
|
1145
|
+
"R-07",
|
|
1146
|
+
"华东上海园区·工业传感器模块",
|
|
1147
|
+
"70",
|
|
1148
|
+
"878.50",
|
|
1149
|
+
"已核验"
|
|
1150
|
+
],
|
|
1151
|
+
[
|
|
1152
|
+
"R-08",
|
|
1153
|
+
"华南深圳园区·精密控制器组件",
|
|
1154
|
+
"80",
|
|
1155
|
+
"1004.00",
|
|
1156
|
+
"通过"
|
|
1157
|
+
],
|
|
1158
|
+
[
|
|
1159
|
+
"R-09",
|
|
1160
|
+
"华北北京园区·工业传感器模块",
|
|
1161
|
+
"90",
|
|
1162
|
+
"1129.50",
|
|
1163
|
+
"已核验"
|
|
1164
|
+
],
|
|
1165
|
+
[
|
|
1166
|
+
"R-10",
|
|
1167
|
+
"华东上海园区·精密控制器组件",
|
|
1168
|
+
"100",
|
|
1169
|
+
"1255.00",
|
|
1170
|
+
"通过"
|
|
1171
|
+
],
|
|
1172
|
+
[
|
|
1173
|
+
"R-11",
|
|
1174
|
+
"华南深圳园区·工业传感器模块",
|
|
1175
|
+
"110",
|
|
1176
|
+
"1380.50",
|
|
1177
|
+
"已核验"
|
|
1178
|
+
],
|
|
1179
|
+
[
|
|
1180
|
+
"R-12",
|
|
1181
|
+
"华北北京园区·精密控制器组件",
|
|
1182
|
+
"120",
|
|
1183
|
+
"1506.00",
|
|
1184
|
+
"通过"
|
|
1185
|
+
],
|
|
1186
|
+
[
|
|
1187
|
+
"R-13",
|
|
1188
|
+
"华东上海园区·工业传感器模块",
|
|
1189
|
+
"130",
|
|
1190
|
+
"1631.50",
|
|
1191
|
+
"已核验"
|
|
1192
|
+
],
|
|
1193
|
+
[
|
|
1194
|
+
"R-14",
|
|
1195
|
+
"华南深圳园区·精密控制器组件",
|
|
1196
|
+
"140",
|
|
1197
|
+
"1757.00",
|
|
1198
|
+
"通过"
|
|
1199
|
+
],
|
|
1200
|
+
[
|
|
1201
|
+
"R-15",
|
|
1202
|
+
"华北北京园区·工业传感器模块",
|
|
1203
|
+
"150",
|
|
1204
|
+
"1882.50",
|
|
1205
|
+
"已核验"
|
|
1206
|
+
],
|
|
1207
|
+
[
|
|
1208
|
+
"R-16",
|
|
1209
|
+
"华东上海园区·精密控制器组件",
|
|
1210
|
+
"160",
|
|
1211
|
+
"2008.00",
|
|
1212
|
+
"通过"
|
|
1213
|
+
],
|
|
1214
|
+
[
|
|
1215
|
+
"R-17",
|
|
1216
|
+
"华南深圳园区·工业传感器模块",
|
|
1217
|
+
"170",
|
|
1218
|
+
"2133.50",
|
|
1219
|
+
"已核验"
|
|
1220
|
+
],
|
|
1221
|
+
[
|
|
1222
|
+
"R-18",
|
|
1223
|
+
"华北北京园区·精密控制器组件",
|
|
1224
|
+
"180",
|
|
1225
|
+
"2259.00",
|
|
1226
|
+
"通过"
|
|
1227
|
+
],
|
|
1228
|
+
[
|
|
1229
|
+
"R-19",
|
|
1230
|
+
"华东上海园区·工业传感器模块",
|
|
1231
|
+
"190",
|
|
1232
|
+
"2384.50",
|
|
1233
|
+
"已核验"
|
|
1234
|
+
],
|
|
1235
|
+
[
|
|
1236
|
+
"R-20",
|
|
1237
|
+
"华南深圳园区·精密控制器组件",
|
|
1238
|
+
"200",
|
|
1239
|
+
"2510.00",
|
|
1240
|
+
"通过"
|
|
1241
|
+
],
|
|
1242
|
+
[
|
|
1243
|
+
"R-21",
|
|
1244
|
+
"华北北京园区·工业传感器模块",
|
|
1245
|
+
"210",
|
|
1246
|
+
"2635.50",
|
|
1247
|
+
"已核验"
|
|
1248
|
+
],
|
|
1249
|
+
[
|
|
1250
|
+
"R-22",
|
|
1251
|
+
"华东上海园区·精密控制器组件",
|
|
1252
|
+
"220",
|
|
1253
|
+
"2761.00",
|
|
1254
|
+
"通过"
|
|
1255
|
+
],
|
|
1256
|
+
[
|
|
1257
|
+
"R-23",
|
|
1258
|
+
"华南深圳园区·工业传感器模块",
|
|
1259
|
+
"230",
|
|
1260
|
+
"2886.50",
|
|
1261
|
+
"已核验"
|
|
1262
|
+
],
|
|
1263
|
+
[
|
|
1264
|
+
"R-24",
|
|
1265
|
+
"华北北京园区·精密控制器组件",
|
|
1266
|
+
"240",
|
|
1267
|
+
"3012.00",
|
|
1268
|
+
"通过"
|
|
1269
|
+
],
|
|
1270
|
+
[
|
|
1271
|
+
"R-25",
|
|
1272
|
+
"华东上海园区·工业传感器模块",
|
|
1273
|
+
"250",
|
|
1274
|
+
"3137.50",
|
|
1275
|
+
"已核验"
|
|
1276
|
+
],
|
|
1277
|
+
[
|
|
1278
|
+
"R-26",
|
|
1279
|
+
"华南深圳园区·精密控制器组件",
|
|
1280
|
+
"260",
|
|
1281
|
+
"3263.00",
|
|
1282
|
+
"通过"
|
|
1283
|
+
],
|
|
1284
|
+
[
|
|
1285
|
+
"R-27",
|
|
1286
|
+
"华北北京园区·工业传感器模块",
|
|
1287
|
+
"270",
|
|
1288
|
+
"3388.50",
|
|
1289
|
+
"已核验"
|
|
1290
|
+
],
|
|
1291
|
+
[
|
|
1292
|
+
"R-28",
|
|
1293
|
+
"华东上海园区·精密控制器组件",
|
|
1294
|
+
"280",
|
|
1295
|
+
"3514.00",
|
|
1296
|
+
"通过"
|
|
1297
|
+
],
|
|
1298
|
+
[
|
|
1299
|
+
"R-29",
|
|
1300
|
+
"华南深圳园区·工业传感器模块",
|
|
1301
|
+
"290",
|
|
1302
|
+
"3639.50",
|
|
1303
|
+
"已核验"
|
|
1304
|
+
],
|
|
1305
|
+
[
|
|
1306
|
+
"R-30",
|
|
1307
|
+
"华北北京园区·精密控制器组件",
|
|
1308
|
+
"300",
|
|
1309
|
+
"3765.00",
|
|
1310
|
+
"通过"
|
|
1311
|
+
],
|
|
1312
|
+
[
|
|
1313
|
+
"R-31",
|
|
1314
|
+
"华东上海园区·工业传感器模块",
|
|
1315
|
+
"310",
|
|
1316
|
+
"3890.50",
|
|
1317
|
+
"已核验"
|
|
1318
|
+
],
|
|
1319
|
+
[
|
|
1320
|
+
"R-32",
|
|
1321
|
+
"华南深圳园区·精密控制器组件",
|
|
1322
|
+
"320",
|
|
1323
|
+
"4016.00",
|
|
1324
|
+
"通过"
|
|
1325
|
+
],
|
|
1326
|
+
[
|
|
1327
|
+
"R-33",
|
|
1328
|
+
"华北北京园区·工业传感器模块",
|
|
1329
|
+
"330",
|
|
1330
|
+
"4141.50",
|
|
1331
|
+
"已核验"
|
|
1332
|
+
],
|
|
1333
|
+
[
|
|
1334
|
+
"R-34",
|
|
1335
|
+
"华东上海园区·精密控制器组件",
|
|
1336
|
+
"340",
|
|
1337
|
+
"4267.00",
|
|
1338
|
+
"通过"
|
|
1339
|
+
],
|
|
1340
|
+
[
|
|
1341
|
+
"R-35",
|
|
1342
|
+
"华南深圳园区·工业传感器模块",
|
|
1343
|
+
"350",
|
|
1344
|
+
"4392.50",
|
|
1345
|
+
"已核验"
|
|
1346
|
+
]
|
|
1347
|
+
]
|
|
1348
|
+
},
|
|
1349
|
+
"s5-below-footer": {
|
|
1350
|
+
"id": "s5-below-footer",
|
|
1351
|
+
"type": "text",
|
|
1352
|
+
"content": "表后签收栏:审批人 张工 | 财务专用章 | 仓库签章(仅在末页表尾出现,不与表格重叠)",
|
|
1353
|
+
"transform": {
|
|
1354
|
+
"left": 40,
|
|
1355
|
+
"top": 486,
|
|
1356
|
+
"width": 515.28,
|
|
1357
|
+
"height": 32
|
|
1358
|
+
},
|
|
1359
|
+
"style": {
|
|
1360
|
+
"fontSize": 10.5,
|
|
1361
|
+
"fontWeight": "bold",
|
|
1362
|
+
"color": "#0f766e",
|
|
1363
|
+
"backgroundColor": "#f0fdfa",
|
|
1364
|
+
"borderColor": "#5eead4",
|
|
1365
|
+
"borderWidth": 1,
|
|
1366
|
+
"padding": 6,
|
|
1367
|
+
"verticalAlign": "middle"
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
"elementOrderByPage": {
|
|
1373
|
+
"page-1": [
|
|
1374
|
+
"s5-above-title",
|
|
1375
|
+
"s5-above-meta",
|
|
1376
|
+
"s5-table",
|
|
1377
|
+
"s5-below-footer"
|
|
1378
|
+
]
|
|
1379
|
+
}
|
|
1380
|
+
},
|
|
1381
|
+
"resourceBindings": {},
|
|
1382
|
+
"metadata": {}
|
|
1383
|
+
},
|
|
1384
|
+
"renderScenario": {
|
|
1385
|
+
"cjkTextMode": "subset-ttf",
|
|
1386
|
+
"suppliesSubsetFont": true,
|
|
1387
|
+
"omitsRenderOptions": false,
|
|
1388
|
+
"description": "subset-ttf 35-row multi-page table (14 + 14 + 7) with repeated headers and trailing footer flow"
|
|
1389
|
+
},
|
|
1390
|
+
"expected": {
|
|
1391
|
+
"pageCount": 3,
|
|
1392
|
+
"tableRowsPerPage": [
|
|
1393
|
+
14,
|
|
1394
|
+
14,
|
|
1395
|
+
7
|
|
1396
|
+
],
|
|
1397
|
+
"extractableTextSnippetsByPage": [
|
|
1398
|
+
[
|
|
1399
|
+
"S5 多页出入库核验明细表",
|
|
1400
|
+
"单据状态:已核验",
|
|
1401
|
+
"订单编号",
|
|
1402
|
+
"R-01",
|
|
1403
|
+
"华东上海园区·工业传感器模块",
|
|
1404
|
+
"¥125.50",
|
|
1405
|
+
"R-14",
|
|
1406
|
+
"¥1,757.00"
|
|
1407
|
+
],
|
|
1408
|
+
[
|
|
1409
|
+
"订单编号",
|
|
1410
|
+
"R-15",
|
|
1411
|
+
"¥1,882.50",
|
|
1412
|
+
"R-28",
|
|
1413
|
+
"¥3,514.00"
|
|
1414
|
+
],
|
|
1415
|
+
[
|
|
1416
|
+
"订单编号",
|
|
1417
|
+
"R-29",
|
|
1418
|
+
"¥3,639.50",
|
|
1419
|
+
"R-35",
|
|
1420
|
+
"¥4,392.50",
|
|
1421
|
+
"表后签收栏:审批人 张工 | 财务专用章 | 仓库签章"
|
|
1422
|
+
]
|
|
1423
|
+
],
|
|
1424
|
+
"embedsType0SubsetFont": true,
|
|
1425
|
+
"usesRasterTextImages": false
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"id": "S6",
|
|
1430
|
+
"sampleKey": "s6MissingGlyphs",
|
|
1431
|
+
"title": "S6 缺字与字体异常诊断",
|
|
1432
|
+
"inputSnapshot": {
|
|
1433
|
+
"schema": "univer-pdf-unit",
|
|
1434
|
+
"schemaVersion": 1,
|
|
1435
|
+
"id": "s6-missing-glyphs",
|
|
1436
|
+
"rev": 1,
|
|
1437
|
+
"name": "S6 缺字与字体异常诊断",
|
|
1438
|
+
"document": {
|
|
1439
|
+
"pageSize": {
|
|
1440
|
+
"width": 595.28,
|
|
1441
|
+
"height": 841.89,
|
|
1442
|
+
"preset": "A4"
|
|
1443
|
+
},
|
|
1444
|
+
"margins": [
|
|
1445
|
+
40,
|
|
1446
|
+
40,
|
|
1447
|
+
40,
|
|
1448
|
+
40
|
|
1449
|
+
],
|
|
1450
|
+
"pages": {
|
|
1451
|
+
"page-1": {
|
|
1452
|
+
"id": "page-1",
|
|
1453
|
+
"title": "Page 1",
|
|
1454
|
+
"pageSize": {
|
|
1455
|
+
"width": 595.28,
|
|
1456
|
+
"height": 841.89,
|
|
1457
|
+
"preset": "A4"
|
|
1458
|
+
},
|
|
1459
|
+
"backgroundColor": "#ffffff"
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
"pageOrder": [
|
|
1463
|
+
"page-1"
|
|
1464
|
+
]
|
|
1465
|
+
},
|
|
1466
|
+
"editState": {
|
|
1467
|
+
"elementsByPage": {
|
|
1468
|
+
"page-1": {
|
|
1469
|
+
"s1-banner": {
|
|
1470
|
+
"id": "s1-banner",
|
|
1471
|
+
"type": "shape",
|
|
1472
|
+
"shapeType": "rect",
|
|
1473
|
+
"fillColor": "#1e293b",
|
|
1474
|
+
"strokeWidth": 0,
|
|
1475
|
+
"transform": {
|
|
1476
|
+
"left": 40,
|
|
1477
|
+
"top": 40,
|
|
1478
|
+
"width": 515.28,
|
|
1479
|
+
"height": 42
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
"s1-title": {
|
|
1483
|
+
"id": "s1-title",
|
|
1484
|
+
"type": "text",
|
|
1485
|
+
"content": "Monthly Report · 月度经营简报(2026)",
|
|
1486
|
+
"transform": {
|
|
1487
|
+
"left": 52,
|
|
1488
|
+
"top": 47,
|
|
1489
|
+
"width": 490,
|
|
1490
|
+
"height": 28
|
|
1491
|
+
},
|
|
1492
|
+
"style": {
|
|
1493
|
+
"fontSize": 15,
|
|
1494
|
+
"fontWeight": "bold",
|
|
1495
|
+
"color": "#ffffff",
|
|
1496
|
+
"verticalAlign": "middle"
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
"s1-subtitle": {
|
|
1500
|
+
"id": "s1-subtitle",
|
|
1501
|
+
"type": "text",
|
|
1502
|
+
"content": "Vector Subset Font & ToUnicode Verification Sample",
|
|
1503
|
+
"transform": {
|
|
1504
|
+
"left": 40,
|
|
1505
|
+
"top": 92,
|
|
1506
|
+
"width": 515.28,
|
|
1507
|
+
"height": 22
|
|
1508
|
+
},
|
|
1509
|
+
"style": {
|
|
1510
|
+
"fontSize": 10.5,
|
|
1511
|
+
"italic": true,
|
|
1512
|
+
"color": "#475569"
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
"s1-lbl-period": {
|
|
1516
|
+
"id": "s1-lbl-period",
|
|
1517
|
+
"type": "text",
|
|
1518
|
+
"content": "Report Period:",
|
|
1519
|
+
"transform": {
|
|
1520
|
+
"left": 40,
|
|
1521
|
+
"top": 130,
|
|
1522
|
+
"width": 130,
|
|
1523
|
+
"height": 26
|
|
1524
|
+
},
|
|
1525
|
+
"style": {
|
|
1526
|
+
"fontSize": 11,
|
|
1527
|
+
"fontWeight": "bold",
|
|
1528
|
+
"color": "#334155",
|
|
1529
|
+
"verticalAlign": "middle"
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
"s1-val-period": {
|
|
1533
|
+
"id": "s1-val-period",
|
|
1534
|
+
"type": "text",
|
|
1535
|
+
"content": "一月(2026Q1)",
|
|
1536
|
+
"transform": {
|
|
1537
|
+
"left": 178,
|
|
1538
|
+
"top": 130,
|
|
1539
|
+
"width": 377.28,
|
|
1540
|
+
"height": 26
|
|
1541
|
+
},
|
|
1542
|
+
"style": {
|
|
1543
|
+
"fontSize": 11,
|
|
1544
|
+
"color": "#0f172a",
|
|
1545
|
+
"backgroundColor": "#f8fafc",
|
|
1546
|
+
"borderColor": "#cbd5e1",
|
|
1547
|
+
"borderWidth": 1,
|
|
1548
|
+
"padding": 5,
|
|
1549
|
+
"verticalAlign": "middle"
|
|
1550
|
+
}
|
|
1551
|
+
},
|
|
1552
|
+
"s1-lbl-region": {
|
|
1553
|
+
"id": "s1-lbl-region",
|
|
1554
|
+
"type": "text",
|
|
1555
|
+
"content": "Service Region:",
|
|
1556
|
+
"transform": {
|
|
1557
|
+
"left": 40,
|
|
1558
|
+
"top": 168,
|
|
1559
|
+
"width": 130,
|
|
1560
|
+
"height": 26
|
|
1561
|
+
},
|
|
1562
|
+
"style": {
|
|
1563
|
+
"fontSize": 11,
|
|
1564
|
+
"fontWeight": "bold",
|
|
1565
|
+
"color": "#334155",
|
|
1566
|
+
"verticalAlign": "middle"
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
"s1-val-region": {
|
|
1570
|
+
"id": "s1-val-region",
|
|
1571
|
+
"type": "text",
|
|
1572
|
+
"content": "华东·上海浦东张江高科技园区",
|
|
1573
|
+
"transform": {
|
|
1574
|
+
"left": 178,
|
|
1575
|
+
"top": 168,
|
|
1576
|
+
"width": 377.28,
|
|
1577
|
+
"height": 26
|
|
1578
|
+
},
|
|
1579
|
+
"style": {
|
|
1580
|
+
"fontSize": 11,
|
|
1581
|
+
"color": "#0f172a",
|
|
1582
|
+
"backgroundColor": "#f8fafc",
|
|
1583
|
+
"borderColor": "#cbd5e1",
|
|
1584
|
+
"borderWidth": 1,
|
|
1585
|
+
"padding": 5,
|
|
1586
|
+
"verticalAlign": "middle"
|
|
1587
|
+
}
|
|
1588
|
+
},
|
|
1589
|
+
"s1-lbl-status": {
|
|
1590
|
+
"id": "s1-lbl-status",
|
|
1591
|
+
"type": "text",
|
|
1592
|
+
"content": "Audit Status:",
|
|
1593
|
+
"transform": {
|
|
1594
|
+
"left": 40,
|
|
1595
|
+
"top": 206,
|
|
1596
|
+
"width": 130,
|
|
1597
|
+
"height": 26
|
|
1598
|
+
},
|
|
1599
|
+
"style": {
|
|
1600
|
+
"fontSize": 11,
|
|
1601
|
+
"fontWeight": "bold",
|
|
1602
|
+
"color": "#334155",
|
|
1603
|
+
"verticalAlign": "middle"
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
"s1-val-status": {
|
|
1607
|
+
"id": "s1-val-status",
|
|
1608
|
+
"type": "text",
|
|
1609
|
+
"content": "已核验:专票通过!【批次 A-108】",
|
|
1610
|
+
"transform": {
|
|
1611
|
+
"left": 178,
|
|
1612
|
+
"top": 206,
|
|
1613
|
+
"width": 377.28,
|
|
1614
|
+
"height": 26
|
|
1615
|
+
},
|
|
1616
|
+
"style": {
|
|
1617
|
+
"fontSize": 11,
|
|
1618
|
+
"fontWeight": "bold",
|
|
1619
|
+
"color": "#0f766e",
|
|
1620
|
+
"backgroundColor": "#f0fdfa",
|
|
1621
|
+
"borderColor": "#99f6e4",
|
|
1622
|
+
"borderWidth": 1,
|
|
1623
|
+
"padding": 5,
|
|
1624
|
+
"verticalAlign": "middle"
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
"s1-lbl-summary": {
|
|
1628
|
+
"id": "s1-lbl-summary",
|
|
1629
|
+
"type": "text",
|
|
1630
|
+
"content": "Summary Note:",
|
|
1631
|
+
"transform": {
|
|
1632
|
+
"left": 40,
|
|
1633
|
+
"top": 244,
|
|
1634
|
+
"width": 130,
|
|
1635
|
+
"height": 26
|
|
1636
|
+
},
|
|
1637
|
+
"style": {
|
|
1638
|
+
"fontSize": 11,
|
|
1639
|
+
"fontWeight": "bold",
|
|
1640
|
+
"color": "#334155",
|
|
1641
|
+
"verticalAlign": "middle"
|
|
1642
|
+
}
|
|
1643
|
+
},
|
|
1644
|
+
"s1-val-summary": {
|
|
1645
|
+
"id": "s1-val-summary",
|
|
1646
|
+
"type": "text",
|
|
1647
|
+
"content": "核心模块 Controller-V2 完成度 98.5%;次日达正常,“零差错”交付。",
|
|
1648
|
+
"transform": {
|
|
1649
|
+
"left": 178,
|
|
1650
|
+
"top": 244,
|
|
1651
|
+
"width": 377.28,
|
|
1652
|
+
"height": 26
|
|
1653
|
+
},
|
|
1654
|
+
"style": {
|
|
1655
|
+
"fontSize": 11,
|
|
1656
|
+
"color": "#0f172a",
|
|
1657
|
+
"backgroundColor": "#f8fafc",
|
|
1658
|
+
"borderColor": "#cbd5e1",
|
|
1659
|
+
"borderWidth": 1,
|
|
1660
|
+
"padding": 5,
|
|
1661
|
+
"verticalAlign": "middle"
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
"s6-missing-note": {
|
|
1665
|
+
"id": "s6-missing-note",
|
|
1666
|
+
"type": "text",
|
|
1667
|
+
"content": "缺字诊断备注:生僻字龘与图标🚀核验",
|
|
1668
|
+
"transform": {
|
|
1669
|
+
"left": 40,
|
|
1670
|
+
"top": 286,
|
|
1671
|
+
"width": 515.28,
|
|
1672
|
+
"height": 28
|
|
1673
|
+
},
|
|
1674
|
+
"style": {
|
|
1675
|
+
"fontSize": 11,
|
|
1676
|
+
"color": "#b91c1c",
|
|
1677
|
+
"backgroundColor": "#fef2f2",
|
|
1678
|
+
"borderColor": "#fecaca",
|
|
1679
|
+
"borderWidth": 1,
|
|
1680
|
+
"padding": 5,
|
|
1681
|
+
"verticalAlign": "middle"
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
},
|
|
1686
|
+
"elementOrderByPage": {
|
|
1687
|
+
"page-1": [
|
|
1688
|
+
"s1-banner",
|
|
1689
|
+
"s1-title",
|
|
1690
|
+
"s1-subtitle",
|
|
1691
|
+
"s1-lbl-period",
|
|
1692
|
+
"s1-val-period",
|
|
1693
|
+
"s1-lbl-region",
|
|
1694
|
+
"s1-val-region",
|
|
1695
|
+
"s1-lbl-status",
|
|
1696
|
+
"s1-val-status",
|
|
1697
|
+
"s1-lbl-summary",
|
|
1698
|
+
"s1-val-summary",
|
|
1699
|
+
"s6-missing-note"
|
|
1700
|
+
]
|
|
1701
|
+
}
|
|
1702
|
+
},
|
|
1703
|
+
"resourceBindings": {},
|
|
1704
|
+
"metadata": {}
|
|
1705
|
+
},
|
|
1706
|
+
"renderScenario": {
|
|
1707
|
+
"cjkTextMode": "subset-ttf",
|
|
1708
|
+
"suppliesSubsetFont": true,
|
|
1709
|
+
"omitsRenderOptions": false,
|
|
1710
|
+
"missingGlyph": "warn",
|
|
1711
|
+
"description": "subset-ttf missing-glyph diagnostics ('error' throws MISSING_GLYPH; 'warn' emits warning and renders)"
|
|
1712
|
+
},
|
|
1713
|
+
"expected": {
|
|
1714
|
+
"pageCount": 1,
|
|
1715
|
+
"tableRowsPerPage": [],
|
|
1716
|
+
"extractableTextSnippetsByPage": [
|
|
1717
|
+
[
|
|
1718
|
+
"Monthly Report · 月度经营简报(2026)",
|
|
1719
|
+
"一月(2026Q1)",
|
|
1720
|
+
"缺字诊断备注:生僻字",
|
|
1721
|
+
"与图标",
|
|
1722
|
+
"核验"
|
|
1723
|
+
]
|
|
1724
|
+
],
|
|
1725
|
+
"embedsType0SubsetFont": true,
|
|
1726
|
+
"usesRasterTextImages": false,
|
|
1727
|
+
"expectedErrorWhenStrict": {
|
|
1728
|
+
"code": "MISSING_GLYPH",
|
|
1729
|
+
"pageId": "page-1",
|
|
1730
|
+
"elementId": "s6-missing-note",
|
|
1731
|
+
"missingCodePoints": [
|
|
1732
|
+
"U+9F98",
|
|
1733
|
+
"U+1F680"
|
|
1734
|
+
]
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
"id": "S7",
|
|
1740
|
+
"sampleKey": "s7DefaultNoFont",
|
|
1741
|
+
"title": "S7 默认未传字体光栅兼容模式",
|
|
1742
|
+
"inputSnapshot": {
|
|
1743
|
+
"schema": "univer-pdf-unit",
|
|
1744
|
+
"schemaVersion": 1,
|
|
1745
|
+
"id": "s7-default-no-font",
|
|
1746
|
+
"rev": 1,
|
|
1747
|
+
"name": "S7 默认未传字体光栅兼容模式",
|
|
1748
|
+
"document": {
|
|
1749
|
+
"pageSize": {
|
|
1750
|
+
"width": 595.28,
|
|
1751
|
+
"height": 841.89,
|
|
1752
|
+
"preset": "A4"
|
|
1753
|
+
},
|
|
1754
|
+
"margins": [
|
|
1755
|
+
40,
|
|
1756
|
+
40,
|
|
1757
|
+
40,
|
|
1758
|
+
40
|
|
1759
|
+
],
|
|
1760
|
+
"pages": {
|
|
1761
|
+
"page-1": {
|
|
1762
|
+
"id": "page-1",
|
|
1763
|
+
"title": "Page 1",
|
|
1764
|
+
"pageSize": {
|
|
1765
|
+
"width": 595.28,
|
|
1766
|
+
"height": 841.89,
|
|
1767
|
+
"preset": "A4"
|
|
1768
|
+
},
|
|
1769
|
+
"backgroundColor": "#ffffff"
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
"pageOrder": [
|
|
1773
|
+
"page-1"
|
|
1774
|
+
]
|
|
1775
|
+
},
|
|
1776
|
+
"editState": {
|
|
1777
|
+
"elementsByPage": {
|
|
1778
|
+
"page-1": {
|
|
1779
|
+
"s1-banner": {
|
|
1780
|
+
"id": "s1-banner",
|
|
1781
|
+
"type": "shape",
|
|
1782
|
+
"shapeType": "rect",
|
|
1783
|
+
"fillColor": "#1e293b",
|
|
1784
|
+
"strokeWidth": 0,
|
|
1785
|
+
"transform": {
|
|
1786
|
+
"left": 40,
|
|
1787
|
+
"top": 40,
|
|
1788
|
+
"width": 515.28,
|
|
1789
|
+
"height": 42
|
|
1790
|
+
}
|
|
1791
|
+
},
|
|
1792
|
+
"s1-title": {
|
|
1793
|
+
"id": "s1-title",
|
|
1794
|
+
"type": "text",
|
|
1795
|
+
"content": "Monthly Report · 月度经营简报(2026)",
|
|
1796
|
+
"transform": {
|
|
1797
|
+
"left": 52,
|
|
1798
|
+
"top": 47,
|
|
1799
|
+
"width": 490,
|
|
1800
|
+
"height": 28
|
|
1801
|
+
},
|
|
1802
|
+
"style": {
|
|
1803
|
+
"fontSize": 15,
|
|
1804
|
+
"fontWeight": "bold",
|
|
1805
|
+
"color": "#ffffff",
|
|
1806
|
+
"verticalAlign": "middle"
|
|
1807
|
+
}
|
|
1808
|
+
},
|
|
1809
|
+
"s1-subtitle": {
|
|
1810
|
+
"id": "s1-subtitle",
|
|
1811
|
+
"type": "text",
|
|
1812
|
+
"content": "Vector Subset Font & ToUnicode Verification Sample",
|
|
1813
|
+
"transform": {
|
|
1814
|
+
"left": 40,
|
|
1815
|
+
"top": 92,
|
|
1816
|
+
"width": 515.28,
|
|
1817
|
+
"height": 22
|
|
1818
|
+
},
|
|
1819
|
+
"style": {
|
|
1820
|
+
"fontSize": 10.5,
|
|
1821
|
+
"italic": true,
|
|
1822
|
+
"color": "#475569"
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
"s1-lbl-period": {
|
|
1826
|
+
"id": "s1-lbl-period",
|
|
1827
|
+
"type": "text",
|
|
1828
|
+
"content": "Report Period:",
|
|
1829
|
+
"transform": {
|
|
1830
|
+
"left": 40,
|
|
1831
|
+
"top": 130,
|
|
1832
|
+
"width": 130,
|
|
1833
|
+
"height": 26
|
|
1834
|
+
},
|
|
1835
|
+
"style": {
|
|
1836
|
+
"fontSize": 11,
|
|
1837
|
+
"fontWeight": "bold",
|
|
1838
|
+
"color": "#334155",
|
|
1839
|
+
"verticalAlign": "middle"
|
|
1840
|
+
}
|
|
1841
|
+
},
|
|
1842
|
+
"s1-val-period": {
|
|
1843
|
+
"id": "s1-val-period",
|
|
1844
|
+
"type": "text",
|
|
1845
|
+
"content": "一月(2026Q1)",
|
|
1846
|
+
"transform": {
|
|
1847
|
+
"left": 178,
|
|
1848
|
+
"top": 130,
|
|
1849
|
+
"width": 377.28,
|
|
1850
|
+
"height": 26
|
|
1851
|
+
},
|
|
1852
|
+
"style": {
|
|
1853
|
+
"fontSize": 11,
|
|
1854
|
+
"color": "#0f172a",
|
|
1855
|
+
"backgroundColor": "#f8fafc",
|
|
1856
|
+
"borderColor": "#cbd5e1",
|
|
1857
|
+
"borderWidth": 1,
|
|
1858
|
+
"padding": 5,
|
|
1859
|
+
"verticalAlign": "middle"
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
"s1-lbl-region": {
|
|
1863
|
+
"id": "s1-lbl-region",
|
|
1864
|
+
"type": "text",
|
|
1865
|
+
"content": "Service Region:",
|
|
1866
|
+
"transform": {
|
|
1867
|
+
"left": 40,
|
|
1868
|
+
"top": 168,
|
|
1869
|
+
"width": 130,
|
|
1870
|
+
"height": 26
|
|
1871
|
+
},
|
|
1872
|
+
"style": {
|
|
1873
|
+
"fontSize": 11,
|
|
1874
|
+
"fontWeight": "bold",
|
|
1875
|
+
"color": "#334155",
|
|
1876
|
+
"verticalAlign": "middle"
|
|
1877
|
+
}
|
|
1878
|
+
},
|
|
1879
|
+
"s1-val-region": {
|
|
1880
|
+
"id": "s1-val-region",
|
|
1881
|
+
"type": "text",
|
|
1882
|
+
"content": "华东·上海浦东张江高科技园区",
|
|
1883
|
+
"transform": {
|
|
1884
|
+
"left": 178,
|
|
1885
|
+
"top": 168,
|
|
1886
|
+
"width": 377.28,
|
|
1887
|
+
"height": 26
|
|
1888
|
+
},
|
|
1889
|
+
"style": {
|
|
1890
|
+
"fontSize": 11,
|
|
1891
|
+
"color": "#0f172a",
|
|
1892
|
+
"backgroundColor": "#f8fafc",
|
|
1893
|
+
"borderColor": "#cbd5e1",
|
|
1894
|
+
"borderWidth": 1,
|
|
1895
|
+
"padding": 5,
|
|
1896
|
+
"verticalAlign": "middle"
|
|
1897
|
+
}
|
|
1898
|
+
},
|
|
1899
|
+
"s1-lbl-status": {
|
|
1900
|
+
"id": "s1-lbl-status",
|
|
1901
|
+
"type": "text",
|
|
1902
|
+
"content": "Audit Status:",
|
|
1903
|
+
"transform": {
|
|
1904
|
+
"left": 40,
|
|
1905
|
+
"top": 206,
|
|
1906
|
+
"width": 130,
|
|
1907
|
+
"height": 26
|
|
1908
|
+
},
|
|
1909
|
+
"style": {
|
|
1910
|
+
"fontSize": 11,
|
|
1911
|
+
"fontWeight": "bold",
|
|
1912
|
+
"color": "#334155",
|
|
1913
|
+
"verticalAlign": "middle"
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1916
|
+
"s1-val-status": {
|
|
1917
|
+
"id": "s1-val-status",
|
|
1918
|
+
"type": "text",
|
|
1919
|
+
"content": "已核验:专票通过!【批次 A-108】",
|
|
1920
|
+
"transform": {
|
|
1921
|
+
"left": 178,
|
|
1922
|
+
"top": 206,
|
|
1923
|
+
"width": 377.28,
|
|
1924
|
+
"height": 26
|
|
1925
|
+
},
|
|
1926
|
+
"style": {
|
|
1927
|
+
"fontSize": 11,
|
|
1928
|
+
"fontWeight": "bold",
|
|
1929
|
+
"color": "#0f766e",
|
|
1930
|
+
"backgroundColor": "#f0fdfa",
|
|
1931
|
+
"borderColor": "#99f6e4",
|
|
1932
|
+
"borderWidth": 1,
|
|
1933
|
+
"padding": 5,
|
|
1934
|
+
"verticalAlign": "middle"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
"s1-lbl-summary": {
|
|
1938
|
+
"id": "s1-lbl-summary",
|
|
1939
|
+
"type": "text",
|
|
1940
|
+
"content": "Summary Note:",
|
|
1941
|
+
"transform": {
|
|
1942
|
+
"left": 40,
|
|
1943
|
+
"top": 244,
|
|
1944
|
+
"width": 130,
|
|
1945
|
+
"height": 26
|
|
1946
|
+
},
|
|
1947
|
+
"style": {
|
|
1948
|
+
"fontSize": 11,
|
|
1949
|
+
"fontWeight": "bold",
|
|
1950
|
+
"color": "#334155",
|
|
1951
|
+
"verticalAlign": "middle"
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
"s1-val-summary": {
|
|
1955
|
+
"id": "s1-val-summary",
|
|
1956
|
+
"type": "text",
|
|
1957
|
+
"content": "核心模块 Controller-V2 完成度 98.5%;次日达正常,“零差错”交付。",
|
|
1958
|
+
"transform": {
|
|
1959
|
+
"left": 178,
|
|
1960
|
+
"top": 244,
|
|
1961
|
+
"width": 377.28,
|
|
1962
|
+
"height": 26
|
|
1963
|
+
},
|
|
1964
|
+
"style": {
|
|
1965
|
+
"fontSize": 11,
|
|
1966
|
+
"color": "#0f172a",
|
|
1967
|
+
"backgroundColor": "#f8fafc",
|
|
1968
|
+
"borderColor": "#cbd5e1",
|
|
1969
|
+
"borderWidth": 1,
|
|
1970
|
+
"padding": 5,
|
|
1971
|
+
"verticalAlign": "middle"
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
},
|
|
1976
|
+
"elementOrderByPage": {
|
|
1977
|
+
"page-1": [
|
|
1978
|
+
"s1-banner",
|
|
1979
|
+
"s1-title",
|
|
1980
|
+
"s1-subtitle",
|
|
1981
|
+
"s1-lbl-period",
|
|
1982
|
+
"s1-val-period",
|
|
1983
|
+
"s1-lbl-region",
|
|
1984
|
+
"s1-val-region",
|
|
1985
|
+
"s1-lbl-status",
|
|
1986
|
+
"s1-val-status",
|
|
1987
|
+
"s1-lbl-summary",
|
|
1988
|
+
"s1-val-summary"
|
|
1989
|
+
]
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
"resourceBindings": {},
|
|
1993
|
+
"metadata": {}
|
|
1994
|
+
},
|
|
1995
|
+
"renderScenario": {
|
|
1996
|
+
"cjkTextMode": "raster-hd",
|
|
1997
|
+
"suppliesSubsetFont": false,
|
|
1998
|
+
"omitsRenderOptions": true,
|
|
1999
|
+
"description": "default omitted render options preserving raster-hd compatibility without fonts"
|
|
2000
|
+
},
|
|
2001
|
+
"expected": {
|
|
2002
|
+
"pageCount": 1,
|
|
2003
|
+
"tableRowsPerPage": [],
|
|
2004
|
+
"extractableTextSnippetsByPage": [],
|
|
2005
|
+
"embedsType0SubsetFont": false,
|
|
2006
|
+
"usesRasterTextImages": true
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
]
|
|
2010
|
+
}
|