public class ToHtml extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
static ToHtml |
create(SBook wb,
OutputStream output)
Creates a new converter to HTML for the given workbook.
|
static ToHtml |
create(SSheet ws,
OutputStream output) |
static void |
export(SBook wb,
OutputStream outputStream) |
static void |
export(SBook wb,
OutputStream outputStream,
boolean noHeader) |
static void |
export(SSheet ws,
CellRegion area,
OutputStream outputStream) |
static void |
export(SSheet ws,
CellRegion area,
OutputStream outputStream,
boolean noHeader) |
static void |
export(SSheet ws,
OutputStream outputStream) |
static void |
export(SSheet ws,
OutputStream outputStream,
boolean noHeader) |
static void |
main(String[] args)
Run this class as a program
|
void |
print() |
void |
printPage() |
void |
printSheet(SSheet sheet) |
void |
printStyles() |
void |
setCompleteHTML(boolean completeHTML) |
public static ToHtml create(SBook wb, OutputStream output)
wb
- The workbook.output
- Where the HTML output will be written.public static ToHtml create(SSheet ws, OutputStream output)
public static void main(String[] args) throws Exception
args
- The command line arguments.Exception
- Exception we don't recover from.public static void export(SBook wb, OutputStream outputStream, boolean noHeader) throws IOException
IOException
public static void export(SSheet ws, OutputStream outputStream, boolean noHeader) throws IOException
IOException
public static void export(SSheet ws, CellRegion area, OutputStream outputStream, boolean noHeader) throws IOException
IOException
public static void export(SBook wb, OutputStream outputStream) throws IOException
IOException
public static void export(SSheet ws, OutputStream outputStream) throws IOException
IOException
public static void export(SSheet ws, CellRegion area, OutputStream outputStream) throws IOException
IOException
public void setCompleteHTML(boolean completeHTML)
public void printPage() throws IOException
IOException
public void print()
public void printStyles()
public void printSheet(SSheet sheet)
Copyright © 2020. All rights reserved.