poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59742] XSLFPictureData is missing TIFF support
Date Wed, 22 Jun 2016 15:24:19 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59742

Jens Popp <jens.popp@camline.com> changed:

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

--- Comment #1 from Jens Popp <jens.popp@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


Mime
View raw message