MammothJs
UI Extension
mammoth.js converts .docx documents to clean, semantic HTML/Markdown with customizable style mapping.
Status
Planned
Supported Version
TBD
Licensing
Open Source
Priority
Rank #157
KEY FEATURES
DOCX to HTML
DOCX to Markdown
Style mapping
Custom styles
Image handling
Semantic output
Browser and Node.js
Usage Example
Here's how you'll use MammothJs with Oorian once the extension is available:
Java
// Create and configure MammothJs component
MammothJs component = new MammothJs();
component.setWidth("100%");
component.setHeight("400px");
// Configure component options
component.setEnabled(true);
// Register for events using Oorian's event model
component.registerForEvent(this, MammothJsEvent.class);
// Add to your page
container.addElement(component);Note: This is a preview of the expected API. The actual implementation may vary slightly when released.