abstract-document 6.8.7 → 6.9.3
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 +150 -127
- package/LICENSE +21 -21
- package/README.md +45 -45
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/group.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/group.js +229 -92
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/group.js.map +1 -1
- 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__/docx2/test-defs/letter-dimensions.js +51 -51
- 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.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/mixed-textrun-and-images.js +175 -170
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/mixed-textrun-and-images.js.map +1 -1
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/multiple-images.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/multiple-images.js +147 -142
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/multiple-images.js.map +1 -1
- 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/page-orientation-landscape.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/page-orientation-landscape.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/page-orientation-landscape.js +94 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/page-orientation-landscape.js.map +1 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/page-orientation-portrait.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/page-orientation-portrait.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/page-orientation-portrait.js +94 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/page-orientation-portrait.js.map +1 -0
- 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.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image.js +103 -98
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/single-image.js.map +1 -1
- 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/toc-separator.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/toc-separator.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/toc-separator.js +67 -0
- package/lib/abstract-document-exporters/__tests__/docx2/test-defs/toc-separator.js.map +1 -0
- 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/group.js +83 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/group.js.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/mixed-textrun-and-images.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/mixed-textrun-and-images.js +6 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/mixed-textrun-and-images.js.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/multiple-images-overflow.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/multiple-images-overflow.js +6 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/multiple-images-overflow.js.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/multiple-images.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/multiple-images.js +6 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/multiple-images.js.map +1 -1
- 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-cell-padding-image.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-cell-padding-image.js +6 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table-cell-padding-image.js.map +1 -1
- 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-color-hex.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-hex.js +6 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-hex.js.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-name.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-name.js +6 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-name.js.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-url.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-url.js +6 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-url.js.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-dasharray.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-dasharray.js +6 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-dasharray.js.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-url.d.ts +3 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-url.d.ts.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-url.js +86 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image-url.js.map +1 -0
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image.d.ts.map +1 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image.js +6 -1
- package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-image.js.map +1 -1
- package/lib/abstract-document-exporters/docx2/render-image.js +2 -2
- package/lib/abstract-document-exporters/docx2/render-image.js.map +1 -1
- package/lib/abstract-document-exporters/docx2/render.js +29 -17
- package/lib/abstract-document-exporters/docx2/render.js.map +1 -1
- package/lib/abstract-document-exporters/pdf/render-image.js +9 -4
- package/lib/abstract-document-exporters/pdf/render-image.js.map +1 -1
- package/package.json +3 -3
- 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 -18
- 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 +267 -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 -74
- 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 +217 -212
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/multiple-images.tsx +187 -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/page-orientation-landscape.tsx +76 -0
- package/src/abstract-document-exporters/__tests__/docx2/test-defs/page-orientation-portrait.tsx +76 -0
- 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.tsx +142 -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/toc-separator.tsx +67 -0
- 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/page-orientation-landscape.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/page-orientation-portrait.docx +0 -0
- package/src/abstract-document-exporters/__tests__/docx2/tmp/tocSeparator.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 +109 -104
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/multiple-images-overflow.tsx +80 -75
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/multiple-images.tsx +76 -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 +205 -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 +277 -272
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-name.tsx +277 -272
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-color-url.tsx +102 -97
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-image-svg-dasharray.tsx +90 -85
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-image-url.tsx +75 -0
- package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-image.tsx +75 -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 +123 -0
- 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/Simple table auto.pdf +133 -0
- 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/Simple table one auto.pdf +133 -0
- 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 +133 -0
- 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 from URL.pdf +0 -0
- 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 +2 -2
- 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 +516 -496
- 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 +221 -217
- package/src/abstract-document-exporters/pdf/render.ts +847 -847
- 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/src/abstract-document-exporters/__tests__/docx2/test-defs/simple-table-without-rows.tsx
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ExportTestDef } from "../export-test-def";
|
|
3
|
-
import {
|
|
4
|
-
Paragraph,
|
|
5
|
-
AbstractDoc,
|
|
6
|
-
Section,
|
|
7
|
-
Table,
|
|
8
|
-
TableRow,
|
|
9
|
-
TableCell,
|
|
10
|
-
TextRun,
|
|
11
|
-
} from "../../../../abstract-document-jsx";
|
|
12
|
-
|
|
13
|
-
export const test: ExportTestDef = {
|
|
14
|
-
name: "Simple table without rows",
|
|
15
|
-
abstractDocJsx: (
|
|
16
|
-
<AbstractDoc>
|
|
17
|
-
<Section>
|
|
18
|
-
<Table columnWidths={[150, 100, 50]}></Table>
|
|
19
|
-
</Section>
|
|
20
|
-
</AbstractDoc>
|
|
21
|
-
),
|
|
22
|
-
expectedDocxZipContexts: {
|
|
23
|
-
"word/document.xml": `<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 wp14">
|
|
24
|
-
<w:background w:color="FFFFFF" />
|
|
25
|
-
<w:body>
|
|
26
|
-
<w:p>
|
|
27
|
-
<w:pPr>
|
|
28
|
-
<w:spacing w:before="0" w:after="0" w:line="1" />
|
|
29
|
-
</w:pPr>
|
|
30
|
-
<w:bookmarkStart w:name="" w:id="*" />
|
|
31
|
-
<w:bookmarkEnd w:id="*" />
|
|
32
|
-
</w:p>
|
|
33
|
-
<w:sectPr>
|
|
34
|
-
<w:pgSz w:w="11900" w:h="16840" w:orient="portrait" />
|
|
35
|
-
<w:pgMar w:top="0" w:right="0" w:bottom="0" w:left="0" w:header="0" w:footer="0" w:gutter="0" w:mirrorMargins="false" />
|
|
36
|
-
<w:cols w:space="708" w:num="1" w:sep="false" />
|
|
37
|
-
<w:docGrid w:linePitch="360" />
|
|
38
|
-
<w:headerReference w:type="default" r:id="rId5" />
|
|
39
|
-
<w:footerReference w:type="default" r:id="rId6" />
|
|
40
|
-
<w:pgNumType />
|
|
41
|
-
</w:sectPr>
|
|
42
|
-
</w:body>
|
|
43
|
-
</w:document>`,
|
|
44
|
-
},
|
|
45
|
-
};
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ExportTestDef } from "../export-test-def";
|
|
3
|
+
import {
|
|
4
|
+
Paragraph,
|
|
5
|
+
AbstractDoc,
|
|
6
|
+
Section,
|
|
7
|
+
Table,
|
|
8
|
+
TableRow,
|
|
9
|
+
TableCell,
|
|
10
|
+
TextRun,
|
|
11
|
+
} from "../../../../abstract-document-jsx";
|
|
12
|
+
|
|
13
|
+
export const test: ExportTestDef = {
|
|
14
|
+
name: "Simple table without rows",
|
|
15
|
+
abstractDocJsx: (
|
|
16
|
+
<AbstractDoc>
|
|
17
|
+
<Section>
|
|
18
|
+
<Table columnWidths={[150, 100, 50]}></Table>
|
|
19
|
+
</Section>
|
|
20
|
+
</AbstractDoc>
|
|
21
|
+
),
|
|
22
|
+
expectedDocxZipContexts: {
|
|
23
|
+
"word/document.xml": `<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 wp14">
|
|
24
|
+
<w:background w:color="FFFFFF" />
|
|
25
|
+
<w:body>
|
|
26
|
+
<w:p>
|
|
27
|
+
<w:pPr>
|
|
28
|
+
<w:spacing w:before="0" w:after="0" w:line="1" />
|
|
29
|
+
</w:pPr>
|
|
30
|
+
<w:bookmarkStart w:name="" w:id="*" />
|
|
31
|
+
<w:bookmarkEnd w:id="*" />
|
|
32
|
+
</w:p>
|
|
33
|
+
<w:sectPr>
|
|
34
|
+
<w:pgSz w:w="11900" w:h="16840" w:orient="portrait" />
|
|
35
|
+
<w:pgMar w:top="0" w:right="0" w:bottom="0" w:left="0" w:header="0" w:footer="0" w:gutter="0" w:mirrorMargins="false" />
|
|
36
|
+
<w:cols w:space="708" w:num="1" w:sep="false" />
|
|
37
|
+
<w:docGrid w:linePitch="360" />
|
|
38
|
+
<w:headerReference w:type="default" r:id="rId5" />
|
|
39
|
+
<w:footerReference w:type="default" r:id="rId6" />
|
|
40
|
+
<w:pgNumType />
|
|
41
|
+
</w:sectPr>
|
|
42
|
+
</w:body>
|
|
43
|
+
</w:document>`,
|
|
44
|
+
},
|
|
45
|
+
};
|
|
@@ -1,210 +1,210 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ExportTestDef } from "../export-test-def";
|
|
3
|
-
import {
|
|
4
|
-
Paragraph,
|
|
5
|
-
AbstractDoc,
|
|
6
|
-
Section,
|
|
7
|
-
Table,
|
|
8
|
-
TableRow,
|
|
9
|
-
TableCell,
|
|
10
|
-
TextRun,
|
|
11
|
-
} from "../../../../abstract-document-jsx";
|
|
12
|
-
|
|
13
|
-
export const test: ExportTestDef = {
|
|
14
|
-
name: "Simple table",
|
|
15
|
-
abstractDocJsx: (
|
|
16
|
-
<AbstractDoc>
|
|
17
|
-
<Section>
|
|
18
|
-
<Table columnWidths={[150, 100, 50]}>
|
|
19
|
-
<TableRow>
|
|
20
|
-
<TableCell>
|
|
21
|
-
<Paragraph>
|
|
22
|
-
<TextRun text="Hello 1" />
|
|
23
|
-
</Paragraph>
|
|
24
|
-
</TableCell>
|
|
25
|
-
<TableCell>
|
|
26
|
-
<Paragraph>
|
|
27
|
-
<TextRun text="Hello 2" />
|
|
28
|
-
</Paragraph>
|
|
29
|
-
</TableCell>
|
|
30
|
-
<TableCell>
|
|
31
|
-
<Paragraph>
|
|
32
|
-
<TextRun text="Hello 3" />
|
|
33
|
-
</Paragraph>
|
|
34
|
-
</TableCell>
|
|
35
|
-
</TableRow>
|
|
36
|
-
</Table>
|
|
37
|
-
</Section>
|
|
38
|
-
</AbstractDoc>
|
|
39
|
-
),
|
|
40
|
-
expectedDocxZipContexts: {
|
|
41
|
-
"word/document.xml": `<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 wp14">
|
|
42
|
-
<w:background w:color="FFFFFF" />
|
|
43
|
-
<w:body>
|
|
44
|
-
<w:p>
|
|
45
|
-
<w:pPr>
|
|
46
|
-
<w:spacing w:before="0" w:after="0" w:line="1" />
|
|
47
|
-
</w:pPr>
|
|
48
|
-
<w:bookmarkStart w:name="" w:id="*" />
|
|
49
|
-
<w:bookmarkEnd w:id="*" />
|
|
50
|
-
</w:p>
|
|
51
|
-
<w:tbl>
|
|
52
|
-
<w:tblPr>
|
|
53
|
-
<w:tblCellMar>
|
|
54
|
-
<w:bottom w:type="dxa" w:w="0" />
|
|
55
|
-
<w:top w:type="dxa" w:w="0" />
|
|
56
|
-
<w:left w:type="dxa" w:w="0" />
|
|
57
|
-
<w:right w:type="dxa" w:w="0" />
|
|
58
|
-
</w:tblCellMar>
|
|
59
|
-
<w:tblBorders>
|
|
60
|
-
<w:top w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
61
|
-
<w:left w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
62
|
-
<w:bottom w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
63
|
-
<w:right w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
64
|
-
<w:insideH w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
65
|
-
<w:insideV w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
66
|
-
</w:tblBorders>
|
|
67
|
-
<w:tblW w:type="dxa" w:w="6000" />
|
|
68
|
-
<w:jc w:val="left" />
|
|
69
|
-
</w:tblPr>
|
|
70
|
-
<w:tblGrid>
|
|
71
|
-
<w:gridCol w:w="100" />
|
|
72
|
-
<w:gridCol w:w="100" />
|
|
73
|
-
<w:gridCol w:w="100" />
|
|
74
|
-
</w:tblGrid>
|
|
75
|
-
<w:tr>
|
|
76
|
-
<w:trPr>
|
|
77
|
-
<w:cantSplit w:val="true" />
|
|
78
|
-
</w:trPr>
|
|
79
|
-
<w:tc>
|
|
80
|
-
<w:tcPr>
|
|
81
|
-
<w:tcBorders>
|
|
82
|
-
<w:top w:val="none" w:sz="0" w:color="" />
|
|
83
|
-
<w:bottom w:val="none" w:sz="0" w:color="" />
|
|
84
|
-
<w:left w:val="none" w:sz="0" w:color="" />
|
|
85
|
-
<w:right w:val="none" w:sz="0" w:color="" />
|
|
86
|
-
</w:tcBorders>
|
|
87
|
-
<w:vAlign w:val="center" />
|
|
88
|
-
<w:tcMar>
|
|
89
|
-
<w:top w:w="0" w:type="dxa" />
|
|
90
|
-
<w:bottom w:w="0" w:type="dxa" />
|
|
91
|
-
<w:end w:w="0" w:type="dxa" />
|
|
92
|
-
<w:start w:w="0" w:type="dxa" />
|
|
93
|
-
</w:tcMar>
|
|
94
|
-
<w:shd />
|
|
95
|
-
<w:gridSpan w:val="1" />
|
|
96
|
-
<w:tcW w:w="3000" w:type="dxa" />
|
|
97
|
-
</w:tcPr>
|
|
98
|
-
<w:p>
|
|
99
|
-
<w:pPr>
|
|
100
|
-
<w:spacing w:before="0" w:after="0" />
|
|
101
|
-
<w:jc w:val="start" />
|
|
102
|
-
<w:ind w:left="0" w:end="0" />
|
|
103
|
-
</w:pPr>
|
|
104
|
-
<w:r>
|
|
105
|
-
<w:rPr>
|
|
106
|
-
<w:color w:val="black" />
|
|
107
|
-
<w:sz w:val="20" />
|
|
108
|
-
<w:szCs w:val="20" />
|
|
109
|
-
<w:rFonts w:ascii="Arial" w:cs="Arial" w:eastAsia="Arial" w:hAnsi="Arial" />
|
|
110
|
-
</w:rPr>
|
|
111
|
-
<w:t xml:space="preserve">Hello 1</w:t>
|
|
112
|
-
</w:r>
|
|
113
|
-
</w:p>
|
|
114
|
-
</w:tc>
|
|
115
|
-
<w:tc>
|
|
116
|
-
<w:tcPr>
|
|
117
|
-
<w:tcBorders>
|
|
118
|
-
<w:top w:val="none" w:sz="0" w:color="" />
|
|
119
|
-
<w:bottom w:val="none" w:sz="0" w:color="" />
|
|
120
|
-
<w:left w:val="none" w:sz="0" w:color="" />
|
|
121
|
-
<w:right w:val="none" w:sz="0" w:color="" />
|
|
122
|
-
</w:tcBorders>
|
|
123
|
-
<w:vAlign w:val="center" />
|
|
124
|
-
<w:tcMar>
|
|
125
|
-
<w:top w:w="0" w:type="dxa" />
|
|
126
|
-
<w:bottom w:w="0" w:type="dxa" />
|
|
127
|
-
<w:end w:w="0" w:type="dxa" />
|
|
128
|
-
<w:start w:w="0" w:type="dxa" />
|
|
129
|
-
</w:tcMar>
|
|
130
|
-
<w:shd />
|
|
131
|
-
<w:gridSpan w:val="1" />
|
|
132
|
-
<w:tcW w:w="2000" w:type="dxa" />
|
|
133
|
-
</w:tcPr>
|
|
134
|
-
<w:p>
|
|
135
|
-
<w:pPr>
|
|
136
|
-
<w:spacing w:before="0" w:after="0" />
|
|
137
|
-
<w:jc w:val="start" />
|
|
138
|
-
<w:ind w:left="0" w:end="0" />
|
|
139
|
-
</w:pPr>
|
|
140
|
-
<w:r>
|
|
141
|
-
<w:rPr>
|
|
142
|
-
<w:color w:val="black" />
|
|
143
|
-
<w:sz w:val="20" />
|
|
144
|
-
<w:szCs w:val="20" />
|
|
145
|
-
<w:rFonts w:ascii="Arial" w:cs="Arial" w:eastAsia="Arial" w:hAnsi="Arial" />
|
|
146
|
-
</w:rPr>
|
|
147
|
-
<w:t xml:space="preserve">Hello 2</w:t>
|
|
148
|
-
</w:r>
|
|
149
|
-
</w:p>
|
|
150
|
-
</w:tc>
|
|
151
|
-
<w:tc>
|
|
152
|
-
<w:tcPr>
|
|
153
|
-
<w:tcBorders>
|
|
154
|
-
<w:top w:val="none" w:sz="0" w:color="" />
|
|
155
|
-
<w:bottom w:val="none" w:sz="0" w:color="" />
|
|
156
|
-
<w:left w:val="none" w:sz="0" w:color="" />
|
|
157
|
-
<w:right w:val="none" w:sz="0" w:color="" />
|
|
158
|
-
</w:tcBorders>
|
|
159
|
-
<w:vAlign w:val="center" />
|
|
160
|
-
<w:tcMar>
|
|
161
|
-
<w:top w:w="0" w:type="dxa" />
|
|
162
|
-
<w:bottom w:w="0" w:type="dxa" />
|
|
163
|
-
<w:end w:w="0" w:type="dxa" />
|
|
164
|
-
<w:start w:w="0" w:type="dxa" />
|
|
165
|
-
</w:tcMar>
|
|
166
|
-
<w:shd />
|
|
167
|
-
<w:gridSpan w:val="1" />
|
|
168
|
-
<w:tcW w:w="1000" w:type="dxa" />
|
|
169
|
-
</w:tcPr>
|
|
170
|
-
<w:p>
|
|
171
|
-
<w:pPr>
|
|
172
|
-
<w:spacing w:before="0" w:after="0" />
|
|
173
|
-
<w:jc w:val="start" />
|
|
174
|
-
<w:ind w:left="0" w:end="0" />
|
|
175
|
-
</w:pPr>
|
|
176
|
-
<w:r>
|
|
177
|
-
<w:rPr>
|
|
178
|
-
<w:color w:val="black" />
|
|
179
|
-
<w:sz w:val="20" />
|
|
180
|
-
<w:szCs w:val="20" />
|
|
181
|
-
<w:rFonts w:ascii="Arial" w:cs="Arial" w:eastAsia="Arial" w:hAnsi="Arial" />
|
|
182
|
-
</w:rPr>
|
|
183
|
-
<w:t xml:space="preserve">Hello 3</w:t>
|
|
184
|
-
</w:r>
|
|
185
|
-
</w:p>
|
|
186
|
-
</w:tc>
|
|
187
|
-
</w:tr>
|
|
188
|
-
</w:tbl>
|
|
189
|
-
<w:p>
|
|
190
|
-
<w:r>
|
|
191
|
-
<w:rPr>
|
|
192
|
-
<w:sz w:val="0.000001" />
|
|
193
|
-
<w:szCs w:val="0.000001" />
|
|
194
|
-
</w:rPr>
|
|
195
|
-
<w:t xml:space="preserve">.</w:t>
|
|
196
|
-
</w:r>
|
|
197
|
-
</w:p>
|
|
198
|
-
<w:sectPr>
|
|
199
|
-
<w:pgSz w:w="11900" w:h="16840" w:orient="portrait" />
|
|
200
|
-
<w:pgMar w:top="0" w:right="0" w:bottom="0" w:left="0" w:header="0" w:footer="0" w:gutter="0" w:mirrorMargins="false" />
|
|
201
|
-
<w:cols w:space="708" w:num="1" w:sep="false" />
|
|
202
|
-
<w:docGrid w:linePitch="360" />
|
|
203
|
-
<w:headerReference w:type="default" r:id="rId5" />
|
|
204
|
-
<w:footerReference w:type="default" r:id="rId6" />
|
|
205
|
-
<w:pgNumType />
|
|
206
|
-
</w:sectPr>
|
|
207
|
-
</w:body>
|
|
208
|
-
</w:document>`,
|
|
209
|
-
},
|
|
210
|
-
};
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ExportTestDef } from "../export-test-def";
|
|
3
|
+
import {
|
|
4
|
+
Paragraph,
|
|
5
|
+
AbstractDoc,
|
|
6
|
+
Section,
|
|
7
|
+
Table,
|
|
8
|
+
TableRow,
|
|
9
|
+
TableCell,
|
|
10
|
+
TextRun,
|
|
11
|
+
} from "../../../../abstract-document-jsx";
|
|
12
|
+
|
|
13
|
+
export const test: ExportTestDef = {
|
|
14
|
+
name: "Simple table",
|
|
15
|
+
abstractDocJsx: (
|
|
16
|
+
<AbstractDoc>
|
|
17
|
+
<Section>
|
|
18
|
+
<Table columnWidths={[150, 100, 50]}>
|
|
19
|
+
<TableRow>
|
|
20
|
+
<TableCell>
|
|
21
|
+
<Paragraph>
|
|
22
|
+
<TextRun text="Hello 1" />
|
|
23
|
+
</Paragraph>
|
|
24
|
+
</TableCell>
|
|
25
|
+
<TableCell>
|
|
26
|
+
<Paragraph>
|
|
27
|
+
<TextRun text="Hello 2" />
|
|
28
|
+
</Paragraph>
|
|
29
|
+
</TableCell>
|
|
30
|
+
<TableCell>
|
|
31
|
+
<Paragraph>
|
|
32
|
+
<TextRun text="Hello 3" />
|
|
33
|
+
</Paragraph>
|
|
34
|
+
</TableCell>
|
|
35
|
+
</TableRow>
|
|
36
|
+
</Table>
|
|
37
|
+
</Section>
|
|
38
|
+
</AbstractDoc>
|
|
39
|
+
),
|
|
40
|
+
expectedDocxZipContexts: {
|
|
41
|
+
"word/document.xml": `<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 wp14">
|
|
42
|
+
<w:background w:color="FFFFFF" />
|
|
43
|
+
<w:body>
|
|
44
|
+
<w:p>
|
|
45
|
+
<w:pPr>
|
|
46
|
+
<w:spacing w:before="0" w:after="0" w:line="1" />
|
|
47
|
+
</w:pPr>
|
|
48
|
+
<w:bookmarkStart w:name="" w:id="*" />
|
|
49
|
+
<w:bookmarkEnd w:id="*" />
|
|
50
|
+
</w:p>
|
|
51
|
+
<w:tbl>
|
|
52
|
+
<w:tblPr>
|
|
53
|
+
<w:tblCellMar>
|
|
54
|
+
<w:bottom w:type="dxa" w:w="0" />
|
|
55
|
+
<w:top w:type="dxa" w:w="0" />
|
|
56
|
+
<w:left w:type="dxa" w:w="0" />
|
|
57
|
+
<w:right w:type="dxa" w:w="0" />
|
|
58
|
+
</w:tblCellMar>
|
|
59
|
+
<w:tblBorders>
|
|
60
|
+
<w:top w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
61
|
+
<w:left w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
62
|
+
<w:bottom w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
63
|
+
<w:right w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
64
|
+
<w:insideH w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
65
|
+
<w:insideV w:val="none" w:sz="0" w:space="0" w:color="" />
|
|
66
|
+
</w:tblBorders>
|
|
67
|
+
<w:tblW w:type="dxa" w:w="6000" />
|
|
68
|
+
<w:jc w:val="left" />
|
|
69
|
+
</w:tblPr>
|
|
70
|
+
<w:tblGrid>
|
|
71
|
+
<w:gridCol w:w="100" />
|
|
72
|
+
<w:gridCol w:w="100" />
|
|
73
|
+
<w:gridCol w:w="100" />
|
|
74
|
+
</w:tblGrid>
|
|
75
|
+
<w:tr>
|
|
76
|
+
<w:trPr>
|
|
77
|
+
<w:cantSplit w:val="true" />
|
|
78
|
+
</w:trPr>
|
|
79
|
+
<w:tc>
|
|
80
|
+
<w:tcPr>
|
|
81
|
+
<w:tcBorders>
|
|
82
|
+
<w:top w:val="none" w:sz="0" w:color="" />
|
|
83
|
+
<w:bottom w:val="none" w:sz="0" w:color="" />
|
|
84
|
+
<w:left w:val="none" w:sz="0" w:color="" />
|
|
85
|
+
<w:right w:val="none" w:sz="0" w:color="" />
|
|
86
|
+
</w:tcBorders>
|
|
87
|
+
<w:vAlign w:val="center" />
|
|
88
|
+
<w:tcMar>
|
|
89
|
+
<w:top w:w="0" w:type="dxa" />
|
|
90
|
+
<w:bottom w:w="0" w:type="dxa" />
|
|
91
|
+
<w:end w:w="0" w:type="dxa" />
|
|
92
|
+
<w:start w:w="0" w:type="dxa" />
|
|
93
|
+
</w:tcMar>
|
|
94
|
+
<w:shd />
|
|
95
|
+
<w:gridSpan w:val="1" />
|
|
96
|
+
<w:tcW w:w="3000" w:type="dxa" />
|
|
97
|
+
</w:tcPr>
|
|
98
|
+
<w:p>
|
|
99
|
+
<w:pPr>
|
|
100
|
+
<w:spacing w:before="0" w:after="0" />
|
|
101
|
+
<w:jc w:val="start" />
|
|
102
|
+
<w:ind w:left="0" w:end="0" />
|
|
103
|
+
</w:pPr>
|
|
104
|
+
<w:r>
|
|
105
|
+
<w:rPr>
|
|
106
|
+
<w:color w:val="black" />
|
|
107
|
+
<w:sz w:val="20" />
|
|
108
|
+
<w:szCs w:val="20" />
|
|
109
|
+
<w:rFonts w:ascii="Arial" w:cs="Arial" w:eastAsia="Arial" w:hAnsi="Arial" />
|
|
110
|
+
</w:rPr>
|
|
111
|
+
<w:t xml:space="preserve">Hello 1</w:t>
|
|
112
|
+
</w:r>
|
|
113
|
+
</w:p>
|
|
114
|
+
</w:tc>
|
|
115
|
+
<w:tc>
|
|
116
|
+
<w:tcPr>
|
|
117
|
+
<w:tcBorders>
|
|
118
|
+
<w:top w:val="none" w:sz="0" w:color="" />
|
|
119
|
+
<w:bottom w:val="none" w:sz="0" w:color="" />
|
|
120
|
+
<w:left w:val="none" w:sz="0" w:color="" />
|
|
121
|
+
<w:right w:val="none" w:sz="0" w:color="" />
|
|
122
|
+
</w:tcBorders>
|
|
123
|
+
<w:vAlign w:val="center" />
|
|
124
|
+
<w:tcMar>
|
|
125
|
+
<w:top w:w="0" w:type="dxa" />
|
|
126
|
+
<w:bottom w:w="0" w:type="dxa" />
|
|
127
|
+
<w:end w:w="0" w:type="dxa" />
|
|
128
|
+
<w:start w:w="0" w:type="dxa" />
|
|
129
|
+
</w:tcMar>
|
|
130
|
+
<w:shd />
|
|
131
|
+
<w:gridSpan w:val="1" />
|
|
132
|
+
<w:tcW w:w="2000" w:type="dxa" />
|
|
133
|
+
</w:tcPr>
|
|
134
|
+
<w:p>
|
|
135
|
+
<w:pPr>
|
|
136
|
+
<w:spacing w:before="0" w:after="0" />
|
|
137
|
+
<w:jc w:val="start" />
|
|
138
|
+
<w:ind w:left="0" w:end="0" />
|
|
139
|
+
</w:pPr>
|
|
140
|
+
<w:r>
|
|
141
|
+
<w:rPr>
|
|
142
|
+
<w:color w:val="black" />
|
|
143
|
+
<w:sz w:val="20" />
|
|
144
|
+
<w:szCs w:val="20" />
|
|
145
|
+
<w:rFonts w:ascii="Arial" w:cs="Arial" w:eastAsia="Arial" w:hAnsi="Arial" />
|
|
146
|
+
</w:rPr>
|
|
147
|
+
<w:t xml:space="preserve">Hello 2</w:t>
|
|
148
|
+
</w:r>
|
|
149
|
+
</w:p>
|
|
150
|
+
</w:tc>
|
|
151
|
+
<w:tc>
|
|
152
|
+
<w:tcPr>
|
|
153
|
+
<w:tcBorders>
|
|
154
|
+
<w:top w:val="none" w:sz="0" w:color="" />
|
|
155
|
+
<w:bottom w:val="none" w:sz="0" w:color="" />
|
|
156
|
+
<w:left w:val="none" w:sz="0" w:color="" />
|
|
157
|
+
<w:right w:val="none" w:sz="0" w:color="" />
|
|
158
|
+
</w:tcBorders>
|
|
159
|
+
<w:vAlign w:val="center" />
|
|
160
|
+
<w:tcMar>
|
|
161
|
+
<w:top w:w="0" w:type="dxa" />
|
|
162
|
+
<w:bottom w:w="0" w:type="dxa" />
|
|
163
|
+
<w:end w:w="0" w:type="dxa" />
|
|
164
|
+
<w:start w:w="0" w:type="dxa" />
|
|
165
|
+
</w:tcMar>
|
|
166
|
+
<w:shd />
|
|
167
|
+
<w:gridSpan w:val="1" />
|
|
168
|
+
<w:tcW w:w="1000" w:type="dxa" />
|
|
169
|
+
</w:tcPr>
|
|
170
|
+
<w:p>
|
|
171
|
+
<w:pPr>
|
|
172
|
+
<w:spacing w:before="0" w:after="0" />
|
|
173
|
+
<w:jc w:val="start" />
|
|
174
|
+
<w:ind w:left="0" w:end="0" />
|
|
175
|
+
</w:pPr>
|
|
176
|
+
<w:r>
|
|
177
|
+
<w:rPr>
|
|
178
|
+
<w:color w:val="black" />
|
|
179
|
+
<w:sz w:val="20" />
|
|
180
|
+
<w:szCs w:val="20" />
|
|
181
|
+
<w:rFonts w:ascii="Arial" w:cs="Arial" w:eastAsia="Arial" w:hAnsi="Arial" />
|
|
182
|
+
</w:rPr>
|
|
183
|
+
<w:t xml:space="preserve">Hello 3</w:t>
|
|
184
|
+
</w:r>
|
|
185
|
+
</w:p>
|
|
186
|
+
</w:tc>
|
|
187
|
+
</w:tr>
|
|
188
|
+
</w:tbl>
|
|
189
|
+
<w:p>
|
|
190
|
+
<w:r>
|
|
191
|
+
<w:rPr>
|
|
192
|
+
<w:sz w:val="0.000001" />
|
|
193
|
+
<w:szCs w:val="0.000001" />
|
|
194
|
+
</w:rPr>
|
|
195
|
+
<w:t xml:space="preserve">.</w:t>
|
|
196
|
+
</w:r>
|
|
197
|
+
</w:p>
|
|
198
|
+
<w:sectPr>
|
|
199
|
+
<w:pgSz w:w="11900" w:h="16840" w:orient="portrait" />
|
|
200
|
+
<w:pgMar w:top="0" w:right="0" w:bottom="0" w:left="0" w:header="0" w:footer="0" w:gutter="0" w:mirrorMargins="false" />
|
|
201
|
+
<w:cols w:space="708" w:num="1" w:sep="false" />
|
|
202
|
+
<w:docGrid w:linePitch="360" />
|
|
203
|
+
<w:headerReference w:type="default" r:id="rId5" />
|
|
204
|
+
<w:footerReference w:type="default" r:id="rId6" />
|
|
205
|
+
<w:pgNumType />
|
|
206
|
+
</w:sectPr>
|
|
207
|
+
</w:body>
|
|
208
|
+
</w:document>`,
|
|
209
|
+
},
|
|
210
|
+
};
|