Reads a .docx (WordprocessingML, ECMA-376 Part 1 §17) into a
WordDocument for display.
Covers the main text, tables (spans, vertical merges, borders, shading,
table styles with their conditional formats), lists (numbered by the
document's own definitions), images (inline, anchored, VML), links (web
and in-document), fields (results shown, instructions hidden), headers,
footers, footnotes and endnotes, sections, text boxes and equations
(as text). Tracked changes show as accepted. Callers should check the
bytes with ZipSafetyGuard first, and can run this in a background
isolate: the result is plain data.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
read(
Uint8List bytes) → WordDocument -
Parses the
.docxfile inbytes.