public abstract class AbstractOfficeParser extends AbstractParser
OfficeParserConfig
uniformly.Constructor and Description |
---|
AbstractOfficeParser() |
Modifier and Type | Method and Description |
---|---|
void |
configure(ParseContext parseContext)
Checks to see if the user has specified an
OfficeParserConfig . |
boolean |
getExtractMacros() |
boolean |
getIncludeDeletedContent() |
boolean |
getIncludeMoveFromContent() |
boolean |
getUseSAXDocxExtractor() |
void |
setExtractMacros(boolean extractMacros) |
void |
setIncludeDeletedContent(boolean includeDeletedConent) |
void |
setIncludeMoveFromContent(boolean includeMoveFromContent) |
void |
setIncludeShapeBasedContent(boolean includeShapeBasedContent) |
void |
setUseSAXDocxExtractor(boolean useSAXDocxExtractor) |
void |
setUseSAXPptxExtractor(boolean useSAXPptxExtractor) |
parse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSupportedTypes, parse
public void configure(ParseContext parseContext)
OfficeParserConfig
.
If so, no changes are made; if not, one is added to the context.parseContext
- public boolean getIncludeDeletedContent()
OfficeParserConfig.getIncludeDeletedContent()
public boolean getIncludeMoveFromContent()
OfficeParserConfig.getIncludeMoveFromContent()
public boolean getUseSAXDocxExtractor()
OfficeParserConfig.getUseSAXDocxExtractor()
public boolean getExtractMacros()
OfficeParserConfig.getExtractMacros()
@Field public void setIncludeDeletedContent(boolean includeDeletedConent)
@Field public void setIncludeMoveFromContent(boolean includeMoveFromContent)
@Field public void setIncludeShapeBasedContent(boolean includeShapeBasedContent)
@Field public void setUseSAXDocxExtractor(boolean useSAXDocxExtractor)
@Field public void setUseSAXPptxExtractor(boolean useSAXPptxExtractor)
@Field public void setExtractMacros(boolean extractMacros)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.