You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by To...@kfw.de on 2015/11/30 13:13:45 UTC

XSLFTableCell.setFillColor lead to corrupt file

Hi,

I am using POI to manipulate Powerpoint slides. There is one issue. Whenever I change the color of a table cell, the resulting file will have the need to be "repaired" when opened. However, when I let Office repair the file, everything looks good as expected.

setFillColor(Color) seems to produce some illegal content. I encapsulated this issue to the following method:

private void setFillColor(Color color, XSLFTableCell cell) {
        cell.setFillColor(color);
}

Is there a workaround?

Kind Regards,

Tobias



--------------------------------------------
KfW / Sitz: Frankfurt am Main
Vorstand: Dr. Ulrich Schroeder (Vorsitzender), Dr. Guenther Braeunig,
Dr. Ingrid Hengster, Dr. Norbert Kloppenburg, Bernd Loewen
Verwaltungsrat: Bundesminister Dr. Wolfgang Schaeuble (Vorsitzender)

-----------------Disclaimer-----------------
Die in dieser E-Mail und den dazugehoerigen Anhaengen (die Nachricht)
enthaltenen Informationen sind nur fuer den Adressaten bestimmt und koennen
vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Sollten
Sie die Nachricht irrtuemlich erhalten haben, loeschen Sie die Nachricht
bitte und benachrichtigen Sie den Absender, ohne die Nachricht zu kopieren
oder zu verteilen oder ihren Inhalt an andere Personen weiterzugeben. Ausser
bei Vorsatz oder grober Fahrlaessigkeit schliessen wir jegliche Haftung fuer
Verluste oder Schaeden aus, die durch virenbefallene Software oder E-Mails
verursacht werden.

-----------------Disclaimer-----------------
The information contained in this e-mail and any attachments (the message)
is intended for the addressee only and may contain confidential and/or
privileged information. If you have received the message by mistake please
delete it and notify the sender and do not copy or distribute it or disclose
its contents to anyone. Except in case of gross negligence or wilful
misconduct we accept no liability for any loss or damage caused by software
or e-mail viruses.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org