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/11/10 09:41:15 UTC

[Bug 59273] Unable to create pptx file by potx file using Apache POI

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

--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
The trick is to change the content-type of the presentation:

ppt.getPackage().replaceContentType(
XSLFRelation.PRESENTATIONML_TEMPLATE, XSLFRelation.MAIN
);

... but the new content type is not saved.

I'm on it ...

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