https://issues.apache.org/bugzilla/show_bug.cgi?id=53691

          Priority: P2
            Bug ID: 53691
          Assignee: [email protected]
           Summary: Workbook corruption on cloneSheet when conditional
                    formatting is used
          Severity: normal
    Classification: Unclassified
          Reporter: [email protected]
          Hardware: PC
            Status: NEW
           Version: 3.8
         Component: HSSF
           Product: POI

Created attachment 29207
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29207&action=edit
Sample Code

I'm getting an error when opening a spreadsheet processed by POI in MS Excel
"Protected View Office has detected a problem with this file. Editing it may
harm your computer". 

This happens whenever I try to use the HSSFWorkBook's cloneSheet method on a
sheet that's using conditional formatting.

Please find sample code that reproduces this behaviour attached. This code
opens the orig.xls, clones the first sheet and then saves to another file. The
orig.xls consists of only 2 cells that have conditional formatting defined.
When removing the conditional formatting, the cloning does not cause any
problems.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to