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 2014/06/05 10:38:32 UTC
[Bug 54916] [PATCH] POI does not always read all the slides in pptx
files
https://issues.apache.org/bugzilla/show_bug.cgi?id=54916
--- Comment #5 from vladk <vl...@gmail.com> ---
I am observing a related issue when loading one specific PPTX file, that I may
not post here, unfortunately.
Some slideMasters cannot be retrieved via XmlSlideShow.getSlideMasters(). The
problem is in org.apache.poi.xslf.usermodel.XMLSlideShow.onDocumentRead() where
the _masters instance variable is being populated.
In my case a possible fix would be to replace:
_masters.put(p.getPackageRelationship().getId(), master);
by
_masters.put(getRelationId(p), master);
This change should fix the problem for slideMasters only.
--
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