abstract-document 6.7.2 → 6.8.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/CHANGELOG.md +127 -105
- package/LICENSE +21 -21
- package/README.md +45 -45
- package/lib/abstract-document/atoms/toc-separator.d.ts +2 -0
- package/lib/abstract-document/atoms/toc-separator.d.ts.map +1 -1
- package/lib/abstract-document/atoms/toc-separator.js +2 -1
- package/lib/abstract-document/atoms/toc-separator.js.map +1 -1
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/group.js +90 -90
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/header-and-footer.js +69 -69
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/hello.js +51 -51
- package/lib/abstract-document-exporters/__tests__/{pdf/test-defs/single-hyperlink copy.d.ts → docx2/test-defs/letter-dimensions.d.ts} +1 -1
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/letter-dimensions.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/letter-dimensions.js +92 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/letter-dimensions.js.map +1 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/mixed-hyperlink-and-textrun.js +115 -115
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/mixed-textrun-and-images.js +169 -169
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/multiple-images.js +141 -141
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/multiple-tables.js +467 -467
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/multiple-textrun-with-center-alignment.js +97 -97
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/multiple-textrun-with-end-alignment.js +97 -97
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/multiple-textrun-with-start-alignment-that-linebreaks.js +96 -96
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/multiple-textrun-with-start-alignment.js +96 -96
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/page-numbering.js +102 -102
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/simple-table-colSpan-and-rowSpan.js +498 -498
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/simple-table-without-rows.js +20 -20
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/simple-table.js +167 -167
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-hyperlink.js +70 -70
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image-png.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image-png.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image-png.js +149 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image-png.js.map +1 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image-svg.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image-svg.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image-svg.js +149 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image-svg.js.map +1 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image.js +97 -97
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-center-alignment-that-linebreaks.js +68 -68
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-center-alignment.js +68 -68
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-end-alignment-that-linebreaks.js +68 -68
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-end-alignment.js +68 -68
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-start-alignment-that-linebreaks.js +68 -68
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-start-alignment.js +68 -68
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun.js +68 -68
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/world.js +51 -51
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/group.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/group.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/{single-hyperlink copy.js → group.js} +23 -5
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/group.js.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-auto-cell-widths.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-auto-cell-widths.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-auto-cell-widths.js +105 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-auto-cell-widths.js.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-fixed-cell-widths.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-fixed-cell-widths.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-fixed-cell-widths.js +104 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-fixed-cell-widths.js.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table.js +104 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table.js.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-dasharray.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-dasharray.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-dasharray.js +96 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-dasharray.js.map +1 -0
- package/lib/abstract-document-exporters/docx2/render.js +3 -0
- package/lib/abstract-document-exporters/docx2/render.js.map +1 -1
- package/lib/abstract-document-exporters/pdf/render-image.js +19 -0
- package/lib/abstract-document-exporters/pdf/render-image.js.map +1 -1
- package/lib/abstract-document-exporters/pdf/render.js +8 -7
- package/lib/abstract-document-exporters/pdf/render.js.map +1 -1
- package/package.json +2 -2
- package/src/abstract-document/__tests__/hello-world-abstract-doc.ts +245 -245
- package/src/abstract-document/__tests__/markdown/export-test-def.ts +10 -10
- package/src/abstract-document/__tests__/markdown/export.test.tsx +15 -15
- package/src/abstract-document/__tests__/markdown/test-defs/markdown-bold-italic.tsx +31 -31
- package/src/abstract-document/__tests__/markdown/test-defs/markdown-bold.tsx +31 -31
- package/src/abstract-document/__tests__/markdown/test-defs/markdown-empty-keepTogether.tsx +54 -54
- package/src/abstract-document/__tests__/markdown/test-defs/markdown-header.tsx +38 -38
- package/src/abstract-document/__tests__/markdown/test-defs/markdown-italic.tsx +31 -31
- package/src/abstract-document/__tests__/markdown/test-defs/markdown-keepTogether.tsx +61 -61
- package/src/abstract-document/__tests__/markdown/test-defs/markdown-subscript.tsx +45 -45
- package/src/abstract-document/__tests__/markdown/test-defs/markdown-superscript.tsx +38 -38
- package/src/abstract-document/__tests__/model-builder._test.ts +48 -48
- package/src/abstract-document/abstract-doc.ts +19 -19
- package/src/abstract-document/atoms/atom.ts +14 -14
- package/src/abstract-document/atoms/hyper-link.ts +27 -27
- package/src/abstract-document/atoms/image.ts +21 -21
- package/src/abstract-document/atoms/link-target.ts +15 -15
- package/src/abstract-document/atoms/text-field.ts +36 -36
- package/src/abstract-document/atoms/text-run.ts +25 -25
- package/src/abstract-document/atoms/toc-separator.ts +18 -14
- package/src/abstract-document/default-styles.ts +145 -145
- package/src/abstract-document/index.ts +89 -89
- package/src/abstract-document/markdown/markdown.ts +142 -142
- package/src/abstract-document/markdown/types.ts +78 -78
- package/src/abstract-document/numberings/numbering-definition.ts +17 -17
- package/src/abstract-document/numberings/numbering-format.ts +7 -7
- package/src/abstract-document/numberings/numbering-level-definition.ts +42 -42
- package/src/abstract-document/numberings/numbering.ts +3 -3
- package/src/abstract-document/page/master-page.ts +23 -23
- package/src/abstract-document/page/section.ts +27 -27
- package/src/abstract-document/primitives/font.ts +37 -37
- package/src/abstract-document/primitives/image-resource.ts +27 -27
- package/src/abstract-document/primitives/layout-foundation-color.ts +37 -37
- package/src/abstract-document/primitives/layout-foundation.ts +37 -37
- package/src/abstract-document/primitives/length.ts +11 -11
- package/src/abstract-document/primitives/point.ts +11 -11
- package/src/abstract-document/primitives/rect.ts +15 -15
- package/src/abstract-document/primitives/size.ts +13 -13
- package/src/abstract-document/resources.ts +101 -101
- package/src/abstract-document/section-elements/group.ts +28 -28
- package/src/abstract-document/section-elements/page-break.ts +14 -14
- package/src/abstract-document/section-elements/paragraph-numbering.ts +6 -6
- package/src/abstract-document/section-elements/paragraph.ts +32 -32
- package/src/abstract-document/section-elements/section-element.ts +17 -17
- package/src/abstract-document/section-elements/table.ts +34 -34
- package/src/abstract-document/styles/group-style.ts +30 -30
- package/src/abstract-document/styles/page-style.ts +76 -76
- package/src/abstract-document/styles/paragraph-style.ts +49 -49
- package/src/abstract-document/styles/position.ts +8 -8
- package/src/abstract-document/styles/style-key.ts +5 -5
- package/src/abstract-document/styles/style.ts +44 -44
- package/src/abstract-document/styles/table-cell-style.ts +59 -59
- package/src/abstract-document/styles/table-style.ts +46 -46
- package/src/abstract-document/styles/text-style.ts +77 -77
- package/src/abstract-document/table/table-cell.ts +31 -31
- package/src/abstract-document/table/table-row.ts +14 -14
- package/src/abstract-document/types.ts +3 -3
- package/src/abstract-document-exporters/__tests__/docx2/export-test-def.ts +10 -10
- package/src/abstract-document-exporters/__tests__/docx2/export.test.tsx +67 -67
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/group.tsx +114 -114
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/header-and-footer.tsx +110 -110
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/hello.tsx +70 -70
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/letter-dimensions.tsx +74 -0
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/mixed-hyperlink-and-textrun.tsx +137 -137
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/mixed-textrun-and-images.tsx +212 -212
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/multiple-images.tsx +182 -182
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/multiple-tables.tsx +553 -553
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/multiple-textrun-with-center-alignment.tsx +119 -119
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/multiple-textrun-with-end-alignment.tsx +119 -119
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/multiple-textrun-with-start-alignment-that-linebreaks.tsx +121 -121
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/multiple-textrun-with-start-alignment.tsx +118 -118
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/page-numbering.tsx +123 -123
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/simple-table-colSpan-and-rowSpan.tsx +587 -587
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/simple-table-without-rows.tsx +45 -45
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/simple-table.tsx +210 -210
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-hyperlink.tsx +89 -89
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-image-png.tsx +138 -0
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-image-svg.tsx +137 -0
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-image.tsx +137 -137
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-center-alignment-that-linebreaks.tsx +88 -88
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-center-alignment.tsx +88 -88
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-end-alignment-that-linebreaks.tsx +88 -88
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-end-alignment.tsx +88 -88
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-start-alignment-that-linebreaks.tsx +88 -88
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun-with-start-alignment.tsx +88 -88
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/single-textrun.tsx +87 -87
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/world.tsx +70 -70
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Group.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Header and footer.docx and b/package/src/abstract-document-exporters/__tests__/docx2/tmp/Header → footer.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Mixed hyperlink and textrun.docx and b/package/src/abstract-document-exporters/__tests__/docx2/tmp/Mixed hyperlink → textrun.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Mixed textrun and images.docx and b/package/src/abstract-document-exporters/__tests__/docx2/tmp/Mixed textrun → images.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple images.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple tables.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Center alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with End alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Start alignment that linebreaks.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Start alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Page numbering.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table colSpan and rowSpan.docx and b/package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table colSpan → rowSpan.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table without rows.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single hyperlink.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single image svg.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single image.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Center alignment that linebreaks.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Center alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with End alignment that linebreaks.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with End alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Start alignment that linebreaks.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Start alignment.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/hello.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/letter-dimensions.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/world.docx +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/export-test-def.ts +10 -10
- package/src/abstract-document-exporters/__tests__/pdf/export.test.tsx +46 -46
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/absolute-position-group.tsx +77 -77
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/absolute-position-header-and-footer.tsx +205 -205
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/absolute-position-paragraph.tsx +51 -51
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/absolute-position-section-in-group.tsx +96 -96
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/absolute-position-section-in-table.tsx +145 -145
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/absolute-position-table.tsx +117 -117
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/date.tsx +66 -66
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/group-no-keep-together.tsx +1287 -1287
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/group-paragraphs.tsx +1291 -1291
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/group-tables.tsx +1314 -1314
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/group-too-big-for-one-page.tsx +272 -272
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/header-and-footer.tsx +162 -162
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/hello.tsx +45 -45
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/hyperlink-intenal-link-target.tsx +831 -831
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/hyperlink-internal.tsx +811 -811
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/margins-header-body-footer.tsx +1008 -1008
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/mixed-hyperlink-and-textrun-no-underline.tsx +114 -114
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/mixed-hyperlink-and-textrun-with-underline.tsx +114 -114
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/mixed-hyperlink-and-textrun.tsx +113 -113
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/mixed-textrun-and-images.tsx +104 -104
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/multiple-images-overflow.tsx +75 -75
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/multiple-images.tsx +71 -71
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/multiple-textrun-with-center-alignment.tsx +98 -98
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/multiple-textrun-with-end-alignment.tsx +98 -98
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/multiple-textrun-with-start-alignment-that-linebreaks.tsx +116 -116
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/multiple-textrun-with-start-alignment.tsx +98 -98
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-row-that-doesnt-fit-page.tsx +317 -317
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-single-row.tsx +227 -227
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-group.tsx +500 -500
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-header.tsx +1555 -1555
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-header2.tsx +824 -824
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-margin-bottom.tsx +455 -455
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-margin-top-single-table.tsx +354 -354
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-margin-top.tsx +455 -455
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-rowSpan-multipages.tsx +1567 -1567
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-rowSpan.tsx +545 -545
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/page-numbering.tsx +97 -97
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/pagebreak.tsx +102 -102
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-all-auto-cell-widths.tsx +119 -119
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-all-fixed-cell-widths.tsx +119 -119
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-background.tsx +182 -182
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-cell-padding-image.tsx +200 -200
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-cell-padding-text.tsx +338 -338
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-center-alignment.tsx +114 -114
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-colSpan-and-rowSpan.tsx +425 -425
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-mix-auto-fix-cell-widths.tsx +119 -119
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-padding.tsx +115 -115
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-right-alignment.tsx +115 -115
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-row-alignment.tsx +297 -297
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-text-alignment-in-cell-wrapping.tsx +491 -491
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-text-alignment-in-cell.tsx +248 -248
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-with-default-colored-borders.tsx +223 -223
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-with-header.tsx +482 -482
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-with-multi-colored-borders.tsx +236 -236
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-with-single-colored-borders.tsx +236 -236
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-figure.tsx +323 -323
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-hyperlink-center.tsx +66 -66
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-hyperlink-no-underline.tsx +70 -70
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-hyperlink-right-aligned.tsx +66 -66
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-hyperlink-with-underline.tsx +70 -70
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-hyperlink.tsx +65 -65
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-hex.tsx +272 -272
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-name.tsx +272 -272
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-url.tsx +97 -97
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-dasharray.tsx +85 -0
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-image.tsx +70 -70
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-baseline-alphabetic.tsx +46 -46
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-baseline-bottom.tsx +46 -46
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-baseline-hanging.tsx +46 -46
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-baseline-middle.tsx +46 -46
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-baseline-top.tsx +46 -46
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-super-subscript.tsx +98 -98
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-with-center-alignment-that-linebreaks.tsx +81 -81
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-with-center-alignment.tsx +66 -66
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-with-end-alignment-that-linebreaks.tsx +81 -81
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-with-end-alignment.tsx +66 -66
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-with-justify-alignment.tsx +66 -66
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-with-start-alignment-that-linebreaks.tsx +81 -81
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun-with-start-alignment.tsx +66 -66
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-textrun.tsx +45 -45
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/table-of-content-separator.tsx +81 -81
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/world.tsx +45 -45
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position group.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position header and footer.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position paragraph.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position section in group.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position section in table.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Absolute position table.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Group Paragraphs.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Group Paratraphs.pdf +912 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Group Tables.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Group no keeptogether.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Group too big for one page.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Group.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Header and footer.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Hyperlink internal linktarget.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Hyperlink internal.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Margins header body footer.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Margins header body footer1.pdf +640 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Margins header body footer2.pdf +609 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Margins header body footer3.pdf +1188 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Margins header body footer4.pdf +1188 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed hyperlink and textrun no underline.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed hyperlink and textrun with underline.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed hyperlink and textrun.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed textrun and images.pdf and b/package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed textrun → images.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple images overflow.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple images.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Center alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with End alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Start alignment that linebreaks.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Start alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Page numbering.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table row that doesnt fit page.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table single row.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with group.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with header 2.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with header.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin bottom.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin top single table.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin top.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with rowSpan multipages.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with rowSpan.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table all auto.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table all fix.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/{Paragraph numbering.pdf → Simple table auto.pdf } +18 -28
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table background.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table cell padding of image.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table cell padding of text.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table center alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table colSpan and rowSpan.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table mix auto fix.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/{Single textrun with default alignment.pdf → Simple table one auto.pdf } +34 -14
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table padding.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table padding1.pdf +133 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table right alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table row alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table text alignment in cell with wrapping.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table text alignment in cell.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with default colored borders.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with header.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with multi colored borders.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with single colored borders.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single date.pdf +14 -14
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single figure.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink centered.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink no underline.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink right aligned.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color hex.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color name.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color url.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color.pdf +179 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg dasharray.pdf +141 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image.pdf +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline alphabetic.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline bottom.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline hanging.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline middle.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun baseline top.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Center alignment that linebreaks.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Center alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with End alignment that linebreaks.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with End alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Justify alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Start alignment that linebreaks.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Start alignment.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with super and subscripts.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Table of content separator.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/hello.pdf +2 -2
- package/src/abstract-document-exporters/__tests__/pdf/tmp/world.pdf +2 -2
- package/src/abstract-document-exporters/docx/document-container.ts +18 -18
- package/src/abstract-document-exporters/docx/docx-constants.ts +46 -46
- package/src/abstract-document-exporters/docx/docx-document-renderer.ts +1084 -1084
- package/src/abstract-document-exporters/docx/ref-container.ts +53 -53
- package/src/abstract-document-exporters/docx/string-utils.ts +39 -39
- package/src/abstract-document-exporters/docx/xml-writer.ts +333 -333
- package/src/abstract-document-exporters/docx2/render-image.ts +159 -159
- package/src/abstract-document-exporters/docx2/render.ts +496 -493
- package/src/abstract-document-exporters/index.ts +5 -5
- package/src/abstract-document-exporters/pdf/font.ts +76 -76
- package/src/abstract-document-exporters/pdf/measure.ts +418 -418
- package/src/abstract-document-exporters/pdf/paginate.ts +434 -434
- package/src/abstract-document-exporters/pdf/pre-process.ts +389 -389
- package/src/abstract-document-exporters/pdf/render-image.ts +217 -195
- package/src/abstract-document-exporters/pdf/render.ts +847 -835
- package/src/abstract-document-exporters/pdf/update-refs.ts +163 -163
- package/src/abstract-document-exporters/shared/get_resources.ts +71 -71
- package/src/abstract-document-jsx/index.ts +86 -86
- package/src/custom_typings/@textlint/markdown-to-ast/index.d.ts +1 -1
- package/src/custom_typings/json-diff/index.d.ts +1 -1
- package/src/custom_typings/markdown-parser/index.d.ts +1 -1
- package/src/custom_typings/pdf2json/index.d.ts +1 -1
- package/src/custom_typings/remark-parse/index.d.ts +1 -1
- package/src/custom_typings/remark-sub-super/index.d.ts +1 -1
- package/src/custom_typings/svg-to-pdfkit/index.d.ts +1 -1
- package/src/custom_typings/unified/index.d.ts +1 -1
- package/src/index.ts +5 -5
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-hyperlink copy.d.ts.map +0 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-hyperlink copy.js.map +0 -1
- package/src/abstract-document-exporters/__tests__/docx2/tmp/Table of content separator.docx +0 -0
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Empty Paragraph.pdf +0 -91
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Named destination.pdf +0 -1761
- package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin.pdf +0 -404
package/CHANGELOG.md
CHANGED
|
@@ -1,105 +1,127 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
|
-
|
|
5
|
-
## [Unreleased](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.
|
|
6
|
-
|
|
7
|
-
### Added
|
|
8
|
-
|
|
9
|
-
### Changed
|
|
10
|
-
|
|
11
|
-
### Removed
|
|
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
|
-
- Fixed
|
|
100
|
-
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
##
|
|
104
|
-
|
|
105
|
-
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
|
+
|
|
5
|
+
## [Unreleased](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.8.2...master)
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
### Removed
|
|
12
|
+
|
|
13
|
+
## [v.6.8.2](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.8.2......abstract-document@6.8.1)
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Fix for docx, now parsing page dimensions.
|
|
20
|
+
|
|
21
|
+
### Removed
|
|
22
|
+
|
|
23
|
+
## [v6.8.1](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.8.0...abstract-document@6.8.1) - 2022-04-07
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Fixed crash when an SVG has 0 in a dasharray
|
|
28
|
+
|
|
29
|
+
## [v6.8.0](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.7.2...abstract-document@6.8.0) - 2022-03-04
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- Added width field for TocSeparator
|
|
34
|
+
|
|
35
|
+
## [v6.7.2](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.7.0...abstract-document@6.7.2) - 2022-02-16
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- Fixed footers height being too large when using absolute positioned elements
|
|
40
|
+
- Fixed text style property 'underline' now affecting if hyperlinks get underlined or not. By default hyperlinks are underlined.
|
|
41
|
+
|
|
42
|
+
## [v6.7.0](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.6.0...abstract-document@6.7.0) - 2022-02-15
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
|
|
46
|
+
- Added baseline text style field
|
|
47
|
+
|
|
48
|
+
## [v6.6.0](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.5.1...abstract-document@6.6.0) - 2022-02-09
|
|
49
|
+
|
|
50
|
+
### Added
|
|
51
|
+
|
|
52
|
+
- Added absolute positioning for section elements when rendering PDFs in abstract document
|
|
53
|
+
|
|
54
|
+
### Changed
|
|
55
|
+
|
|
56
|
+
- Fixed margin left and right not affecting paragraphs
|
|
57
|
+
|
|
58
|
+
## [v6.5.1](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.4.0...abstract-document@6.5.1) - 2022-01-05
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
|
|
62
|
+
- Added italic and mediumBold as options for texts in abstract image
|
|
63
|
+
|
|
64
|
+
### Changed
|
|
65
|
+
|
|
66
|
+
- Fixed bold text rendering for abstract image texts
|
|
67
|
+
|
|
68
|
+
## [v6.4.0](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.0.1...abstract-document@6.4.0) - 2021-11-24
|
|
69
|
+
|
|
70
|
+
### Added
|
|
71
|
+
|
|
72
|
+
- Add feature to allow setting border colors of cells separately
|
|
73
|
+
- Add table cell parameter "rowSpan" to allow setting the number of rows a cell should span
|
|
74
|
+
- Allow tables to be split and continue on the next page if they overflow a page
|
|
75
|
+
- Add support for repeatable headers for tables
|
|
76
|
+
|
|
77
|
+
### Changed
|
|
78
|
+
|
|
79
|
+
- Catch-up of the changelog.
|
|
80
|
+
- Parsing svg colors to lower case to work with Svg-To-PdfKit.
|
|
81
|
+
- Splitting tables if they are directly after each other.
|
|
82
|
+
- Fix crash when tables has no rows
|
|
83
|
+
- Fix table layout when using Infinity on column widths
|
|
84
|
+
- Fix cell border widths not setting properly
|
|
85
|
+
|
|
86
|
+
## [v6.0.1](https://github.com/dividab/abstract-visuals/compare/abstract-document@6.0.0...abstract-document@6.0.1) - 2021-09-02
|
|
87
|
+
|
|
88
|
+
### Added
|
|
89
|
+
|
|
90
|
+
- Reminder to update changelog.
|
|
91
|
+
|
|
92
|
+
## [v6.0.0](https://github.com/dividab/abstract-visuals/compare/abstract-document@5.1.2...abstract-document@6.0.0) - 2021-09-02
|
|
93
|
+
|
|
94
|
+
### Changed
|
|
95
|
+
|
|
96
|
+
- Positioning for sub/super script has been changed.
|
|
97
|
+
- New logic for concatinating textatoms within the same paragraph.
|
|
98
|
+
- Fixed alignment offset for underscore.
|
|
99
|
+
- Fixed so vertical alignment in cells consider cell padding.
|
|
100
|
+
- Update react from 15.0.34 to 16.9.0.
|
|
101
|
+
- Fixes a crash when creating pdfs with markdown/svgs. Importing with \* no longer works after the build/ts change.
|
|
102
|
+
|
|
103
|
+
## [v5.1.2](https://github.com/dividab/abstract-visuals/compare/abstract-document@5.0.3...abstract-document@5.1.2) - 2021-05-25
|
|
104
|
+
|
|
105
|
+
### Added
|
|
106
|
+
|
|
107
|
+
- Added hyperlinks for Docx exporter.
|
|
108
|
+
- Added page orientation for Docx exporter.
|
|
109
|
+
- Added option to render abstract document to the Docx format.
|
|
110
|
+
|
|
111
|
+
## [v5.0.3](https://github.com/dividab/abstract-visuals/compare/abstract-document@4.3.16...abstract-document@5.0.3) - 2021-03-29
|
|
112
|
+
|
|
113
|
+
### Added
|
|
114
|
+
|
|
115
|
+
- Added test for fonts.
|
|
116
|
+
- Added a compensation for text width in measure to avoid unintentional line break in pdfKit.
|
|
117
|
+
- Added a flag called 'lineBreak' to textStyle that if set to false will truncate text rather than making a line breaking if the available space is too short to fit the text. By default the flag is true.
|
|
118
|
+
|
|
119
|
+
### Changed
|
|
120
|
+
|
|
121
|
+
- Fixed for multiple elements in same cell to align.
|
|
122
|
+
|
|
123
|
+
- Fixed vertical alignment of atom in a tableCell.
|
|
124
|
+
|
|
125
|
+
## v4.3.16 - 2021-03-24
|
|
126
|
+
|
|
127
|
+
- Start of changelog.
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018 Divid AB
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Divid AB
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
# abstract-document
|
|
2
|
-
|
|
3
|
-
[![npm version][version-image]][version-url]
|
|
4
|
-
[![code style: prettier][prettier-image]][prettier-url]
|
|
5
|
-
[![MIT license][license-image]][license-url]
|
|
6
|
-
|
|
7
|
-
Create documents using functions or JSX and render to any format
|
|
8
|
-
|
|
9
|
-
## Introduction
|
|
10
|
-
|
|
11
|
-
When dynamically creating complex documents, traditional reporting packages with WYSIWYG interfaces can make documents cumbersome to design, difficult to provide data for, hard to debug, and mostly get in your way. This library offers a solution by allowing you to create an abstract representation of a document using code (function calls or JSX). This abstract representation can then be rendered to any format such as .pdf, .docx etc. It is also possible to embed [abstract-image] images into the document.
|
|
12
|
-
|
|
13
|
-
## Installation
|
|
14
|
-
|
|
15
|
-
`npm install --save abstract-document`
|
|
16
|
-
|
|
17
|
-
The library is compiled to ES5 and no polyfills are required.
|
|
18
|
-
|
|
19
|
-
## Usage
|
|
20
|
-
|
|
21
|
-
```js
|
|
22
|
-
const doc = render(
|
|
23
|
-
<AbstractDoc>
|
|
24
|
-
<Section page={page}>
|
|
25
|
-
<Paragraph>
|
|
26
|
-
<TextRun text="Test" />
|
|
27
|
-
</Paragraph>
|
|
28
|
-
{["a", "b", "c"].map(c => (
|
|
29
|
-
<Paragraph key={c}>
|
|
30
|
-
<TextRun text={c} />
|
|
31
|
-
</Paragraph>
|
|
32
|
-
))}
|
|
33
|
-
<Paragraph />
|
|
34
|
-
</Section>
|
|
35
|
-
</AbstractDoc>
|
|
36
|
-
);
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
[version-image]: https://img.shields.io/npm/v/abstract-document.svg?style=flat
|
|
40
|
-
[version-url]: https://www.npmjs.com/package/abstract-document
|
|
41
|
-
[license-image]: https://img.shields.io/github/license/dividab/abstract-visuals.svg?style=flat
|
|
42
|
-
[license-url]: https://opensource.org/licenses/MIT
|
|
43
|
-
[prettier-image]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat
|
|
44
|
-
[prettier-url]: https://github.com/prettier/prettier
|
|
45
|
-
[abstract-image]: https://www.npmjs.com/package/abstract-image
|
|
1
|
+
# abstract-document
|
|
2
|
+
|
|
3
|
+
[![npm version][version-image]][version-url]
|
|
4
|
+
[![code style: prettier][prettier-image]][prettier-url]
|
|
5
|
+
[![MIT license][license-image]][license-url]
|
|
6
|
+
|
|
7
|
+
Create documents using functions or JSX and render to any format
|
|
8
|
+
|
|
9
|
+
## Introduction
|
|
10
|
+
|
|
11
|
+
When dynamically creating complex documents, traditional reporting packages with WYSIWYG interfaces can make documents cumbersome to design, difficult to provide data for, hard to debug, and mostly get in your way. This library offers a solution by allowing you to create an abstract representation of a document using code (function calls or JSX). This abstract representation can then be rendered to any format such as .pdf, .docx etc. It is also possible to embed [abstract-image] images into the document.
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
`npm install --save abstract-document`
|
|
16
|
+
|
|
17
|
+
The library is compiled to ES5 and no polyfills are required.
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```js
|
|
22
|
+
const doc = render(
|
|
23
|
+
<AbstractDoc>
|
|
24
|
+
<Section page={page}>
|
|
25
|
+
<Paragraph>
|
|
26
|
+
<TextRun text="Test" />
|
|
27
|
+
</Paragraph>
|
|
28
|
+
{["a", "b", "c"].map(c => (
|
|
29
|
+
<Paragraph key={c}>
|
|
30
|
+
<TextRun text={c} />
|
|
31
|
+
</Paragraph>
|
|
32
|
+
))}
|
|
33
|
+
<Paragraph />
|
|
34
|
+
</Section>
|
|
35
|
+
</AbstractDoc>
|
|
36
|
+
);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
[version-image]: https://img.shields.io/npm/v/abstract-document.svg?style=flat
|
|
40
|
+
[version-url]: https://www.npmjs.com/package/abstract-document
|
|
41
|
+
[license-image]: https://img.shields.io/github/license/dividab/abstract-visuals.svg?style=flat
|
|
42
|
+
[license-url]: https://opensource.org/licenses/MIT
|
|
43
|
+
[prettier-image]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat
|
|
44
|
+
[prettier-url]: https://github.com/prettier/prettier
|
|
45
|
+
[abstract-image]: https://www.npmjs.com/package/abstract-image
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export interface TocSeparator {
|
|
2
2
|
readonly type: "TocSeparator";
|
|
3
|
+
readonly width?: number;
|
|
3
4
|
}
|
|
4
5
|
export interface TocSeparatorProps {
|
|
6
|
+
readonly width?: number;
|
|
5
7
|
}
|
|
6
8
|
export declare function create(_props: TocSeparatorProps): TocSeparator;
|
|
7
9
|
//# sourceMappingURL=toc-separator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toc-separator.d.ts","sourceRoot":"","sources":["../../../src/abstract-document/atoms/toc-separator.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"toc-separator.d.ts","sourceRoot":"","sources":["../../../src/abstract-document/atoms/toc-separator.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,MAAM,CAAC,MAAM,EAAE,iBAAiB,GAAG,YAAY,CAK9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toc-separator.js","sourceRoot":"","sources":["../../../src/abstract-document/atoms/toc-separator.ts"],"names":[],"mappings":";AAAA,2GAA2G;AAC3G,6FAA6F;;;
|
|
1
|
+
{"version":3,"file":"toc-separator.js","sourceRoot":"","sources":["../../../src/abstract-document/atoms/toc-separator.ts"],"names":[],"mappings":";AAAA,2GAA2G;AAC3G,6FAA6F;;;AAW7F,SAAgB,MAAM,CAAC,MAAyB;IAC9C,OAAO;QACL,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,MAAM,CAAC,KAAK;KACpB,CAAC;AACJ,CAAC;AALD,wBAKC"}
|
|
@@ -16,96 +16,96 @@ exports.test = {
|
|
|
16
16
|
react_1.default.createElement(abstract_document_jsx_1.Paragraph, null,
|
|
17
17
|
react_1.default.createElement(abstract_document_jsx_1.TextRun, { text: "Hello2" })))))),
|
|
18
18
|
expectedDocxZipContexts: {
|
|
19
|
-
"word/document.xml": `<w:document
|
|
20
|
-
xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"
|
|
21
|
-
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
22
|
-
xmlns:o="urn:schemas-microsoft-com:office:office"
|
|
23
|
-
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
|
24
|
-
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
|
25
|
-
xmlns:v="urn:schemas-microsoft-com:vml"
|
|
26
|
-
xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
|
|
27
|
-
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
|
28
|
-
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
|
29
|
-
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
|
30
|
-
xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
|
|
31
|
-
xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"
|
|
32
|
-
xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
|
|
33
|
-
xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk"
|
|
34
|
-
xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml"
|
|
35
|
-
xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"
|
|
36
|
-
mc:Ignorable="w14 w15 wp14"
|
|
37
|
-
>
|
|
38
|
-
<w:background w:color="FFFFFF" />
|
|
39
|
-
<w:body>
|
|
40
|
-
<w:p>
|
|
41
|
-
<w:pPr>
|
|
42
|
-
<w:spacing w:before="0" w:after="0" w:line="1" />
|
|
43
|
-
</w:pPr>
|
|
44
|
-
<w:bookmarkStart w:name="" w:id="*" />
|
|
45
|
-
<w:bookmarkEnd w:id="*" />
|
|
46
|
-
</w:p>
|
|
47
|
-
<w:p>
|
|
48
|
-
<w:pPr>
|
|
49
|
-
<w:spacing w:before="0" w:after="0" />
|
|
50
|
-
<w:jc w:val="start" />
|
|
51
|
-
<w:ind w:left="0" w:end="0" />
|
|
52
|
-
</w:pPr>
|
|
53
|
-
<w:r>
|
|
54
|
-
<w:rPr>
|
|
55
|
-
<w:color w:val="black" />
|
|
56
|
-
<w:sz w:val="20" />
|
|
57
|
-
<w:szCs w:val="20" />
|
|
58
|
-
<w:rFonts
|
|
59
|
-
w:ascii="Arial"
|
|
60
|
-
w:cs="Arial"
|
|
61
|
-
w:eastAsia="Arial"
|
|
62
|
-
w:hAnsi="Arial"
|
|
63
|
-
/>
|
|
64
|
-
</w:rPr>
|
|
65
|
-
<w:t xml:space="preserve">Hello</w:t>
|
|
66
|
-
</w:r>
|
|
67
|
-
</w:p>
|
|
68
|
-
<w:p>
|
|
69
|
-
<w:pPr>
|
|
70
|
-
<w:spacing w:before="0" w:after="0" />
|
|
71
|
-
<w:jc w:val="start" />
|
|
72
|
-
<w:ind w:left="0" w:end="0" />
|
|
73
|
-
</w:pPr>
|
|
74
|
-
<w:r>
|
|
75
|
-
<w:rPr>
|
|
76
|
-
<w:color w:val="black" />
|
|
77
|
-
<w:sz w:val="20" />
|
|
78
|
-
<w:szCs w:val="20" />
|
|
79
|
-
<w:rFonts
|
|
80
|
-
w:ascii="Arial"
|
|
81
|
-
w:cs="Arial"
|
|
82
|
-
w:eastAsia="Arial"
|
|
83
|
-
w:hAnsi="Arial"
|
|
84
|
-
/>
|
|
85
|
-
</w:rPr>
|
|
86
|
-
<w:t xml:space="preserve">Hello2</w:t>
|
|
87
|
-
</w:r>
|
|
88
|
-
</w:p>
|
|
89
|
-
<w:sectPr>
|
|
90
|
-
<w:pgSz w:w="
|
|
91
|
-
<w:pgMar
|
|
92
|
-
w:top="0"
|
|
93
|
-
w:right="0"
|
|
94
|
-
w:bottom="0"
|
|
95
|
-
w:left="0"
|
|
96
|
-
w:header="0"
|
|
97
|
-
w:footer="0"
|
|
98
|
-
w:gutter="0"
|
|
99
|
-
w:mirrorMargins="false"
|
|
100
|
-
/>
|
|
101
|
-
<w:cols w:space="708" w:num="1" w:sep="false" />
|
|
102
|
-
<w:docGrid w:linePitch="360" />
|
|
103
|
-
<w:headerReference w:type="default" r:id="rId5" />
|
|
104
|
-
<w:footerReference w:type="default" r:id="rId6" />
|
|
105
|
-
<w:pgNumType />
|
|
106
|
-
</w:sectPr>
|
|
107
|
-
</w:body>
|
|
108
|
-
</w:document>
|
|
19
|
+
"word/document.xml": `<w:document
|
|
20
|
+
xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"
|
|
21
|
+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
22
|
+
xmlns:o="urn:schemas-microsoft-com:office:office"
|
|
23
|
+
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
|
24
|
+
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
|
25
|
+
xmlns:v="urn:schemas-microsoft-com:vml"
|
|
26
|
+
xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
|
|
27
|
+
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
|
28
|
+
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
|
29
|
+
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
|
30
|
+
xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
|
|
31
|
+
xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"
|
|
32
|
+
xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
|
|
33
|
+
xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk"
|
|
34
|
+
xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml"
|
|
35
|
+
xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"
|
|
36
|
+
mc:Ignorable="w14 w15 wp14"
|
|
37
|
+
>
|
|
38
|
+
<w:background w:color="FFFFFF" />
|
|
39
|
+
<w:body>
|
|
40
|
+
<w:p>
|
|
41
|
+
<w:pPr>
|
|
42
|
+
<w:spacing w:before="0" w:after="0" w:line="1" />
|
|
43
|
+
</w:pPr>
|
|
44
|
+
<w:bookmarkStart w:name="" w:id="*" />
|
|
45
|
+
<w:bookmarkEnd w:id="*" />
|
|
46
|
+
</w:p>
|
|
47
|
+
<w:p>
|
|
48
|
+
<w:pPr>
|
|
49
|
+
<w:spacing w:before="0" w:after="0" />
|
|
50
|
+
<w:jc w:val="start" />
|
|
51
|
+
<w:ind w:left="0" w:end="0" />
|
|
52
|
+
</w:pPr>
|
|
53
|
+
<w:r>
|
|
54
|
+
<w:rPr>
|
|
55
|
+
<w:color w:val="black" />
|
|
56
|
+
<w:sz w:val="20" />
|
|
57
|
+
<w:szCs w:val="20" />
|
|
58
|
+
<w:rFonts
|
|
59
|
+
w:ascii="Arial"
|
|
60
|
+
w:cs="Arial"
|
|
61
|
+
w:eastAsia="Arial"
|
|
62
|
+
w:hAnsi="Arial"
|
|
63
|
+
/>
|
|
64
|
+
</w:rPr>
|
|
65
|
+
<w:t xml:space="preserve">Hello</w:t>
|
|
66
|
+
</w:r>
|
|
67
|
+
</w:p>
|
|
68
|
+
<w:p>
|
|
69
|
+
<w:pPr>
|
|
70
|
+
<w:spacing w:before="0" w:after="0" />
|
|
71
|
+
<w:jc w:val="start" />
|
|
72
|
+
<w:ind w:left="0" w:end="0" />
|
|
73
|
+
</w:pPr>
|
|
74
|
+
<w:r>
|
|
75
|
+
<w:rPr>
|
|
76
|
+
<w:color w:val="black" />
|
|
77
|
+
<w:sz w:val="20" />
|
|
78
|
+
<w:szCs w:val="20" />
|
|
79
|
+
<w:rFonts
|
|
80
|
+
w:ascii="Arial"
|
|
81
|
+
w:cs="Arial"
|
|
82
|
+
w:eastAsia="Arial"
|
|
83
|
+
w:hAnsi="Arial"
|
|
84
|
+
/>
|
|
85
|
+
</w:rPr>
|
|
86
|
+
<w:t xml:space="preserve">Hello2</w:t>
|
|
87
|
+
</w:r>
|
|
88
|
+
</w:p>
|
|
89
|
+
<w:sectPr>
|
|
90
|
+
<w:pgSz w:w="11900" w:h="16840" w:orient="portrait" />
|
|
91
|
+
<w:pgMar
|
|
92
|
+
w:top="0"
|
|
93
|
+
w:right="0"
|
|
94
|
+
w:bottom="0"
|
|
95
|
+
w:left="0"
|
|
96
|
+
w:header="0"
|
|
97
|
+
w:footer="0"
|
|
98
|
+
w:gutter="0"
|
|
99
|
+
w:mirrorMargins="false"
|
|
100
|
+
/>
|
|
101
|
+
<w:cols w:space="708" w:num="1" w:sep="false" />
|
|
102
|
+
<w:docGrid w:linePitch="360" />
|
|
103
|
+
<w:headerReference w:type="default" r:id="rId5" />
|
|
104
|
+
<w:footerReference w:type="default" r:id="rId6" />
|
|
105
|
+
<w:pgNumType />
|
|
106
|
+
</w:sectPr>
|
|
107
|
+
</w:body>
|
|
108
|
+
</w:document>
|
|
109
109
|
`,
|
|
110
110
|
},
|
|
111
111
|
};
|