Apache | POI |
Home |
|
Apache POI - HDGF and XDGF - Java API To Access Microsoft Visio Format FilesOverview#HDGF is the POI Project's pure Java implementation of the Visio binary (VSD) file format. XDGF is the POI Project's pure Java implementation of the Visio XML (VSDX) file format. Currently, HDGF provides a low-level, read-only api for accessing Visio documents. It also provides a way to extract the textual content from a file. At this time, there is no usermodel api or similar, only low level access to the streams, chunks and chunk commands. Users are advised to check the unit tests to see how everything works. They are also well advised to read the documentation supplied with vsdump to get a feel for how Visio files are structured. To get a feel for the contents of a file, and to track down where data of interest is stored, HDGF comes with VSDDumper to print out the contents of the file. Users should also make use of vsdump to probe the structure of files. Note
This code currently lives the
scratchpad area
of the POI SVN repository. To use this component, ensure
you have the Scratchpad Jar on your classpath, or a dependency
defined on the poi-scratchpad artifact - the main POI
jar is not enough! See the
POI Components Map
for more details.
Steps required for write support#Currently, HDGF is only able to read visio files, it is not able to write them back out again. We believe the following are the steps that would need to be taken to implement it.
|