WordProcessor class

Class for processing .docx files

Constructors

WordProcessor()

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

displayWordFile(String fileType, Document wordDocument, List<Styles> stylesList, List<FootEndNote> footNotes, List<FootEndNote> endNotes) Future<List<Widget>>
Function for displaying .docx file
getFootEndNote(FootEndNote footEndNote, List<Styles> stylesList, String refNo) RichText
Function for getting Foot and End notes
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processFootEndNotes(ArchiveFile? footNoteFile, ArchiveFile? endNoteFile, List<FootEndNote> footNotes, List<FootEndNote> endNotes) → void
Function for processing footnotes and endnotes
processSectionDetails(XmlElement sectionElement, Document wordDocument) → void
Function for processing section details
processWordElements(XmlElement wordElements, int elementDepth, List<Relationship> relationShips, String wordOutputDirectory, List<Styles> stylesList, Document wordDocument, String fileType) Future<void>
Function for processing word elements
processWordFile(ArchiveFile wordFile, int elementDepth, List<Relationship> relationShips, String wordOutputDirectory, List<Styles> stylesList, Document wordDocument, String fileType) Future<void>
Function for processing .docx file
processWordTable(ProcessWordTableParams params) MsTable
Function for processing table in word
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

borderContainer(Map<String, String> borderDetails, Widget child) Container
Function for adding borders in containers
getCellStyle(MsTable msTable, List<Styles> stylesList, bool isFirstRow, bool isLastRow, bool isFirstCol, bool isLastCol) String
getColorFromName(String name) Color
Function for getting color from name
getComponents(GetComponentsParams params) List<Widget>
getRichText(Paragraph paragraph, List<InlineSpan> paragraphWidget, List<Styles> stylesList, Document wordDocument) List<Widget>
Function for processing rich text
getRowStyle(MsTable table, List<Styles> stylesList, bool isFirstRow, bool isLastRow) String
Function for getting row styles
getTableStyle(MsTable msTable, List<Styles> stylesList) String
Function for getting table styles
getTextSpan(MsTextSpan textSpan, List<Styles> stylesList) InlineSpan
Function for processing text spans
processParagraph(ProcessParagraphParams params) List<WordPage>
Function for processing paragraph