try to build the new awpl eclipse tool or paint tool then u can crack i
guess.

Or Study and do approved.

On Mon, 8 Dec 2025 at 14:54, 308299160 (via GitHub) <[email protected]> wrote:

>
> 308299160 opened a new issue, #963:
> URL: https://github.com/apache/poi/issues/963
>
>    I want add a watermark to the SXSSFWorkbook, but the watermark doesn't
> show in the workbook. I  try to use the XSSFWorkbook, it's ok.
>    Help!
>    My code:
>    @Test
>        public void addWatermark2() {
>            String content = "水印文字内容";
>            SXSSFWorkbook workbook = new SXSSFWorkbook();
>            SXSSFSheet sheet = workbook.createSheet("Sheet1");
>            SXSSFRow row = sheet.createRow(0);
>            SXSSFCell cell = row.createCell(0);
>            cell.setCellValue("hello");
>            WatermarkUtils.addWatermarkToWorkbook(workbook, content);
>
>            try (FileOutputStream fileOut = new
> FileOutputStream("D:\\test.xlsx")) {
>                workbook.write(fileOut);
>                workbook.close();
>            } catch (FileNotFoundException e) {
>                throw new RuntimeException(e);
>            } catch (IOException e) {
>                throw new RuntimeException(e);
>            }
>        }
>
>
> --
> This is an automated message from the Apache Git Service.
> To respond to the message, please log on to GitHub and use the
> URL above to go to the specific comment.
>
> To unsubscribe, e-mail: [email protected]
>
> For queries about this service, please contact Infrastructure at:
> [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to