Class Worksheet
java.lang.Object
com.independentsoft.office.spreadsheet.Sheet
com.independentsoft.office.spreadsheet.Worksheet
The Class Worksheet.
-
Field Summary
Fields inherited from class com.independentsoft.office.spreadsheet.Sheet
drawingObjects, headerFooterSettings, id, name, pageMargins, relationship, visibilityState, vmlDrawing, vmlDrawingHeaderFooter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()get(int column, int row)Gets the.get(CellReference reference)Gets the.Gets the.Gets the.Gets the auto filter.Gets the background image.intGets the base column width.getCells()Gets the cells.Gets the cell watches.Gets the code name.Gets the columns.Gets the comment set.Gets the conditional formattings.Gets the controls.intGets the custom height.Gets the custom properties.Gets the custom sheet views.Gets the data consolidate.Gets the data validations.doubleGets the default column width.doubleGets the default row height.Gets the dimension.Gets the embedded objects.Gets the horizontal page breaks.Gets the hyperlinks.Gets the ignored errors.Gets the merged cells.intGets the outline level column.intGets the outline level row.Gets the outline properties.Gets the page setup properties.Gets the page setup settings.Gets the phonetic properties.Gets the pivot tables.Gets the prints the options.Gets the protected ranges.getRows()Gets the rows.Gets the scenarios.getSharedFormula(int sharedGroupIndex)Gets the shared formula.Gets the sheet protection.Gets the sheet tab color.Gets the smart tags.Gets the sort state.Gets the sync reference.Gets the tables.Gets the vertical page breaks.getViews()Gets the views.Gets the web publishing items.booleanChecks for thick bottom border.booleanChecks for thick top border.booleanChecks if is enable conditional formatting calculations.booleanChecks if is filter mode.booleanChecks if is full calculate on load.booleanChecks if is hidden by default.booleanChecks if is published.booleanChecks if is sync horizontal.booleanChecks if is sync vertical.booleanChecks if is transition formula entry.booleanChecks if is transition formula evaluation.voidSets the.voidSets the.voidSets the.voidsetAutoFilter(AutoFilter autoFilter)Sets the auto filter.voidsetBackgroundImage(BackgroundImage backgroundImage)Sets the background image.voidsetBaseColumnWidth(int baseColumnWidth)Sets the base column width.voidsetCodeName(String codeName)Sets the code name.voidsetCommentSet(CommentSet commentSet)Sets the comment set.voidsetCustomHeight(int customHeight)Sets the custom height.voidsetDataConsolidate(DataConsolidate dataConsolidate)Sets the data consolidate.voidsetDataValidations(DataValidations dataValidations)Sets the data validations.voidsetDefaultColumnWidth(double defaultColumnWidth)Sets the default column width.voidsetDefaultRowHeight(double defaultRowHeight)Sets the default row height.voidsetDimension(String dimension)Sets the dimension.voidsetEnableConditionalFormattingCalculations(boolean enableConditionalFormattingCalculations)Sets the enable conditional formatting calculations.voidsetFilterMode(boolean filterMode)Sets the filter mode.voidsetFullCalculateOnLoad(boolean fullCalculateOnLoad)Sets the full calculate on load.voidsetHiddenByDefault(boolean hiddenByDefault)Sets the hidden by default.voidsetOutlineLevelColumn(int outlineLevelColumn)Sets the outline level column.voidsetOutlineLevelRow(int outlineLevelRow)Sets the outline level row.voidsetPrintOptions(PrintOptions printOptions)Sets the prints the options.voidsetPublished(boolean published)Sets the published.voidsetScenarios(Scenarios scenarios)Sets the scenarios.voidsetSheetProtection(SheetProtection sheetProtection)Sets the sheet protection.voidsetSheetTabColor(SheetTabColor sheetTabColor)Sets the sheet tab color.voidsetSortState(SortState sortState)Sets the sort state.voidsetSyncHorizontal(boolean syncHorizontal)Sets the sync horizontal.voidsetSyncReference(String syncReference)Sets the sync reference.voidsetSyncVertical(boolean syncVertical)Sets the sync vertical.voidsetThickBottomBorder(boolean hasThickBottomBorder)Sets the thick bottom border.voidsetThickTopBorder(boolean hasThickTopBorder)Sets the thick top border.voidsetTransitionFormulaEntry(boolean transitionFormulaEntry)Sets the transition formula entry.voidsetTransitionFormulaEvaluation(boolean transitionFormulaEvaluation)Sets the transition formula evaluation.byte[]Methods inherited from class com.independentsoft.office.spreadsheet.Sheet
getDrawingObjects, getHeaderFooterSettings, getID, getName, getPageMargins, getVisibilityState, getVmlHeaderFooterObjects, getVmlObjects, setDrawingObjects, setID, setName, setPageMargins, setVisibilityState
-
Constructor Details
-
Worksheet
public Worksheet()Instantiates a new worksheet. -
Worksheet
Instantiates a new worksheet.- Parameters:
name- the name
-
-
Method Details
-
getCells
Gets the cells.- Returns:
- the cells
-
clone
-
toByteArray
public byte[] toByteArray() -
get
Gets the.- Parameters:
column- the columnrow- the row- Returns:
- the cell
-
set
Sets the.- Parameters:
column- the columnrow- the rowcell- the cell
-
get
Gets the.- Parameters:
column- the columnrow- the row- Returns:
- the cell
-
set
Sets the.- Parameters:
column- the columnrow- the rowcell- the cell
-
get
Gets the.- Parameters:
reference- the reference- Returns:
- the cell
-
set
Sets the.- Parameters:
reference- the referencecell- the cell
-
get
Gets the.- Parameters:
reference- the reference- Returns:
- the list
-
getSmartTags
Gets the smart tags.- Returns:
- the smart tags
-
getPhoneticProperties
Gets the phonetic properties.- Returns:
- the phonetic properties
-
getRows
Gets the rows.- Returns:
- the rows
-
getColumns
Gets the columns.- Returns:
- the columns
-
getTables
Gets the tables.- Returns:
- the tables
-
getViews
Gets the views.- Returns:
- the views
-
getCellWatches
Gets the cell watches.- Returns:
- the cell watches
-
getVerticalPageBreaks
Gets the vertical page breaks.- Returns:
- the vertical page breaks
-
getControls
Gets the controls.- Returns:
- the controls
-
getCustomProperties
Gets the custom properties.- Returns:
- the custom properties
-
getProtectedRanges
Gets the protected ranges.- Returns:
- the protected ranges
-
getCustomSheetViews
Gets the custom sheet views.- Returns:
- the custom sheet views
-
getHyperlinks
Gets the hyperlinks.- Returns:
- the hyperlinks
-
getIgnoredErrors
Gets the ignored errors.- Returns:
- the ignored errors
-
getMergedCells
Gets the merged cells.- Returns:
- the merged cells
-
getEmbeddedObjects
Gets the embedded objects.- Returns:
- the embedded objects
-
getWebPublishingItems
Gets the web publishing items.- Returns:
- the web publishing items
-
getBackgroundImage
Gets the background image.- Returns:
- the background image
-
setBackgroundImage
Sets the background image.- Parameters:
backgroundImage- the new background image
-
getCommentSet
Gets the comment set.- Returns:
- the comment set
-
setCommentSet
Sets the comment set.- Parameters:
commentSet- the new comment set
-
getDimension
Gets the dimension.- Returns:
- the dimension
-
setDimension
Sets the dimension.- Parameters:
dimension- the new dimension
-
getAutoFilter
Gets the auto filter.- Returns:
- the auto filter
-
setAutoFilter
Sets the auto filter.- Parameters:
autoFilter- the new auto filter
-
getDataConsolidate
Gets the data consolidate.- Returns:
- the data consolidate
-
setDataConsolidate
Sets the data consolidate.- Parameters:
dataConsolidate- the new data consolidate
-
getDataValidations
Gets the data validations.- Returns:
- the data validations
-
setDataValidations
Sets the data validations.- Parameters:
dataValidations- the new data validations
-
getConditionalFormattings
Gets the conditional formattings.- Returns:
- the conditional formattings
-
getPageSetupSettings
Gets the page setup settings.- Returns:
- the page setup settings
-
getPrintOptions
Gets the prints the options.- Returns:
- the prints the options
-
setPrintOptions
Sets the prints the options.- Parameters:
printOptions- the new prints the options
-
getScenarios
Gets the scenarios.- Returns:
- the scenarios
-
setScenarios
Sets the scenarios.- Parameters:
scenarios- the new scenarios
-
getSheetProtection
Gets the sheet protection.- Returns:
- the sheet protection
-
setSheetProtection
Sets the sheet protection.- Parameters:
sheetProtection- the new sheet protection
-
isFullCalculateOnLoad
public boolean isFullCalculateOnLoad()Checks if is full calculate on load.- Returns:
- true, if is full calculate on load
-
setFullCalculateOnLoad
public void setFullCalculateOnLoad(boolean fullCalculateOnLoad)Sets the full calculate on load.- Parameters:
fullCalculateOnLoad- the new full calculate on load
-
getHorizontalPageBreaks
Gets the horizontal page breaks.- Returns:
- the horizontal page breaks
-
getPivotTables
Gets the pivot tables.- Returns:
- the pivot tables
-
getBaseColumnWidth
public int getBaseColumnWidth()Gets the base column width.- Returns:
- the base column width
-
setBaseColumnWidth
public void setBaseColumnWidth(int baseColumnWidth)Sets the base column width.- Parameters:
baseColumnWidth- the new base column width
-
getCustomHeight
public int getCustomHeight()Gets the custom height.- Returns:
- the custom height
-
setCustomHeight
public void setCustomHeight(int customHeight)Sets the custom height.- Parameters:
customHeight- the new custom height
-
getDefaultColumnWidth
public double getDefaultColumnWidth()Gets the default column width.- Returns:
- the default column width
-
setDefaultColumnWidth
public void setDefaultColumnWidth(double defaultColumnWidth)Sets the default column width.- Parameters:
defaultColumnWidth- the new default column width
-
getDefaultRowHeight
public double getDefaultRowHeight()Gets the default row height.- Returns:
- the default row height
-
setDefaultRowHeight
public void setDefaultRowHeight(double defaultRowHeight)Sets the default row height.- Parameters:
defaultRowHeight- the new default row height
-
getOutlineLevelColumn
public int getOutlineLevelColumn()Gets the outline level column.- Returns:
- the outline level column
-
setOutlineLevelColumn
public void setOutlineLevelColumn(int outlineLevelColumn)Sets the outline level column.- Parameters:
outlineLevelColumn- the new outline level column
-
getOutlineLevelRow
public int getOutlineLevelRow()Gets the outline level row.- Returns:
- the outline level row
-
setOutlineLevelRow
public void setOutlineLevelRow(int outlineLevelRow)Sets the outline level row.- Parameters:
outlineLevelRow- the new outline level row
-
hasThickBottomBorder
public boolean hasThickBottomBorder()Checks for thick bottom border.- Returns:
- true, if successful
-
setThickBottomBorder
public void setThickBottomBorder(boolean hasThickBottomBorder)Sets the thick bottom border.- Parameters:
hasThickBottomBorder- the new thick bottom border
-
hasThickTopBorder
public boolean hasThickTopBorder()Checks for thick top border.- Returns:
- true, if successful
-
setThickTopBorder
public void setThickTopBorder(boolean hasThickTopBorder)Sets the thick top border.- Parameters:
hasThickTopBorder- the new thick top border
-
isHiddenByDefault
public boolean isHiddenByDefault()Checks if is hidden by default.- Returns:
- true, if is hidden by default
-
setHiddenByDefault
public void setHiddenByDefault(boolean hiddenByDefault)Sets the hidden by default.- Parameters:
hiddenByDefault- the new hidden by default
-
getSortState
Gets the sort state.- Returns:
- the sort state
-
setSortState
Sets the sort state.- Parameters:
sortState- the new sort state
-
getOutlineProperties
Gets the outline properties.- Returns:
- the outline properties
-
getPageSetupProperties
Gets the page setup properties.- Returns:
- the page setup properties
-
getSheetTabColor
Gets the sheet tab color.- Returns:
- the sheet tab color
-
setSheetTabColor
Sets the sheet tab color.- Parameters:
sheetTabColor- the new sheet tab color
-
getCodeName
Gets the code name.- Returns:
- the code name
-
setCodeName
Sets the code name.- Parameters:
codeName- the new code name
-
isEnableConditionalFormattingCalculations
public boolean isEnableConditionalFormattingCalculations()Checks if is enable conditional formatting calculations.- Returns:
- true, if is enable conditional formatting calculations
-
setEnableConditionalFormattingCalculations
public void setEnableConditionalFormattingCalculations(boolean enableConditionalFormattingCalculations)Sets the enable conditional formatting calculations.- Parameters:
enableConditionalFormattingCalculations- the new enable conditional formatting calculations
-
isFilterMode
public boolean isFilterMode()Checks if is filter mode.- Returns:
- true, if is filter mode
-
setFilterMode
public void setFilterMode(boolean filterMode)Sets the filter mode.- Parameters:
filterMode- the new filter mode
-
isPublished
public boolean isPublished()Checks if is published.- Returns:
- true, if is published
-
setPublished
public void setPublished(boolean published)Sets the published.- Parameters:
published- the new published
-
isSyncHorizontal
public boolean isSyncHorizontal()Checks if is sync horizontal.- Returns:
- true, if is sync horizontal
-
setSyncHorizontal
public void setSyncHorizontal(boolean syncHorizontal)Sets the sync horizontal.- Parameters:
syncHorizontal- the new sync horizontal
-
getSyncReference
Gets the sync reference.- Returns:
- the sync reference
-
setSyncReference
Sets the sync reference.- Parameters:
syncReference- the new sync reference
-
isSyncVertical
public boolean isSyncVertical()Checks if is sync vertical.- Returns:
- true, if is sync vertical
-
setSyncVertical
public void setSyncVertical(boolean syncVertical)Sets the sync vertical.- Parameters:
syncVertical- the new sync vertical
-
isTransitionFormulaEntry
public boolean isTransitionFormulaEntry()Checks if is transition formula entry.- Returns:
- true, if is transition formula entry
-
setTransitionFormulaEntry
public void setTransitionFormulaEntry(boolean transitionFormulaEntry)Sets the transition formula entry.- Parameters:
transitionFormulaEntry- the new transition formula entry
-
isTransitionFormulaEvaluation
public boolean isTransitionFormulaEvaluation()Checks if is transition formula evaluation.- Returns:
- true, if is transition formula evaluation
-
setTransitionFormulaEvaluation
public void setTransitionFormulaEvaluation(boolean transitionFormulaEvaluation)Sets the transition formula evaluation.- Parameters:
transitionFormulaEvaluation- the new transition formula evaluation
-