File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ export interface WJSTextRun {
55 v : string ;
66}
77
8+ export interface WJSEndNote {
9+ t : "endnote" ;
10+ /** Id of the endnote element it's linked to */
11+ id : Number ;
12+ /** Body */
13+ p : WJSPara [ ] ;
14+ }
15+
816export interface WJSTableCell {
917 t : "c" ;
1018 /** Body */
@@ -26,7 +34,7 @@ export interface WJSTable {
2634}
2735
2836/** Children elements of a Paragraph */
29- export type WJSParaElement = WJSTextRun | WJSTable ;
37+ export type WJSParaElement = WJSTextRun | WJSTable | WJSEndNote ;
3038
3139/** Paragraph */
3240export interface WJSPara {
@@ -37,4 +45,19 @@ export interface WJSPara {
3745/** WordJS Document */
3846export interface WJSDoc {
3947 p : WJSPara [ ] ;
48+ rels ?: WJSRelationship ;
49+ }
50+
51+ /** Relationship */
52+ export interface WJSRel {
53+ t : "rel" ;
54+ id : String ;
55+ type : String ;
56+ target : String ;
57+ targerMode ?: String ;
58+ }
59+
60+ /** WordJS Relationship */
61+ export interface WJSRelationship {
62+ rels : WJSRel [ ] ;
4063}
You can’t perform that action at this time.
0 commit comments