public interface Workbook extends MDWEObject, EModelElement
The following features are supported:
ExcelPackage.getWorkbook()
Modifier and Type | Method and Description |
---|---|
Sheet |
addSheet(String name)
Creates a new sheet at the right of known sheets of this workbook.
|
MDWEList<CellStyle> |
getCellStyles()
Returns the value of the 'Cell Styles' containment reference list.
|
Color |
getColor(ColorDescriptor colorDescriptor)
Returns the color associated to the specified descriptor.
|
MDWEList<Color> |
getColors()
Returns the value of the 'Colors' containment reference list.
|
MDWEList<Font> |
getFonts()
Returns the value of the 'Fonts' containment reference list.
|
MDWEList<Sheet> |
getSheets()
Returns the value of the 'Sheets' containment reference list.
|
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
MDWEList<Sheet> getSheets()
Sheet
.
It is bidirectional and its opposite is 'Workbook
'.
ExcelPackage.getWorkbook_Sheets()
,
Sheet.getWorkbook()
Sheet addSheet(String name)
name
- the new sheet name.MDWEList<Font> getFonts()
Font
.
ExcelPackage.getWorkbook_Fonts()
MDWEList<CellStyle> getCellStyles()
CellStyle
.
ExcelPackage.getWorkbook_CellStyles()
MDWEList<Color> getColors()
Color
.
ExcelPackage.getWorkbook_Colors()
Color getColor(ColorDescriptor colorDescriptor)
colorDescriptor
- the descriptor of the color to create.