I'm using docx4j 6.1.2 with docx4j export fo 8.1.3. Actually after convert I have only first page of .docx document. How can I do it page by page?
Can I do the same with docx4j to convert .doc and .rtf?
WordprocessingMLPackage wordMLP = Docx4J.load(new File(filepath));
    OutputStream os = new FileOutputStream(new File(fileName + ".png"));
    FOSettings settings = Docx4J.createFOSettings();
    settings.setWmlPackage(wordMLP);
    settings.setApacheFopMime(MimeConstants.MIME_PNG);
    Docx4J.toFO(settings, os, Docx4J.FLAG_NONE);
    os.close();