Class SheetView
- All Implemented Interfaces:
Child
Java class for CT_SheetView complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_SheetView">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="pane" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Pane" minOccurs="0"/>
<element name="selection" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Selection" maxOccurs="4" minOccurs="0"/>
<element name="pivotSelection" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PivotSelection" maxOccurs="4" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="windowProtection" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="showFormulas" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="showGridLines" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="showRowColHeaders" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="showZeros" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="rightToLeft" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="tabSelected" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="showRuler" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="showOutlineSymbols" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="defaultGridColor" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="showWhiteSpace" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="view" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_SheetViewType" default="normal" />
<attribute name="topLeftCell" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
<attribute name="colorId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="64" />
<attribute name="zoomScale" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="100" />
<attribute name="zoomScaleNormal" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
<attribute name="zoomScaleSheetLayoutView" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
<attribute name="zoomScalePageLayoutView" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
<attribute name="workbookViewId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longprotected Booleanprotected CTExtensionListprotected CTPaneprotected List<CTPivotSelection>protected Booleanprotected List<CTSelection>protected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected STSheetViewTypeprotected Booleanprotected longprotected Longprotected Longprotected Longprotected Long -
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.longGets the value of the colorId property.Gets the value of the extLst property.getPane()Gets the value of the pane property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the pivotSelection property.Gets the value of the selection property.Gets the value of the topLeftCell property.getView()Gets the value of the view property.longGets the value of the workbookViewId property.longGets the value of the zoomScale property.longGets the value of the zoomScaleNormal property.longGets the value of the zoomScalePageLayoutView property.longGets the value of the zoomScaleSheetLayoutView property.booleanGets the value of the defaultGridColor property.booleanGets the value of the rightToLeft property.booleanGets the value of the showFormulas property.booleanGets the value of the showGridLines property.booleanGets the value of the showOutlineSymbols property.booleanGets the value of the showRowColHeaders property.booleanGets the value of the showRuler property.booleanGets the value of the showWhiteSpace property.booleanGets the value of the showZeros property.booleanGets the value of the tabSelected property.booleanGets the value of the windowProtection property.voidsetColorId(Long value) Sets the value of the colorId property.voidsetDefaultGridColor(Boolean value) Sets the value of the defaultGridColor property.voidsetExtLst(CTExtensionList value) Sets the value of the extLst property.voidSets the value of the pane property.voidvoidsetRightToLeft(Boolean value) Sets the value of the rightToLeft property.voidsetShowFormulas(Boolean value) Sets the value of the showFormulas property.voidsetShowGridLines(Boolean value) Sets the value of the showGridLines property.voidsetShowOutlineSymbols(Boolean value) Sets the value of the showOutlineSymbols property.voidsetShowRowColHeaders(Boolean value) Sets the value of the showRowColHeaders property.voidsetShowRuler(Boolean value) Sets the value of the showRuler property.voidsetShowWhiteSpace(Boolean value) Sets the value of the showWhiteSpace property.voidsetShowZeros(Boolean value) Sets the value of the showZeros property.voidsetTabSelected(Boolean value) Sets the value of the tabSelected property.voidsetTopLeftCell(String value) Sets the value of the topLeftCell property.voidsetView(STSheetViewType value) Sets the value of the view property.voidsetWindowProtection(Boolean value) Sets the value of the windowProtection property.voidsetWorkbookViewId(long value) Sets the value of the workbookViewId property.voidsetZoomScale(Long value) Sets the value of the zoomScale property.voidsetZoomScaleNormal(Long value) Sets the value of the zoomScaleNormal property.voidsetZoomScalePageLayoutView(Long value) Sets the value of the zoomScalePageLayoutView property.voidsetZoomScaleSheetLayoutView(Long value) Sets the value of the zoomScaleSheetLayoutView property.
-
Field Details
-
pane
-
selection
-
pivotSelection
-
extLst
-
windowProtection
-
showFormulas
-
showGridLines
-
showRowColHeaders
-
showZeros
-
rightToLeft
-
tabSelected
-
showRuler
-
showOutlineSymbols
-
defaultGridColor
-
showWhiteSpace
-
view
-
topLeftCell
-
colorId
-
zoomScale
-
zoomScaleNormal
-
zoomScaleSheetLayoutView
-
zoomScalePageLayoutView
-
workbookViewId
protected long workbookViewId
-
-
Constructor Details
-
SheetView
public SheetView()
-
-
Method Details
-
getPane
Gets the value of the pane property.- Returns:
- possible object is
CTPane
-
setPane
Sets the value of the pane property.- Parameters:
value- allowed object isCTPane
-
getSelection
Gets the value of the selection 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 selection property.For example, to add a new item, do as follows:
getSelection().add(newItem);Objects of the following type(s) are allowed in the list
CTSelection -
getPivotSelection
Gets the value of the pivotSelection 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 pivotSelection property.For example, to add a new item, do as follows:
getPivotSelection().add(newItem);Objects of the following type(s) are allowed in the list
CTPivotSelection -
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
-
isWindowProtection
public boolean isWindowProtection()Gets the value of the windowProtection property.- Returns:
- possible object is
Boolean
-
setWindowProtection
Sets the value of the windowProtection property.- Parameters:
value- allowed object isBoolean
-
isShowFormulas
public boolean isShowFormulas()Gets the value of the showFormulas property.- Returns:
- possible object is
Boolean
-
setShowFormulas
Sets the value of the showFormulas property.- Parameters:
value- allowed object isBoolean
-
isShowGridLines
public boolean isShowGridLines()Gets the value of the showGridLines property.- Returns:
- possible object is
Boolean
-
setShowGridLines
Sets the value of the showGridLines property.- Parameters:
value- allowed object isBoolean
-
isShowRowColHeaders
public boolean isShowRowColHeaders()Gets the value of the showRowColHeaders property.- Returns:
- possible object is
Boolean
-
setShowRowColHeaders
Sets the value of the showRowColHeaders property.- Parameters:
value- allowed object isBoolean
-
isShowZeros
public boolean isShowZeros()Gets the value of the showZeros property.- Returns:
- possible object is
Boolean
-
setShowZeros
Sets the value of the showZeros property.- Parameters:
value- allowed object isBoolean
-
isRightToLeft
public boolean isRightToLeft()Gets the value of the rightToLeft property.- Returns:
- possible object is
Boolean
-
setRightToLeft
Sets the value of the rightToLeft property.- Parameters:
value- allowed object isBoolean
-
isTabSelected
public boolean isTabSelected()Gets the value of the tabSelected property.- Returns:
- possible object is
Boolean
-
setTabSelected
Sets the value of the tabSelected property.- Parameters:
value- allowed object isBoolean
-
isShowRuler
public boolean isShowRuler()Gets the value of the showRuler property.- Returns:
- possible object is
Boolean
-
setShowRuler
Sets the value of the showRuler property.- Parameters:
value- allowed object isBoolean
-
isShowOutlineSymbols
public boolean isShowOutlineSymbols()Gets the value of the showOutlineSymbols property.- Returns:
- possible object is
Boolean
-
setShowOutlineSymbols
Sets the value of the showOutlineSymbols property.- Parameters:
value- allowed object isBoolean
-
isDefaultGridColor
public boolean isDefaultGridColor()Gets the value of the defaultGridColor property.- Returns:
- possible object is
Boolean
-
setDefaultGridColor
Sets the value of the defaultGridColor property.- Parameters:
value- allowed object isBoolean
-
isShowWhiteSpace
public boolean isShowWhiteSpace()Gets the value of the showWhiteSpace property.- Returns:
- possible object is
Boolean
-
setShowWhiteSpace
Sets the value of the showWhiteSpace property.- Parameters:
value- allowed object isBoolean
-
getView
Gets the value of the view property.- Returns:
- possible object is
STSheetViewType
-
setView
Sets the value of the view property.- Parameters:
value- allowed object isSTSheetViewType
-
getTopLeftCell
Gets the value of the topLeftCell property.- Returns:
- possible object is
String
-
setTopLeftCell
Sets the value of the topLeftCell property.- Parameters:
value- allowed object isString
-
getColorId
public long getColorId()Gets the value of the colorId property.- Returns:
- possible object is
Long
-
setColorId
Sets the value of the colorId property.- Parameters:
value- allowed object isLong
-
getZoomScale
public long getZoomScale()Gets the value of the zoomScale property.- Returns:
- possible object is
Long
-
setZoomScale
Sets the value of the zoomScale property.- Parameters:
value- allowed object isLong
-
getZoomScaleNormal
public long getZoomScaleNormal()Gets the value of the zoomScaleNormal property.- Returns:
- possible object is
Long
-
setZoomScaleNormal
Sets the value of the zoomScaleNormal property.- Parameters:
value- allowed object isLong
-
getZoomScaleSheetLayoutView
public long getZoomScaleSheetLayoutView()Gets the value of the zoomScaleSheetLayoutView property.- Returns:
- possible object is
Long
-
setZoomScaleSheetLayoutView
Sets the value of the zoomScaleSheetLayoutView property.- Parameters:
value- allowed object isLong
-
getZoomScalePageLayoutView
public long getZoomScalePageLayoutView()Gets the value of the zoomScalePageLayoutView property.- Returns:
- possible object is
Long
-
setZoomScalePageLayoutView
Sets the value of the zoomScalePageLayoutView property.- Parameters:
value- allowed object isLong
-
getWorkbookViewId
public long getWorkbookViewId()Gets the value of the workbookViewId property. -
setWorkbookViewId
public void setWorkbookViewId(long value) Sets the value of the workbookViewId property. -
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.
-