public class Worksheet extends 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> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
Worksheet() |
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.
|
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.
|
List<Cols> |
getCols()
Gets the value of the cols property.
|
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.
|
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.
|
CTWebPublishItems |
getWebPublishItems()
Gets the value of the webPublishItems property.
|
WorksheetPart |
getWorksheetPart()
Get the WorksheetPart
|
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(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 |
setWebPublishItems(CTWebPublishItems value)
Sets the value of the webPublishItems property.
|
protected CTSheetPr sheetPr
protected CTSheetDimension dimension
protected SheetViews sheetViews
protected CTSheetFormatPr sheetFormatPr
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 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
public CTSheetPr getSheetPr()
CTSheetPr
public void setSheetPr(CTSheetPr value)
value
- allowed object is
CTSheetPr
public CTSheetDimension getDimension()
CTSheetDimension
public void setDimension(CTSheetDimension value)
value
- allowed object is
CTSheetDimension
public SheetViews getSheetViews()
SheetViews
public void setSheetViews(SheetViews value)
value
- allowed object is
SheetViews
public CTSheetFormatPr getSheetFormatPr()
CTSheetFormatPr
public void setSheetFormatPr(CTSheetFormatPr value)
value
- allowed object is
CTSheetFormatPr
public 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()
SheetData
public void setSheetData(SheetData value)
value
- allowed object is
SheetData
public CTSheetCalcPr getSheetCalcPr()
CTSheetCalcPr
public void setSheetCalcPr(CTSheetCalcPr value)
value
- allowed object is
CTSheetCalcPr
public CTSheetProtection getSheetProtection()
CTSheetProtection
public void setSheetProtection(CTSheetProtection value)
value
- allowed object is
CTSheetProtection
public CTProtectedRanges getProtectedRanges()
CTProtectedRanges
public void setProtectedRanges(CTProtectedRanges value)
value
- allowed object is
CTProtectedRanges
public CTScenarios getScenarios()
CTScenarios
public void setScenarios(CTScenarios value)
value
- allowed object is
CTScenarios
public CTAutoFilter getAutoFilter()
CTAutoFilter
public void setAutoFilter(CTAutoFilter value)
value
- allowed object is
CTAutoFilter
public CTSortState getSortState()
CTSortState
public void setSortState(CTSortState value)
value
- allowed object is
CTSortState
public CTDataConsolidate getDataConsolidate()
CTDataConsolidate
public void setDataConsolidate(CTDataConsolidate value)
value
- allowed object is
CTDataConsolidate
public CTCustomSheetViews getCustomSheetViews()
CTCustomSheetViews
public void setCustomSheetViews(CTCustomSheetViews value)
value
- allowed object is
CTCustomSheetViews
public CTMergeCells getMergeCells()
CTMergeCells
public void setMergeCells(CTMergeCells value)
value
- allowed object is
CTMergeCells
public CTPhoneticPr getPhoneticPr()
CTPhoneticPr
public void setPhoneticPr(CTPhoneticPr value)
value
- allowed object is
CTPhoneticPr
public 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()
CTDataValidations
public void setDataValidations(CTDataValidations value)
value
- allowed object is
CTDataValidations
public CTHyperlinks getHyperlinks()
CTHyperlinks
public void setHyperlinks(CTHyperlinks value)
value
- allowed object is
CTHyperlinks
public CTPrintOptions getPrintOptions()
CTPrintOptions
public void setPrintOptions(CTPrintOptions value)
value
- allowed object is
CTPrintOptions
public CTPageMargins getPageMargins()
CTPageMargins
public void setPageMargins(CTPageMargins value)
value
- allowed object is
CTPageMargins
public CTPageSetup getPageSetup()
CTPageSetup
public void setPageSetup(CTPageSetup value)
value
- allowed object is
CTPageSetup
public CTHeaderFooter getHeaderFooter()
CTHeaderFooter
public void setHeaderFooter(CTHeaderFooter value)
value
- allowed object is
CTHeaderFooter
public CTPageBreak getRowBreaks()
CTPageBreak
public void setRowBreaks(CTPageBreak value)
value
- allowed object is
CTPageBreak
public CTPageBreak getColBreaks()
CTPageBreak
public void setColBreaks(CTPageBreak value)
value
- allowed object is
CTPageBreak
public CTCustomProperties getCustomProperties()
CTCustomProperties
public void setCustomProperties(CTCustomProperties value)
value
- allowed object is
CTCustomProperties
public CTCellWatches getCellWatches()
CTCellWatches
public void setCellWatches(CTCellWatches value)
value
- allowed object is
CTCellWatches
public CTIgnoredErrors getIgnoredErrors()
CTIgnoredErrors
public void setIgnoredErrors(CTIgnoredErrors value)
value
- allowed object is
CTIgnoredErrors
public CTSmartTags getSmartTags()
CTSmartTags
public void setSmartTags(CTSmartTags value)
value
- allowed object is
CTSmartTags
public CTDrawing getDrawing()
CTDrawing
public void setDrawing(CTDrawing value)
value
- allowed object is
CTDrawing
public CTLegacyDrawing getLegacyDrawing()
CTLegacyDrawing
public void setLegacyDrawing(CTLegacyDrawing value)
value
- allowed object is
CTLegacyDrawing
public CTLegacyDrawing getLegacyDrawingHF()
CTLegacyDrawing
public void setLegacyDrawingHF(CTLegacyDrawing value)
value
- allowed object is
CTLegacyDrawing
public CTDrawingHF getDrawingHF()
CTDrawingHF
public void setDrawingHF(CTDrawingHF value)
value
- allowed object is
CTDrawingHF
public CTSheetBackgroundPicture getPicture()
CTSheetBackgroundPicture
public void setPicture(CTSheetBackgroundPicture value)
value
- allowed object is
CTSheetBackgroundPicture
public CTOleObjects getOleObjects()
CTOleObjects
public void setOleObjects(CTOleObjects value)
value
- allowed object is
CTOleObjects
public CTControls getControls()
CTControls
public void setControls(CTControls value)
value
- allowed object is
CTControls
public CTWebPublishItems getWebPublishItems()
CTWebPublishItems
public void setWebPublishItems(CTWebPublishItems value)
value
- allowed object is
CTWebPublishItems
public CTTableParts getTableParts()
CTTableParts
public void setTableParts(CTTableParts value)
value
- allowed object is
CTTableParts
public CTExtensionList getExtLst()
CTExtensionList
public void setExtLst(CTExtensionList value)
value
- allowed object is
CTExtensionList
public WorksheetPart getWorksheetPart()
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.