How to programmatically extract and process images from an Office file?

How to extract some images from PowerPoint and Word documents to manipulate them, and then return the images to MS Office files?

+3
source share
4 answers

Apache has a project called POI, explicitly made to interact with MS Office formats with Java. Hope this does it for you!

http://poi.apache.org/

+4
source

Apache POI Word HWPF, . , POI Word ( , -, ).

COM () JACOB. , , , API, POI.

+3

++, Word COM API, , , , , ++ . Word , , , .

+2
source

The company I work for, SoftArtisans, has a product called OfficeWriter that allows you to do this, among other things, for Word and Excel (PowerPoint is planned to be added in the future). However, it is not free or open.

On the other hand, if you are working strictly with the 2007 format (XML-based), you can probably use OpenXML .

+1
source

Source: https://habr.com/ru/post/1725098/


All Articles