Class CTWorksheet
- All Implemented Interfaces:
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="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>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CTAutoFilterprotected CTCellWatchesprotected CTPageBreakprotected List<CTConditionalFormatting>protected CTControlsprotected CTCustomPropertiesprotected CTCustomSheetViewsprotected CTDataConsolidateprotected CTDataValidationsprotected CTSheetDimensionprotected CTDrawingprotected CTExtensionListprotected CTHeaderFooterprotected CTHyperlinksprotected CTIgnoredErrorsprotected CTMergeCellsprotected CTOleObjectsprotected CTPageMarginsprotected CTPageSetupprotected CTPhoneticPrprotected CTSheetBackgroundPictureprotected CTPrintOptionsprotected CTProtectedRangesprotected CTPageBreakprotected CTScenariosprotected CTSheetCalcPrprotected SheetDataprotected CTSheetFormatPrprotected CTSheetPrprotected CTSheetProtectionprotected SheetViewsprotected CTSmartTagsprotected CTSortStateprotected CTTablePartsprotected CTWebPublishItems -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the autoFilter property.Gets the value of the cellWatches property.Gets the value of the colBreaks property.getCols()Gets the value of the cols property.Gets the value of the conditionalFormatting property.Gets the value of the controls property.Gets the value of the customProperties property.Gets the value of the customSheetViews property.Gets the value of the dataConsolidate property.Gets the value of the dataValidations property.Gets the value of the dimension property.Gets the value of the drawing property.Gets the value of the extLst property.Gets the value of the headerFooter property.Gets the value of the hyperlinks property.Gets the value of the ignoredErrors property.Gets the value of the mergeCells property.Gets the value of the oleObjects property.Gets the value of the pageMargins property.Gets the value of the pageSetup property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the phoneticPr property.Gets the value of the picture property.Gets the value of the printOptions property.Gets the value of the protectedRanges property.Gets the value of the rowBreaks property.Gets the value of the scenarios property.Gets the value of the sheetCalcPr property.Gets the value of the sheetData property.Gets the value of the sheetFormatPr property.Gets the value of the sheetPr property.Gets the value of the sheetProtection property.Gets the value of the sheetViews property.Gets the value of the smartTags property.Gets the value of the sortState property.Gets the value of the tableParts property.Gets the value of the webPublishItems property.voidsetAutoFilter(CTAutoFilter value) Sets the value of the autoFilter property.voidsetCellWatches(CTCellWatches value) Sets the value of the cellWatches property.voidsetColBreaks(CTPageBreak value) Sets the value of the colBreaks property.voidsetControls(CTControls value) Sets the value of the controls property.voidSets the value of the customProperties property.voidSets the value of the customSheetViews property.voidSets the value of the dataConsolidate property.voidSets the value of the dataValidations property.voidsetDimension(CTSheetDimension value) Sets the value of the dimension property.voidsetDrawing(CTDrawing value) Sets the value of the drawing property.voidsetExtLst(CTExtensionList value) Sets the value of the extLst property.voidsetHeaderFooter(CTHeaderFooter value) Sets the value of the headerFooter property.voidsetHyperlinks(CTHyperlinks value) Sets the value of the hyperlinks property.voidsetIgnoredErrors(CTIgnoredErrors value) Sets the value of the ignoredErrors property.voidsetMergeCells(CTMergeCells value) Sets the value of the mergeCells property.voidsetOleObjects(CTOleObjects value) Sets the value of the oleObjects property.voidsetPageMargins(CTPageMargins value) Sets the value of the pageMargins property.voidsetPageSetup(CTPageSetup value) Sets the value of the pageSetup property.voidvoidsetPhoneticPr(CTPhoneticPr value) Sets the value of the phoneticPr property.voidSets the value of the picture property.voidsetPrintOptions(CTPrintOptions value) Sets the value of the printOptions property.voidSets the value of the protectedRanges property.voidsetRowBreaks(CTPageBreak value) Sets the value of the rowBreaks property.voidsetScenarios(CTScenarios value) Sets the value of the scenarios property.voidsetSheetCalcPr(CTSheetCalcPr value) Sets the value of the sheetCalcPr property.voidsetSheetData(SheetData value) Sets the value of the sheetData property.voidsetSheetFormatPr(CTSheetFormatPr value) Sets the value of the sheetFormatPr property.voidsetSheetPr(CTSheetPr value) Sets the value of the sheetPr property.voidSets the value of the sheetProtection property.voidsetSheetViews(SheetViews value) Sets the value of the sheetViews property.voidsetSmartTags(CTSmartTags value) Sets the value of the smartTags property.voidsetSortState(CTSortState value) Sets the value of the sortState property.voidsetTableParts(CTTableParts value) Sets the value of the tableParts property.voidSets the value of the webPublishItems property.
-
Field Details
-
sheetPr
-
dimension
-
sheetViews
-
sheetFormatPr
-
cols
-
sheetData
-
sheetCalcPr
-
sheetProtection
-
protectedRanges
-
scenarios
-
autoFilter
-
sortState
-
dataConsolidate
-
customSheetViews
-
mergeCells
-
phoneticPr
-
conditionalFormatting
-
dataValidations
-
hyperlinks
-
printOptions
-
pageMargins
-
pageSetup
-
rowBreaks
-
colBreaks
-
customProperties
-
cellWatches
-
ignoredErrors
-
smartTags
-
drawing
-
picture
-
oleObjects
-
controls
-
webPublishItems
-
tableParts
-
extLst
-
-
Constructor Details
-
CTWorksheet
public CTWorksheet()
-
-
Method Details
-
getSheetPr
Gets the value of the sheetPr property.- Returns:
- possible object is
CTSheetPr
-
setSheetPr
Sets the value of the sheetPr property.- Parameters:
value- allowed object isCTSheetPr
-
getDimension
Gets the value of the dimension property.- Returns:
- possible object is
CTSheetDimension
-
setDimension
Sets the value of the dimension property.- Parameters:
value- allowed object isCTSheetDimension
-
getSheetViews
Gets the value of the sheetViews property.- Returns:
- possible object is
SheetViews
-
setSheetViews
Sets the value of the sheetViews property.- Parameters:
value- allowed object isSheetViews
-
getSheetFormatPr
Gets the value of the sheetFormatPr property.- Returns:
- possible object is
CTSheetFormatPr
-
setSheetFormatPr
Sets the value of the sheetFormatPr property.- Parameters:
value- allowed object isCTSheetFormatPr
-
getCols
Gets the value of the cols property.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
setmethod 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 -
getSheetData
Gets the value of the sheetData property.- Returns:
- possible object is
SheetData
-
setSheetData
Sets the value of the sheetData property.- Parameters:
value- allowed object isSheetData
-
getSheetCalcPr
Gets the value of the sheetCalcPr property.- Returns:
- possible object is
CTSheetCalcPr
-
setSheetCalcPr
Sets the value of the sheetCalcPr property.- Parameters:
value- allowed object isCTSheetCalcPr
-
getSheetProtection
Gets the value of the sheetProtection property.- Returns:
- possible object is
CTSheetProtection
-
setSheetProtection
Sets the value of the sheetProtection property.- Parameters:
value- allowed object isCTSheetProtection
-
getProtectedRanges
Gets the value of the protectedRanges property.- Returns:
- possible object is
CTProtectedRanges
-
setProtectedRanges
Sets the value of the protectedRanges property.- Parameters:
value- allowed object isCTProtectedRanges
-
getScenarios
Gets the value of the scenarios property.- Returns:
- possible object is
CTScenarios
-
setScenarios
Sets the value of the scenarios property.- Parameters:
value- allowed object isCTScenarios
-
getAutoFilter
Gets the value of the autoFilter property.- Returns:
- possible object is
CTAutoFilter
-
setAutoFilter
Sets the value of the autoFilter property.- Parameters:
value- allowed object isCTAutoFilter
-
getSortState
Gets the value of the sortState property.- Returns:
- possible object is
CTSortState
-
setSortState
Sets the value of the sortState property.- Parameters:
value- allowed object isCTSortState
-
getDataConsolidate
Gets the value of the dataConsolidate property.- Returns:
- possible object is
CTDataConsolidate
-
setDataConsolidate
Sets the value of the dataConsolidate property.- Parameters:
value- allowed object isCTDataConsolidate
-
getCustomSheetViews
Gets the value of the customSheetViews property.- Returns:
- possible object is
CTCustomSheetViews
-
setCustomSheetViews
Sets the value of the customSheetViews property.- Parameters:
value- allowed object isCTCustomSheetViews
-
getMergeCells
Gets the value of the mergeCells property.- Returns:
- possible object is
CTMergeCells
-
setMergeCells
Sets the value of the mergeCells property.- Parameters:
value- allowed object isCTMergeCells
-
getPhoneticPr
Gets the value of the phoneticPr property.- Returns:
- possible object is
CTPhoneticPr
-
setPhoneticPr
Sets the value of the phoneticPr property.- Parameters:
value- allowed object isCTPhoneticPr
-
getConditionalFormatting
Gets the value of the conditionalFormatting property.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
setmethod 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 -
getDataValidations
Gets the value of the dataValidations property.- Returns:
- possible object is
CTDataValidations
-
setDataValidations
Sets the value of the dataValidations property.- Parameters:
value- allowed object isCTDataValidations
-
getHyperlinks
Gets the value of the hyperlinks property.- Returns:
- possible object is
CTHyperlinks
-
setHyperlinks
Sets the value of the hyperlinks property.- Parameters:
value- allowed object isCTHyperlinks
-
getPrintOptions
Gets the value of the printOptions property.- Returns:
- possible object is
CTPrintOptions
-
setPrintOptions
Sets the value of the printOptions property.- Parameters:
value- allowed object isCTPrintOptions
-
getPageMargins
Gets the value of the pageMargins property.- Returns:
- possible object is
CTPageMargins
-
setPageMargins
Sets the value of the pageMargins property.- Parameters:
value- allowed object isCTPageMargins
-
getPageSetup
Gets the value of the pageSetup property.- Returns:
- possible object is
CTPageSetup
-
setPageSetup
Sets the value of the pageSetup property.- Parameters:
value- allowed object isCTPageSetup
-
getRowBreaks
Gets the value of the rowBreaks property.- Returns:
- possible object is
CTPageBreak
-
setRowBreaks
Sets the value of the rowBreaks property.- Parameters:
value- allowed object isCTPageBreak
-
getColBreaks
Gets the value of the colBreaks property.- Returns:
- possible object is
CTPageBreak
-
setColBreaks
Sets the value of the colBreaks property.- Parameters:
value- allowed object isCTPageBreak
-
getCustomProperties
Gets the value of the customProperties property.- Returns:
- possible object is
CTCustomProperties
-
setCustomProperties
Sets the value of the customProperties property.- Parameters:
value- allowed object isCTCustomProperties
-
getCellWatches
Gets the value of the cellWatches property.- Returns:
- possible object is
CTCellWatches
-
setCellWatches
Sets the value of the cellWatches property.- Parameters:
value- allowed object isCTCellWatches
-
getIgnoredErrors
Gets the value of the ignoredErrors property.- Returns:
- possible object is
CTIgnoredErrors
-
setIgnoredErrors
Sets the value of the ignoredErrors property.- Parameters:
value- allowed object isCTIgnoredErrors
-
getSmartTags
Gets the value of the smartTags property.- Returns:
- possible object is
CTSmartTags
-
setSmartTags
Sets the value of the smartTags property.- Parameters:
value- allowed object isCTSmartTags
-
getDrawing
Gets the value of the drawing property.- Returns:
- possible object is
CTDrawing
-
setDrawing
Sets the value of the drawing property.- Parameters:
value- allowed object isCTDrawing
-
getPicture
Gets the value of the picture property.- Returns:
- possible object is
CTSheetBackgroundPicture
-
setPicture
Sets the value of the picture property.- Parameters:
value- allowed object isCTSheetBackgroundPicture
-
getOleObjects
Gets the value of the oleObjects property.- Returns:
- possible object is
CTOleObjects
-
setOleObjects
Sets the value of the oleObjects property.- Parameters:
value- allowed object isCTOleObjects
-
getControls
Gets the value of the controls property.- Returns:
- possible object is
CTControls
-
setControls
Sets the value of the controls property.- Parameters:
value- allowed object isCTControls
-
getWebPublishItems
Gets the value of the webPublishItems property.- Returns:
- possible object is
CTWebPublishItems
-
setWebPublishItems
Sets the value of the webPublishItems property.- Parameters:
value- allowed object isCTWebPublishItems
-
getTableParts
Gets the value of the tableParts property.- Returns:
- possible object is
CTTableParts
-
setTableParts
Sets the value of the tableParts property.- Parameters:
value- allowed object isCTTableParts
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTExtensionList
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-