public class HWPFOldDocument extends HWPFDocumentCore
_cbt, _fib, _ft, _lt, _mainStream, _objectPool, _pbt, _ss, _st, STREAM_OBJECT_POOL, STREAM_WORD_DOCUMENTdirectory| Constructor and Description |
|---|
HWPFOldDocument(DirectoryNode directory) |
HWPFOldDocument(POIFSFileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
Range |
getOverallRange()
Returns the range that covers all text in the file, including main text,
footnotes, headers and comments
|
Range |
getRange()
Returns the range which covers the whole of the document, but excludes
any headers and footers.
|
java.lang.StringBuilder |
getText()
Internal method to access document text
|
TextPieceTable |
getTextTable() |
void |
write() |
void |
write(java.io.File out) |
void |
write(java.io.OutputStream out) |
getCharacterTable, getDocumentText, getFileInformationBlock, getFontTable, getListTables, getMainStream, getObjectsPool, getParagraphTable, getSectionTable, getStyleSheet, verifyAndBuildPOIFSclose, createInformationProperties, getDirectory, getDocumentSummaryInformation, getPropertySet, getPropertySet, getSummaryInformation, readProperties, validateInPlaceWritePossible, writeProperties, writeProperties, writeProperties, writePropertySetpublic HWPFOldDocument(POIFSFileSystem fs) throws java.io.IOException
java.io.IOExceptionpublic HWPFOldDocument(DirectoryNode directory) throws java.io.IOException
java.io.IOExceptionpublic Range getOverallRange()
HWPFDocumentCoregetOverallRange in class HWPFDocumentCorepublic Range getRange()
HWPFDocumentCoregetRange in class HWPFDocumentCorepublic TextPieceTable getTextTable()
getTextTable in class HWPFDocumentCorepublic java.lang.StringBuilder getText()
HWPFDocumentCoregetText in class HWPFDocumentCorepublic void write()
throws java.io.IOException
write in class POIDocumentjava.io.IOExceptionpublic void write(java.io.File out)
throws java.io.IOException
write in class POIDocumentjava.io.IOExceptionpublic void write(java.io.OutputStream out)
throws java.io.IOException
write in class POIDocumentjava.io.IOException