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
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
sanitizeHref,
|
|
20
20
|
stripDtd,
|
|
21
21
|
toArrayBuffer
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QXXQIZBH.js";
|
|
23
23
|
import {
|
|
24
24
|
parsePageRange
|
|
25
25
|
} from "./chunk-GE43BE46.js";
|
|
@@ -20453,7 +20453,8 @@ ${base2.join("\n")}
|
|
|
20453
20453
|
];
|
|
20454
20454
|
for (let d = 0; d < GONGMUN_LIST_LEVELS; d++) {
|
|
20455
20455
|
const { left, indent } = levelIndent(d, gongmun.bodyHeight, gongmun.numbering);
|
|
20456
|
-
|
|
20456
|
+
const sectionGap = gongmun.numbering === "report" && d === 0 ? Math.round(gongmun.bodyHeight * 0.5) : 0;
|
|
20457
|
+
base.push(paraPr(GONGMUN_LIST_BASE + d, { align: "JUSTIFY", lineSpacing: ls, left, indent, spaceBefore: sectionGap }));
|
|
20457
20458
|
}
|
|
20458
20459
|
base.push(paraPr(GONGMUN_CENTER, { align: "CENTER", lineSpacing: ls }));
|
|
20459
20460
|
return `<hh:paraProperties itemCnt="${base.length}">
|
|
@@ -20664,7 +20665,8 @@ function blocksToSectionXml(blocks, theme, gongmun) {
|
|
|
20664
20665
|
const marker2 = info?.marker ?? "";
|
|
20665
20666
|
const content = block.text || "";
|
|
20666
20667
|
const text = marker2 ? `${marker2} ${content}` : content;
|
|
20667
|
-
|
|
20668
|
+
const listCharPr = gongmun.numbering === "report" && depth === 0 ? CHAR_BOLD : CHAR_NORMAL;
|
|
20669
|
+
xml = generateParagraph(text, GONGMUN_LIST_BASE + depth, listCharPr);
|
|
20668
20670
|
break;
|
|
20669
20671
|
}
|
|
20670
20672
|
const indent = block.indent || 0;
|
|
@@ -23513,7 +23515,7 @@ async function parseHwp(buffer, options) {
|
|
|
23513
23515
|
async function parsePdf(buffer, options) {
|
|
23514
23516
|
let parsePdfDocument;
|
|
23515
23517
|
try {
|
|
23516
|
-
const mod = await import("./parser-
|
|
23518
|
+
const mod = await import("./parser-4FFTFIYL.js");
|
|
23517
23519
|
parsePdfDocument = mod.parsePdfDocument;
|
|
23518
23520
|
} catch {
|
|
23519
23521
|
return {
|