poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52268] New: Missing images on cloned sheets.
Date Thu, 01 Dec 2011 10:01:18 GMT

             Bug #: 52268
           Summary: Missing images on cloned sheets.
           Product: POI
           Version: 3.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: obidin@phystech.edu
    Classification: Unclassified

Created attachment 28009
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28009
Patch that solves problem with cloning sheet with images

Create "in.xlsx" file with sheet that contents images.
Try to clone that sheet.

is = new BufferedInputStream(new FileInputStream(WORKING_DIR + "in.xlsx"));
os = new BufferedOutputStream(new FileOutputStream(WORKING_DIR + "out.xlsx"));
Workbook workbook = WorkbookFactory.create(is);



Open out.xlsx with Microsoft Office.

There will be images on the cloned sheet.

There are no images on the cloned sheet.

I found the problem that cause this bug and made patch that solve that problem
(see the attachment).

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message