Worksheet

Overview

Worksheet is a class in Aspose.Cells FOSS for Java.

Represents a worksheet in a workbook.

Properties

NameTypeAccessDescription
nameStringReadReturns the name.
visibilityTypeVisibilityTypeReadReturns the visibility type.
tabColorColorReadReturns the tab color.
showGridlinesbooleanReadReturns the show gridlines.
showRowColumnHeadersbooleanReadReturns the show row column headers.
showZerosbooleanReadReturns the show zeros.
rightToLeftbooleanReadReturns the right to left.
zoomintReadReturns the zoom.
cellsCellsReadReturns the cells.
protectionWorksheetProtectionReadReturns the protection.
pageSetupPageSetupReadReturns the page setup.
validationsValidationCollectionReadReturns the validations.
hyperlinksHyperlinkCollectionReadReturns the hyperlinks.
autoFilterAutoFilterReadReturns the auto filter.
conditionalFormattingsConditionalFormattingCollectionReadReturns the conditional formattings.

Methods

SignatureDescription
getName()StringReturns the name.
setName(name: String)Sets the name.
getVisibilityType()VisibilityTypeReturns the visibility type.
setVisibilityType(visibilityType: VisibilityType)Sets the visibility type.
getTabColor()ColorReturns the tab color.
setTabColor(value: Color)Sets the tab color.
getShowGridlines()booleanReturns the show gridlines.
setShowGridlines(value: boolean)Sets the show gridlines.
getShowRowColumnHeaders()booleanReturns the show row column headers.
setShowRowColumnHeaders(value: boolean)Sets the show row column headers.
getShowZeros()booleanReturns the show zeros.
setShowZeros(value: boolean)Sets the show zeros.
getRightToLeft()booleanReturns the right to left.
setRightToLeft(value: boolean)Sets the right to left.
getZoom()intReturns the zoom.
setZoom(value: int)Sets the zoom.
getCells()CellsReturns the cells.
getProtection()WorksheetProtectionReturns the protection.
getPageSetup()PageSetupReturns the page setup.
getValidations()ValidationCollectionReturns the validations.
getHyperlinks()HyperlinkCollectionReturns the hyperlinks.
getAutoFilter()AutoFilterReturns the auto filter.
getConditionalFormattings()ConditionalFormattingCollectionReturns the conditional formattings.
protect()Enables protection for the current object.
unprotect()Disables protection for the current object.