mrbela
mrbela

Reputation: 4647

Searching HWPF packages in Apache POI v3.11

I've just downloaded the bins from Apache POI (http://poi.apache.org/download.html). Now I want to work with Word-files (doc - HWPF, docx - XWPF), but can't find the package

org.apache.poi.hwpf.*;

But these classes are used in the examples on the project page (e.g. http://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/hwpf/Word2Forrest.java).

Can you help me?!

Thank you for your help!

Upvotes: 0

Views: 143

Answers (1)

Gagravarr
Gagravarr

Reputation: 48326

As detailed on the Apache POI Components page, for HWPF you need both the main poi jar (eg poi-3.11-20141221.jar) and the scratchpad poi jar (eg poi-scratchpad-3.11-20141221.jar)

With the POI Scratchpad jar on your classpath, you'll have HWPF available to you

Upvotes: 1

Related Questions