kordoc 3.5.1 → 3.5.2
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/{-BNJMPTQ2.js → -LYUGJZQG.js} +3 -3
- package/dist/{chunk-GMPDZD7Q.js → chunk-DN5LTND6.js} +7 -5
- package/dist/{chunk-GMPDZD7Q.js.map → chunk-DN5LTND6.js.map} +1 -1
- package/dist/{chunk-RWSGBXSA.cjs → chunk-G44XLS26.cjs} +2 -2
- package/dist/{chunk-RWSGBXSA.cjs.map → chunk-G44XLS26.cjs.map} +1 -1
- package/dist/{chunk-IKAXUVSU.js → chunk-NOIHZQWC.js} +2 -2
- package/dist/{chunk-OXOPDVNV.js → chunk-QXXQIZBH.js} +2 -2
- package/dist/cli.js +4 -4
- package/dist/index.cjs +116 -114
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +3 -3
- package/dist/{parser-ZLFOUVR4.cjs → parser-2O276TRF.cjs} +14 -14
- package/dist/{parser-ZLFOUVR4.cjs.map → parser-2O276TRF.cjs.map} +1 -1
- package/dist/{parser-GHZMDUGG.js → parser-4FFTFIYL.js} +2 -2
- package/dist/{parser-XXQAMYGV.js → parser-KDF76UCB.js} +2 -2
- package/dist/{watch-IN3YN72W.js → watch-MF7JFR7S.js} +3 -3
- package/package.json +1 -1
- /package/dist/{-BNJMPTQ2.js.map → -LYUGJZQG.js.map} +0 -0
- /package/dist/{chunk-IKAXUVSU.js.map → chunk-NOIHZQWC.js.map} +0 -0
- /package/dist/{chunk-OXOPDVNV.js.map → chunk-QXXQIZBH.js.map} +0 -0
- /package/dist/{parser-GHZMDUGG.js.map → parser-4FFTFIYL.js.map} +0 -0
- /package/dist/{parser-XXQAMYGV.js.map → parser-KDF76UCB.js.map} +0 -0
- /package/dist/{watch-IN3YN72W.js.map → watch-MF7JFR7S.js.map} +0 -0
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
patchHwpxBlocks,
|
|
34
34
|
renderHtml,
|
|
35
35
|
scanSectionXml
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DN5LTND6.js";
|
|
37
37
|
import {
|
|
38
38
|
detectFormat,
|
|
39
39
|
detectOle2Format,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
VERSION,
|
|
48
48
|
blocksToMarkdown
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-NOIHZQWC.js";
|
|
50
50
|
import "./chunk-MOL7MDBG.js";
|
|
51
51
|
export {
|
|
52
52
|
HwpxSession,
|
|
@@ -92,4 +92,4 @@ export {
|
|
|
92
92
|
renderHtml,
|
|
93
93
|
scanSectionXml
|
|
94
94
|
};
|
|
95
|
-
//# sourceMappingURL=-
|
|
95
|
+
//# sourceMappingURL=-LYUGJZQG.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
sanitizeHref,
|
|
26
26
|
stripDtd,
|
|
27
27
|
toArrayBuffer
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NOIHZQWC.js";
|
|
29
29
|
import {
|
|
30
30
|
parsePageRange
|
|
31
31
|
} from "./chunk-MOL7MDBG.js";
|
|
@@ -20235,7 +20235,8 @@ ${base2.join("\n")}
|
|
|
20235
20235
|
];
|
|
20236
20236
|
for (let d = 0; d < GONGMUN_LIST_LEVELS; d++) {
|
|
20237
20237
|
const { left, indent } = levelIndent(d, gongmun.bodyHeight, gongmun.numbering);
|
|
20238
|
-
|
|
20238
|
+
const sectionGap = gongmun.numbering === "report" && d === 0 ? Math.round(gongmun.bodyHeight * 0.5) : 0;
|
|
20239
|
+
base.push(paraPr(GONGMUN_LIST_BASE + d, { align: "JUSTIFY", lineSpacing: ls, left, indent, spaceBefore: sectionGap }));
|
|
20239
20240
|
}
|
|
20240
20241
|
base.push(paraPr(GONGMUN_CENTER, { align: "CENTER", lineSpacing: ls }));
|
|
20241
20242
|
return `<hh:paraProperties itemCnt="${base.length}">
|
|
@@ -20446,7 +20447,8 @@ function blocksToSectionXml(blocks, theme, gongmun) {
|
|
|
20446
20447
|
const marker2 = info?.marker ?? "";
|
|
20447
20448
|
const content = block.text || "";
|
|
20448
20449
|
const text = marker2 ? `${marker2} ${content}` : content;
|
|
20449
|
-
|
|
20450
|
+
const listCharPr = gongmun.numbering === "report" && depth === 0 ? CHAR_BOLD : CHAR_NORMAL;
|
|
20451
|
+
xml = generateParagraph(text, GONGMUN_LIST_BASE + depth, listCharPr);
|
|
20450
20452
|
break;
|
|
20451
20453
|
}
|
|
20452
20454
|
const indent = block.indent || 0;
|
|
@@ -23295,7 +23297,7 @@ async function parseHwp(buffer, options) {
|
|
|
23295
23297
|
async function parsePdf(buffer, options) {
|
|
23296
23298
|
let parsePdfDocument;
|
|
23297
23299
|
try {
|
|
23298
|
-
const mod = await import("./parser-
|
|
23300
|
+
const mod = await import("./parser-KDF76UCB.js");
|
|
23299
23301
|
parsePdfDocument = mod.parsePdfDocument;
|
|
23300
23302
|
} catch {
|
|
23301
23303
|
return {
|
|
@@ -23422,4 +23424,4 @@ export {
|
|
|
23422
23424
|
parseHwpml,
|
|
23423
23425
|
fillForm
|
|
23424
23426
|
};
|
|
23425
|
-
//# sourceMappingURL=chunk-
|
|
23427
|
+
//# sourceMappingURL=chunk-DN5LTND6.js.map
|