public class SheetView extends java.lang.Object implements 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>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Long |
colorId |
protected java.lang.Boolean |
defaultGridColor |
protected CTExtensionList |
extLst |
protected CTPane |
pane |
protected java.util.List<CTPivotSelection> |
pivotSelection |
protected java.lang.Boolean |
rightToLeft |
protected java.util.List<CTSelection> |
selection |
protected java.lang.Boolean |
showFormulas |
protected java.lang.Boolean |
showGridLines |
protected java.lang.Boolean |
showOutlineSymbols |
protected java.lang.Boolean |
showRowColHeaders |
protected java.lang.Boolean |
showRuler |
protected java.lang.Boolean |
showWhiteSpace |
protected java.lang.Boolean |
showZeros |
protected java.lang.Boolean |
tabSelected |
protected java.lang.String |
topLeftCell |
protected STSheetViewType |
view |
protected java.lang.Boolean |
windowProtection |
protected long |
workbookViewId |
protected java.lang.Long |
zoomScale |
protected java.lang.Long |
zoomScaleNormal |
protected java.lang.Long |
zoomScalePageLayoutView |
protected java.lang.Long |
zoomScaleSheetLayoutView |
| Constructor and Description |
|---|
SheetView() |
| 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.
|
long |
getColorId()
Gets the value of the colorId property.
|
CTExtensionList |
getExtLst()
Gets the value of the extLst property.
|
CTPane |
getPane()
Gets the value of the pane property.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
java.util.List<CTPivotSelection> |
getPivotSelection()
Gets the value of the pivotSelection property.
|
java.util.List<CTSelection> |
getSelection()
Gets the value of the selection property.
|
java.lang.String |
getTopLeftCell()
Gets the value of the topLeftCell property.
|
STSheetViewType |
getView()
Gets the value of the view property.
|
long |
getWorkbookViewId()
Gets the value of the workbookViewId property.
|
long |
getZoomScale()
Gets the value of the zoomScale property.
|
long |
getZoomScaleNormal()
Gets the value of the zoomScaleNormal property.
|
long |
getZoomScalePageLayoutView()
Gets the value of the zoomScalePageLayoutView property.
|
long |
getZoomScaleSheetLayoutView()
Gets the value of the zoomScaleSheetLayoutView property.
|
boolean |
isDefaultGridColor()
Gets the value of the defaultGridColor property.
|
boolean |
isRightToLeft()
Gets the value of the rightToLeft property.
|
boolean |
isShowFormulas()
Gets the value of the showFormulas property.
|
boolean |
isShowGridLines()
Gets the value of the showGridLines property.
|
boolean |
isShowOutlineSymbols()
Gets the value of the showOutlineSymbols property.
|
boolean |
isShowRowColHeaders()
Gets the value of the showRowColHeaders property.
|
boolean |
isShowRuler()
Gets the value of the showRuler property.
|
boolean |
isShowWhiteSpace()
Gets the value of the showWhiteSpace property.
|
boolean |
isShowZeros()
Gets the value of the showZeros property.
|
boolean |
isTabSelected()
Gets the value of the tabSelected property.
|
boolean |
isWindowProtection()
Gets the value of the windowProtection property.
|
void |
setColorId(java.lang.Long value)
Sets the value of the colorId property.
|
void |
setDefaultGridColor(java.lang.Boolean value)
Sets the value of the defaultGridColor property.
|
void |
setExtLst(CTExtensionList value)
Sets the value of the extLst property.
|
void |
setPane(CTPane value)
Sets the value of the pane property.
|
void |
setParent(java.lang.Object parent) |
void |
setRightToLeft(java.lang.Boolean value)
Sets the value of the rightToLeft property.
|
void |
setShowFormulas(java.lang.Boolean value)
Sets the value of the showFormulas property.
|
void |
setShowGridLines(java.lang.Boolean value)
Sets the value of the showGridLines property.
|
void |
setShowOutlineSymbols(java.lang.Boolean value)
Sets the value of the showOutlineSymbols property.
|
void |
setShowRowColHeaders(java.lang.Boolean value)
Sets the value of the showRowColHeaders property.
|
void |
setShowRuler(java.lang.Boolean value)
Sets the value of the showRuler property.
|
void |
setShowWhiteSpace(java.lang.Boolean value)
Sets the value of the showWhiteSpace property.
|
void |
setShowZeros(java.lang.Boolean value)
Sets the value of the showZeros property.
|
void |
setTabSelected(java.lang.Boolean value)
Sets the value of the tabSelected property.
|
void |
setTopLeftCell(java.lang.String value)
Sets the value of the topLeftCell property.
|
void |
setView(STSheetViewType value)
Sets the value of the view property.
|
void |
setWindowProtection(java.lang.Boolean value)
Sets the value of the windowProtection property.
|
void |
setWorkbookViewId(long value)
Sets the value of the workbookViewId property.
|
void |
setZoomScale(java.lang.Long value)
Sets the value of the zoomScale property.
|
void |
setZoomScaleNormal(java.lang.Long value)
Sets the value of the zoomScaleNormal property.
|
void |
setZoomScalePageLayoutView(java.lang.Long value)
Sets the value of the zoomScalePageLayoutView property.
|
void |
setZoomScaleSheetLayoutView(java.lang.Long value)
Sets the value of the zoomScaleSheetLayoutView property.
|
protected CTPane pane
protected java.util.List<CTSelection> selection
protected java.util.List<CTPivotSelection> pivotSelection
protected CTExtensionList extLst
protected java.lang.Boolean windowProtection
protected java.lang.Boolean showFormulas
protected java.lang.Boolean showGridLines
protected java.lang.Boolean showRowColHeaders
protected java.lang.Boolean showZeros
protected java.lang.Boolean rightToLeft
protected java.lang.Boolean tabSelected
protected java.lang.Boolean showRuler
protected java.lang.Boolean showOutlineSymbols
protected java.lang.Boolean defaultGridColor
protected java.lang.Boolean showWhiteSpace
protected STSheetViewType view
protected java.lang.String topLeftCell
protected java.lang.Long colorId
protected java.lang.Long zoomScale
protected java.lang.Long zoomScaleNormal
protected java.lang.Long zoomScaleSheetLayoutView
protected java.lang.Long zoomScalePageLayoutView
protected long workbookViewId
public CTPane getPane()
CTPanepublic void setPane(CTPane value)
value - allowed object is
CTPanepublic java.util.List<CTSelection> getSelection()
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 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
public java.util.List<CTPivotSelection> getPivotSelection()
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 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
public CTExtensionList getExtLst()
CTExtensionListpublic void setExtLst(CTExtensionList value)
value - allowed object is
CTExtensionListpublic boolean isWindowProtection()
Booleanpublic void setWindowProtection(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isShowFormulas()
Booleanpublic void setShowFormulas(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isShowGridLines()
Booleanpublic void setShowGridLines(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isShowRowColHeaders()
Booleanpublic void setShowRowColHeaders(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isShowZeros()
Booleanpublic void setShowZeros(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isRightToLeft()
Booleanpublic void setRightToLeft(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isTabSelected()
Booleanpublic void setTabSelected(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isShowRuler()
Booleanpublic void setShowRuler(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isShowOutlineSymbols()
Booleanpublic void setShowOutlineSymbols(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isDefaultGridColor()
Booleanpublic void setDefaultGridColor(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isShowWhiteSpace()
Booleanpublic void setShowWhiteSpace(java.lang.Boolean value)
value - allowed object is
Booleanpublic STSheetViewType getView()
STSheetViewTypepublic void setView(STSheetViewType value)
value - allowed object is
STSheetViewTypepublic java.lang.String getTopLeftCell()
Stringpublic void setTopLeftCell(java.lang.String value)
value - allowed object is
Stringpublic long getColorId()
Longpublic void setColorId(java.lang.Long value)
value - allowed object is
Longpublic long getZoomScale()
Longpublic void setZoomScale(java.lang.Long value)
value - allowed object is
Longpublic long getZoomScaleNormal()
Longpublic void setZoomScaleNormal(java.lang.Long value)
value - allowed object is
Longpublic long getZoomScaleSheetLayoutView()
Longpublic void setZoomScaleSheetLayoutView(java.lang.Long value)
value - allowed object is
Longpublic long getZoomScalePageLayoutView()
Longpublic void setZoomScalePageLayoutView(java.lang.Long value)
value - allowed object is
Longpublic long getWorkbookViewId()
public void setWorkbookViewId(long value)
public 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–2025. All rights reserved.