public class Worksheet extends java.lang.Object implements Child
Java class for CT_Worksheet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Worksheet">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="sheetPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetPr" minOccurs="0"/>
<element name="dimension" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetDimension" minOccurs="0"/>
<element name="sheetViews" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetViews" minOccurs="0"/>
<element name="sheetFormatPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetFormatPr" minOccurs="0"/>
<element name="cols" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Cols" maxOccurs="unbounded" minOccurs="0"/>
<element name="sheetData" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetData"/>
<element name="sheetCalcPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetCalcPr" minOccurs="0"/>
<element name="sheetProtection" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetProtection" minOccurs="0"/>
<element name="protectedRanges" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ProtectedRanges" minOccurs="0"/>
<element name="scenarios" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Scenarios" minOccurs="0"/>
<element name="autoFilter" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_AutoFilter" minOccurs="0"/>
<element name="sortState" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SortState" minOccurs="0"/>
<element name="dataConsolidate" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DataConsolidate" minOccurs="0"/>
<element name="customSheetViews" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CustomSheetViews" minOccurs="0"/>
<element name="mergeCells" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_MergeCells" minOccurs="0"/>
<element name="phoneticPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PhoneticPr" minOccurs="0"/>
<element name="conditionalFormatting" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ConditionalFormatting" maxOccurs="unbounded" minOccurs="0"/>
<element name="dataValidations" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DataValidations" minOccurs="0"/>
<element name="hyperlinks" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Hyperlinks" minOccurs="0"/>
<element name="printOptions" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PrintOptions" minOccurs="0"/>
<element name="pageMargins" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PageMargins" minOccurs="0"/>
<element name="pageSetup" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PageSetup" minOccurs="0"/>
<element name="headerFooter" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_HeaderFooter" minOccurs="0"/>
<element name="rowBreaks" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PageBreak" minOccurs="0"/>
<element name="colBreaks" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PageBreak" minOccurs="0"/>
<element name="customProperties" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CustomProperties" minOccurs="0"/>
<element name="cellWatches" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellWatches" minOccurs="0"/>
<element name="ignoredErrors" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_IgnoredErrors" minOccurs="0"/>
<element name="smartTags" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SmartTags" minOccurs="0"/>
<element name="drawing" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Drawing" minOccurs="0"/>
<element name="legacyDrawing" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_LegacyDrawing" minOccurs="0"/>
<element name="legacyDrawingHF" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_LegacyDrawing" minOccurs="0"/>
<element name="drawingHF" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DrawingHF" minOccurs="0"/>
<element name="picture" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SheetBackgroundPicture" minOccurs="0"/>
<element name="oleObjects" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_OleObjects" minOccurs="0"/>
<element name="controls" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Controls" minOccurs="0"/>
<element name="webPublishItems" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WebPublishItems" minOccurs="0"/>
<element name="tableParts" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_TableParts" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute ref="{http://schemas.microsoft.com/office/spreadsheetml/2014/revision}uid"/> *
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Worksheet() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
CTAutoFilter |
getAutoFilter()
Gets the value of the autoFilter property.
|
CTCellWatches |
getCellWatches()
Gets the value of the cellWatches property.
|
CTPageBreak |
getColBreaks()
Gets the value of the colBreaks property.
|
java.util.List<Cols> |
getCols()
Gets the value of the cols property.
|
java.util.List<CTConditionalFormatting> |
getConditionalFormatting()
Gets the value of the conditionalFormatting property.
|
CTControls |
getControls()
Gets the value of the controls property.
|
CTCustomProperties |
getCustomProperties()
Gets the value of the customProperties property.
|
CTCustomSheetViews |
getCustomSheetViews()
Gets the value of the customSheetViews property.
|
CTDataConsolidate |
getDataConsolidate()
Gets the value of the dataConsolidate property.
|
CTDataValidations |
getDataValidations()
Gets the value of the dataValidations property.
|
CTSheetDimension |
getDimension()
Gets the value of the dimension property.
|
CTDrawing |
getDrawing()
Gets the value of the drawing property.
|
CTDrawingHF |
getDrawingHF()
Gets the value of the drawingHF property.
|
CTExtensionList |
getExtLst()
Gets the value of the extLst property.
|
CTHeaderFooter |
getHeaderFooter()
Gets the value of the headerFooter property.
|
CTHyperlinks |
getHyperlinks()
Gets the value of the hyperlinks property.
|
CTIgnoredErrors |
getIgnoredErrors()
Gets the value of the ignoredErrors property.
|
CTLegacyDrawing |
getLegacyDrawing()
Gets the value of the legacyDrawing property.
|
CTLegacyDrawing |
getLegacyDrawingHF()
Gets the value of the legacyDrawingHF property.
|
CTMergeCells |
getMergeCells()
Gets the value of the mergeCells property.
|
CTOleObjects |
getOleObjects()
Gets the value of the oleObjects property.
|
CTPageMargins |
getPageMargins()
Gets the value of the pageMargins property.
|
CTPageSetup |
getPageSetup()
Gets the value of the pageSetup property.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
CTPhoneticPr |
getPhoneticPr()
Gets the value of the phoneticPr property.
|
CTSheetBackgroundPicture |
getPicture()
Gets the value of the picture property.
|
CTPrintOptions |
getPrintOptions()
Gets the value of the printOptions property.
|
CTProtectedRanges |
getProtectedRanges()
Gets the value of the protectedRanges property.
|
CTPageBreak |
getRowBreaks()
Gets the value of the rowBreaks property.
|
CTScenarios |
getScenarios()
Gets the value of the scenarios property.
|
CTSheetCalcPr |
getSheetCalcPr()
Gets the value of the sheetCalcPr property.
|
SheetData |
getSheetData()
Gets the value of the sheetData property.
|
CTSheetFormatPr |
getSheetFormatPr()
Gets the value of the sheetFormatPr property.
|
CTSheetPr |
getSheetPr()
Gets the value of the sheetPr property.
|
CTSheetProtection |
getSheetProtection()
Gets the value of the sheetProtection property.
|
SheetViews |
getSheetViews()
Gets the value of the sheetViews property.
|
CTSmartTags |
getSmartTags()
Gets the value of the smartTags property.
|
CTSortState |
getSortState()
Gets the value of the sortState property.
|
CTTableParts |
getTableParts()
Gets the value of the tableParts property.
|
java.lang.String |
getUid()
Gets the value of the uid property.
|
CTWebPublishItems |
getWebPublishItems()
Gets the value of the webPublishItems property.
|
void |
setAutoFilter(CTAutoFilter value)
Sets the value of the autoFilter property.
|
void |
setCellWatches(CTCellWatches value)
Sets the value of the cellWatches property.
|
void |
setColBreaks(CTPageBreak value)
Sets the value of the colBreaks property.
|
void |
setControls(CTControls value)
Sets the value of the controls property.
|
void |
setCustomProperties(CTCustomProperties value)
Sets the value of the customProperties property.
|
void |
setCustomSheetViews(CTCustomSheetViews value)
Sets the value of the customSheetViews property.
|
void |
setDataConsolidate(CTDataConsolidate value)
Sets the value of the dataConsolidate property.
|
void |
setDataValidations(CTDataValidations value)
Sets the value of the dataValidations property.
|
void |
setDimension(CTSheetDimension value)
Sets the value of the dimension property.
|
void |
setDrawing(CTDrawing value)
Sets the value of the drawing property.
|
void |
setDrawingHF(CTDrawingHF value)
Sets the value of the drawingHF property.
|
void |
setExtLst(CTExtensionList value)
Sets the value of the extLst property.
|
void |
setHeaderFooter(CTHeaderFooter value)
Sets the value of the headerFooter property.
|
void |
setHyperlinks(CTHyperlinks value)
Sets the value of the hyperlinks property.
|
void |
setIgnoredErrors(CTIgnoredErrors value)
Sets the value of the ignoredErrors property.
|
void |
setLegacyDrawing(CTLegacyDrawing value)
Sets the value of the legacyDrawing property.
|
void |
setLegacyDrawingHF(CTLegacyDrawing value)
Sets the value of the legacyDrawingHF property.
|
void |
setMergeCells(CTMergeCells value)
Sets the value of the mergeCells property.
|
void |
setOleObjects(CTOleObjects value)
Sets the value of the oleObjects property.
|
void |
setPageMargins(CTPageMargins value)
Sets the value of the pageMargins property.
|
void |
setPageSetup(CTPageSetup value)
Sets the value of the pageSetup property.
|
void |
setParent(java.lang.Object parent) |
void |
setPhoneticPr(CTPhoneticPr value)
Sets the value of the phoneticPr property.
|
void |
setPicture(CTSheetBackgroundPicture value)
Sets the value of the picture property.
|
void |
setPrintOptions(CTPrintOptions value)
Sets the value of the printOptions property.
|
void |
setProtectedRanges(CTProtectedRanges value)
Sets the value of the protectedRanges property.
|
void |
setRowBreaks(CTPageBreak value)
Sets the value of the rowBreaks property.
|
void |
setScenarios(CTScenarios value)
Sets the value of the scenarios property.
|
void |
setSheetCalcPr(CTSheetCalcPr value)
Sets the value of the sheetCalcPr property.
|
void |
setSheetData(SheetData value)
Sets the value of the sheetData property.
|
void |
setSheetFormatPr(CTSheetFormatPr value)
Sets the value of the sheetFormatPr property.
|
void |
setSheetPr(CTSheetPr value)
Sets the value of the sheetPr property.
|
void |
setSheetProtection(CTSheetProtection value)
Sets the value of the sheetProtection property.
|
void |
setSheetViews(SheetViews value)
Sets the value of the sheetViews property.
|
void |
setSmartTags(CTSmartTags value)
Sets the value of the smartTags property.
|
void |
setSortState(CTSortState value)
Sets the value of the sortState property.
|
void |
setTableParts(CTTableParts value)
Sets the value of the tableParts property.
|
void |
setUid(java.lang.String value)
Sets the value of the uid property.
|
void |
setWebPublishItems(CTWebPublishItems value)
Sets the value of the webPublishItems property.
|
protected CTSheetPr sheetPr
protected CTSheetDimension dimension
protected SheetViews sheetViews
protected CTSheetFormatPr sheetFormatPr
protected java.util.List<Cols> cols
protected SheetData sheetData
protected CTSheetCalcPr sheetCalcPr
protected CTSheetProtection sheetProtection
protected CTProtectedRanges protectedRanges
protected CTScenarios scenarios
protected CTAutoFilter autoFilter
protected CTSortState sortState
protected CTDataConsolidate dataConsolidate
protected CTCustomSheetViews customSheetViews
protected CTMergeCells mergeCells
protected CTPhoneticPr phoneticPr
protected java.util.List<CTConditionalFormatting> conditionalFormatting
protected CTDataValidations dataValidations
protected CTHyperlinks hyperlinks
protected CTPrintOptions printOptions
protected CTPageMargins pageMargins
protected CTPageSetup pageSetup
protected CTHeaderFooter headerFooter
protected CTPageBreak rowBreaks
protected CTPageBreak colBreaks
protected CTCustomProperties customProperties
protected CTCellWatches cellWatches
protected CTIgnoredErrors ignoredErrors
protected CTSmartTags smartTags
protected CTDrawing drawing
protected CTLegacyDrawing legacyDrawing
protected CTLegacyDrawing legacyDrawingHF
protected CTDrawingHF drawingHF
protected CTSheetBackgroundPicture picture
protected CTOleObjects oleObjects
protected CTControls controls
protected CTWebPublishItems webPublishItems
protected CTTableParts tableParts
protected CTExtensionList extLst
protected java.lang.String uid
public CTSheetPr getSheetPr()
CTSheetPrpublic void setSheetPr(CTSheetPr value)
value - allowed object is
CTSheetPrpublic CTSheetDimension getDimension()
CTSheetDimensionpublic void setDimension(CTSheetDimension value)
value - allowed object is
CTSheetDimensionpublic SheetViews getSheetViews()
SheetViewspublic void setSheetViews(SheetViews value)
value - allowed object is
SheetViewspublic CTSheetFormatPr getSheetFormatPr()
CTSheetFormatPrpublic void setSheetFormatPr(CTSheetFormatPr value)
value - allowed object is
CTSheetFormatPrpublic java.util.List<Cols> getCols()
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 cols property.
For example, to add a new item, do as follows:
getCols().add(newItem);
Objects of the following type(s) are allowed in the list
Cols
public SheetData getSheetData()
SheetDatapublic void setSheetData(SheetData value)
value - allowed object is
SheetDatapublic CTSheetCalcPr getSheetCalcPr()
CTSheetCalcPrpublic void setSheetCalcPr(CTSheetCalcPr value)
value - allowed object is
CTSheetCalcPrpublic CTSheetProtection getSheetProtection()
CTSheetProtectionpublic void setSheetProtection(CTSheetProtection value)
value - allowed object is
CTSheetProtectionpublic CTProtectedRanges getProtectedRanges()
CTProtectedRangespublic void setProtectedRanges(CTProtectedRanges value)
value - allowed object is
CTProtectedRangespublic CTScenarios getScenarios()
CTScenariospublic void setScenarios(CTScenarios value)
value - allowed object is
CTScenariospublic CTAutoFilter getAutoFilter()
CTAutoFilterpublic void setAutoFilter(CTAutoFilter value)
value - allowed object is
CTAutoFilterpublic CTSortState getSortState()
CTSortStatepublic void setSortState(CTSortState value)
value - allowed object is
CTSortStatepublic CTDataConsolidate getDataConsolidate()
CTDataConsolidatepublic void setDataConsolidate(CTDataConsolidate value)
value - allowed object is
CTDataConsolidatepublic CTCustomSheetViews getCustomSheetViews()
CTCustomSheetViewspublic void setCustomSheetViews(CTCustomSheetViews value)
value - allowed object is
CTCustomSheetViewspublic CTMergeCells getMergeCells()
CTMergeCellspublic void setMergeCells(CTMergeCells value)
value - allowed object is
CTMergeCellspublic CTPhoneticPr getPhoneticPr()
CTPhoneticPrpublic void setPhoneticPr(CTPhoneticPr value)
value - allowed object is
CTPhoneticPrpublic java.util.List<CTConditionalFormatting> getConditionalFormatting()
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 conditionalFormatting property.
For example, to add a new item, do as follows:
getConditionalFormatting().add(newItem);
Objects of the following type(s) are allowed in the list
CTConditionalFormatting
public CTDataValidations getDataValidations()
CTDataValidationspublic void setDataValidations(CTDataValidations value)
value - allowed object is
CTDataValidationspublic CTHyperlinks getHyperlinks()
CTHyperlinkspublic void setHyperlinks(CTHyperlinks value)
value - allowed object is
CTHyperlinkspublic CTPrintOptions getPrintOptions()
CTPrintOptionspublic void setPrintOptions(CTPrintOptions value)
value - allowed object is
CTPrintOptionspublic CTPageMargins getPageMargins()
CTPageMarginspublic void setPageMargins(CTPageMargins value)
value - allowed object is
CTPageMarginspublic CTPageSetup getPageSetup()
CTPageSetuppublic void setPageSetup(CTPageSetup value)
value - allowed object is
CTPageSetuppublic CTHeaderFooter getHeaderFooter()
CTHeaderFooterpublic void setHeaderFooter(CTHeaderFooter value)
value - allowed object is
CTHeaderFooterpublic CTPageBreak getRowBreaks()
CTPageBreakpublic void setRowBreaks(CTPageBreak value)
value - allowed object is
CTPageBreakpublic CTPageBreak getColBreaks()
CTPageBreakpublic void setColBreaks(CTPageBreak value)
value - allowed object is
CTPageBreakpublic CTCustomProperties getCustomProperties()
CTCustomPropertiespublic void setCustomProperties(CTCustomProperties value)
value - allowed object is
CTCustomPropertiespublic CTCellWatches getCellWatches()
CTCellWatchespublic void setCellWatches(CTCellWatches value)
value - allowed object is
CTCellWatchespublic CTIgnoredErrors getIgnoredErrors()
CTIgnoredErrorspublic void setIgnoredErrors(CTIgnoredErrors value)
value - allowed object is
CTIgnoredErrorspublic CTSmartTags getSmartTags()
CTSmartTagspublic void setSmartTags(CTSmartTags value)
value - allowed object is
CTSmartTagspublic CTDrawing getDrawing()
CTDrawingpublic void setDrawing(CTDrawing value)
value - allowed object is
CTDrawingpublic CTLegacyDrawing getLegacyDrawing()
CTLegacyDrawingpublic void setLegacyDrawing(CTLegacyDrawing value)
value - allowed object is
CTLegacyDrawingpublic CTLegacyDrawing getLegacyDrawingHF()
CTLegacyDrawingpublic void setLegacyDrawingHF(CTLegacyDrawing value)
value - allowed object is
CTLegacyDrawingpublic CTDrawingHF getDrawingHF()
CTDrawingHFpublic void setDrawingHF(CTDrawingHF value)
value - allowed object is
CTDrawingHFpublic CTSheetBackgroundPicture getPicture()
CTSheetBackgroundPicturepublic void setPicture(CTSheetBackgroundPicture value)
value - allowed object is
CTSheetBackgroundPicturepublic CTOleObjects getOleObjects()
CTOleObjectspublic void setOleObjects(CTOleObjects value)
value - allowed object is
CTOleObjectspublic CTControls getControls()
CTControlspublic void setControls(CTControls value)
value - allowed object is
CTControlspublic CTWebPublishItems getWebPublishItems()
CTWebPublishItemspublic void setWebPublishItems(CTWebPublishItems value)
value - allowed object is
CTWebPublishItemspublic CTTableParts getTableParts()
CTTablePartspublic void setTableParts(CTTableParts value)
value - allowed object is
CTTablePartspublic CTExtensionList getExtLst()
CTExtensionListpublic void setExtLst(CTExtensionList value)
value - allowed object is
CTExtensionListpublic java.lang.String getUid()
Stringpublic void setUid(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007–2023. All rights reserved.