Java org.apache.poi.hwpf HWPFDocument fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.hwpf HWPFDocument fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.hwpf HWPFDocument.

The text is from its open source code.

Constructor

HWPFDocument(InputStream istream)
This constructor loads a Word document from an InputStream.
HWPFDocument(POIFSFileSystem pfilesystem)
This constructor loads a Word document from a POIFSFileSystem
HWPFDocument(DirectoryNode directory)
This constructor loads a Word document from a specific point in a POIFSFileSystem, probably not the default.

Method

DocumentPropertiesgetDocProperties()
FieldsgetFields()
Returns user-friendly interface to access document Field s
PicturesTablegetPicturesTable()
RangegetRange()
Returns the range which covers the whole of the document, but excludes any headers and footers.
TextPieceTablegetTextTable()
voidwrite(File newFile)
Writes out the word file that is represented by an instance of this class.
voidwrite(OutputStream out)
Writes out the word file that is represented by an instance of this class.