public abstract class SpreadsheetWatermarkBaseOptions extends SpreadsheetWatermarkOptions
Base class for watermark adding options to a Spreadsheet document.
| Modifier | Constructor and Description |
|---|---|
protected |
SpreadsheetWatermarkBaseOptions()
Initializes a new instance of the
class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlternativeText()
Gets the descriptive (alternative) text that will be associated with a shape.
|
String |
getName()
Gets the name a shape.
|
boolean |
isLocked()
Gets a value indicating whether an editing of the shape in Excel is forbidden.
|
void |
setAlternativeText(String value)
Sets the descriptive (alternative) text that will be associated with a shape.
|
void |
setLocked(boolean value)
Sets a value indicating whether an editing of the shape in Excel is forbidden.
|
void |
setName(String value)
Sets the name a shape.
|
protected SpreadsheetWatermarkBaseOptions()
SpreadsheetWatermarkBaseOptions class.public final String getAlternativeText()
Gets the descriptive (alternative) text that will be associated with a shape.
public final String getName()
Gets the name a shape.
public final boolean isLocked()
Gets a value indicating whether an editing of the shape in Excel is forbidden.
public final void setAlternativeText(String value)
Sets the descriptive (alternative) text that will be associated with a shape.
value - The descriptive (alternative) text that will be associated with a shape.public final void setLocked(boolean value)
Sets a value indicating whether an editing of the shape in Excel is forbidden.
value - If the value is true, shape editing will be forbidden.
By default, the value is false, the shape can be edited in Excel.public final void setName(String value)
Sets the name a shape.
value - The shape name.Copyright © 2026. All rights reserved.