Class SheetView
- All Implemented Interfaces:
Child
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>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.LongcolorIdprotected java.lang.BooleandefaultGridColorprotected CTExtensionListextLstprotected CTPanepaneprotected java.util.List<CTPivotSelection>pivotSelectionprotected java.lang.BooleanrightToLeftprotected java.util.List<CTSelection>selectionprotected java.lang.BooleanshowFormulasprotected java.lang.BooleanshowGridLinesprotected java.lang.BooleanshowOutlineSymbolsprotected java.lang.BooleanshowRowColHeadersprotected java.lang.BooleanshowRulerprotected java.lang.BooleanshowWhiteSpaceprotected java.lang.BooleanshowZerosprotected java.lang.BooleantabSelectedprotected java.lang.StringtopLeftCellprotected STSheetViewTypeviewprotected java.lang.BooleanwindowProtectionprotected longworkbookViewIdprotected java.lang.LongzoomScaleprotected java.lang.LongzoomScaleNormalprotected java.lang.LongzoomScalePageLayoutViewprotected java.lang.LongzoomScaleSheetLayoutView -
Constructor Summary
Constructors Constructor Description SheetView() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.longgetColorId()Gets the value of the colorId property.CTExtensionListgetExtLst()Gets the value of the extLst property.CTPanegetPane()Gets the value of the pane property.java.lang.ObjectgetParent()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.StringgetTopLeftCell()Gets the value of the topLeftCell property.STSheetViewTypegetView()Gets the value of the view property.longgetWorkbookViewId()Gets the value of the workbookViewId property.longgetZoomScale()Gets the value of the zoomScale property.longgetZoomScaleNormal()Gets the value of the zoomScaleNormal property.longgetZoomScalePageLayoutView()Gets the value of the zoomScalePageLayoutView property.longgetZoomScaleSheetLayoutView()Gets the value of the zoomScaleSheetLayoutView property.booleanisDefaultGridColor()Gets the value of the defaultGridColor property.booleanisRightToLeft()Gets the value of the rightToLeft property.booleanisShowFormulas()Gets the value of the showFormulas property.booleanisShowGridLines()Gets the value of the showGridLines property.booleanisShowOutlineSymbols()Gets the value of the showOutlineSymbols property.booleanisShowRowColHeaders()Gets the value of the showRowColHeaders property.booleanisShowRuler()Gets the value of the showRuler property.booleanisShowWhiteSpace()Gets the value of the showWhiteSpace property.booleanisShowZeros()Gets the value of the showZeros property.booleanisTabSelected()Gets the value of the tabSelected property.booleanisWindowProtection()Gets the value of the windowProtection property.voidsetColorId(java.lang.Long value)Sets the value of the colorId property.voidsetDefaultGridColor(java.lang.Boolean value)Sets the value of the defaultGridColor property.voidsetExtLst(CTExtensionList value)Sets the value of the extLst property.voidsetPane(CTPane value)Sets the value of the pane property.voidsetParent(java.lang.Object parent)voidsetRightToLeft(java.lang.Boolean value)Sets the value of the rightToLeft property.voidsetShowFormulas(java.lang.Boolean value)Sets the value of the showFormulas property.voidsetShowGridLines(java.lang.Boolean value)Sets the value of the showGridLines property.voidsetShowOutlineSymbols(java.lang.Boolean value)Sets the value of the showOutlineSymbols property.voidsetShowRowColHeaders(java.lang.Boolean value)Sets the value of the showRowColHeaders property.voidsetShowRuler(java.lang.Boolean value)Sets the value of the showRuler property.voidsetShowWhiteSpace(java.lang.Boolean value)Sets the value of the showWhiteSpace property.voidsetShowZeros(java.lang.Boolean value)Sets the value of the showZeros property.voidsetTabSelected(java.lang.Boolean value)Sets the value of the tabSelected property.voidsetTopLeftCell(java.lang.String value)Sets the value of the topLeftCell property.voidsetView(STSheetViewType value)Sets the value of the view property.voidsetWindowProtection(java.lang.Boolean value)Sets the value of the windowProtection property.voidsetWorkbookViewId(long value)Sets the value of the workbookViewId property.voidsetZoomScale(java.lang.Long value)Sets the value of the zoomScale property.voidsetZoomScaleNormal(java.lang.Long value)Sets the value of the zoomScaleNormal property.voidsetZoomScalePageLayoutView(java.lang.Long value)Sets the value of the zoomScalePageLayoutView property.voidsetZoomScaleSheetLayoutView(java.lang.Long value)Sets the value of the zoomScaleSheetLayoutView property.
-
Field Details
-
pane
-
selection
-
pivotSelection
-
extLst
-
windowProtection
protected java.lang.Boolean windowProtection -
showFormulas
protected java.lang.Boolean showFormulas -
showGridLines
protected java.lang.Boolean showGridLines -
showRowColHeaders
protected java.lang.Boolean showRowColHeaders -
showZeros
protected java.lang.Boolean showZeros -
rightToLeft
protected java.lang.Boolean rightToLeft -
tabSelected
protected java.lang.Boolean tabSelected -
showRuler
protected java.lang.Boolean showRuler -
showOutlineSymbols
protected java.lang.Boolean showOutlineSymbols -
defaultGridColor
protected java.lang.Boolean defaultGridColor -
showWhiteSpace
protected java.lang.Boolean showWhiteSpace -
view
-
topLeftCell
protected java.lang.String topLeftCell -
colorId
protected java.lang.Long colorId -
zoomScale
protected java.lang.Long zoomScale -
zoomScaleNormal
protected java.lang.Long zoomScaleNormal -
zoomScaleSheetLayoutView
protected java.lang.Long zoomScaleSheetLayoutView -
zoomScalePageLayoutView
protected java.lang.Long 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
public void setWindowProtection(java.lang.Boolean value)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
public void setShowFormulas(java.lang.Boolean value)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
public void setShowGridLines(java.lang.Boolean value)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
public void setShowRowColHeaders(java.lang.Boolean value)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
public void setShowZeros(java.lang.Boolean value)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
public void setRightToLeft(java.lang.Boolean value)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
public void setTabSelected(java.lang.Boolean value)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
public void setShowRuler(java.lang.Boolean value)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
public void setShowOutlineSymbols(java.lang.Boolean value)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
public void setDefaultGridColor(java.lang.Boolean value)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
public void setShowWhiteSpace(java.lang.Boolean value)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
public java.lang.String getTopLeftCell()Gets the value of the topLeftCell property.- Returns:
- possible object is
String
-
setTopLeftCell
public void setTopLeftCell(java.lang.String value)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
public void setColorId(java.lang.Long value)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
public void setZoomScale(java.lang.Long value)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
public void setZoomScaleNormal(java.lang.Long value)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
public void setZoomScaleSheetLayoutView(java.lang.Long value)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
public void setZoomScalePageLayoutView(java.lang.Long value)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
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public 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.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-