Summary: | XSLFSlide does not contain isHidden and setHidden like HSLFSlide does | ||
---|---|---|---|
Product: | POI | Reporter: | Ghazi Triki <ghazi.nocturne> |
Component: | XSLF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | 3.17-FINAL | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Ghazi Triki
2017-10-26 18:49:43 UTC
I just found this : slide.getXmlObject().getShow() Is it the correct way? Any chance you could create a simple PPTX slideshow in PowerPoint, one slide shown and one hidden, and either upload it here or check the XML inside to identify the hidden flag? We can then quite quickly add the missing matching getter / setter methods Using this method works slide.getXmlObject().getShow() Let's leave this one open until getHidden is part of the XSLF like API. We don't want users to rely on the underlying xmlbean implementation. Applied with r1814122 I've changed getHidden() to isHidden() to go along the beans naming convention. Do we need a deprecated getHidden() for scratchpad? ... I suppose, no (In reply to Andreas Beeker from comment #5) > Applied with r1814122 > Do we need a deprecated getHidden() for scratchpad? No, but it's a pretty small alias to add to our API. If it means greater adoption of 4.0.0, it'd be helpful to keep it for a release. |