DocxMailMerge class

Constructors

DocxMailMerge(List<int> docx)
Create a DocxMailMerge with the raw file given
DocxMailMerge.preprocess(List<int> docx)
Create a DocxMailMerge and decode the raw file given

Properties

docx List<int>
Stores the original document file
final
hashCode int
The hash code for this object.
no setterinherited
mergeFieldNames Set<String>
Returns the merge field names for a docx file
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

merge(Map<String, String> merge, {bool noProof = true, bool removeEmpty = true}) List<int>
Does a merge on the fields defined in the merge keys with merge's values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preprocess({bool force = false}) → void
Preprocess the docx file given and identifies all the merge fields
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

verbose bool
Whether messages will be printed
getter/setter pair