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 Sun Feb 23, 2025 1:54 pm
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 10142 • Total topics 2852 • Total members 2083