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.
~TGHtmlBlock() override
dtor.
~TGHtmlCell() override
HTML cell element destructor.
TGHtmlCell(int type, int argc, int arglen[], char *argv[])
HTML cell element constructor.
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.
int GetAlignment(int dflt) override
Return an alignment or justification flag associated with the given markup.
int GetOrderedListType(int dflt) override
The "type" argument to the given element might describe the type for an ordered list.
~TGHtmlMarkupElement() override
HTML markup element destructor.
TGHtmlMarkupElement(int type, int argc, int arglen[], char *argv[])
HTML mrkup element constructor.
int GetUnorderedListType(int dflt) override
The "type" argument to the given element might describe a type for an unordered list.
const char * MarkupArg(const char *tag, const char *zDefault) override
Lookup an argument in the given markup with the name given.
~TGHtmlRef() override
HTML ref element destructor.
TGHtmlRef(int type, int argc, int arglen[], char *argv[])
HTML ref element constructor.
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() override
HTML table element destructor.
TGHtmlTextElement(const TGHtmlTextElement &)=delete
~TGHtmlTextElement() override
HTML element destructor.