public class SpreadsheetAddImageWatermarkStrategy extends SpreadsheetAddWatermarkStrategy implements IAddWatermarkStrategyGeneric<ImageWatermark,SpreadsheetWorksheet>
| Constructor and Description |
|---|
SpreadsheetAddImageWatermarkStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWatermark(Watermark watermark,
ContentPart part,
DocumentSpecificSettingsCollection settings)
Adds a watermark to a content part.
|
void |
addWatermarkGeneric(ImageWatermark watermark,
SpreadsheetWorksheet worksheet,
DocumentSpecificSettingsCollection settings)
Adds an image watermark to an Excel worksheet.
|
applyLineFormatSettings, applyShapeSettings, fillShapepublic SpreadsheetAddImageWatermarkStrategy()
public final void addWatermark(Watermark watermark, ContentPart part, DocumentSpecificSettingsCollection settings)
IAddWatermarkStrategyAdds a watermark to a content part.
addWatermark in interface IAddWatermarkStrategywatermark - Watermark of any supported type.part - Content part (page, frame, header or whole content).settings - Content-specific settings.
Settings that can be applied to a content of particular type.public final void addWatermarkGeneric(ImageWatermark watermark, SpreadsheetWorksheet worksheet, DocumentSpecificSettingsCollection settings)
Adds an image watermark to an Excel worksheet.
addWatermarkGeneric in interface IAddWatermarkStrategyGeneric<ImageWatermark,SpreadsheetWorksheet>watermark - Image watermark.worksheet - Excel worksheet.settings - Settings that can be applied to a watermark for an Excel content only.Copyright © 2026. All rights reserved.