abstract-document 6.5.0 → 6.5.1

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.
Files changed (127) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/lib/{abstract-document/__tests__/markdown/test-defs/markdown.d.ts → abstract-document-exporters/__tests__/pdf/test-defs/single-figure.d.ts} +1 -1
  3. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-figure.d.ts.map +1 -0
  4. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-figure.js +238 -0
  5. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-figure.js.map +1 -0
  6. package/lib/abstract-document-exporters/pdf/render-image.js +3 -2
  7. package/lib/abstract-document-exporters/pdf/render-image.js.map +1 -1
  8. package/package.json +3 -3
  9. package/src/abstract-document-exporters/__tests__/docx2/tmp/Group.docx +0 -0
  10. 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
  11. 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
  12. 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
  13. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple images.docx +0 -0
  14. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple tables.docx +0 -0
  15. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Center alignment.docx +0 -0
  16. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with End alignment.docx +0 -0
  17. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Start alignment that linebreaks.docx +0 -0
  18. package/src/abstract-document-exporters/__tests__/docx2/tmp/Multiple textrun with Start alignment.docx +0 -0
  19. package/src/abstract-document-exporters/__tests__/docx2/tmp/Page numbering.docx +0 -0
  20. 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
  21. package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table without rows.docx +0 -0
  22. package/src/abstract-document-exporters/__tests__/docx2/tmp/Simple table.docx +0 -0
  23. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single hyperlink.docx +0 -0
  24. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single image.docx +0 -0
  25. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Center alignment that linebreaks.docx +0 -0
  26. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Center alignment.docx +0 -0
  27. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with End alignment that linebreaks.docx +0 -0
  28. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with End alignment.docx +0 -0
  29. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Start alignment that linebreaks.docx +0 -0
  30. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun with Start alignment.docx +0 -0
  31. package/src/abstract-document-exporters/__tests__/docx2/tmp/Single textrun.docx +0 -0
  32. package/src/abstract-document-exporters/__tests__/docx2/tmp/hello.docx +0 -0
  33. package/src/abstract-document-exporters/__tests__/docx2/tmp/world.docx +0 -0
  34. package/src/abstract-document-exporters/__tests__/pdf/test-defs/single-figure.tsx +323 -0
  35. package/src/abstract-document-exporters/__tests__/pdf/tmp/Group Paragraphs.pdf +2 -2
  36. package/src/abstract-document-exporters/__tests__/pdf/tmp/Group Tables.pdf +2 -2
  37. package/src/abstract-document-exporters/__tests__/pdf/tmp/Group too big for one page.pdf +2 -2
  38. package/src/abstract-document-exporters/__tests__/pdf/tmp/Header and footer.pdf +2 -2
  39. package/src/abstract-document-exporters/__tests__/pdf/tmp/Hyperlink internal linktarget.pdf +2 -2
  40. package/src/abstract-document-exporters/__tests__/pdf/tmp/Hyperlink internal.pdf +2 -2
  41. package/src/abstract-document-exporters/__tests__/pdf/tmp/Margins header body footer.pdf +2 -2
  42. package/src/abstract-document-exporters/__tests__/pdf/tmp/Mixed hyperlink and textrun.pdf +2 -2
  43. 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
  44. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple images overflow.pdf +0 -0
  45. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple images.pdf +0 -0
  46. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Center alignment.pdf +2 -2
  47. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with End alignment.pdf +2 -2
  48. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Start alignment that linebreaks.pdf +2 -2
  49. package/src/abstract-document-exporters/__tests__/pdf/tmp/Multiple textrun with Start alignment.pdf +2 -2
  50. package/src/abstract-document-exporters/__tests__/pdf/tmp/Page numbering.pdf +2 -2
  51. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table row that doesnt fit page.pdf +2 -2
  52. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table single row.pdf +2 -2
  53. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with group.pdf +2 -2
  54. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with header 2.pdf +2 -2
  55. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with header.pdf +2 -2
  56. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin bottom.pdf +2 -2
  57. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin top single table.pdf +2 -2
  58. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with margin top.pdf +2 -2
  59. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with rowSpan multipages.pdf +2 -2
  60. package/src/abstract-document-exporters/__tests__/pdf/tmp/Pagebreak table with rowSpan.pdf +2 -2
  61. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table all auto.pdf +2 -2
  62. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table all fix.pdf +2 -2
  63. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table background.pdf +2 -2
  64. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table cell padding of image.pdf +0 -0
  65. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table cell padding of text.pdf +2 -2
  66. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table center alignment.pdf +2 -2
  67. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table colSpan and rowSpan.pdf +2 -2
  68. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table mix auto fix.pdf +2 -2
  69. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table padding.pdf +2 -2
  70. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table right alignment.pdf +2 -2
  71. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table row alignment.pdf +2 -2
  72. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table text alignment in cell with wrapping.pdf +2 -2
  73. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table text alignment in cell.pdf +2 -2
  74. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with default colored borders.pdf +2 -2
  75. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with header.pdf +2 -2
  76. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with multi colored borders.pdf +2 -2
  77. package/src/abstract-document-exporters/__tests__/pdf/tmp/Simple table with single colored borders.pdf +2 -2
  78. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single date.pdf +2 -2
  79. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single figure.pdf +204 -0
  80. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink centered.pdf +2 -2
  81. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink right aligned.pdf +2 -2
  82. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single hyperlink.pdf +2 -2
  83. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color hex.pdf +2 -2
  84. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color name.pdf +2 -2
  85. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image svg color url.pdf +2 -2
  86. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single image.pdf +0 -0
  87. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Center alignment that linebreaks.pdf +2 -2
  88. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Center alignment.pdf +2 -2
  89. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with End alignment that linebreaks.pdf +2 -2
  90. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with End alignment.pdf +2 -2
  91. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Justify alignment.pdf +2 -2
  92. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Start alignment that linebreaks.pdf +2 -2
  93. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with Start alignment.pdf +2 -2
  94. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun with super and subscripts.pdf +2 -2
  95. package/src/abstract-document-exporters/__tests__/pdf/tmp/Single textrun.pdf +2 -2
  96. package/src/abstract-document-exporters/__tests__/pdf/tmp/Table of content separator.pdf +2 -2
  97. package/src/abstract-document-exporters/__tests__/pdf/tmp/hello.pdf +2 -2
  98. package/src/abstract-document-exporters/__tests__/pdf/tmp/world.pdf +2 -2
  99. package/src/abstract-document-exporters/pdf/render-image.ts +8 -2
  100. package/lib/abstract-document/__tests__/markdown/test-defs/markdown.d.ts.map +0 -1
  101. package/lib/abstract-document/__tests__/markdown/test-defs/markdown.js +0 -14
  102. package/lib/abstract-document/__tests__/markdown/test-defs/markdown.js.map +0 -1
  103. package/lib/abstract-document/primitives/layout-foundation.js copy.map +0 -1
  104. package/lib/abstract-document-exporters/__tests__/docx2/test-defs/simple-table copy.d.ts +0 -3
  105. package/lib/abstract-document-exporters/__tests__/docx2/test-defs/simple-table copy.d.ts.map +0 -1
  106. package/lib/abstract-document-exporters/__tests__/docx2/test-defs/simple-table copy.js +0 -195
  107. package/lib/abstract-document-exporters/__tests__/docx2/test-defs/simple-table copy.js.map +0 -1
  108. package/lib/abstract-document-exporters/__tests__/docx2/test-defs/table-of-content-separator.d.ts +0 -3
  109. package/lib/abstract-document-exporters/__tests__/docx2/test-defs/table-of-content-separator.d.ts.map +0 -1
  110. package/lib/abstract-document-exporters/__tests__/docx2/test-defs/table-of-content-separator.js +0 -18
  111. package/lib/abstract-document-exporters/__tests__/docx2/test-defs/table-of-content-separator.js.map +0 -1
  112. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/group.d.ts +0 -3
  113. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/group.d.ts.map +0 -1
  114. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/group.js +0 -83
  115. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/group.js.map +0 -1
  116. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-margin.d.ts +0 -3
  117. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-margin.d.ts.map +0 -1
  118. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-margin.js +0 -56
  119. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/page-break-table-with-margin.js.map +0 -1
  120. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table.d.ts +0 -3
  121. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table.d.ts.map +0 -1
  122. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table.js +0 -104
  123. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/simple-table.js.map +0 -1
  124. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-date.d.ts +0 -1
  125. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-date.d.ts.map +0 -1
  126. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-date.js +0 -70
  127. package/lib/abstract-document-exporters/__tests__/pdf/test-defs/single-date.js.map +0 -1
@@ -154,7 +154,7 @@ endobj
154
154
  (PDFKit)
155
155
  endobj
156
156
  18 0 obj
157
- (D:20220105111759Z)
157
+ (D:20220105141307Z)
158
158
  endobj
159
159
  15 0 obj
160
160
  <<
@@ -215,7 +215,7 @@ trailer
215
215
  /Size 19
216
216
  /Root 3 0 R
217
217
  /Info 15 0 R
218
- /ID [<493cb2d8821ea725684c294723d200fe> <493cb2d8821ea725684c294723d200fe>]
218
+ /ID [<93791fa2ec3d2ec7399f89ea4d33cf84> <93791fa2ec3d2ec7399f89ea4d33cf84>]
219
219
  >>
220
220
  startxref
221
221
  1798
@@ -51,7 +51,7 @@ endobj
51
51
  (PDFKit)
52
52
  endobj
53
53
  12 0 obj
54
- (D:20220105111759Z)
54
+ (D:20220105141307Z)
55
55
  endobj
56
56
  9 0 obj
57
57
  <<
@@ -114,7 +114,7 @@ trailer
114
114
  /Size 13
115
115
  /Root 3 0 R
116
116
  /Info 9 0 R
117
- /ID [<9d29515e5ec6a20d41b421eb1ca81a28> <9d29515e5ec6a20d41b421eb1ca81a28>]
117
+ /ID [<3c2711558dd2781b20915f96040e1526> <3c2711558dd2781b20915f96040e1526>]
118
118
  >>
119
119
  startxref
120
120
  1427
@@ -43,7 +43,7 @@ endobj
43
43
  (PDFKit)
44
44
  endobj
45
45
  12 0 obj
46
- (D:20220105111759Z)
46
+ (D:20220105141307Z)
47
47
  endobj
48
48
  9 0 obj
49
49
  <<
@@ -106,7 +106,7 @@ trailer
106
106
  /Size 13
107
107
  /Root 3 0 R
108
108
  /Info 9 0 R
109
- /ID [<ba0f63116a63843548ad4cb7c54404f0> <ba0f63116a63843548ad4cb7c54404f0>]
109
+ /ID [<0db75c6289677f1ad17ef668515fa7d2> <0db75c6289677f1ad17ef668515fa7d2>]
110
110
  >>
111
111
  startxref
112
112
  854
@@ -51,7 +51,7 @@ endobj
51
51
  (PDFKit)
52
52
  endobj
53
53
  12 0 obj
54
- (D:20220105111759Z)
54
+ (D:20220105141308Z)
55
55
  endobj
56
56
  9 0 obj
57
57
  <<
@@ -114,7 +114,7 @@ trailer
114
114
  /Size 13
115
115
  /Root 3 0 R
116
116
  /Info 9 0 R
117
- /ID [<d7a3b23e2ec3180457866d6303d28653> <d7a3b23e2ec3180457866d6303d28653>]
117
+ /ID [<f83f69ea152c953d9f3747868dcf40eb> <f83f69ea152c953d9f3747868dcf40eb>]
118
118
  >>
119
119
  startxref
120
120
  1427
@@ -43,7 +43,7 @@ endobj
43
43
  (PDFKit)
44
44
  endobj
45
45
  12 0 obj
46
- (D:20220105111759Z)
46
+ (D:20220105141308Z)
47
47
  endobj
48
48
  9 0 obj
49
49
  <<
@@ -106,7 +106,7 @@ trailer
106
106
  /Size 13
107
107
  /Root 3 0 R
108
108
  /Info 9 0 R
109
- /ID [<f4846f0552ac0e6db2d58f73a2309d08> <f4846f0552ac0e6db2d58f73a2309d08>]
109
+ /ID [<68d6858f9ade17df31d28c966a48cddb> <68d6858f9ade17df31d28c966a48cddb>]
110
110
  >>
111
111
  startxref
112
112
  853
@@ -43,7 +43,7 @@ endobj
43
43
  (PDFKit)
44
44
  endobj
45
45
  12 0 obj
46
- (D:20220105111759Z)
46
+ (D:20220105141308Z)
47
47
  endobj
48
48
  9 0 obj
49
49
  <<
@@ -106,7 +106,7 @@ trailer
106
106
  /Size 13
107
107
  /Root 3 0 R
108
108
  /Info 9 0 R
109
- /ID [<5cac7591b21e4a30b599de6c544be180> <5cac7591b21e4a30b599de6c544be180>]
109
+ /ID [<4df806dfcdd26f1dc01e62d192258a34> <4df806dfcdd26f1dc01e62d192258a34>]
110
110
  >>
111
111
  startxref
112
112
  848
@@ -51,7 +51,7 @@ endobj
51
51
  (PDFKit)
52
52
  endobj
53
53
  12 0 obj
54
- (D:20220105111759Z)
54
+ (D:20220105141308Z)
55
55
  endobj
56
56
  9 0 obj
57
57
  <<
@@ -114,7 +114,7 @@ trailer
114
114
  /Size 13
115
115
  /Root 3 0 R
116
116
  /Info 9 0 R
117
- /ID [<cf0bc121be9f78bc94997565360fce90> <cf0bc121be9f78bc94997565360fce90>]
117
+ /ID [<625a2072f50ef946504b36e8857533f5> <625a2072f50ef946504b36e8857533f5>]
118
118
  >>
119
119
  startxref
120
120
  1418
@@ -43,7 +43,7 @@ endobj
43
43
  (PDFKit)
44
44
  endobj
45
45
  12 0 obj
46
- (D:20220105111759Z)
46
+ (D:20220105141308Z)
47
47
  endobj
48
48
  9 0 obj
49
49
  <<
@@ -106,7 +106,7 @@ trailer
106
106
  /Size 13
107
107
  /Root 3 0 R
108
108
  /Info 9 0 R
109
- /ID [<41e6127e78ee3efe2c987b26324c3347> <41e6127e78ee3efe2c987b26324c3347>]
109
+ /ID [<922a6b4f464a68b0aec8899672882b99> <922a6b4f464a68b0aec8899672882b99>]
110
110
  >>
111
111
  startxref
112
112
  848
@@ -63,7 +63,7 @@ endobj
63
63
  (PDFKit)
64
64
  endobj
65
65
  12 0 obj
66
- (D:20220105111759Z)
66
+ (D:20220105141307Z)
67
67
  endobj
68
68
  9 0 obj
69
69
  <<
@@ -126,7 +126,7 @@ trailer
126
126
  /Size 13
127
127
  /Root 3 0 R
128
128
  /Info 9 0 R
129
- /ID [<1bf6530e544b32c0fdb03695babaa7c1> <1bf6530e544b32c0fdb03695babaa7c1>]
129
+ /ID [<5ce2a3270d9dd3762de37b24368a8488> <5ce2a3270d9dd3762de37b24368a8488>]
130
130
  >>
131
131
  startxref
132
132
  1076
@@ -43,7 +43,7 @@ endobj
43
43
  (PDFKit)
44
44
  endobj
45
45
  12 0 obj
46
- (D:20220105111759Z)
46
+ (D:20220105141308Z)
47
47
  endobj
48
48
  9 0 obj
49
49
  <<
@@ -106,7 +106,7 @@ trailer
106
106
  /Size 13
107
107
  /Root 3 0 R
108
108
  /Info 9 0 R
109
- /ID [<bb4e849828d6652e881b71e25a89302a> <bb4e849828d6652e881b71e25a89302a>]
109
+ /ID [<f72ca66521f8ca61a6d10642fcbf6e53> <f72ca66521f8ca61a6d10642fcbf6e53>]
110
110
  >>
111
111
  startxref
112
112
  824
@@ -84,7 +84,7 @@ endobj
84
84
  (PDFKit)
85
85
  endobj
86
86
  15 0 obj
87
- (D:20220105111759Z)
87
+ (D:20220105141308Z)
88
88
  endobj
89
89
  12 0 obj
90
90
  <<
@@ -150,7 +150,7 @@ trailer
150
150
  /Size 16
151
151
  /Root 3 0 R
152
152
  /Info 12 0 R
153
- /ID [<aff467c850a90b8753d7857e8c793026> <aff467c850a90b8753d7857e8c793026>]
153
+ /ID [<2d8f748580b709d467a8dfc2d8cedb2b> <2d8f748580b709d467a8dfc2d8cedb2b>]
154
154
  >>
155
155
  startxref
156
156
  1439
@@ -79,7 +79,7 @@ endobj
79
79
  (PDFKit)
80
80
  endobj
81
81
  15 0 obj
82
- (D:20220105111758Z)
82
+ (D:20220105141307Z)
83
83
  endobj
84
84
  12 0 obj
85
85
  <<
@@ -145,7 +145,7 @@ trailer
145
145
  /Size 16
146
146
  /Root 3 0 R
147
147
  /Info 12 0 R
148
- /ID [<0ff0e795ffbd1e504a7e1c674a4e4be6> <0ff0e795ffbd1e504a7e1c674a4e4be6>]
148
+ /ID [<3c7e24947b3759fe250cc7ebd277f800> <3c7e24947b3759fe250cc7ebd277f800>]
149
149
  >>
150
150
  startxref
151
151
  1212
@@ -43,7 +43,7 @@ endobj
43
43
  (PDFKit)
44
44
  endobj
45
45
  12 0 obj
46
- (D:20220105111759Z)
46
+ (D:20220105141308Z)
47
47
  endobj
48
48
  9 0 obj
49
49
  <<
@@ -106,7 +106,7 @@ trailer
106
106
  /Size 13
107
107
  /Root 3 0 R
108
108
  /Info 9 0 R
109
- /ID [<34aa326327ae950341773bad4e6b0ff8> <34aa326327ae950341773bad4e6b0ff8>]
109
+ /ID [<80a4a883addd5daa68f7e212d82ef986> <80a4a883addd5daa68f7e212d82ef986>]
110
110
  >>
111
111
  startxref
112
112
  837
@@ -115,13 +115,19 @@ function abstractComponentToPdf(
115
115
  .stroke(colorToRgb(component.strokeColor));
116
116
  break;
117
117
  case "text":
118
+ const font = getFontName(
119
+ component.fontFamily,
120
+ component.fontWeight === "bold",
121
+ component.italic,
122
+ component.fontWeight === "mediumBold"
123
+ );
118
124
  if (component.clockwiseRotationDegrees !== 0) {
119
125
  pdf.save();
120
126
  pdf.rotate(component.clockwiseRotationDegrees, {
121
127
  origin: [component.position.x, component.position.y],
122
128
  });
123
129
  }
124
- pdf.font(component.fontFamily).fontSize(component.fontSize);
130
+ pdf.font(font).fontSize(component.fontSize);
125
131
  const stringWidth = pdf.widthOfString(component.text);
126
132
  const stringHeight = pdf.currentLineHeight();
127
133
  const dx =
@@ -137,7 +143,7 @@ function abstractComponentToPdf(
137
143
  ? -stringHeight * 0.5
138
144
  : 0;
139
145
  pdf
140
- .font(component.fontFamily)
146
+ .font(font)
141
147
  .fontSize(component.fontSize)
142
148
  .fillColor(colorToRgb(component.textColor))
143
149
  .text(component.text, component.position.x + dx, component.position.y + dy, { lineBreak: false });
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../../../src/abstract-document/__tests__/markdown/test-defs/markdown.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,eAAO,MAAM,IAAI,EAAE,aAIlB,CAAC"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.test = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const abstract_document_jsx_1 = require("../../../../abstract-document-jsx");
9
- exports.test = {
10
- name: "Markdown",
11
- abstractDocJsx: react_1.default.createElement(abstract_document_jsx_1.Markdown, { text: "H~2~O 2^10^ *Italic* **Bold** ***Italic and Bold***" }),
12
- expectedMarkdown: {},
13
- };
14
- //# sourceMappingURL=markdown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown.js","sourceRoot":"","sources":["../../../../../src/abstract-document/__tests__/markdown/test-defs/markdown.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,6EAA6D;AAEhD,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,UAAU;IAChB,cAAc,EAAE,8BAAC,gCAAQ,IAAC,IAAI,EAAC,qDAAqD,GAAG;IACvF,gBAAgB,EAAE,EAAE;CACrB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"layout-foundation.js","sourceRoot":"","sources":["../../../src/abstract-document/primitives/layout-foundation.ts"],"names":[],"mappings":";;;AAcA,SAAgB,MAAM,CAAC,KAA6B;IAClD,MAAM,EAAE,GAAG,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,IAAI,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,GAAG,KAAK,IAAI,EAAE,CAAC;IACjE,OAAO;QACL,GAAG;QACH,MAAM;QACN,IAAI;QACJ,KAAK;KACN,CAAC;AACJ,CAAC;AARD,wBAQC;AAED,SAAgB,YAAY,CAC1B,SAAuC,EACvC,UAAwC;IAExC,MAAM,CAAC,GAAG,SAAS,IAAI,MAAM,EAAE,CAAC;IAChC,MAAM,CAAC,GAAG,UAAU,IAAI,MAAM,EAAE,CAAC;IACjC,OAAO,MAAM,CAAC;QACZ,GAAG,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG;QACnB,MAAM,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,MAAM;QAC5B,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI;QACtB,KAAK,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK;KAC1B,CAAC,CAAC;AACL,CAAC;AAZD,oCAYC"}
@@ -1,3 +0,0 @@
1
- import { ExportTestDef } from "../export-test-def";
2
- export declare const test: ExportTestDef;
3
- //# sourceMappingURL=simple-table%20copy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"simple-table copy.d.ts","sourceRoot":"","sources":["../../../../../src/abstract-document-exporters/__tests__/docx2/test-defs/simple-table copy.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAWnD,eAAO,MAAM,IAAI,EAAE,aAqMlB,CAAC"}
@@ -1,195 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.test = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const abstract_document_jsx_1 = require("../../../../abstract-document-jsx");
9
- exports.test = {
10
- name: "Simple table",
11
- abstractDocJsx: (react_1.default.createElement(abstract_document_jsx_1.AbstractDoc, null,
12
- react_1.default.createElement(abstract_document_jsx_1.Section, null,
13
- react_1.default.createElement(abstract_document_jsx_1.Table, { columnWidths: [150, 100, 50] },
14
- react_1.default.createElement(abstract_document_jsx_1.TableRow, null,
15
- react_1.default.createElement(abstract_document_jsx_1.TableCell, null,
16
- react_1.default.createElement(abstract_document_jsx_1.Paragraph, null,
17
- react_1.default.createElement(abstract_document_jsx_1.TextRun, { text: "Hello 1" }))),
18
- react_1.default.createElement(abstract_document_jsx_1.TableCell, null,
19
- react_1.default.createElement(abstract_document_jsx_1.Paragraph, null,
20
- react_1.default.createElement(abstract_document_jsx_1.TextRun, { text: "Hello 2" }))),
21
- react_1.default.createElement(abstract_document_jsx_1.TableCell, null,
22
- react_1.default.createElement(abstract_document_jsx_1.Paragraph, null,
23
- react_1.default.createElement(abstract_document_jsx_1.TextRun, { text: "Hello 3" })))))))),
24
- expectedDocxZipContexts: {
25
- "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">
26
- <w:background w:color="FFFFFF" />
27
- <w:body>
28
- <w:p>
29
- <w:pPr>
30
- <w:spacing w:before="0" w:after="0" w:line="1" />
31
- </w:pPr>
32
- <w:bookmarkStart w:name="" w:id="*" />
33
- <w:bookmarkEnd w:id="*" />
34
- </w:p>
35
- <w:tbl>
36
- <w:tblPr>
37
- <w:tblCellMar>
38
- <w:bottom w:type="dxa" w:w="0" />
39
- <w:top w:type="dxa" w:w="0" />
40
- <w:left w:type="dxa" w:w="0" />
41
- <w:right w:type="dxa" w:w="0" />
42
- </w:tblCellMar>
43
- <w:tblBorders>
44
- <w:top w:val="none" w:sz="0" w:space="0" w:color="" />
45
- <w:left w:val="none" w:sz="0" w:space="0" w:color="" />
46
- <w:bottom w:val="none" w:sz="0" w:space="0" w:color="" />
47
- <w:right w:val="none" w:sz="0" w:space="0" w:color="" />
48
- <w:insideH w:val="none" w:sz="0" w:space="0" w:color="" />
49
- <w:insideV w:val="none" w:sz="0" w:space="0" w:color="" />
50
- </w:tblBorders>
51
- <w:tblW w:type="dxa" w:w="6000" />
52
- <w:jc w:val="left" />
53
- </w:tblPr>
54
- <w:tblGrid>
55
- <w:gridCol w:w="100" />
56
- <w:gridCol w:w="100" />
57
- <w:gridCol w:w="100" />
58
- </w:tblGrid>
59
- <w:tr>
60
- <w:trPr>
61
- <w:cantSplit w:val="true" />
62
- </w:trPr>
63
- <w:tc>
64
- <w:tcPr>
65
- <w:tcBorders>
66
- <w:top w:val="none" w:sz="0" w:color="" />
67
- <w:bottom w:val="none" w:sz="0" w:color="" />
68
- <w:left w:val="none" w:sz="0" w:color="" />
69
- <w:right w:val="none" w:sz="0" w:color="" />
70
- </w:tcBorders>
71
- <w:vAlign w:val="center" />
72
- <w:tcMar>
73
- <w:top w:w="0" w:type="dxa" />
74
- <w:bottom w:w="0" w:type="dxa" />
75
- <w:end w:w="0" w:type="dxa" />
76
- <w:start w:w="0" w:type="dxa" />
77
- </w:tcMar>
78
- <w:shd />
79
- <w:gridSpan w:val="1" />
80
- <w:tcW w:w="3000" w:type="dxa" />
81
- </w:tcPr>
82
- <w:p>
83
- <w:pPr>
84
- <w:spacing w:before="0" w:after="0" />
85
- <w:jc w:val="start" />
86
- <w:ind w:left="0" w:end="0" />
87
- </w:pPr>
88
- <w:r>
89
- <w:rPr>
90
- <w:color w:val="black" />
91
- <w:sz w:val="20" />
92
- <w:szCs w:val="20" />
93
- <w:rFonts w:ascii="Arial" w:cs="Arial" w:eastAsia="Arial" w:hAnsi="Arial" />
94
- </w:rPr>
95
- <w:t xml:space="preserve">Hello 1</w:t>
96
- </w:r>
97
- </w:p>
98
- </w:tc>
99
- <w:tc>
100
- <w:tcPr>
101
- <w:tcBorders>
102
- <w:top w:val="none" w:sz="0" w:color="" />
103
- <w:bottom w:val="none" w:sz="0" w:color="" />
104
- <w:left w:val="none" w:sz="0" w:color="" />
105
- <w:right w:val="none" w:sz="0" w:color="" />
106
- </w:tcBorders>
107
- <w:vAlign w:val="center" />
108
- <w:tcMar>
109
- <w:top w:w="0" w:type="dxa" />
110
- <w:bottom w:w="0" w:type="dxa" />
111
- <w:end w:w="0" w:type="dxa" />
112
- <w:start w:w="0" w:type="dxa" />
113
- </w:tcMar>
114
- <w:shd />
115
- <w:gridSpan w:val="1" />
116
- <w:tcW w:w="2000" w:type="dxa" />
117
- </w:tcPr>
118
- <w:p>
119
- <w:pPr>
120
- <w:spacing w:before="0" w:after="0" />
121
- <w:jc w:val="start" />
122
- <w:ind w:left="0" w:end="0" />
123
- </w:pPr>
124
- <w:r>
125
- <w:rPr>
126
- <w:color w:val="black" />
127
- <w:sz w:val="20" />
128
- <w:szCs w:val="20" />
129
- <w:rFonts w:ascii="Arial" w:cs="Arial" w:eastAsia="Arial" w:hAnsi="Arial" />
130
- </w:rPr>
131
- <w:t xml:space="preserve">Hello 2</w:t>
132
- </w:r>
133
- </w:p>
134
- </w:tc>
135
- <w:tc>
136
- <w:tcPr>
137
- <w:tcBorders>
138
- <w:top w:val="none" w:sz="0" w:color="" />
139
- <w:bottom w:val="none" w:sz="0" w:color="" />
140
- <w:left w:val="none" w:sz="0" w:color="" />
141
- <w:right w:val="none" w:sz="0" w:color="" />
142
- </w:tcBorders>
143
- <w:vAlign w:val="center" />
144
- <w:tcMar>
145
- <w:top w:w="0" w:type="dxa" />
146
- <w:bottom w:w="0" w:type="dxa" />
147
- <w:end w:w="0" w:type="dxa" />
148
- <w:start w:w="0" w:type="dxa" />
149
- </w:tcMar>
150
- <w:shd />
151
- <w:gridSpan w:val="1" />
152
- <w:tcW w:w="1000" w:type="dxa" />
153
- </w:tcPr>
154
- <w:p>
155
- <w:pPr>
156
- <w:spacing w:before="0" w:after="0" />
157
- <w:jc w:val="start" />
158
- <w:ind w:left="0" w:end="0" />
159
- </w:pPr>
160
- <w:r>
161
- <w:rPr>
162
- <w:color w:val="black" />
163
- <w:sz w:val="20" />
164
- <w:szCs w:val="20" />
165
- <w:rFonts w:ascii="Arial" w:cs="Arial" w:eastAsia="Arial" w:hAnsi="Arial" />
166
- </w:rPr>
167
- <w:t xml:space="preserve">Hello 3</w:t>
168
- </w:r>
169
- </w:p>
170
- </w:tc>
171
- </w:tr>
172
- </w:tbl>
173
- <w:p>
174
- <w:r>
175
- <w:rPr>
176
- <w:sz w:val="0.000001" />
177
- <w:szCs w:val="0.000001" />
178
- </w:rPr>
179
- <w:t xml:space="preserve">.</w:t>
180
- </w:r>
181
- </w:p>
182
- <w:sectPr>
183
- <w:pgSz w:w="11906" w:h="16838" w:orient="portrait" />
184
- <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" />
185
- <w:cols w:space="708" w:num="1" w:sep="false" />
186
- <w:docGrid w:linePitch="360" />
187
- <w:headerReference w:type="default" r:id="rId5" />
188
- <w:footerReference w:type="default" r:id="rId6" />
189
- <w:pgNumType />
190
- </w:sectPr>
191
- </w:body>
192
- </w:document>`,
193
- },
194
- };
195
- //# sourceMappingURL=simple-table%20copy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"simple-table copy.js","sourceRoot":"","sources":["../../../../../src/abstract-document-exporters/__tests__/docx2/test-defs/simple-table copy.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,6EAQ2C;AAE9B,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE,CACd,8BAAC,mCAAW;QACV,8BAAC,+BAAO;YACN,8BAAC,6BAAK,IAAC,YAAY,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC;gBACjC,8BAAC,gCAAQ;oBACP,8BAAC,iCAAS;wBACR,8BAAC,iCAAS;4BACR,8BAAC,+BAAO,IAAC,IAAI,EAAC,SAAS,GAAG,CAChB,CACF;oBACZ,8BAAC,iCAAS;wBACR,8BAAC,iCAAS;4BACR,8BAAC,+BAAO,IAAC,IAAI,EAAC,SAAS,GAAG,CAChB,CACF;oBACZ,8BAAC,iCAAS;wBACR,8BAAC,iCAAS;4BACR,8BAAC,+BAAO,IAAC,IAAI,EAAC,SAAS,GAAG,CAChB,CACF,CACH,CACL,CACA,CACE,CACf;IACD,uBAAuB,EAAE;QACvB,mBAAmB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAuKT;KACb;CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- import { ExportTestDef } from "../export-test-def";
2
- export declare const test: ExportTestDef;
3
- //# sourceMappingURL=table-of-content-separator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table-of-content-separator.d.ts","sourceRoot":"","sources":["../../../../../src/abstract-document-exporters/__tests__/docx2/test-defs/table-of-content-separator.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,eAAO,MAAM,IAAI,EAAE,aAalB,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.test = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const abstract_document_jsx_1 = require("../../../../abstract-document-jsx");
9
- exports.test = {
10
- name: "Table of content separator",
11
- abstractDocJsx: (react_1.default.createElement(abstract_document_jsx_1.AbstractDoc, null,
12
- react_1.default.createElement(abstract_document_jsx_1.Section, null,
13
- react_1.default.createElement(abstract_document_jsx_1.Paragraph, null,
14
- react_1.default.createElement(abstract_document_jsx_1.HyperLink, { text: "Hello", target: "#" }),
15
- react_1.default.createElement(abstract_document_jsx_1.TocSeparator, null))))),
16
- expectedDocxZipContexts: {},
17
- };
18
- //# sourceMappingURL=table-of-content-separator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table-of-content-separator.js","sourceRoot":"","sources":["../../../../../src/abstract-document-exporters/__tests__/docx2/test-defs/table-of-content-separator.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,6EAA6G;AAEhG,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,4BAA4B;IAClC,cAAc,EAAE,CACd,8BAAC,mCAAW;QACV,8BAAC,+BAAO;YACN,8BAAC,iCAAS;gBACR,8BAAC,iCAAS,IAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAC,GAAG,GAAG;gBACvC,8BAAC,oCAAY,OAAG,CACN,CACJ,CACE,CACf;IACD,uBAAuB,EAAE,EAAE;CAC5B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { ExportTestDef } from "../export-test-def";
2
- export declare const test: ExportTestDef;
3
- //# sourceMappingURL=group.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../src/abstract-document-exporters/__tests__/pdf/test-defs/group.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,eAAO,MAAM,IAAI,EAAE,aAgFlB,CAAC"}
@@ -1,83 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.test = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const abstract_document_jsx_1 = require("../../../../abstract-document-jsx");
9
- exports.test = {
10
- name: "Group",
11
- abstractDocJsx: (react_1.default.createElement(abstract_document_jsx_1.AbstractDoc, null,
12
- react_1.default.createElement(abstract_document_jsx_1.Section, null,
13
- react_1.default.createElement(abstract_document_jsx_1.Group, null,
14
- react_1.default.createElement(abstract_document_jsx_1.Paragraph, null,
15
- react_1.default.createElement(abstract_document_jsx_1.TextRun, { text: "Hello" })),
16
- react_1.default.createElement(abstract_document_jsx_1.Paragraph, null,
17
- react_1.default.createElement(abstract_document_jsx_1.TextRun, { text: "Hello2" })))))),
18
- expectedPdfJson: {
19
- formImage: {
20
- Agency: "",
21
- Id: {
22
- AgencyId: "",
23
- MC: false,
24
- Max: 1,
25
- Name: "",
26
- Parent: "",
27
- },
28
- Pages: [
29
- {
30
- Boxsets: [],
31
- Fields: [],
32
- Fills: [
33
- {
34
- clr: 1,
35
- h: 0,
36
- w: 0,
37
- x: 0,
38
- y: 0,
39
- },
40
- ],
41
- HLines: [],
42
- Height: 52.625,
43
- Texts: [
44
- {
45
- A: "left",
46
- R: [
47
- {
48
- S: -1,
49
- T: "Hello",
50
- TS: [0, 13, 0, 0],
51
- },
52
- ],
53
- clr: 0,
54
- sw: 0.32553125,
55
- w: 22.78,
56
- x: -0.25,
57
- y: -0.301,
58
- },
59
- {
60
- A: "left",
61
- R: [
62
- {
63
- S: -1,
64
- T: "Hello2",
65
- TS: [0, 13, 0, 0],
66
- },
67
- ],
68
- clr: 0,
69
- sw: 0.32553125,
70
- w: 28.34,
71
- x: -0.25,
72
- y: 0.42100000000000004,
73
- },
74
- ],
75
- VLines: [],
76
- },
77
- ],
78
- Transcoder: "pdf2json@1.2.3 [https://github.com/modesty/pdf2json]",
79
- Width: 37.188,
80
- },
81
- },
82
- };
83
- //# sourceMappingURL=group.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"group.js","sourceRoot":"","sources":["../../../../../src/abstract-document-exporters/__tests__/pdf/test-defs/group.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,6EAAoG;AAEvF,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,OAAO;IACb,cAAc,EAAE,CACd,8BAAC,mCAAW;QACV,8BAAC,+BAAO;YACN,8BAAC,6BAAK;gBACJ,8BAAC,iCAAS;oBACR,8BAAC,+BAAO,IAAC,IAAI,EAAE,OAAO,GAAI,CAChB;gBACZ,8BAAC,iCAAS;oBACR,8BAAC,+BAAO,IAAC,IAAI,EAAE,QAAQ,GAAI,CACjB,CACN,CACA,CACE,CACf;IACD,eAAe,EAAE;QACf,SAAS,EAAE;YACT,MAAM,EAAE,EAAE;YACV,EAAE,EAAE;gBACF,QAAQ,EAAE,EAAE;gBACZ,EAAE,EAAE,KAAK;gBACT,GAAG,EAAE,CAAC;gBACN,IAAI,EAAE,EAAE;gBACR,MAAM,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACL;oBACE,OAAO,EAAE,EAAE;oBACX,MAAM,EAAE,EAAE;oBACV,KAAK,EAAE;wBACL;4BACE,GAAG,EAAE,CAAC;4BACN,CAAC,EAAE,CAAC;4BACJ,CAAC,EAAE,CAAC;4BACJ,CAAC,EAAE,CAAC;4BACJ,CAAC,EAAE,CAAC;yBACL;qBACF;oBACD,MAAM,EAAE,EAAE;oBACV,MAAM,EAAE,MAAM;oBACd,KAAK,EAAE;wBACL;4BACE,CAAC,EAAE,MAAM;4BACT,CAAC,EAAE;gCACD;oCACE,CAAC,EAAE,CAAC,CAAC;oCACL,CAAC,EAAE,OAAO;oCACV,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;iCAClB;6BACF;4BACD,GAAG,EAAE,CAAC;4BACN,EAAE,EAAE,UAAU;4BACd,CAAC,EAAE,KAAK;4BACR,CAAC,EAAE,CAAC,IAAI;4BACR,CAAC,EAAE,CAAC,KAAK;yBACV;wBACD;4BACE,CAAC,EAAE,MAAM;4BACT,CAAC,EAAE;gCACD;oCACE,CAAC,EAAE,CAAC,CAAC;oCACL,CAAC,EAAE,QAAQ;oCACX,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;iCAClB;6BACF;4BACD,GAAG,EAAE,CAAC;4BACN,EAAE,EAAE,UAAU;4BACd,CAAC,EAAE,KAAK;4BACR,CAAC,EAAE,CAAC,IAAI;4BACR,CAAC,EAAE,mBAAmB;yBACvB;qBACF;oBACD,MAAM,EAAE,EAAE;iBACX;aACF;YACD,UAAU,EAAE,sDAAsD;YAClE,KAAK,EAAE,MAAM;SACd;KACF;CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- import { ExportTestDef } from "../export-test-def";
2
- export declare const test: ExportTestDef;
3
- //# sourceMappingURL=page-break-table-with-margin.d.ts.map