feature: ooxml-inspector dev tool CLI and lib#815
Merged
harbournick merged 6 commits intodevelopfrom Aug 27, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new ooxml-spec-tool package that loads OOXML .xsd file definitions into JSON schema format and provides a CLI tool for tag inspection. The package can be integrated with SuperConverter for tag pre-processing or SuperValidator for validation.
- New package structure with OOXML schema definitions in XSD format
- CLI tool implementation for tag inspection capabilities
- JSON schema conversion functionality for OOXML specifications
Reviewed Changes
Copilot reviewed 23 out of 88 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| vml-wordprocessingDrawing.xsd | VML schema definitions for Word processing drawing elements including borders, wrapping, and anchoring |
| vml-spreadsheetDrawing.xsd | VML schema for Excel spreadsheet drawing with client data and object types |
| vml-presentationDrawing.xsd | Minimal VML schema for PowerPoint presentation drawing elements |
| vml-officeDrawing.xsd | Comprehensive VML office drawing schema with shapes, fills, strokes, and visual effects |
| vml-main.xsd | Core VML schema defining main shape elements, attributes, and type definitions |
| shared-relationshipReference.xsd | Schema for relationship references between OOXML document parts |
| shared-math.xsd | Mathematical expressions schema for OOXML documents |
| shared-documentPropertiesVariantTypes.xsd | Variant data types for document properties |
| shared-documentPropertiesExtended.xsd | Extended document properties schema |
| shared-documentPropertiesCustom.xsd | Custom document properties schema |
| shared-customXmlSchemaProperties.xsd | Schema for custom XML schema library properties |
| shared-customXmlDataProperties.xsd | Schema for custom XML data properties |
| shared-commonSimpleTypes.xsd | Common simple type definitions used across OOXML schemas |
| shared-bibliography.xsd | Bibliography and citation schema definitions |
| shared-additionalCharacteristics.xsd | Schema for additional document characteristics |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
b44e502 to
7d50751
Compare
palmer-cl
reviewed
Aug 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OOXML Inspector
OOXML Inspector is a developer tool + library for working with Office Open XML (OOXML) schemas.
It bundles the transitional WordprocessingML schema into JSON and provides both:
ooxml) for inspecting schema relationships, andFeatures
Installation
CLI Usage
children <prefix:local>: List allowed children for an elementtags [prefix] [--parents] [--plain]: List tags, optionally filtering by namespace or parent statusnamespaces: List all namespaces in the schemaattrs <prefix:local>: List attributes for an elementLibrary Usage
Development
npm run buildnpm run testnpm run test:covLicense
AGPLv3