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 2016/06/22 15:24:19 UTC

[Bug 59742] XSLFPictureData is missing TIFF support

https://bz.apache.org/bugzilla/show_bug.cgi?id=59742

Jens Popp <je...@camline.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Jens Popp <je...@camline.com> ---
Just adding 

    @Override
    public PictureType getType() {
...
        } else if (XSLFRelation.IMAGE_TIFF.getContentType().equals(ct)) {
            return PictureType.TIFF;
        } else {
            return null;
        }
    }

and

    /* package */ static XSLFRelation getRelationForType(PictureType pt) {
        switch (pt) {
            case EMF:
...
            case TIFF:
                return XSLFRelation.IMAGE_TIFF;
            default:
                return null;
        }
    }

Solves the problem

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