Hi Forum!
Please help me to make screenshots/images from slides.
I've tried to use export images, proposed you in org.pptx4j.samples,
but that code starts to export each image from each slide. It's not what i need -_-
Thanks for help!
It is currently Wed Nov 27, 2024 12:31 am
if(i == 5){
org.docx4j.relationships.ObjectFactory factory = new org.docx4j.relationships.ObjectFactory();
org.docx4j.relationships.Relationship rel = factory.createRelationship();
rel.setType("Namespaces.PRESENTATIONML_SLIDE");
rel.setTarget("/ppt/slides/slide"+i+".xml");
mainPresentationPart.getRelationshipsPart().addRelationship(rel);
System.out.println(rel.getId());
}
Total posts 10111 • Total topics 2842 • Total members 2074