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 2008/12/02 11:01:19 UTC
DO NOT REPLY [Bug 46320] New: HSSFPictureData is missing a function
int getFormat()
https://issues.apache.org/bugzilla/show_bug.cgi?id=46320
Summary: HSSFPictureData is missing a function int getFormat()
Product: POI
Version: 3.2-FINAL
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P5
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: mbo@aucotec.com
HSSFPictureData is missing a function int getFormat()
This should return the
public static final short MSOBI_WMF = 0x2160;
public static final short MSOBI_EMF = 0x3D40;
public static final short MSOBI_PICT = 0x5420;
public static final short MSOBI_PNG = 0x6E00;
public static final short MSOBI_JPEG = 0x46A0;
public static final short MSOBI_DIB = 0x7A80;
constant values.
This is required to copy an Image to another HSSFWorkbook.
The function to create a Picture there requires the format as input.
This is an enchantment request because the Format may be retrieved by looking
at the suggestFileExtension() return value.
public int addPicture(byte[] pictureData, int format)
--
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 46320] HSSFPictureData is missing a function int
getFormat()
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46320
Yegor Kozlov <ye...@dinom.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 2008-12-30 10:52:39 PST ---
Added in r730213 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=730213 )
Yegor
--
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