You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by vlad dev <vl...@gmail.com> on 2014/05/09 14:25:20 UTC

XSLFShape.copy() is not public

Hi All,

is there any reason, why the method
org.apache.poi.xslf.usermodel.XSLFShape.copy(XSLFShape) has package level
visibility?

Making this method public would allow a fine grained control other what is
to be copied from a SlideLayout or another SlideShow.

For instance,
org.apache.poi.xslf.usermodel.XSLFSlideLayout.copyLayout(XSLFSlide) doesn't
copy shapes of types DATETIME, SLIDE_NUMBER and FOOTER. I have no idea how
to copy shapes of those types into a new Slide.

Vlad