Move schemas to better location

This commit is contained in:
Dolan Miu
2021-09-30 00:36:28 +01:00
parent 9ba1c233dc
commit d1837651f8
39 changed files with 79 additions and 79 deletions

View File

@ -45,7 +45,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/2-declaritive-styles.ts
- name: Extract Word Document
@ -54,7 +54,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/3-numbering-and-bullet-points.ts
- name: Extract Word Document
@ -63,7 +63,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/4-basic-table.ts
- name: Extract Word Document
@ -72,7 +72,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/5-images.ts
- name: Extract Word Document
@ -81,7 +81,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/6-page-borders.ts
- name: Extract Word Document
@ -90,7 +90,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/7-landscape.ts
- name: Extract Word Document
@ -99,7 +99,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/8-header-footer.ts
- name: Extract Word Document
@ -108,7 +108,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/9-images-in-header-and-footer.ts
- name: Extract Word Document
@ -117,7 +117,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/10-my-cv.ts
- name: Extract Word Document
@ -126,7 +126,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/11-declaritive-styles-2.ts
- name: Extract Word Document
@ -135,7 +135,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/12-scaling-images.ts
- name: Extract Word Document
@ -144,7 +144,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/13-xml-styles.ts
- name: Extract Word Document
@ -153,7 +153,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/14-page-numbers.ts
- name: Extract Word Document
@ -162,7 +162,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/15-page-break-before.ts
- name: Extract Word Document
@ -171,7 +171,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/16-multiple-sections.ts
- name: Extract Word Document
@ -180,16 +180,16 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/17-footnotes.ts
- name: Extract Word Document
run: npm run extract
- name: Validate XML
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
# - name: Run Demo
# run: npm run ts-node -- ./demo/17-footnotes.ts
# - name: Extract Word Document
# run: npm run extract
# - name: Validate XML
# uses: ChristophWurst/xmllint-action@v1
# with:
# xml-file: build/extracted-doc/word/document.xml
# xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/18-image-from-buffer.ts
- name: Extract Word Document
@ -198,7 +198,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/19-export-to-base64.ts
- name: Extract Word Document
@ -207,7 +207,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/20-table-cell-borders.ts
- name: Extract Word Document
@ -216,7 +216,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/21-bookmarks.ts
- name: Extract Word Document
@ -225,7 +225,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/22-right-to-left-text.ts
- name: Extract Word Document
@ -234,7 +234,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/23-base64-images.ts
- name: Extract Word Document
@ -243,7 +243,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/24-images-to-table-cell.ts
- name: Extract Word Document
@ -252,7 +252,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/25-table-xml-styles.ts
- name: Extract Word Document
@ -261,7 +261,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/26-paragraph-borders.ts
- name: Extract Word Document
@ -270,7 +270,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/27-declaritive-styles-3.ts
- name: Extract Word Document
@ -279,7 +279,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/28-table-of-contents.ts
- name: Extract Word Document
@ -288,7 +288,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/29-numbered-lists.ts
- name: Extract Word Document
@ -297,7 +297,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/30-template-document.ts
- name: Extract Word Document
@ -306,7 +306,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/31-tables.ts
- name: Extract Word Document
@ -315,7 +315,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/32-merge-and-shade-table-cells.ts
- name: Extract Word Document
@ -324,7 +324,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/33-sequential-captions.ts
- name: Extract Word Document
@ -333,7 +333,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/34-floating-tables.ts
- name: Extract Word Document
@ -342,7 +342,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/35-hyperlinks.ts
- name: Extract Word Document
@ -351,7 +351,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/36-image-to-table-cell.ts
- name: Extract Word Document
@ -360,7 +360,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/37-images-to-header-and-footer.ts
- name: Extract Word Document
@ -369,7 +369,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/38-text-wrapping.ts
- name: Extract Word Document
@ -378,7 +378,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/39-page-numbers.ts
- name: Extract Word Document
@ -387,7 +387,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/40-line-numbers.ts
- name: Extract Word Document
@ -396,7 +396,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/41-merge-table-cells-2.ts
- name: Extract Word Document
@ -405,7 +405,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/42-restart-page-numbers.ts
- name: Extract Word Document
@ -414,7 +414,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/43-images-to-table-cell-2.ts
- name: Extract Word Document
@ -423,7 +423,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/44-multiple-columns.ts
- name: Extract Word Document
@ -432,7 +432,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/45-highlighting-text.ts
- name: Extract Word Document
@ -441,7 +441,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/46-shading-text.ts
- name: Extract Word Document
@ -450,7 +450,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/47-number-of-total-pages-section.ts
- name: Extract Word Document
@ -459,7 +459,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/48-vertical-align.ts
- name: Extract Word Document
@ -468,7 +468,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/49-table-borders.ts
- name: Extract Word Document
@ -477,7 +477,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/50-readme-demo.ts
- name: Extract Word Document
@ -486,7 +486,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/51-character-styles.ts
- name: Extract Word Document
@ -495,7 +495,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/52-japanese.ts
- name: Extract Word Document
@ -504,7 +504,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/53-chinese.ts
- name: Extract Word Document
@ -513,7 +513,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/54-custom-properties.ts
- name: Extract Word Document
@ -522,7 +522,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/55-math.ts
- name: Extract Word Document
@ -531,7 +531,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/56-background-color.ts
- name: Extract Word Document
@ -540,7 +540,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/57-add-parent-numbered-lists.ts
- name: Extract Word Document
@ -549,7 +549,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/58-section-types.ts
- name: Extract Word Document
@ -558,7 +558,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/59-header-footer-margins.ts
- name: Extract Word Document
@ -567,7 +567,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/60-track-revisions.ts
- name: Extract Word Document
@ -576,7 +576,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/61-text-frame.ts
- name: Extract Word Document
@ -585,7 +585,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/62-paragraph-spacing.ts
- name: Extract Word Document
@ -594,7 +594,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/63-odd-even-header-footer.ts
- name: Extract Word Document
@ -603,7 +603,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/64-complex-numbering-text.ts
- name: Extract Word Document
@ -612,7 +612,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/65-page-sizes.ts
- name: Extract Word Document
@ -621,7 +621,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/66-fields.ts
- name: Extract Word Document
@ -630,7 +630,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/67-column-break.ts
- name: Extract Word Document
@ -639,7 +639,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/68-numbering-instances-and-starting-number.ts
- name: Extract Word Document
@ -648,7 +648,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/69-different-width-columns.ts
- name: Extract Word Document
@ -657,7 +657,7 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/70-line-numbers-suppression.ts
- name: Extract Word Document
@ -666,4 +666,4 @@ jobs:
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: scripts/schema-validator/schemas/microsoft/wml-2010.xsd
xml-schema-file: /ooxml-schemas/microsoft/wml-2010.xsd

View File

@ -19,7 +19,7 @@
"fix-types": "ts-node scripts/types-absolute-fixer.ts",
"e2e": "ts-node scripts/e2e.ts",
"serve.docs": "cd docs && docsify serve",
"extract": "ts-node scripts/schema-validator",
"extract": "ts-node scripts/extract-document.ts",
"ts-node": "ts-node --skip-project"
},
"pre-commit": [