We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Doesn't it support word2003?

public static void main(String[] args) throws Exception {
        String inputFileName = Paths.get("979943-BLU-625.docx").toString();
        Document document = new Document(inputFileName);
        final ImageSaveOptions options = new ImageSaveOptions(SaveFormat.JPEG);
        final List<FileTargetDTO> list = new ArrayList<>(document.getPageCount());
        log.info("document size:"+document.getPageCount());
        for (int i = 0; i < document.getPageCount(); i++) {
            options.setPageSet(new PageSet(i));
            final String filename = "aaa";


image.jpg (43.7 KB)


@zyx Aspose.Words do support MS Word 2003 and DOC format. But the attached file is not actually DOC file, it is PPT (Power Point Presentation) file with DOC extension. To process PPT files you should used Aspose.Slides.

oh my god, lie kai