public interface ExcelExtractor
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText()
Retrieves the text contents of the file
(检索文件的文本内容)
|
void |
setFormulasNotResults(boolean formulasNotResults)
Should we return the formula itself, and not the result it produces? Default is false
(我们应该返回公式本身,而不是它产生的结果吗?默认为假)
|
void |
setIncludeCellComments(boolean includeCellComments)
Should cell comments be included? Default is false
(应该包括单元格注释吗?默认为假)
|
void |
setIncludeHeadersFooters(boolean includeHeadersFooters)
Should headers and footers be included in the output? Default is true
(是否应该在输出中包含页眉和页脚?默认为真)
|
void |
setIncludeSheetNames(boolean includeSheetNames)
Should sheet names be included? Default is true
(应该包括工作表名称吗?默认为真)
|
void setIncludeSheetNames(boolean includeSheetNames)
includeSheetNames
-
true
if the sheet names should be included
(includeSheetNames - 如果应包含工作表名称,则为 true)
void setFormulasNotResults(boolean formulasNotResults)
formulasNotResults
-
true
if the formula itself is returned
(formulasNotResults - 如果返回公式本身,则为 true)
void setIncludeHeadersFooters(boolean includeHeadersFooters)
includeHeadersFooters
-
true
if headers and footers should be included
(includeHeadersFooters - 如果应该包含页眉和页脚,则为 true)
void setIncludeCellComments(boolean includeCellComments)
includeCellComments
-
true
if cell comments should be included
(includeCellComments - 如果应该包含单元格注释,则为 true)
java.lang.String getText()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.