I have a function that duplicates slides:
public void createDuplicateSlide(String slidePartName, int n)
This is how I use it:
so that I have:
But as you can see, the problem is the fact that the first slide needs to be named slide<number>-1.xml.
I was wondering if there was a simple way I could rename slide<number>.xml to slide<number>-1.xml.
I could, of course, start naming from slide<number>-2.xml for the duplicates; however, this leads to
complications later in my program where I try to split the contents of a table across several slides.
Is there an easy fix to this?