com.aspose.cells
Classes 
AboveAverage
AbstractCalculationEngine
AbstractCalculationMonitor
AbstractGlobalizationSettings
AbstractInterruptMonitor
AbstractTextLoadOptions
ActiveXControl
ActiveXControlBase
ArcShape
Area
AutoFilter
AutoFitterOptions
AutomaticFill
AutoNumberedBulletValue
Axis
AxisBins
BaseShapeGuide
Bevel
Border
BorderCollection
BuiltInDocumentPropertyCollection
Bullet
BulletValue
Button
CalculationCell
CalculationData
CalculationOptions
Cell
CellArea
Cells
CellsColor
CellsDataTableFactory
CellsDrawing
CellsException
CellsFactory
CellsHelper
CellWatch
CellWatchCollection
CharacterBulletValue
Chart
ChartArea
ChartCollection
ChartDataTable
ChartFrame
ChartGlobalizationSettings
ChartPoint
ChartPointCollection
ChartShape
ChartTextFrame
CheckBox
CheckBoxActiveXControl
CheckBoxCollection
CollectionBase
Color
ColorFilter
ColorHelper
ColorScale
Column
ColumnCollection
ComboBox
ComboBoxActiveXControl
CommandButtonActiveXControl
Comment
CommentCollection
CommentShape
ConditionalFormattingCollection
ConditionalFormattingIcon
ConditionalFormattingIconCollection
ConditionalFormattingResult
ConditionalFormattingValue
ConditionalFormattingValueCollection
ConnectionParameter
ConnectionParameterCollection
ContentTypeProperty
ContentTypePropertyCollection
CopyOptions
CustomDocumentPropertyCollection
CustomFilter
CustomFilterCollection
CustomGeometry
CustomImplementationFactory
CustomProperty
CustomPropertyCollection
CustomXmlPart
CustomXmlPartCollection
CustomXmlShape
DataBar
DataBarBorder
DataLabels
DataSorter
DataSorterKey
DataSorterKeyCollection
DateTime
DateTimeGroupItem
DBConnection
DefaultStyleSettings
DeleteOptions
DialogBox
DifSaveOptions
DigitalSignature
DigitalSignatureCollection
DisplayUnitLabel
DocumentProperty
DocumentPropertyCollection
DocxSaveOptions
DrawObject
DrawObjectEventHandler
DropBars
DxfCollection
DynamicFilter
Encoding
ErrorBar
ErrorCheckOption
ErrorCheckOptionCollection
ExportObjectEvent
ExportRangeToJsonOptions
ExportTableOptions
ExternalConnection
ExternalConnectionCollection
ExternalLink
ExternalLinkCollection
FileFontSource
FileFormatInfo
FileFormatUtil
Fill
FillFormat
FilterColumn
FilterColumnCollection
FindOptions
Floor
FolderFontSource
Font
FontConfigs
FontSetting
FontSettingCollection
FontSourceBase
Format3D
FormatCondition
FormatConditionCollection
FormulaParseOptions
FormulaSettings
Geometry
GlobalizationSettings
GlowEffect
GradientFill
GradientStop
GradientStopCollection
GroupBox
GroupFill
GroupShape
HeaderFooterCommand
HorizontalPageBreak
HorizontalPageBreakCollection
HtmlLoadOptions
HtmlSaveOptions
Hyperlink
HyperlinkCollection
IconFilter
IconSet
ImageActiveXControl
ImageFormat
ImageOrPrintOptions
ImageSaveOptions
ImportTableOptions
IndividualFontConfigs
InsertOptions
InterruptMonitor
JsonLayoutOptions
JsonLoadOptions
JsonSaveOptions
JsonUtility
Label
LabelActiveXControl
Legend
LegendEntry
LegendEntryCollection
License
Line
LineFormat
LineShape
ListBox
ListBoxActiveXControl
ListColumn
ListColumnCollection
ListObject
ListObjectCollection
LoadFilter
LoadOptions
MarkdownSaveOptions
Marker
MemoryFontSource
MetadataOptions
Metered
MsoFillFormat
MsoFillFormatHelper
MsoFormatPicture
MsoLineFormat
MsoLineFormatHelper
MsoTextFrame
MultipleFilterCollection
Name
NameCollection
NegativeBarFormat
NoneBulletValue
NoneFill
OdsCellField
OdsCellFieldCollection
OdsLoadOptions
OdsPageBackground
OdsSaveOptions
OleObject
OleObjectCollection
OoxmlSaveOptions
Outline
Oval
PageEndSavingArgs
PageSavingArgs
PageSetup
PageStartSavingArgs
PaginatedSaveOptions
PaneCollection
PasteOptions
PatternFill
PdfBookmarkEntry
PdfSaveOptions
PdfSecurityOptions
PicFormatOption
Picture
PictureBulletValue
PictureCollection
PivotField
PivotFieldCollection
PivotFilter
PivotFilterCollection
PivotFormatCondition
PivotFormatConditionCollection
PivotItem
PivotItemCollection
PivotOptions
PivotPageFields
PivotTable
PivotTableCollection
PlotArea
PptxSaveOptions
ProtectedRange
ProtectedRangeCollection
Protection
QueryTable
QueryTableCollection
RadioButton
RadioButtonActiveXControl
Range
RangeCollection
RectangleShape
ReferredArea
ReferredAreaCollection
ReflectionEffect
ReplaceOptions
Revision
RevisionAutoFormat
RevisionCellChange
RevisionCellComment
RevisionCellMove
RevisionCollection
RevisionCustomView
RevisionDefinedName
RevisionFormat
RevisionInsertDelete
RevisionInsertSheet
RevisionLog
RevisionLogCollection
RevisionMergeConflict
RevisionQueryTable
RevisionRenameSheet
Row
RowCollection
SaveOptions
Scenario
ScenarioCollection
ScenarioInputCell
ScenarioInputCellCollection
ScrollBar
ScrollBarActiveXControl
Series
SeriesCollection
SeriesLayoutProperties
ShadowEffect
Shape
ShapeCollection
ShapeFormat
ShapeGuide
ShapeGuideCollection
ShapePath
ShapePathCollection
ShapePathPoint
ShapePathPointCollection
ShapePropertyCollection
ShapeSegmentPath
ShapeSegmentPathCollection
ShapeTextAlignment
SheetPrintingPreview
SheetRender
SheetSet
SignatureLine
Slicer
SlicerCache
SlicerCacheItem
SlicerCacheItemCollection
SlicerCollection
SmartArtShape
SmartTag
SmartTagCollection
SmartTagOptions
SmartTagProperty
SmartTagPropertyCollection
SmartTagSetting
SolidFill
Sparkline
SparklineCollection
SparklineGroup
SparklineGroupCollection
SpinButtonActiveXControl
Spinner
SpreadsheetML2003SaveOptions
StreamProviderOptions
Style
StyleFlag
SubtotalSetting
SvgSaveOptions
SxRng
TableStyle
TableStyleCollection
TableStyleElement
TableStyleElementCollection
TableToRangeOptions
TextBox
TextBoxActiveXControl
TextBoxCollection
TextEffectFormat
TextOptions
TextParagraph
TextParagraphCollection
TextTabStop
TextTabStopCollection
TextureFill
ThemeColor
ThreadedComment
ThreadedCommentAuthor
ThreadedCommentAuthorCollection
ThreadedCommentCollection
ThreeDFormat
TickLabelItem
TickLabels
TilePicOption
Timeline
TimelineCollection
Title
ToggleButtonActiveXControl
Top10
Top10Filter
Trendline
TrendlineCollection
TxtLoadOptions
TxtSaveOptions
UnionRange
UnknownControl
Validation
ValidationCollection
VbaModule
VbaModuleCollection
VbaProject
VbaProjectReference
VbaProjectReferenceCollection
VerticalPageBreak
VerticalPageBreakCollection
VmlShapeGuide
Walls
WarningInfo
WebExtension
WebExtensionBinding
WebExtensionBindingCollection
WebExtensionCollection
WebExtensionProperty
WebExtensionPropertyCollection
WebExtensionReference
WebExtensionReferenceCollection
WebExtensionShape
WebExtensionTaskPane
WebExtensionTaskPaneCollection
WebQueryConnection
Workbook
WorkbookDesigner
WorkbookMetadata
WorkbookPrintingPreview
WorkbookRender
WorkbookSettings
Worksheet
WorksheetCollection
WriteProtection
XlsbSaveOptions
XlsSaveOptions
XmlColumnProperty
XmlDataBinding
XmlLoadOptions
XmlMap
XmlMapCollection
XmlSaveOptions
XpsSaveOptions
Interfaces 
ICellsDataTable
ICustomFunction
ICustomParser
IExportObjectListener
IFilePathProvider
IPageSavingCallback
ISmartMarkerCallBack
IStreamProvider
IWarningCallback
LightCellsDataHandler
LightCellsDataProvider
Constants 
AccessCacheOptions
ActiveXPersistenceType
AutoFillType
AutoFitMergedCellsType
AutoFitWrappedTextType
AutoShapeType
AxisType
BackgroundMode
BackgroundType
Bar3DShapeType
BevelPresetType
BevelType
BorderType
BubbleSizeRepresents
BuiltinStyleType
BulletType
CalcModeType
CalculationPrecisionStrategy
CategoryType
CellBorderType
CellValueFormatStrategy
CellValueType
ChartLineFormattingType
ChartMarkerType
ChartSplitType
ChartTextDirectionType
ChartType
CheckValueType
ColorDepth
ColorType
CommentTitleType
ConnectionDataSourceType
ConnectionParameterType
ConsolidationFunction
ControlBorderType
ControlCaptionAlignmentType
ControlListStyle
ControlMatchEntryType
ControlMousePointerType
ControlPictureAlignmentType
ControlPicturePositionType
ControlPictureSizeMode
ControlScrollBarType
ControlScrollOrientation
ControlSpecialEffectType
ControlType
CopyFormatType
CountryCode
CredentialsMethodType
CrossType
DataBarAxisPosition
DataBarBorderType
DataBarFillType
DataBarNegativeColorType
DataLabelShapeType
DataLabelsSeparatorType
DataLablesSeparatorType
DateTimeGroupingType
DefaultEditLanguage
DirectoryType
DisplayDrawingObjects
DisplayUnitType
DrawObjectEnum
DropButtonStyle
DynamicFilterType
EmfRenderSetting
EncryptionType
ErrorBarDisplayType
ErrorBarType
ErrorCheckType
ExceptionType
ExternalLinkType
FileFormatType
FillPattern
FillPictureType
FillType
FilterOperatorType
FilterType
FontSchemeType
FontSourceType
FontUnderlineType
FormatConditionType
FormatConditionValueType
FormatSetType
FormattingType
GradientColorType
GradientDirectionType
GradientFillType
GradientPresetType
GradientStyleType
GridlineType
HeaderFooterCommandType
HtmlCrossType
HtmlExportDataOptions
HtmlFormatHandlingType
HtmlHiddenColDisplayType
HtmlHiddenRowDisplayType
HtmlLinkTargetType
IconSetType
ImageType
InputMethodEditorMode
LabelPositionType
LegendPositionType
LightRigDirectionType
LightRigType
LineCapType
LineJoinType
LineSpaceSizeType
LineType
LoadDataFilterOptions
LoadFormat
LookAtType
LookInType
MapChartLabelLayout
MapChartProjectionType
MapChartRegionType
MemorySetting
MetadataType
MirrorType
MsoArrowheadLength
MsoArrowheadStyle
MsoArrowheadWidth
MsoDrawingType
MsoLineDashStyle
MsoLineStyle
MsoPresetTextEffect
MsoPresetTextEffectShape
NameScopeType
NumberCategoryType
OdsCellFieldType
OdsGeneratorType
OdsPageBackgroundGraphicPositionType
OdsPageBackgroundGraphicType
OdsPageBackgroundType
OLEDBCommandType
OoxmlCompliance
OoxmlCompressionType
OperatorType
PageLayoutAlignmentType
PageOrientationType
PaneStateType
PaperSizeType
ParameterType
PasteOperationType
PasteType
PdfCompliance
PdfCompressionCore
PdfCustomPropertiesExport
PdfFontEncoding
PdfOptimizationType
PivotConditionFormatRuleType
PivotConditionFormatScopeType
PivotFieldDataDisplayFormat
PivotFieldSubtotalType
PivotFieldType
PivotFilterType
PivotGroupByType
PivotItemPosition
PivotMissingItemLimitType
PivotTableAutoFormatType
PivotTableStyleType
PlacementType
PlotDataByType
PlotEmptyCellsType
PresetCameraType
PresetMaterialType
PresetShadowType
PresetWordArtStyle
PrintCommentsType
PrintErrorsType
PrintingPageType
PrintOrderType
PrintSizeType
PropertyType
ProtectionType
QuartileCalculationType
ReConnectionMethodType
RectangleAlignmentType
ReflectionEffectType
RenameStrategy
ResourceLoadingType
RevisionActionType
RevisionType
SaveFormat
SelectionType
ShapeAnchorType
ShapeLockType
ShapePathType
SheetType
ShiftType
ShowDropButtonType
SlicerCacheCrossFilterType
SlicerCacheItemSortType
SlicerStyleType
SmartTagShowType
SortOnType
SortOrder
SparklineAxisMinMaxType
SparklinePresetStyleType
SparklineType
SqlDataType
StyleModifyFlag
TableDataSourceType
TableStyleElementType
TableStyleType
TargetModeType
TextAlignmentType
TextAutonumberScheme
TextCapsType
TextCrossType
TextDirectionType
TextFontAlignType
TextNodeType
TextOrientationType
TextOverflowType
TextStrikeType
TextTabAlignmentType
TextureType
TextVerticalType
ThemeColorType
TickLabelPositionType
TickMarkType
TiffCompression
TimePeriodType
TimeUnit
TotalsCalculation
TrendlineType
TxtLoadStyleStrategy
TxtValueQuoteType
UpdateLinksType
ValidationAlertType
ValidationType
VbaModuleType
VbaProjectReferenceType
ViewType
VisibilityType
WarningType
WebExtensionStoreType
WeightType
XAdESType

com.aspose.cells
Class Protection

java.lang.Object
    extended by com.aspose.cells.Protection

public class Protection 
extends java.lang.Object

Represents the various types of protection options available for a worksheet.

Example:

//Instantiating a Workbook object
Workbook workbook = new Workbook();

Worksheet worksheet = workbook.getWorksheets().get(0);
//Allowing users to select locked cells of the worksheet
worksheet.getProtection().setAllowSelectingLockedCell(true);
//Allowing users to select unlocked cells of the worksheet
worksheet.getProtection().setAllowSelectingUnlockedCell(true);


Property Getters/Setters Summary
booleangetAllowDeletingColumn()
voidsetAllowDeletingColumn(boolean)
           Represents if the deletion of columns is allowed on a protected worksheet.
booleangetAllowDeletingRow()
voidsetAllowDeletingRow(boolean)
           Represents if the deletion of rows is allowed on a protected worksheet.
booleangetAllowEditingContent()
voidsetAllowEditingContent(boolean)
           Represents if the user is allowed to edit contents of locked cells on a protected worksheet.
booleangetAllowEditingObject()
voidsetAllowEditingObject(boolean)
           Represents if the user is allowed to manipulate drawing objects on a protected worksheet.
booleangetAllowEditingScenario()
voidsetAllowEditingScenario(boolean)
           Represents if the user is allowed to edit scenarios on a protected worksheet.
booleangetAllowFiltering()
voidsetAllowFiltering(boolean)
           Represents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected.
booleangetAllowFormattingCell()
voidsetAllowFormattingCell(boolean)
           Represents if the formatting of cells is allowed on a protected worksheet.
booleangetAllowFormattingColumn()
voidsetAllowFormattingColumn(boolean)
           Represents if the formatting of columns is allowed on a protected worksheet
booleangetAllowFormattingRow()
voidsetAllowFormattingRow(boolean)
           Represents if the formatting of rows is allowed on a protected worksheet
booleangetAllowInsertingColumn()
voidsetAllowInsertingColumn(boolean)
           Represents if the insertion of columns is allowed on a protected worksheet
booleangetAllowInsertingHyperlink()
voidsetAllowInsertingHyperlink(boolean)
           Represents if the insertion of hyperlinks is allowed on a protected worksheet
booleangetAllowInsertingRow()
voidsetAllowInsertingRow(boolean)
           Represents if the insertion of rows is allowed on a protected worksheet
booleangetAllowSelectingLockedCell()
voidsetAllowSelectingLockedCell(boolean)
           Represents if the user is allowed to select locked cells on a protected worksheet.
booleangetAllowSelectingUnlockedCell()
voidsetAllowSelectingUnlockedCell(boolean)
           Represents if the user is allowed to select unlocked cells on a protected worksheet.
booleangetAllowSorting()
voidsetAllowSorting(boolean)
           Represents if the sorting option is allowed on a protected worksheet.
booleangetAllowUsingPivotTable()
voidsetAllowUsingPivotTable(boolean)
           Represents if the user is allowed to manipulate pivot tables on a protected worksheet.
booleanisDeletingColumnsAllowed()
voidsetDeletingColumnsAllowed(boolean)
           Represents if the deletion of columns is allowed on a protected worksheet.
booleanisDeletingRowsAllowed()
voidsetDeletingRowsAllowed(boolean)
           Represents if the deletion of rows is allowed on a protected worksheet.
booleanisEditingContentsAllowed()
voidsetEditingContentsAllowed(boolean)
           Represents if the user is allowed to edit contents of locked cells on a protected worksheet.
booleanisEditingObjectsAllowed()
voidsetEditingObjectsAllowed(boolean)
           Represents if the user is allowed to manipulate drawing objects on a protected worksheet.
booleanisEditingScenariosAllowed()
voidsetEditingScenariosAllowed(boolean)
           Represents if the user is allowed to edit scenarios on a protected worksheet.
booleanisFilteringAllowed()
voidsetFilteringAllowed(boolean)
           Represents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected.
booleanisFormattingCellsAllowed()
voidsetFormattingCellsAllowed(boolean)
           Represents if the formatting of cells is allowed on a protected worksheet.
booleanisFormattingColumnsAllowed()
voidsetFormattingColumnsAllowed(boolean)
           Represents if the formatting of columns is allowed on a protected worksheet
booleanisFormattingRowsAllowed()
voidsetFormattingRowsAllowed(boolean)
           Represents if the formatting of rows is allowed on a protected worksheet
booleanisInsertingColumnsAllowed()
voidsetInsertingColumnsAllowed(boolean)
           Represents if the insertion of columns is allowed on a protected worksheet
booleanisInsertingHyperlinksAllowed()
voidsetInsertingHyperlinksAllowed(boolean)
           Represents if the insertion of hyperlinks is allowed on a protected worksheet
booleanisInsertingRowsAllowed()
voidsetInsertingRowsAllowed(boolean)
           Represents if the insertion of rows is allowed on a protected worksheet
booleanisProtectedWithPassword()
           Indicates whether the worksheets is protected with password.
booleanisSelectingLockedCellsAllowed()
voidsetSelectingLockedCellsAllowed(boolean)
           Represents if the user is allowed to select locked cells on a protected worksheet.
booleanisSelectingUnlockedCellsAllowed()
voidsetSelectingUnlockedCellsAllowed(boolean)
           Represents if the user is allowed to select unlocked cells on a protected worksheet.
booleanisSortingAllowed()
voidsetSortingAllowed(boolean)
           Represents if the sorting option is allowed on a protected worksheet.
booleanisUsingPivotTablesAllowed()
voidsetUsingPivotTablesAllowed(boolean)
           Represents if the user is allowed to manipulate pivot tables on a protected worksheet.
java.lang.StringgetPassword()
voidsetPassword(java.lang.String)
           Represents the password to protect the worksheet.
 
Method Summary
voidcopy(Protection source)
           Copy protection info.
intgetPasswordHash()
           Gets the hash of current password.
booleanverifyPassword(java.lang.String password)
           Verifies password.
 

Property Getters/Setters Detail

getAllowDeletingColumn/setAllowDeletingColumn

public boolean getAllowDeletingColumn() / public void setAllowDeletingColumn(boolean value)
Represents if the deletion of columns is allowed on a protected worksheet. The columns containing the cells to be deleted must be unlocked when the sheet is protected, and "Select unlocked cells" option must be enabled.

isDeletingColumnsAllowed/setDeletingColumnsAllowed

public boolean isDeletingColumnsAllowed() / public void setDeletingColumnsAllowed(boolean value)
Represents if the deletion of columns is allowed on a protected worksheet. The columns containing the cells to be deleted must be unlocked when the sheet is protected, and "Select unlocked cells" option must be enabled. NOTE: This member is now obsolete. Instead, please use Protection.AllowDeletingColumn property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowDeletingRow/setAllowDeletingRow

public boolean getAllowDeletingRow() / public void setAllowDeletingRow(boolean value)
Represents if the deletion of rows is allowed on a protected worksheet. The rows containing the cells to be deleted must be unlocked when the sheet is protected, and "Select unlocked cells" option must be enabled.

isDeletingRowsAllowed/setDeletingRowsAllowed

public boolean isDeletingRowsAllowed() / public void setDeletingRowsAllowed(boolean value)
Represents if the deletion of rows is allowed on a protected worksheet. The rows containing the cells to be deleted must be unlocked when the sheet is protected, and "Select unlocked cells" option must be enabled. NOTE: This member is now obsolete. Instead, please use Protection.AllowDeletingRow property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowFiltering/setAllowFiltering

public boolean getAllowFiltering() / public void setAllowFiltering(boolean value)
Represents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected.

isFilteringAllowed/setFilteringAllowed

public boolean isFilteringAllowed() / public void setFilteringAllowed(boolean value)
Represents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected. NOTE: This member is now obsolete. Instead, please use Protection.AllowFiltering property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowFormattingCell/setAllowFormattingCell

public boolean getAllowFormattingCell() / public void setAllowFormattingCell(boolean value)
Represents if the formatting of cells is allowed on a protected worksheet.

isFormattingCellsAllowed/setFormattingCellsAllowed

public boolean isFormattingCellsAllowed() / public void setFormattingCellsAllowed(boolean value)
Represents if the formatting of cells is allowed on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowFormattingCell property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowFormattingColumn/setAllowFormattingColumn

public boolean getAllowFormattingColumn() / public void setAllowFormattingColumn(boolean value)
Represents if the formatting of columns is allowed on a protected worksheet

isFormattingColumnsAllowed/setFormattingColumnsAllowed

public boolean isFormattingColumnsAllowed() / public void setFormattingColumnsAllowed(boolean value)
Represents if the formatting of columns is allowed on a protected worksheet NOTE: This member is now obsolete. Instead, please use Protection.AllowFormattingColumn property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowFormattingRow/setAllowFormattingRow

public boolean getAllowFormattingRow() / public void setAllowFormattingRow(boolean value)
Represents if the formatting of rows is allowed on a protected worksheet

isFormattingRowsAllowed/setFormattingRowsAllowed

public boolean isFormattingRowsAllowed() / public void setFormattingRowsAllowed(boolean value)
Represents if the formatting of rows is allowed on a protected worksheet NOTE: This member is now obsolete. Instead, please use Protection.AllowFormattingRow property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowInsertingColumn/setAllowInsertingColumn

public boolean getAllowInsertingColumn() / public void setAllowInsertingColumn(boolean value)
Represents if the insertion of columns is allowed on a protected worksheet

isInsertingColumnsAllowed/setInsertingColumnsAllowed

public boolean isInsertingColumnsAllowed() / public void setInsertingColumnsAllowed(boolean value)
Represents if the insertion of columns is allowed on a protected worksheet NOTE: This member is now obsolete. Instead, please use Protection.AllowInsertingColumn property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowInsertingHyperlink/setAllowInsertingHyperlink

public boolean getAllowInsertingHyperlink() / public void setAllowInsertingHyperlink(boolean value)
Represents if the insertion of hyperlinks is allowed on a protected worksheet

isInsertingHyperlinksAllowed/setInsertingHyperlinksAllowed

public boolean isInsertingHyperlinksAllowed() / public void setInsertingHyperlinksAllowed(boolean value)
Represents if the insertion of hyperlinks is allowed on a protected worksheet NOTE: This member is now obsolete. Instead, please use Protection.AllowInsertingHyperlink property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowInsertingRow/setAllowInsertingRow

public boolean getAllowInsertingRow() / public void setAllowInsertingRow(boolean value)
Represents if the insertion of rows is allowed on a protected worksheet

isInsertingRowsAllowed/setInsertingRowsAllowed

public boolean isInsertingRowsAllowed() / public void setInsertingRowsAllowed(boolean value)
Represents if the insertion of rows is allowed on a protected worksheet NOTE: This member is now obsolete. Instead, please use Protection.AllowInsertingRow property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowSorting/setAllowSorting

public boolean getAllowSorting() / public void setAllowSorting(boolean value)
Represents if the sorting option is allowed on a protected worksheet.

isSortingAllowed/setSortingAllowed

public boolean isSortingAllowed() / public void setSortingAllowed(boolean value)
Represents if the sorting option is allowed on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowSorting property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowUsingPivotTable/setAllowUsingPivotTable

public boolean getAllowUsingPivotTable() / public void setAllowUsingPivotTable(boolean value)
Represents if the user is allowed to manipulate pivot tables on a protected worksheet.

isUsingPivotTablesAllowed/setUsingPivotTablesAllowed

public boolean isUsingPivotTablesAllowed() / public void setUsingPivotTablesAllowed(boolean value)
Represents if the user is allowed to manipulate pivot tables on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowUsingPivotTable property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowEditingContent/setAllowEditingContent

public boolean getAllowEditingContent() / public void setAllowEditingContent(boolean value)
Represents if the user is allowed to edit contents of locked cells on a protected worksheet.

isEditingContentsAllowed/setEditingContentsAllowed

public boolean isEditingContentsAllowed() / public void setEditingContentsAllowed(boolean value)
Represents if the user is allowed to edit contents of locked cells on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowEditingContent property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowEditingObject/setAllowEditingObject

public boolean getAllowEditingObject() / public void setAllowEditingObject(boolean value)
Represents if the user is allowed to manipulate drawing objects on a protected worksheet.

isEditingObjectsAllowed/setEditingObjectsAllowed

public boolean isEditingObjectsAllowed() / public void setEditingObjectsAllowed(boolean value)
Represents if the user is allowed to manipulate drawing objects on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowEditingObject property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowEditingScenario/setAllowEditingScenario

public boolean getAllowEditingScenario() / public void setAllowEditingScenario(boolean value)
Represents if the user is allowed to edit scenarios on a protected worksheet.

isEditingScenariosAllowed/setEditingScenariosAllowed

public boolean isEditingScenariosAllowed() / public void setEditingScenariosAllowed(boolean value)
Represents if the user is allowed to edit scenarios on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowEditingScenario property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getPassword/setPassword

public java.lang.String getPassword() / public void setPassword(java.lang.String value)
Represents the password to protect the worksheet. If password is set to null or blank string, you can unprotect the worksheet or workbook without using a password. Otherwise, you must specify the password to unprotect the worksheet or workbook.

isProtectedWithPassword

public boolean isProtectedWithPassword()
Indicates whether the worksheets is protected with password.

getAllowSelectingLockedCell/setAllowSelectingLockedCell

public boolean getAllowSelectingLockedCell() / public void setAllowSelectingLockedCell(boolean value)
Represents if the user is allowed to select locked cells on a protected worksheet.

isSelectingLockedCellsAllowed/setSelectingLockedCellsAllowed

public boolean isSelectingLockedCellsAllowed() / public void setSelectingLockedCellsAllowed(boolean value)
Represents if the user is allowed to select locked cells on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowSelectingLockedCell property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

getAllowSelectingUnlockedCell/setAllowSelectingUnlockedCell

public boolean getAllowSelectingUnlockedCell() / public void setAllowSelectingUnlockedCell(boolean value)
Represents if the user is allowed to select unlocked cells on a protected worksheet.

isSelectingUnlockedCellsAllowed/setSelectingUnlockedCellsAllowed

public boolean isSelectingUnlockedCellsAllowed() / public void setSelectingUnlockedCellsAllowed(boolean value)
Represents if the user is allowed to select unlocked cells on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowSelectingUnlockedCell property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.

Method Detail

copy

public void copy(Protection source)
Copy protection info.
Parameters:
source -

getPasswordHash

public int getPasswordHash()
Gets the hash of current password.

verifyPassword

public boolean verifyPassword(java.lang.String password)
Verifies password.
Parameters:
password - The password.
Returns:

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.