Hey Alex,

Check out TestXSLFNotes.java, there are examples in that test class. E.g. 
createNewNote()

Kind Regards
Gareth

On 23/02/2024, 23:31, "Alex O'Ree" <[email protected] 
<mailto:[email protected]>> wrote:


CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you can confirm the sender and know the 
content is safe.






I'm attempting to create a new slide deck programmatically, add a slide,
then add notes to the new slide. The api is a bit strange to me and i'd
love some guidance on this.


XSLFSlide has a setNotes API, however there's no public constructor for
XSLFNotes so i'm not sure how to construct it.


XMLSlideShow has an API called getNotesSlide(slide) which i can definitely
use to alter an existing notes block, but i still have no clue how to add a
notes section to a new slide.


Any pointers on this?






Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, 
R.C.S. Luxembourg B186284

Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, 
London, EC2A 2FA, United Kingdom, registered in England and Wales, UK 
Establishment No. BR019315


Reply via email to