Search code examples
javapowerpointdocx4j

how to find end of slide height and last added element position


I am exploring pptx4j to generate slide compatible to office 2013. One of the requirement is to move the element(new row of table/ text box/ new table/ any other element) to next slide when the element added goes beyond the slide height.

Is there any way to achieve this.


Solution

  • You can write you own logic to calculate the height of your content, but there is nothing at present in pptx4j which does this for you, I'm afraid.