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()
FileVersion
public void setFileVersion(FileVersion value)
value
- allowed object is
FileVersion
public CTFileSharing getFileSharing()
CTFileSharing
public void setFileSharing(CTFileSharing value)
value
- allowed object is
CTFileSharing
public WorkbookPr getWorkbookPr()
WorkbookPr
public void setWorkbookPr(WorkbookPr value)
value
- allowed object is
WorkbookPr
public CTWorkbookProtection getWorkbookProtection()
CTWorkbookProtection
public void setWorkbookProtection(CTWorkbookProtection value)
value
- allowed object is
CTWorkbookProtection
public BookViews getBookViews()
BookViews
public void setBookViews(BookViews value)
value
- allowed object is
BookViews
public Sheets getSheets()
Sheets
public void setSheets(Sheets value)
value
- allowed object is
Sheets
public CTFunctionGroups getFunctionGroups()
CTFunctionGroups
public void setFunctionGroups(CTFunctionGroups value)
value
- allowed object is
CTFunctionGroups
public CTExternalReferences getExternalReferences()
CTExternalReferences
public void setExternalReferences(CTExternalReferences value)
value
- allowed object is
CTExternalReferences
public DefinedNames getDefinedNames()
DefinedNames
public void setDefinedNames(DefinedNames value)
value
- allowed object is
DefinedNames
public CTCalcPr getCalcPr()
CTCalcPr
public void setCalcPr(CTCalcPr value)
value
- allowed object is
CTCalcPr
public CTOleSize getOleSize()
CTOleSize
public void setOleSize(CTOleSize value)
value
- allowed object is
CTOleSize
public CTCustomWorkbookViews getCustomWorkbookViews()
CTCustomWorkbookViews
public void setCustomWorkbookViews(CTCustomWorkbookViews value)
value
- allowed object is
CTCustomWorkbookViews
public CTPivotCaches getPivotCaches()
CTPivotCaches
public void setPivotCaches(CTPivotCaches value)
value
- allowed object is
CTPivotCaches
public CTSmartTagPr getSmartTagPr()
CTSmartTagPr
public void setSmartTagPr(CTSmartTagPr value)
value
- allowed object is
CTSmartTagPr
public CTSmartTagTypes getSmartTagTypes()
CTSmartTagTypes
public void setSmartTagTypes(CTSmartTagTypes value)
value
- allowed object is
CTSmartTagTypes
public CTWebPublishing getWebPublishing()
CTWebPublishing
public void setWebPublishing(CTWebPublishing value)
value
- allowed object is
CTWebPublishing
public 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()
CTWebPublishObjects
public void setWebPublishObjects(CTWebPublishObjects value)
value
- allowed object is
CTWebPublishObjects
public CTExtensionList getExtLst()
CTExtensionList
public void setExtLst(CTExtensionList value)
value
- allowed object is
CTExtensionList
public STConformanceClass getConformance()
STConformanceClass
public void setConformance(STConformanceClass value)
value
- allowed object is
STConformanceClass
public 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.