7 #ifndef __vtkPlusHTMLGenerator_H 8 #define __vtkPlusHTMLGenerator_H 10 #include "vtkPlusCommonExport.h" 12 #include "vtkObject.h" 38 virtual void PrintSelf(ostream& os, vtkIndent indent)
VTK_OVERRIDE;
41 virtual std::string SaveHtmlPageAutoFilename();
48 virtual std::string AddImageAutoFilename(
const char* filenamePostfix,
const char* description,
const int widthPx = 0,
const int heightPx = 0);
51 virtual void AddParagraph(
const char* paragraph);
54 virtual void AddText(
const char*
text,
HEADINGS h,
const char* style = NULL);
57 virtual void AddTable(vtkTable* table,
int borderPx);
60 virtual void AddLink(
const char* linkText,
const char* url);
63 virtual void AddHorizontalLine();
66 vtkSetStringMacro(Title);
68 vtkGetStringMacro(Title);
71 vtkSetStringMacro(OutputDirectory);
73 vtkGetStringMacro(OutputDirectory);
80 vtkSetStringMacro(BaseFilename);
82 vtkGetStringMacro(BaseFilename);
87 virtual void SaveHtmlPage(
const char* fileName);
90 virtual void AddImage(
const char* imageSource,
const char* alt,
const int widthPx = 0,
const int heightPx = 0);
93 virtual std::string GetHtmlBody();
96 virtual std::string GetHtmlPage();
PhidgetLCD_Font int int const char * text
std::ostringstream HtmlBody
class for generating basic html tags