forked from wvbe/docxml
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmod.ts
More file actions
224 lines (218 loc) · 5.73 KB
/
mod.ts
File metadata and controls
224 lines (218 loc) · 5.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
// Top-level API
export { Docx as default } from './lib/Docx.ts';
// Classes
export { type AnyComponent as DocxmlComponent } from './lib/classes/src/Component.ts';
// Content components
export {
Comment,
type CommentChild,
type CommentProps,
} from './lib/components/comments/src/Comment.ts';
export {
CommentRangeEnd,
type CommentRangeEndChild,
type CommentRangeEndProps,
} from './lib/components/comments/src/CommentRangeEnd.ts';
export {
CommentRangeStart,
type CommentRangeStartChild,
type CommentRangeStartProps,
} from './lib/components/comments/src/CommentRangeStart.ts';
export {
BookmarkRangeEnd,
type BookmarkRangeEndChild,
type BookmarkRangeEndProps,
} from './lib/components/document/src/BookmarkRangeEnd.ts';
export {
BookmarkRangeStart,
type BookmarkRangeStartChild,
type BookmarkRangeStartProps,
} from './lib/components/document/src/BookmarkRangeStart.ts';
export {
Break,
type BreakChild,
type BreakProps,
} from './lib/components/document/src/Break.ts';
export {
Cell,
type CellChild,
type CellProps,
} from './lib/components/document/src/Cell.ts';
export {
Field,
type FieldChild,
type FieldProps,
} from './lib/components/document/src/Field.ts';
export {
FieldDefinition,
FieldNames,
type FieldDefinitionChild,
type FieldDefinitionProps,
} from './lib/components/document/src/FieldDefinition.ts';
export {
FieldRangeEnd,
type FieldRangeEndChild,
type FieldRangeEndProps,
} from './lib/components/document/src/FieldRangeEnd.ts';
export {
FieldRangeInstruction,
type FieldRangeInstructionChild,
type FieldRangeInstructionProps,
} from './lib/components/document/src/FieldRangeInstruction.ts';
export {
FieldRangeSeparator,
type FieldRangeSeparatorChild,
type FieldRangeSeparatorProps,
} from './lib/components/document/src/FieldRangeSeparator.ts';
export {
FieldRangeStart,
type FieldRangeStartChild,
type FieldRangeStartProps,
} from './lib/components/document/src/FieldRangeStart.ts';
export {
FootnoteReference,
type FootnoteProps,
type FootnoteReferenceProps,
} from './lib/components/document/src/FootnoteReference.ts';
export {
Hyperlink,
type HyperlinkChild,
type HyperlinkProps,
} from './lib/components/document/src/Hyperlink.ts';
export {
Image,
type ImageChild,
type ImageProps,
} from './lib/components/document/src/Image.ts';
export {
NonBreakingHyphen,
type NonBreakingHyphenChild,
type NonBreakingHyphenProps,
} from './lib/components/document/src/NonBreakingHyphen.ts';
export {
Paragraph,
type ParagraphChild,
type ParagraphProps,
} from './lib/components/document/src/Paragraph.ts';
export {
Row,
type RowChild,
type RowProps,
} from './lib/components/document/src/Row.ts';
export {
Section,
type SectionChild,
type SectionProps,
} from './lib/components/document/src/Section.ts';
export {
Symbol,
type SymbolChild,
type SymbolProps,
} from './lib/components/document/src/Symbol.ts';
export {
Tab,
type TabChild,
type TabProps,
} from './lib/components/document/src/Tab.ts';
export {
Table,
type TableChild,
type TableProps,
} from './lib/components/document/src/Table.ts';
export {
Text,
type TextChild,
type TextProps,
} from './lib/components/document/src/Text.ts';
export {
WatermarkText,
type WatermarkTextChild,
type WatermarkTextProps,
} from './lib/components/document/src/WatermarkText.ts';
export {
DeletedText,
type DeletedTextChild,
type DeletedTextProps,
} from './lib/components/track-changes/src/DeletedText.ts';
export {
Deletion,
type DeletionChild,
type DeletionProps,
} from './lib/components/track-changes/src/Deletion.ts';
export {
Insertion,
type InsertionChild,
type InsertionProps,
} from './lib/components/track-changes/src/Insertion.ts';
export {
MoveFrom,
type MoveFromChild,
type MoveFromProps,
} from './lib/components/track-changes/src/MoveFrom.ts';
export {
MoveFromRangeEnd,
type MoveFromRangeEndChild,
type MoveFromRangeEndProps,
} from './lib/components/track-changes/src/MoveFromRangeEnd.ts';
export {
MoveFromRangeStart,
type MoveFromRangeStartChild,
type MoveFromRangeStartProps,
} from './lib/components/track-changes/src/MoveFromRangeStart.ts';
export {
MoveTo,
type MoveToChild,
type MoveToProps,
} from './lib/components/track-changes/src/MoveTo.ts';
export {
MoveToRangeEnd,
type MoveRangeEndChild,
type MoveToRangeEndProps,
} from './lib/components/track-changes/src/MoveToRangeEnd.ts';
export {
MoveToRangeStart,
type MoveToRangeStartChild,
type MoveToRangeStartProps,
} from './lib/components/track-changes/src/MoveToRangeStart.ts';
export { FileMime } from './lib/enums.ts';
// Shared properties
export {
type Border,
type LineBorderType,
} from './lib/properties/src/shared-properties.ts';
// Utility functions
export { RelationshipType } from './lib/enums.ts';
export { hex, int, type Id } from './lib/utilities/src/id.ts';
export { jsx } from './lib/utilities/src/jsx.ts';
export {
cm,
emu,
hpt,
inch,
opt,
pt,
twip,
type Length,
} from './lib/utilities/src/length.ts';
// Archive component types
export { type CommentsXml } from './lib/files/src/CommentsXml.ts';
export { type ContentTypesXml } from './lib/files/src/ContentTypesXml.ts';
export {
CustomPropertyType,
type CustomPropertiesXml,
} from './lib/files/src/CustomPropertiesXml.ts';
export {
type DocumentChild,
type DocumentXml,
} from './lib/files/src/DocumentXml.ts';
export { type FootnotesXml } from './lib/files/src/FootnotesXml.ts';
export {
type FooterXml,
type HeaderFooterChild,
type HeaderXml,
} from './lib/files/src/HeaderFooterXml.ts';
export { type NumberingXml } from './lib/files/src/NumberingXml.ts';
export { type RelationshipsXml } from './lib/files/src/RelationshipsXml.ts';
export { type SettingsXml } from './lib/files/src/SettingsXml.ts';
export { type StylesXml } from './lib/files/src/StylesXml.ts';
export { type ChangeInformation } from './lib/utilities/src/changes.ts';