public abstract class SpreadsheetAddWatermarkAsBackgroundStrategy extends Object
| Constructor and Description |
|---|
SpreadsheetAddWatermarkAsBackgroundStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected SpreadsheetLastBackgroundWatermarkInfo |
getLastBackgroundWatermarkInfo() |
protected static byte[] |
getWatermarkOnBackground(Watermark watermark,
int backgroundWidth,
int backgroundHeight)
Returns byte array containing a watermark drawn on background.
|
protected static void |
setBackground(SpreadsheetWorksheet worksheet,
byte[] imageData) |
protected void |
setLastBackgroundWatermarkInfo(SpreadsheetLastBackgroundWatermarkInfo value) |
public SpreadsheetAddWatermarkAsBackgroundStrategy()
protected final SpreadsheetLastBackgroundWatermarkInfo getLastBackgroundWatermarkInfo()
protected static byte[] getWatermarkOnBackground(Watermark watermark, int backgroundWidth, int backgroundHeight)
Returns byte array containing a watermark drawn on background.
watermark - Watermark to draw.backgroundWidth - The width of background.backgroundHeight - The height of background.protected static void setBackground(SpreadsheetWorksheet worksheet, byte[] imageData)
protected final void setLastBackgroundWatermarkInfo(SpreadsheetLastBackgroundWatermarkInfo value)
Copyright © 2026. All rights reserved.