Inheritance diagram for GHTMLOutput:
Public Member Functions | |
void | GHTMLOutput () |
Constructs an HTML output processor. | |
String | get_optimised_html (GCanvas gcanvas) |
Returns the image canvas html (using RLE compression on both lines and rows = optimised RLE). | |
void | print_optimised_html (GCanvas gcanvas) |
Assigns the image canvas html (using RLE compression on both lines and rows = optimised RLE) to a given layer. | |
void | print (GCanvas gcanvas) |
Assigns the image canvas html to a given layer. | |
String | get_html (GCanvas gcanvas) |
Returns the image canvas html (using RLE compression on lines = fast RLE). | |
void | setup (Object doc, String layerId) |
HTML output printing parametrs setup function. | |
void | print_html (GCanvas gcanvas) |
Assigns the image canvas html (using RLE compression on lines = fast RLE) to a given layer. | |
String | get (GCanvas gcanvas) |
Returns the image canvas html. | |
Public Attributes | |
Integer | generation_time |
Time (in ms.) used for the generation of the HTML table. | |
Boolean | append |
Append or overwrite the layer. | |
Integer | compression |
Compression parametr (0 - fast RLE, 1 - optimised RLE). | |
Integer | invisible_color |
An invsibile color. | |
Integer | number_of_cells |
Number of cells generated in the HTML table. | |
Boolean | dhtml |
Output type - HTML (table) or DHTML (div's). | |
Object | doc |
Javascript document object (usually this.document). | |
String | layerId |
Output layer ID. |
This output processor can be used to render the canvas as an HTML table. Two types ('Fast RLE' and 'Optimised RLE') of output rendering are provided, see bellow.
|
Returns the image canvas html.
|
|
Returns the image canvas html (using RLE compression on lines = fast RLE).
|
|
Returns the image canvas html (using RLE compression on both lines and rows = optimised RLE).
|
|
Assigns the image canvas html to a given layer.
|
|
Assigns the image canvas html (using RLE compression on lines = fast RLE) to a given layer.
|
|
Assigns the image canvas html (using RLE compression on both lines and rows = optimised RLE) to a given layer.
|
|
HTML output printing parametrs setup function.
|
|
Append or overwrite the layer. Needed only for print functions. |
|
Output type - HTML (table) or DHTML (div's). If dhtml is set to false HTML output is produced and if dhtml is set to true DHTML output is produced. |
|
Javascript document object (usually this.document). Needed only for print functions. |
|
An invsibile color. By default invisible_color = -1, i.e. the default background of the canvas. |
|
Output layer ID. Needed only for print functions. |