public class HWPFOldDocument extends HWPFDocumentCore
_cbt, _fib, _ft, _lt, _mainStream, _objectPool, _pbt, _ss, _st, STREAM_OBJECT_POOL, STREAM_WORD_DOCUMENT
directory
Constructor and Description |
---|
HWPFOldDocument(DirectoryNode directory) |
HWPFOldDocument(DirectoryNode directory,
POIFSFileSystem fs)
Deprecated.
|
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.
|
StringBuilder |
getText()
Internal method to access document text
|
TextPieceTable |
getTextTable() |
void |
write(OutputStream out)
Writes the document out to the specified output stream
|
getCharacterTable, getDocumentText, getFileInformationBlock, getFontTable, getListTables, getObjectsPool, getParagraphTable, getSectionTable, getStyleSheet, verifyAndBuildPOIFS
copyNodeRecursively, copyNodes, copyNodes, createInformationProperties, getDocumentSummaryInformation, getPropertySet, getSummaryInformation, readProperties, writeProperties, writeProperties, writePropertySet
public HWPFOldDocument(POIFSFileSystem fs) throws IOException
IOException
@Deprecated public HWPFOldDocument(DirectoryNode directory, POIFSFileSystem fs) throws IOException
IOException
public HWPFOldDocument(DirectoryNode directory) throws IOException
IOException
public Range getOverallRange()
HWPFDocumentCore
getOverallRange
in class HWPFDocumentCore
public Range getRange()
HWPFDocumentCore
getRange
in class HWPFDocumentCore
public TextPieceTable getTextTable()
getTextTable
in class HWPFDocumentCore
public StringBuilder getText()
HWPFDocumentCore
getText
in class HWPFDocumentCore
public void write(OutputStream out) throws IOException
POIDocument
write
in class POIDocument
IOException
Copyright © 2020. All rights reserved.