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/12/01 18:42:28 UTC
DO NOT REPLY [Bug 52272] New: [PATCH] Inserting images on cloned
shet with images.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52272
Bug #: 52272
Summary: [PATCH] Inserting images on cloned shet with images.
Product: POI
Version: 3.8-dev
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: obidin@phystech.edu
Classification: Unclassified
Created attachment 28012
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28012
Patch that fix described problem in this issue.
TC
1)Create xls file with one sheet with images (see attached example).
2)Clone this sheet.
3)Try to obtain HSSFPatriarch by calling HSSFSheet.getDrawingPatriarch()
ER
HSSFPatriarch will be returned.
AR
null is returned.
The bug produces problem:
To insert image on cloned sheet you have to call createDrawingPatriarch(), but
that method remove all existence image from this sheet.
I found the problem code and fix it (see attached patch).
--
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 52272] [PATCH] Inserting images on cloned shet
with images.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52272
--- Comment #1 from Michael <ob...@phystech.edu> 2011-12-01 17:43:10 UTC ---
Created attachment 28013
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28013
Sample input xls file for reproducing this issue.
--
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 52272] [PATCH] Inserting images on cloned sheet
with images.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52272
Evgeniy Berlog <su...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |53010
--
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 52272] [PATCH] Inserting images on cloned sheet
with images.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52272
Michael <ob...@phystech.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[PATCH] Inserting images on |[PATCH] Inserting images on
|cloned shet with images. |cloned sheet with images.
--
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
[Bug 52272] [PATCH] Inserting images on cloned sheet with images.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52272
Evgeniy Berlog <su...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Evgeniy Berlog <su...@gmail.com> ---
This problem should be fixed in trunk.
Please try with a nightly build - see download links on http://poi.apache.org/
or build yourself from SVN trunk, see http://poi.apache.org/subversion.html
--
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