Open office to image -> to pdf/a

hi,

we are looking for a way to do the following:
- input: oo-writer documents
- convert oo-docs into image
- convert the image into pdf/a1b

we do not want to convert the oo-docs directly into pdf/a, because we dont want to have a textlayer in the created pdf.
The Environment ist Windows/Java

Is that possible?

thanks for y´re replies

Hi,

Thanks for your interest in Aspose APIs.

To be able to achieve this you first need to convert individual pages from Word document into separate images by using Aspose.Words for Java. The easiest way you can do this is by converting each page to a separate image as follows:

Document doc = new Document("c:\temp\in.docx");

for (int pageIndex = 0; pageIndex < doc.getPageCount(); pageIndex++)
{
    ImageSaveOptions options = new ImageSaveOptions(SaveFormat.JPEG);
    options.setPageIndex(pageIndex);
    options.setPageCount(1);
    doc.save("c:\temp\out_" + pageIndex + ".jpg", options);
}

Once pages are exported to separate images, you may try using Aspose.Pdf to convert it to PDF/A compliant format.

In order to accomplish this feature, please follow the steps specified over

I hope, this helps.

Best regards,

A post was split to a new topic: All pages of doc are not getting converted into images