94 fArgv =
new char*[argc+1];
95 for (
int i = 1; i < argc; i++) {
97 fArgv[i-1] =
new char[arglen[i]+1];
99 strncpy(
fArgv[i-1], av[i], arglen[i]);
100 fArgv[i-1][arglen[i]] = 0;
125 for (
int i = 0; i <
fCount; ++i)
delete []
fArgv[i];
139 for (i = 0; i <
fCount; i += 2) {
140 if (strcmp(
fArgv[i], tag) == 0)
return fArgv[i+1];
156 if (strcasecmp(z,
"left") == 0) {
158 }
else if (strcasecmp(z,
"right") == 0) {
160 }
else if (strcasecmp(z,
"center") == 0) {
200 if (strcasecmp(z,
"disc") == 0) {
202 }
else if (strcasecmp(z,
"circle") == 0) {
204 }
else if (strcasecmp(z,
"square") == 0) {
311 int arglen[],
char *argv2[]) :
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
void ToLower(char *z)
Convert a string to all lower-case letters.
void HtmlTranslateEscapes(char *z)
Translate escape sequences in the string "z".
TString ToLower(const TString &s)
Return a lower-case version of str.
char * StrDup(const char *str)
Duplicate the string str.
TGHtmlAnchor(int type, int argc, int arglen[], char *argv[])
HTML anchor element constructor.
virtual ~TGHtmlBlock()
dtor.
TGHtmlCell(int type, int argc, int arglen[], char *argv[])
HTML cell element constructor.
~TGHtmlCell()
HTML cell element destructor.
TGHtmlElement(int etype=0)
HTML element constructor.
TGHtmlHr(int type, int argc, int arglen[], char *argv[])
HTML hr element constructor.
TGHtmlImageMarkup * fINext
TGHtmlImageMarkup(int type, int argc, int arglen[], char *argv[])
HTML image element constructor.
TGHtmlLi(int type, int argc, int arglen[], char *argv[])
HTML li element constructor.
TGHtmlListStart(int type, int argc, int arglen[], char *argv[])
HTML list start element constructor.
TGHtmlMapArea(int type, int argc, int arglen[], char *argv[])
HTML map area constructor.
virtual int GetAlignment(int dflt)
Return an alignment or justification flag associated with the given markup.
TGHtmlMarkupElement(int type, int argc, int arglen[], char *argv[])
HTML mrkup element constructor.
virtual ~TGHtmlMarkupElement()
HTML markup element destructor.
virtual const char * MarkupArg(const char *tag, const char *zDefault)
Lookup an argument in the given markup with the name given.
virtual int GetOrderedListType(int dflt)
The "type" argument to the given element might describe the type for an ordered list.
virtual int GetUnorderedListType(int dflt)
The "type" argument to the given element might describe a type for an unordered list.
TGHtmlRef(int type, int argc, int arglen[], char *argv[])
HTML ref element constructor.
~TGHtmlRef()
HTML ref element destructor.
TGHtmlScript(int type, int argc, int arglen[], char *argv[])
HTML script element constructor.
TGHtmlTable(int type, int argc, int arglen[], char *argv[])
HTML table element constructor.
~TGHtmlTable()
HTML table element destructor.
TGHtmlTextElement(const TGHtmlTextElement &)=delete
virtual ~TGHtmlTextElement()
HTML element destructor.