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.
@@ -33,7 +33,7 @@ import {
33
33
  patchHwpxBlocks,
34
34
  renderHtml,
35
35
  scanSectionXml
36
- } from "./chunk-GMPDZD7Q.js";
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-IKAXUVSU.js";
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=-BNJMPTQ2.js.map
95
+ //# sourceMappingURL=-LYUGJZQG.js.map
@@ -25,7 +25,7 @@ import {
25
25
  sanitizeHref,
26
26
  stripDtd,
27
27
  toArrayBuffer
28
- } from "./chunk-IKAXUVSU.js";
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
- base.push(paraPr(GONGMUN_LIST_BASE + d, { align: "JUSTIFY", lineSpacing: ls, left, indent }));
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
- xml = generateParagraph(text, GONGMUN_LIST_BASE + depth);
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-XXQAMYGV.js");
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-GMPDZD7Q.js.map
23427
+ //# sourceMappingURL=chunk-DN5LTND6.js.map