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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to