DOCX Editor
docx_editor is the Flutter editor package for regulated DOCX workflows. It hosts Syncfusion DocumentEditor and adds the package APIs for capabilities, lifecycle guards, edit locks, audit events, storage contracts, comments, tracked-change review, electronic signatures, conversion, and controlled print.
This documentation is intentionally scoped for code review. It does not include installation guides, host schema suggestions, or application-level operating procedures.
Review Pages
| Page | What to review |
|---|---|
| Architecture Map | Package boundary, runtime flow, host-owned authority, and web bridge security boundary. |
| Configuration | DocxSyncfusionConfig, SyncfusionDocxEditor, DocxController, source/picked-document setup, capabilities, lifecycle, locks, signing, review widgets, conversion, and controlled print configuration. |
| Rendering and Conversion | How DOCX, SFDT, and PDF conversion routes through VyuhDocxConversionService and vyuh_docx. |
| API Reference | Public exports and API families exposed by package:docx_editor/docx_editor.dart. |
Package Boundary
| Package | Responsibility |
|---|---|
docx_editor | Flutter editor shell, Syncfusion bridge, controller policy gates, actor attribution, lifecycle/lock enforcement, review/sign flows, storage contracts, conversion bridge, and controlled print issuance. |
vyuh_docx | Pure-Dart DOCX/SFDT parsing, model, layout, pagination, and PDF export. |
Controlled print stays in docx_editor because issuing a controlled copy is a workflow operation: it needs policy, copy allocation, trusted time, register writes, audit events, and content hash checks. The rendering engine underneath is vyuh_docx.
Main Import
import 'package:docx_editor/docx_editor.dart';That import exposes the editor widget, controller/session APIs, review widgets, conversion bridge, and controlled-print APIs documented in the API reference.