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