rhwp 0.9.1

HWP/HWPX document engine for Rust applications, WebAssembly, and CLI automation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
//! 개별 조회 명령의 설명. 사용법은 기존 parser의 선언을 재사용한다.

pub(super) struct Description {
    pub usage: &'static str,
    pub summary: &'static str,
    pub detail: &'static str,
}

pub(super) fn single(name: &str) -> Option<Description> {
    let (usage, summary, detail) = match name {
        "char-shape" => (super::char_shape::USAGE, "커서 자리의 글자 모양 조회", "JSON charShape의 글꼴·크기·굵게·기울임 등을 반환한다. list/para/pos는 cursor-model로 확인한다. 없는 자리는 빈 객체일 수 있다."),
        "control-layout" => (super::control_layout::USAGE, "쪽의 표·그림·도형 배치 조회", "JSON controls의 개체 배치를 반환한다. 빈 controls 배열도 정상 결과다."),
        "cursor-model" => (super::cursor_model::USAGE, "한글 커서 좌표계의 리스트 지도 조회", "JSON root는 본문 커서 범위, lists는 하위 리스트 지도다. listId를 section 번호로 대체하지 않는다."),
        "cursor-rect" => (super::cursor_rect::USAGE, "문서 위치의 캐럿 사각형 조회", "구역·문단·문자 오프셋으로 캐럿의 pageIndex, x, y, height를 조회한다. offset은 스트림 pos와 구분한다."),
        "font-layout-evidence" => (super::font_layout_evidence::USAGE, "같은 쪽의 글꼴·줄 프레임·저장 줄 판정 조회", "한 번 만든 쪽 tree의 글꼴 추적과 줄 frame/stored-row 증거를 함께 반환한다. max-characters는 기본 1024, 범위 1~4096이다."),
        "font-trace" => (super::font_trace::USAGE, "쪽의 글꼴 결정 추적 조회", "글꼴 선택 과정을 조회한다. 설치·공급한 글꼴에 따라 결과가 달라질 수 있다. max-characters는 기본 1024, 범위 1~4096이다."),
        "form-info" => (super::form_info::USAGE, "지정 컨트롤의 양식 개체 정보 조회", "section/para/ci로 양식을 찾는다. 양식 개체가 없으면 found=false와 종료 코드 0을 반환한다."),
        "hit-test" => (super::hit_test::USAGE, "쪽 좌표에 대응하는 문서 위치 조회", "쪽 내부 96 DPI px 좌표에서 문서 위치와 cursorRect를 조회한다. 화면 확대·스크롤 좌표는 변환한 뒤 전달한다."),
        "markdown" => (super::markdown::USAGE, "지정 쪽의 마크다운 조회", "--page는 필수다. JSON의 markdown 필드에 쪽 마크다운을 담는다. 빈 문자열도 정상 결과다."),
        "object-cycle" => (super::object_cycle::USAGE, "개체 선택 순환 순서 조회", "JSON cycle과 cycleCount를 반환한다. 개체가 없으면 빈 배열도 정상 결과다."),
        "objects" => (super::objects::USAGE, "문서 컨트롤 사슬과 개체 목록 조회", "JSON controls/controlCount와 objects/objectCount를 반환한다. 컨트롤과 선택 가능한 개체는 같은 목록이 아니다."),
        "page-caret" => (super::page_caret::USAGE, "각 쪽의 첫 캐럿 위치 조회", "쪽마다 캐럿이 설 수 있는 첫 문서 위치를 조회한다. 본문 주소와 쪽 번호를 구분한다."),
        "page-def" => (super::page_def::USAGE, "구역의 용지 크기와 여백 조회", "JSON width/height/margin*의 단위는 HWPUNIT이며 px가 아니다. section은 쪽 번호가 아니라 원본 구역 번호다."),
        "page-images" => (super::page_images::USAGE, "쪽에서 사용하는 원본 그림 키 조회", "JSON keys/keyCount/pageCount를 반환한다. 빈 keys 배열도 성공이다. 원본 바이트는 kit source-image-bytes로 별도 조회한다."),
        "page-items" => (super::page_items::USAGE, "쪽의 조판 항목 조회", "--page를 생략하면 모든 쪽을 덤프한다. 한 쪽만 필요하면 --page 0처럼 명시한다."),
        "para-shape" => (super::para_shape::USAGE, "문단 모양 조회", "JSON paraShape의 정렬·여백·줄간격 등을 반환한다. list/para는 cursor-model로 확인한다. 없는 자리는 빈 객체일 수 있다."),
        "scan-items" => (super::scan_items::USAGE, "한글 스캔 차례의 항목 조회", "InitScan/GetText가 사용하는 스캔 항목을 조회한다. --limit은 1 이상이며 생략하면 제한 없이 조회한다."),
        "section-starts" => (super::section_starts::USAGE, "구역 시작 본문 문단 번호 조회", "구역마다 본문 문단이 시작하는 번호를 반환한다. 조판된 페이지의 시작 번호와 구분한다."),
        "text-file" => (super::text_file::USAGE, "스캔 순서의 전체 텍스트 조회", "기본은 GetTextFile(UNICODE) 원문이다. --cp949는 CP949 밖 문자를 &#N; 수치 참조로 바꾼다. stdout 인코딩을 CP949로 바꾸는 옵션은 아니다."),
        "text-layout" => (super::text_layout::USAGE, "쪽의 텍스트 run 배치와 서식 조회", "JSON runs/runCount/pageCount를 반환한다. run마다 text/x/y/w/h/fontFamily 등이 있으며 빈 텍스트도 줄 공간을 가질 수 있다."),
        _ => return None,
    };
    Some(Description {
        usage,
        summary,
        detail,
    })
}

#[derive(Clone, Copy)]
pub(super) struct Inventory {
    pub name: &'static str,
    pub summary: &'static str,
    pub fields: &'static str,
    pub note: &'static str,
}

pub(super) const MORE: &[Inventory] = &[
    Inventory { name: "para-empty", summary: "빈 문단 전수", fields: "section, paragraph", note: "" },
    Inventory { name: "para-has-ctrl", summary: "컨트롤 있는 문단", fields: "section, paragraph, ctrlCount", note: "" },
    Inventory { name: "section-para-lens", summary: "구역별 문단 수", fields: "section, paraCount", note: "" },
    Inventory { name: "body-text-len", summary: "본문 글자 수", fields: "section, chars", note: "" },
    Inventory { name: "ctrl-per-para", summary: "문단당 컨트롤 수", fields: "section, paragraph, ctrlCount", note: "" },
    Inventory { name: "table-border-fill", summary: "표 테두리/배경 id", fields: "section, paragraph, control, rows, cols, cells, attr, borderFillId, zones, grid", note: "" },
    Inventory { name: "table-spacing", summary: "표 구조·속성 조회", fields: "section, paragraph, control, rows, cols, cells, attr, borderFillId, zones, grid", note: "현재 셀 간격값은 반환하지 않는다. 반환 필드의 표 구조·속성만 판독한다." },
    Inventory { name: "table-attr", summary: "표 속성 비트", fields: "section, paragraph, control, rows, cols, cells, attr, borderFillId, zones, grid", note: "" },
    Inventory { name: "picture-border-width", summary: "그림 테두리 두께", fields: "section, paragraph, control, instanceId, lock, reverse, cropL, borderWidth, opacity, hrefSet", note: "" },
    Inventory { name: "picture-opacity", summary: "그림 테두리 투명도", fields: "section, paragraph, control, instanceId, lock, reverse, cropL, borderWidth, opacity, hrefSet", note: "" },
    Inventory { name: "picture-href-set", summary: "그림 href 유무", fields: "section, paragraph, control, instanceId, lock, reverse, cropL, borderWidth, opacity, hrefSet", note: "" },
    Inventory { name: "equation-baseline", summary: "수식 기준선", fields: "section, paragraph, control, script, font, fontSize, baseline, color, attr, version", note: "" },
    Inventory { name: "equation-color", summary: "수식 색", fields: "section, paragraph, control, script, font, fontSize, baseline, color, attr, version", note: "" },
    Inventory { name: "equation-attr", summary: "수식 attr", fields: "section, paragraph, control, script, font, fontSize, baseline, color, attr, version", note: "" },
    Inventory { name: "form-height", summary: "양식 높이", fields: "section, paragraph, control, name, text, enabled, width, height, caption, fore, back", note: "" },
    Inventory { name: "form-caption", summary: "양식 캡션", fields: "section, paragraph, control, name, text, enabled, width, height, caption, fore, back", note: "" },
    Inventory { name: "form-fore-color", summary: "양식 글자색", fields: "section, paragraph, control, name, text, enabled, width, height, caption, fore, back", note: "" },
    Inventory { name: "field-properties", summary: "필드 properties", fields: "section, paragraph, control, command, fieldId, properties, ctrlId, extra", note: "" },
    Inventory { name: "field-ctrl-id", summary: "필드 ctrl_id", fields: "section, paragraph, control, command, fieldId, properties, ctrlId, extra", note: "" },
    Inventory { name: "ruby-align", summary: "덧말 정렬", fields: "section, paragraph, control, main, ruby, ratio, align, pos", note: "" },
    Inventory { name: "ruby-pos", summary: "덧말 위치", fields: "section, paragraph, control, main, ruby, ratio, align, pos", note: "" },
    Inventory { name: "pagehide-border", summary: "테두리 감추기", fields: "section, paragraph, control, hideHeader, hideFooter, hideBorder, hideFill, hideMaster", note: "" },
    Inventory { name: "pagehide-fill", summary: "배경 감추기", fields: "section, paragraph, control, hideHeader, hideFooter, hideBorder, hideFill, hideMaster", note: "" },
    Inventory { name: "pagehide-master", summary: "바탕쪽 감추기", fields: "section, paragraph, control, hideHeader, hideFooter, hideBorder, hideFill, hideMaster", note: "" },
    Inventory { name: "autonumber-super", summary: "자동번호 위첨자", fields: "section, paragraph, control, number, format, super", note: "" },
    Inventory { name: "char-overlap-border", summary: "겹침 테두리", fields: "section, paragraph, control, len, borderType", note: "" },
    Inventory { name: "hyperlink-text-len", summary: "링크 표시 길이", fields: "section, paragraph, control, url, text, urlLen, textLen", note: "" },
    Inventory { name: "bookmark-empty-name", summary: "빈 책갈피 이름", fields: "section, paragraph, control, name, emptyName", note: "" },
    Inventory { name: "header-nonempty", summary: "머리말 문단 수 조회", fields: "section, paragraph, control, paraCount", note: "현재 빈 항목도 포함한다. paraCount를 호출자가 확인한다." },
    Inventory { name: "footer-nonempty", summary: "꼬리말 문단 수 조회", fields: "section, paragraph, control, paraCount", note: "현재 빈 항목도 포함한다. paraCount를 호출자가 확인한다." },
    Inventory { name: "footnote-nonempty", summary: "각주 문단 수 조회", fields: "section, paragraph, control, paraCount", note: "현재 빈 항목도 포함한다. paraCount를 호출자가 확인한다." },
    Inventory { name: "endnote-nonempty", summary: "미주 문단 수 조회", fields: "section, paragraph, control, paraCount", note: "현재 빈 항목도 포함한다. paraCount를 호출자가 확인한다." },
    Inventory { name: "hidden-nonempty", summary: "숨은 설명 문단 수 조회", fields: "section, paragraph, control, paraCount", note: "현재 빈 항목도 포함한다. paraCount를 호출자가 확인한다." },
    Inventory { name: "shape-height", summary: "그리기 높이", fields: "section, paragraph, control, width, height", note: "" },
    Inventory { name: "table-zones", summary: "표 영역 수", fields: "section, paragraph, control, rows, cols, cells, attr, borderFillId, zones, grid", note: "" },
    Inventory { name: "table-grid-len", summary: "표 그리드 길이", fields: "section, paragraph, control, rows, cols, cells, attr, borderFillId, zones, grid", note: "" },
    Inventory { name: "field-extra-props", summary: "필드 extra_properties", fields: "section, paragraph, control, command, fieldId, properties, ctrlId, extra", note: "" },
    Inventory { name: "form-back-color", summary: "양식 배경색", fields: "section, paragraph, control, name, text, enabled, width, height, caption, fore, back", note: "" },
    Inventory { name: "equation-version", summary: "수식 버전 정보", fields: "section, paragraph, control, script, font, fontSize, baseline, color, attr, version", note: "" },
    Inventory { name: "index-both-keys", summary: "첫째+둘째 키 길이", fields: "section, paragraph, control, first, second, both", note: "" },
    Inventory { name: "para-char-count", summary: "문단 문자 수", fields: "section, paragraph, chars", note: "" },
    Inventory { name: "section-ctrl-total", summary: "구역 컨트롤 합", fields: "section, ctrlCount", note: "" },
    Inventory { name: "caption-para-count", summary: "표 구조·속성 조회", fields: "section, paragraph, control, rows, cols, cells, attr, borderFillId, zones, grid", note: "현재 캡션 문단 수는 반환하지 않는다. 캡션 정보는 pack tables-model의 captionParagraphs로 확인한다." },
    Inventory { name: "enabled-forms-only", summary: "양식 개체와 활성 상태 조회", fields: "section, paragraph, control, name, text, enabled, width, height, caption, fore, back", note: "현재 enabled=true만 거르는 필터는 적용하지 않는다. items의 enabled를 호출자가 확인한다." },
    Inventory { name: "nonempty-urls", summary: "하이퍼링크 URL·텍스트 조회", fields: "section, paragraph, control, url, text, urlLen, textLen", note: "현재 빈 URL을 제외하지 않는다. url/urlLen을 호출자가 확인한다." },
    Inventory { name: "nonempty-scripts", summary: "수식 스크립트와 속성 조회", fields: "section, paragraph, control, script, font, fontSize, baseline, color, attr, version", note: "현재 빈 스크립트를 제외하지 않는다. script를 호출자가 확인한다." },
    Inventory { name: "lock-pictures-only", summary: "그림 잠금 상태·속성 조회", fields: "section, paragraph, control, instanceId, lock, reverse, cropL, borderWidth, opacity, hrefSet", note: "현재 잠긴 그림만 거르지 않는다. lock을 호출자가 확인한다." },
    Inventory { name: "picture-crop-left", summary: "그림 crop.left", fields: "section, paragraph, control, instanceId, lock, reverse, cropL, borderWidth, opacity, hrefSet", note: "" },
    Inventory { name: "form-name-len", summary: "양식 이름·속성 조회", fields: "section, paragraph, control, name, text, enabled, width, height, caption, fore, back", note: "현재 이름 길이 필드는 반환하지 않는다. name의 길이는 호출자가 계산한다." },
    Inventory { name: "field-command-len", summary: "필드 명령·속성 조회", fields: "section, paragraph, control, command, fieldId, properties, ctrlId, extra", note: "현재 명령 길이 필드는 반환하지 않는다. command의 길이는 호출자가 계산한다." },
];

pub(super) const PACK: &[Inventory] = &[
    Inventory {
        name: "forms-all",
        summary: "양식 개체 전수",
        fields: "section, paragraph, control, name, text, enabled, width",
        note: "",
    },
    Inventory {
        name: "shapes-all",
        summary: "그리기 개체 전수",
        fields: "section, paragraph, control, width",
        note: "",
    },
    Inventory {
        name: "char-overlaps",
        summary: "글자겹침 전수",
        fields: "section, paragraph, control, len, borderType",
        note: "",
    },
    Inventory {
        name: "headers-list",
        summary: "머리말 전수",
        fields: "section, paragraph, control, paraCount",
        note: "",
    },
    Inventory {
        name: "footers-list",
        summary: "꼬리말 전수",
        fields: "section, paragraph, control, paraCount",
        note: "",
    },
    Inventory {
        name: "footnotes-list",
        summary: "각주 전수",
        fields: "section, paragraph, control, paraCount",
        note: "",
    },
    Inventory {
        name: "endnotes-list",
        summary: "미주 전수",
        fields: "section, paragraph, control, paraCount",
        note: "",
    },
    Inventory {
        name: "new-numbers",
        summary: "새 번호 전수",
        fields: "section, paragraph, control, ok",
        note: "",
    },
    Inventory {
        name: "page-num-ctrls",
        summary: "쪽번호 시작 전수",
        fields: "section, paragraph, control, ok",
        note: "",
    },
    Inventory {
        name: "page-number-pos",
        summary: "쪽번호 위치 전수",
        fields: "section, paragraph, control, ok",
        note: "",
    },
    Inventory {
        name: "column-defs",
        summary: "단 정의 전수",
        fields: "section, paragraph, control, ok",
        note: "",
    },
    Inventory {
        name: "unknown-ctrls",
        summary: "미지 컨트롤 전수",
        fields: "section, paragraph, control, ok",
        note: "",
    },
    Inventory {
        name: "tables-model",
        summary: "표 모델 행·열",
        fields: "section, paragraph, control, rows, cols, cells, hasCaption, captionParagraphs",
        note: "",
    },
    Inventory {
        name: "field-ctrls",
        summary: "필드 컨트롤 전수",
        fields: "section, paragraph, control, command, fieldId",
        note: "",
    },
    Inventory {
        name: "bookmark-names",
        summary: "책갈피 이름",
        fields: "section, paragraph, control, name",
        note: "",
    },
    Inventory {
        name: "treat-as-char",
        summary: "글자처럼 취급 개체",
        fields: "section, paragraph, control, treatAsChar",
        note: "",
    },
    Inventory {
        name: "logical-inline",
        summary: "논리 인라인 컨트롤",
        fields: "section, paragraph, control, logicalInline",
        note: "",
    },
    Inventory {
        name: "picture-crops",
        summary: "그림 자르기 좌표",
        fields: "section, paragraph, control, instanceId, lock, reverse, cropL",
        note: "",
    },
    Inventory {
        name: "equation-scripts",
        summary: "수식 스크립트",
        fields: "section, paragraph, control, script, font, fontSize",
        note: "",
    },
    Inventory {
        name: "form-types",
        summary: "양식 이름·텍스트·활성·너비 조회",
        fields: "section, paragraph, control, name, text, enabled, width",
        note: "현재 별도 type 필드는 반환하지 않는다.",
    },
    Inventory {
        name: "hyperlink-hosts",
        summary: "하이퍼링크 URL·텍스트 조회",
        fields: "section, paragraph, control, url, text",
        note: "현재 URL에서 host를 추출하지 않는다. url을 호출자가 파싱한다.",
    },
    Inventory {
        name: "ruby-mains",
        summary: "덧말 본문",
        fields: "section, paragraph, control, main, ruby, ratio",
        note: "",
    },
    Inventory {
        name: "pagehide-headers",
        summary: "머리말 감추기",
        fields: "section, paragraph, control, hideHeader, hideFooter",
        note: "",
    },
    Inventory {
        name: "autonumber-nums",
        summary: "자동번호 값",
        fields: "section, paragraph, control, number, format",
        note: "",
    },
    Inventory {
        name: "index-second-keys",
        summary: "찾아보기 둘째 키",
        fields: "section, paragraph, control, first, second",
        note: "",
    },
    Inventory {
        name: "hidden-comment-len",
        summary: "숨은 설명 문단 수",
        fields: "section, paragraph, control, paraCount",
        note: "",
    },
    Inventory {
        name: "table-rows",
        summary: "표 행 수",
        fields: "section, paragraph, control, rows, cols, cells",
        note: "",
    },
    Inventory {
        name: "table-cells",
        summary: "표 셀 수",
        fields: "section, paragraph, control, rows, cols, cells",
        note: "",
    },
    Inventory {
        name: "shape-sizes",
        summary: "그리기 폭",
        fields: "section, paragraph, control, width",
        note: "",
    },
    Inventory {
        name: "header-paras",
        summary: "머리말 문단 수",
        fields: "section, paragraph, control, paraCount",
        note: "",
    },
    Inventory {
        name: "footer-paras",
        summary: "꼬리말 문단 수",
        fields: "section, paragraph, control, paraCount",
        note: "",
    },
    Inventory {
        name: "footnote-paras",
        summary: "각주 문단 수",
        fields: "section, paragraph, control, paraCount",
        note: "",
    },
    Inventory {
        name: "endnote-paras",
        summary: "미주 문단 수",
        fields: "section, paragraph, control, paraCount",
        note: "",
    },
    Inventory {
        name: "picture-locks",
        summary: "그림 잠금",
        fields: "section, paragraph, control, instanceId, lock, reverse, cropL",
        note: "",
    },
    Inventory {
        name: "picture-reverse",
        summary: "그림 반전",
        fields: "section, paragraph, control, instanceId, lock, reverse, cropL",
        note: "",
    },
    Inventory {
        name: "equation-fonts",
        summary: "수식 글꼴",
        fields: "section, paragraph, control, script, font, fontSize",
        note: "",
    },
    Inventory {
        name: "form-enabled",
        summary: "양식 활성",
        fields: "section, paragraph, control, name, text, enabled, width",
        note: "",
    },
    Inventory {
        name: "field-commands",
        summary: "필드 command",
        fields: "section, paragraph, control, command, fieldId",
        note: "",
    },
    Inventory {
        name: "field-ids",
        summary: "필드 id",
        fields: "section, paragraph, control, command, fieldId",
        note: "",
    },
    Inventory {
        name: "form-sizes",
        summary: "양식 너비",
        fields: "section, paragraph, control, name, text, enabled, width",
        note: "",
    },
    Inventory {
        name: "section-defs",
        summary: "구역 정의 개수",
        fields: "section, paragraph, control, ok",
        note: "",
    },
    Inventory {
        name: "caption-tables",
        summary: "표 행·열·셀 수 조회",
        fields: "section, paragraph, control, rows, cols, cells",
        note:
            "현재 캡션 있는 표만 거르지 않는다. 캡션 유무는 tables-model의 hasCaption으로 확인한다.",
    },
    Inventory {
        name: "ctrl-kinds",
        summary: "컨트롤 종류 개수",
        fields: "kind, count",
        note: "",
    },
    Inventory {
        name: "page-starts-on",
        summary: "쪽 시작",
        fields: "section, paragraph, control, pageStartsOn",
        note: "",
    },
    Inventory {
        name: "hidden-comment-count",
        summary: "숨은 설명 개수",
        fields: "section, paragraph, control, paraCount",
        note: "",
    },
    Inventory {
        name: "ruby-ratio",
        summary: "덧말 비율",
        fields: "section, paragraph, control, main, ruby, ratio",
        note: "",
    },
    Inventory {
        name: "char-overlap-len",
        summary: "겹침 글자 수",
        fields: "section, paragraph, control, len, borderType",
        note: "",
    },
    Inventory {
        name: "table-cols",
        summary: "표 열 수",
        fields: "section, paragraph, control, rows, cols, cells",
        note: "",
    },
    Inventory {
        name: "picture-instance",
        summary: "그림 instance id",
        fields: "section, paragraph, control, instanceId, lock, reverse, cropL",
        note: "",
    },
    Inventory {
        name: "index-first-keys",
        summary: "찾아보기 첫째 키",
        fields: "section, paragraph, control, first, second",
        note: "",
    },
];