https://bz.apache.org/bugzilla/show_bug.cgi?id=62733

            Bug ID: 62733
           Summary: [PATCH] XSLFBackground setFill() can corrupt the
                    document
           Product: POI
           Version: 4.0.0-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLF
          Assignee: dev@poi.apache.org
          Reporter: bmate...@gmail.com
  Target Milestone: ---

Created attachment 36152
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36152&action=edit
patch setFill function of XSLFBackground

The current setFill implementation only cares about noFill and solidFill
attributes.
If the presentation already contains e.g. a gradFill and you call
setFill(null), it results in a background containing both a noFill and a
gradFill, which is an invalid document and cannot be opened by PPT.

See my patch which would fix that bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to