Workbook class

Represents an Excel Workbook.

Constructors

Workbook([int? count])
Creates an new instances of the Workbook.
Workbook.withCulture(String culture, [String? currency, int? count])
Creates an new instances of the Workbook with currency.

Properties

archive ↔ Archive
Represents zip archive to save the workbook.
getter/setter pair
borders List<Borders>
Represents the border collection in the workbook.
getter/setter pair
builtInProperties ↔ BuiltInProperties
Represents the build in properties.
getter/setter pair
chartCount int
Represents the chart count in the workbook.
getter/setter pair
cultureInfo CultureInfo
Represents the current culture info.
no setter
fills Map<String, int>
Represents the Fill collection in the workbook.
getter/setter pair
fonts List<Font>
Represents the font collection in the workbook.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
innerFormats FormatsCollection
Represents the formats collection.
no setter
innerNamesCollection List<Name>
Represents the name collection in the workbook.
getter/setter pair
isRightToLeft bool
Indicates whether the worksheet is displayed from right to left.FALSE by default
getter/setter pair
names Names
Represents workbook named range collection.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styles StylesCollection
Represents the cell style collection in the workbook.
no setter
worksheets WorksheetCollection
Represents the worksheet collection.
no setter

Methods

dispose() → void
Dispose objects.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
protect(bool isProtectWindow, bool isProtectContent, [String? password]) → void
Protect workbook using the password from moving, hiding, adding and renaming the worksheet.
save() Future<List<int>>
Saves workbook as Future.
saveAsCSV(String separator) List<int>
Saves workbook as CSV format.
saveAsStream() List<int>
Saves workbook as stream.
saveSync() List<int>
Saves workbook.
toString() String
A string representation of this object.
inherited

Operators

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