public class SpreadsheetAddTextWatermarkIntoHeaderFooterStrategy extends SpreadsheetAddWatermarkIntoHeaderFooterStrategy implements IAddWatermarkStrategyGeneric<TextWatermark,SpreadsheetWorksheet>
| Constructor and Description |
|---|
SpreadsheetAddTextWatermarkIntoHeaderFooterStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWatermark(Watermark watermark,
ContentPart part,
DocumentSpecificSettingsCollection settings)
Adds a watermark to a content part.
|
void |
addWatermarkGeneric(TextWatermark watermark,
SpreadsheetWorksheet worksheet,
DocumentSpecificSettingsCollection settings)
Adds a text watermark into Excel worksheet header or footer.
|
setHeaderFooterpublic SpreadsheetAddTextWatermarkIntoHeaderFooterStrategy()
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(TextWatermark watermark, SpreadsheetWorksheet worksheet, DocumentSpecificSettingsCollection settings)
Adds a text watermark into Excel worksheet header or footer.
addWatermarkGeneric in interface IAddWatermarkStrategyGeneric<TextWatermark,SpreadsheetWorksheet>watermark - Text watermark.worksheet - Excel worksheet.settings - Settings that can be applied to a watermark for an Excel content only.Copyright © 2026. All rights reserved.