public abstract class HtmlExporterBase
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HtmlExporterBase.MetaTagNames
Provides common HTML meta-tag names.
|
| Modifier | Constructor and Description |
|---|---|
protected |
HtmlExporterBase()
Initializes a new instance of the
HtmlExporterBase class. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
export(Workbook workbook) |
void |
export(Workbook workbook,
java.lang.String filePath)
Exports the specified workbook as an HTML page.
|
boolean |
getEnableCharts()
Gets a value indicating whether the charts in the workbook are exported.
|
boolean |
getEnableGridLines()
Gets a value indicating whether to export the grid lines.
|
boolean |
getEnablePictures()
Gets a value indicating whether to export pictures.
|
java.lang.String |
getEncoding()
Gets the encoding used.
|
int |
getFromWorksheet()
Gets the zero-based index of the first worksheet to export.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getMetaTags()
Gets a list with the names and values of the meta-tags to be included in the resulting HTML.
|
java.lang.String |
getTitle()
Gets the title of the resulting HTML.
|
int |
getToWorksheet()
Gets the zero-based index of the last worksheet to export,
or -1, to export to the last worksheet in the workbook.
|
boolean |
getWrapOverflowingContent()
Gets a value indicating whether overflowing text content will instead wrap.
|
void |
setEnableCharts(boolean value)
Sets a value indicating whether the charts in the workbook are exported.
|
void |
setEnableGridLines(boolean value)
Sets a value indicating whether to export the grid lines.
|
void |
setEnablePictures(boolean value)
Sets a value indicating whether to export pictures.
|
void |
setEncoding(java.lang.String value)
Sets the encoding used.
|
void |
setFromWorksheet(int value)
Sets the zero-based index of the first worksheet to export.
|
void |
setTitle(java.lang.String value)
Sets the title of the resulting HTML.
|
void |
setToWorksheet(int value)
Sets the zero-based index of the last worksheet to export,
or -1, to export to the last worksheet in the workbook.
|
void |
setWrapOverflowingContent(boolean value)
Sets a value indicating whether overflowing text content will instead wrap.
|
protected HtmlExporterBase()
HtmlExporterBase class.public void export(Workbook workbook, java.lang.String filePath) throws java.io.IOException
workbook - The workbook to export.filePath - A string specifying the path to the HTML file.java.io.IOExceptionpublic java.lang.String export(Workbook workbook)
public java.lang.String getTitle()
public void setTitle(java.lang.String value)
public boolean getEnableGridLines()
public void setEnableGridLines(boolean value)
public int getFromWorksheet()
public void setFromWorksheet(int value)
public int getToWorksheet()
public void setToWorksheet(int value)
public java.util.HashMap<java.lang.String,java.lang.String> getMetaTags()
public boolean getWrapOverflowingContent()
Setting this property to false may result in
diminishing performance for worksheets with large amount of data.
public void setWrapOverflowingContent(boolean value)
Setting this property to false may result in
diminishing performance for worksheets with large amount of data.
public java.lang.String getEncoding()
public void setEncoding(java.lang.String value)
public boolean getEnablePictures()
public void setEnablePictures(boolean value)
public boolean getEnableCharts()
public void setEnableCharts(boolean value)