public class Workbook extends Object implements Child
Java class for CT_Workbook complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Workbook">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="fileVersion" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FileVersion" minOccurs="0"/>
<element name="fileSharing" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FileSharing" minOccurs="0"/>
<element name="workbookPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WorkbookPr" minOccurs="0"/>
<element name="workbookProtection" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WorkbookProtection" minOccurs="0"/>
<element name="bookViews" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BookViews" minOccurs="0"/>
<element name="sheets" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Sheets"/>
<element name="functionGroups" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FunctionGroups" minOccurs="0"/>
<element name="externalReferences" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExternalReferences" minOccurs="0"/>
<element name="definedNames" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DefinedNames" minOccurs="0"/>
<element name="calcPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CalcPr" minOccurs="0"/>
<element name="oleSize" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_OleSize" minOccurs="0"/>
<element name="customWorkbookViews" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CustomWorkbookViews" minOccurs="0"/>
<element name="pivotCaches" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PivotCaches" minOccurs="0"/>
<element name="smartTagPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SmartTagPr" minOccurs="0"/>
<element name="smartTagTypes" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SmartTagTypes" minOccurs="0"/>
<element name="webPublishing" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WebPublishing" minOccurs="0"/>
<element name="fileRecoveryPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FileRecoveryPr" maxOccurs="unbounded" minOccurs="0"/>
<element name="webPublishObjects" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WebPublishObjects" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="conformance" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_ConformanceClass" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BookViews |
bookViews |
protected CTCalcPr |
calcPr |
protected STConformanceClass |
conformance |
protected CTCustomWorkbookViews |
customWorkbookViews |
protected DefinedNames |
definedNames |
protected CTExternalReferences |
externalReferences |
protected CTExtensionList |
extLst |
protected List<CTFileRecoveryPr> |
fileRecoveryPr |
protected CTFileSharing |
fileSharing |
protected FileVersion |
fileVersion |
protected CTFunctionGroups |
functionGroups |
protected CTOleSize |
oleSize |
protected CTPivotCaches |
pivotCaches |
protected Sheets |
sheets |
protected CTSmartTagPr |
smartTagPr |
protected CTSmartTagTypes |
smartTagTypes |
protected CTWebPublishing |
webPublishing |
protected CTWebPublishObjects |
webPublishObjects |
protected WorkbookPr |
workbookPr |
protected CTWorkbookProtection |
workbookProtection |
| Constructor and Description |
|---|
Workbook() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
BookViews |
getBookViews()
Gets the value of the bookViews property.
|
CTCalcPr |
getCalcPr()
Gets the value of the calcPr property.
|
STConformanceClass |
getConformance()
Gets the value of the conformance property.
|
CTCustomWorkbookViews |
getCustomWorkbookViews()
Gets the value of the customWorkbookViews property.
|
DefinedNames |
getDefinedNames()
Gets the value of the definedNames property.
|
CTExternalReferences |
getExternalReferences()
Gets the value of the externalReferences property.
|
CTExtensionList |
getExtLst()
Gets the value of the extLst property.
|
List<CTFileRecoveryPr> |
getFileRecoveryPr()
Gets the value of the fileRecoveryPr property.
|
CTFileSharing |
getFileSharing()
Gets the value of the fileSharing property.
|
FileVersion |
getFileVersion()
Gets the value of the fileVersion property.
|
CTFunctionGroups |
getFunctionGroups()
Gets the value of the functionGroups property.
|
CTOleSize |
getOleSize()
Gets the value of the oleSize property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
CTPivotCaches |
getPivotCaches()
Gets the value of the pivotCaches property.
|
Sheets |
getSheets()
Gets the value of the sheets property.
|
CTSmartTagPr |
getSmartTagPr()
Gets the value of the smartTagPr property.
|
CTSmartTagTypes |
getSmartTagTypes()
Gets the value of the smartTagTypes property.
|
CTWebPublishing |
getWebPublishing()
Gets the value of the webPublishing property.
|
CTWebPublishObjects |
getWebPublishObjects()
Gets the value of the webPublishObjects property.
|
WorkbookPr |
getWorkbookPr()
Gets the value of the workbookPr property.
|
CTWorkbookProtection |
getWorkbookProtection()
Gets the value of the workbookProtection property.
|
void |
setBookViews(BookViews value)
Sets the value of the bookViews property.
|
void |
setCalcPr(CTCalcPr value)
Sets the value of the calcPr property.
|
void |
setConformance(STConformanceClass value)
Sets the value of the conformance property.
|
void |
setCustomWorkbookViews(CTCustomWorkbookViews value)
Sets the value of the customWorkbookViews property.
|
void |
setDefinedNames(DefinedNames value)
Sets the value of the definedNames property.
|
void |
setExternalReferences(CTExternalReferences value)
Sets the value of the externalReferences property.
|
void |
setExtLst(CTExtensionList value)
Sets the value of the extLst property.
|
void |
setFileSharing(CTFileSharing value)
Sets the value of the fileSharing property.
|
void |
setFileVersion(FileVersion value)
Sets the value of the fileVersion property.
|
void |
setFunctionGroups(CTFunctionGroups value)
Sets the value of the functionGroups property.
|
void |
setOleSize(CTOleSize value)
Sets the value of the oleSize property.
|
void |
setParent(Object parent) |
void |
setPivotCaches(CTPivotCaches value)
Sets the value of the pivotCaches property.
|
void |
setSheets(Sheets value)
Sets the value of the sheets property.
|
void |
setSmartTagPr(CTSmartTagPr value)
Sets the value of the smartTagPr property.
|
void |
setSmartTagTypes(CTSmartTagTypes value)
Sets the value of the smartTagTypes property.
|
void |
setWebPublishing(CTWebPublishing value)
Sets the value of the webPublishing property.
|
void |
setWebPublishObjects(CTWebPublishObjects value)
Sets the value of the webPublishObjects property.
|
void |
setWorkbookPr(WorkbookPr value)
Sets the value of the workbookPr property.
|
void |
setWorkbookProtection(CTWorkbookProtection value)
Sets the value of the workbookProtection property.
|
protected FileVersion fileVersion
protected CTFileSharing fileSharing
protected WorkbookPr workbookPr
protected CTWorkbookProtection workbookProtection
protected BookViews bookViews
protected Sheets sheets
protected CTFunctionGroups functionGroups
protected CTExternalReferences externalReferences
protected DefinedNames definedNames
protected CTCalcPr calcPr
protected CTOleSize oleSize
protected CTCustomWorkbookViews customWorkbookViews
protected CTPivotCaches pivotCaches
protected CTSmartTagPr smartTagPr
protected CTSmartTagTypes smartTagTypes
protected CTWebPublishing webPublishing
protected List<CTFileRecoveryPr> fileRecoveryPr
protected CTWebPublishObjects webPublishObjects
protected CTExtensionList extLst
protected STConformanceClass conformance
public FileVersion getFileVersion()
FileVersionpublic void setFileVersion(FileVersion value)
value - allowed object is
FileVersionpublic CTFileSharing getFileSharing()
CTFileSharingpublic void setFileSharing(CTFileSharing value)
value - allowed object is
CTFileSharingpublic WorkbookPr getWorkbookPr()
WorkbookPrpublic void setWorkbookPr(WorkbookPr value)
value - allowed object is
WorkbookPrpublic CTWorkbookProtection getWorkbookProtection()
CTWorkbookProtectionpublic void setWorkbookProtection(CTWorkbookProtection value)
value - allowed object is
CTWorkbookProtectionpublic BookViews getBookViews()
BookViewspublic void setBookViews(BookViews value)
value - allowed object is
BookViewspublic Sheets getSheets()
Sheetspublic void setSheets(Sheets value)
value - allowed object is
Sheetspublic CTFunctionGroups getFunctionGroups()
CTFunctionGroupspublic void setFunctionGroups(CTFunctionGroups value)
value - allowed object is
CTFunctionGroupspublic CTExternalReferences getExternalReferences()
CTExternalReferencespublic void setExternalReferences(CTExternalReferences value)
value - allowed object is
CTExternalReferencespublic DefinedNames getDefinedNames()
DefinedNamespublic void setDefinedNames(DefinedNames value)
value - allowed object is
DefinedNamespublic CTCalcPr getCalcPr()
CTCalcPrpublic void setCalcPr(CTCalcPr value)
value - allowed object is
CTCalcPrpublic CTOleSize getOleSize()
CTOleSizepublic void setOleSize(CTOleSize value)
value - allowed object is
CTOleSizepublic CTCustomWorkbookViews getCustomWorkbookViews()
CTCustomWorkbookViewspublic void setCustomWorkbookViews(CTCustomWorkbookViews value)
value - allowed object is
CTCustomWorkbookViewspublic CTPivotCaches getPivotCaches()
CTPivotCachespublic void setPivotCaches(CTPivotCaches value)
value - allowed object is
CTPivotCachespublic CTSmartTagPr getSmartTagPr()
CTSmartTagPrpublic void setSmartTagPr(CTSmartTagPr value)
value - allowed object is
CTSmartTagPrpublic CTSmartTagTypes getSmartTagTypes()
CTSmartTagTypespublic void setSmartTagTypes(CTSmartTagTypes value)
value - allowed object is
CTSmartTagTypespublic CTWebPublishing getWebPublishing()
CTWebPublishingpublic void setWebPublishing(CTWebPublishing value)
value - allowed object is
CTWebPublishingpublic List<CTFileRecoveryPr> getFileRecoveryPr()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the fileRecoveryPr property.
For example, to add a new item, do as follows:
getFileRecoveryPr().add(newItem);
Objects of the following type(s) are allowed in the list
CTFileRecoveryPr
public CTWebPublishObjects getWebPublishObjects()
CTWebPublishObjectspublic void setWebPublishObjects(CTWebPublishObjects value)
value - allowed object is
CTWebPublishObjectspublic CTExtensionList getExtLst()
CTExtensionListpublic void setExtLst(CTExtensionList value)
value - allowed object is
CTExtensionListpublic STConformanceClass getConformance()
STConformanceClasspublic void setConformance(STConformanceClass value)
value - allowed object is
STConformanceClasspublic Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007-2019. All Rights Reserved.