You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2011/06/09 06:54:39 UTC

DO NOT REPLY [Bug 51345] New: Adding Image to EXcel Header Problem

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

             Bug #: 51345
           Summary: Adding Image to EXcel Header Problem
           Product: POI
           Version: 3.6
          Platform: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: shafiexp@gmail.com
    Classification: Unclassified


Created attachment 27135
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27135
Adding Image to Excel Header

Hi,

I have creted Excel Header manually bu using MS-Excel and saved that one as
template.xls

then after I opened that that template excel file by using poifsfilesystem and
manipulating data and images to that template and saving entire workbook into
another excel file "Header.xls"

when I open Header.xlsa file,

1. Header is there
2.data is added properly
3.but Image is not added to the workbook


Please  help me in this case.

Thanks,
Shafi

-- 
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


DO NOT REPLY [Bug 51345] Adding Image to EXcel Header Problem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51345

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE
         OS/Version|                            |All

--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 2011-06-14 11:59:06 UTC ---
It is a limitation of HSSF - it can create drawings from scratch, but cannot
modify existing ones. This means that if you add an image to a sheet that
already has graphic objects then the existing graphic objects are invalidated. 

XSSF does not have this limitation and should work fine for you. Convert your
template in the .xlsx format and you will be good.

P.S. Please post usage questions to the poi-user list. Bugzilla is for
submitting bugs.

Yegor

*** This bug has been marked as a duplicate of bug 51287 ***

-- 
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