DocxPreview
UI Extension
Docx-preview renders .docx documents in the browser as HTML with support for styles, images, and tables.
Status
Planned
Supported Version
TBD
Licensing
Open Source
Priority
Rank #159
KEY FEATURES
DOCX rendering
In-browser preview
Styles support
Images
Tables
Headers/footers
Themes
Usage Example
Here's how you'll use DocxPreview with Oorian once the extension is available:
Java
// Create and configure DocxPreview component
DocxPreview component = new DocxPreview();
component.setWidth("100%");
component.setHeight("400px");
// Configure component options
component.setEnabled(true);
// Register for events using Oorian's event model
component.registerForEvent(this, DocxPreviewEvent.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.