class for generating basic html tags
More...
#include <src/PlusCommon/vtkPlusHTMLGenerator.h>
class for generating basic html tags
Definition at line 21 of file vtkPlusHTMLGenerator.h.
◆ Superclass
◆ HEADINGS
◆ vtkPlusHTMLGenerator()
vtkPlusHTMLGenerator::vtkPlusHTMLGenerator |
( |
| ) |
|
|
protected |
◆ ~vtkPlusHTMLGenerator()
vtkPlusHTMLGenerator::~vtkPlusHTMLGenerator |
( |
| ) |
|
|
protectedvirtual |
◆ AddHorizontalLine()
void vtkPlusHTMLGenerator::AddHorizontalLine |
( |
| ) |
|
|
virtual |
◆ AddImage()
void vtkPlusHTMLGenerator::AddImage |
( |
const char * |
imageSource, |
|
|
const char * |
alt, |
|
|
const int |
widthPx = 0 , |
|
|
const int |
heightPx = 0 |
|
) |
| |
|
protectedvirtual |
◆ AddImageAutoFilename()
std::string vtkPlusHTMLGenerator::AddImageAutoFilename |
( |
const char * |
filenamePostfix, |
|
|
const char * |
description, |
|
|
const int |
widthPx = 0 , |
|
|
const int |
heightPx = 0 |
|
) |
| |
|
virtual |
Add image to document.
- Parameters
-
filenamePostfix | Should contain only a simple filename and extension (for example: ErrorHistogram.png). |
- Returns
- Full path to the image file
Definition at line 300 of file vtkPlusHTMLGenerator.cxx.
◆ AddLink()
void vtkPlusHTMLGenerator::AddLink |
( |
const char * |
linkText, |
|
|
const char * |
url |
|
) |
| |
|
virtual |
◆ AddParagraph()
void vtkPlusHTMLGenerator::AddParagraph |
( |
const char * |
paragraph | ) |
|
|
virtual |
◆ AddTable()
void vtkPlusHTMLGenerator::AddTable |
( |
vtkTable * |
table, |
|
|
int |
borderPx |
|
) |
| |
|
virtual |
◆ AddText()
void vtkPlusHTMLGenerator::AddText |
( |
const char * |
text, |
|
|
HEADINGS |
h, |
|
|
const char * |
style = NULL |
|
) |
| |
|
virtual |
◆ GetBaseFilename()
virtual char* vtkPlusHTMLGenerator::GetBaseFilename |
( |
| ) |
|
|
virtual |
Get the base filename. The base filename is used for generating output file names (html, images, etc).
◆ GetClassName()
virtual const char* vtkPlusHTMLGenerator::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetHtmlBody()
std::string vtkPlusHTMLGenerator::GetHtmlBody |
( |
| ) |
|
|
protectedvirtual |
◆ GetHtmlPage()
std::string vtkPlusHTMLGenerator::GetHtmlPage |
( |
| ) |
|
|
protectedvirtual |
◆ GetOutputDirectory()
virtual char* vtkPlusHTMLGenerator::GetOutputDirectory |
( |
| ) |
|
|
virtual |
◆ GetTitle()
virtual char* vtkPlusHTMLGenerator::GetTitle |
( |
| ) |
|
|
virtual |
◆ IsA()
virtual int vtkPlusHTMLGenerator::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkPlusHTMLGenerator::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ New()
◆ PrintSelf()
void vtkPlusHTMLGenerator::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
virtual |
◆ SafeDownCast()
◆ SaveHtmlPage()
void vtkPlusHTMLGenerator::SaveHtmlPage |
( |
const char * |
fileName | ) |
|
|
protectedvirtual |
Write the report to html file. Deprecated - use SaveHtmlPageAutoFilename instead.
Definition at line 275 of file vtkPlusHTMLGenerator.cxx.
◆ SaveHtmlPageAutoFilename()
std::string vtkPlusHTMLGenerator::SaveHtmlPageAutoFilename |
( |
| ) |
|
|
virtual |
Write the report to html file. Create file in the output directory, including the application start time in the filename.
Definition at line 285 of file vtkPlusHTMLGenerator.cxx.
◆ SetBaseFilename()
virtual void vtkPlusHTMLGenerator::SetBaseFilename |
( |
const char * |
| ) |
|
|
virtual |
Set the base filename. The base filename is used for generating output file names (html, images, etc). Set it before adding any images, because image file names are generated using this base filename.
◆ SetOutputDirectory()
virtual void vtkPlusHTMLGenerator::SetOutputDirectory |
( |
const char * |
| ) |
|
|
virtual |
◆ SetTitle()
virtual void vtkPlusHTMLGenerator::SetTitle |
( |
const char * |
| ) |
|
|
virtual |
◆ BaseFilename
char* vtkPlusHTMLGenerator::BaseFilename |
|
protected |
◆ HtmlBody
std::ostringstream vtkPlusHTMLGenerator::HtmlBody |
|
protected |
◆ OutputDirectory
char* vtkPlusHTMLGenerator::OutputDirectory |
|
protected |
◆ Title
char* vtkPlusHTMLGenerator::Title |
|
protected |
The documentation for this class was generated from the following files: