12 #ifndef ROOT_TDocDirective
13 #define ROOT_TDocDirective
66 virtual const char*
GetEndTag()
const = 0;
91 virtual const char*
GetEndTag()
const {
return "end_html"; }
114 virtual const char*
GetEndTag()
const {
return "end_macro"; }
144 virtual const char*
GetEndTag()
const {
return "end_latex";}
159 #endif // ROOT_TDocDirective
A zero length substring is legal.
ClassDef(TDocHtmlDirective, 0)
void SetTag(const char *tag)
Int_t GetFontSize() const
virtual Bool_t GetResult(TString &result)=0
virtual void AddLine(const TSubString &line)
Add a line of HTML.
static const char * filename()
const char * GetAlignment() const
Class supporting a collection of lines with C++ code.
TDocOutput * GetDocOutput() const
virtual void AddParameter(const TString &name, const char *value=0)
Parse fParameters, setting fFontSize, fAlignment, and fSeparator.
virtual void AddParameter(const TString &, const char *=0)
virtual void DeleteOutput() const
Bool_t SeparatorIsRegexp() const
virtual void DeleteOutputFiles(const char *ext) const
Delete all output generated by the directive beginning with Name() and ending with ext...
virtual Bool_t GetResult(TString &result)
Set result to the HTML code that was passed in via AddLine().
virtual void GetBoundingBox(TLatex &latex, const char *text, Float_t &width, Float_t &height)
Determines the bounding box for text as height and width.
The TNamed class is the base class for all named ROOT classes.
TDocDirective(const char *name)
To draw Mathematical Formula.
void SetCounter(Int_t count)
const char * GetOutputDir() const
Get the directory for documentation output.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
void SetParser(TDocParser *parser)
Set the parser, and fDocOutput, fHtml from that.
virtual ~TDocMacroDirective()
Destructor.
virtual Bool_t GetResult(TString &result)
Get the result (i.e.
virtual void DeleteOutput() const
virtual Bool_t GetResult(TString &result)
convert fLatex to a gif by creating a TLatex, drawing it on a temporary canvas, and saving that to a ...
const char * GetName() const
Returns name of object.
virtual ~TDocHtmlDirective()
virtual void AddParameter(const TString &name, const char *value=0)
Setting fNeedGraphics if name is "GUI", setting fShowSource if name is "SOURCE".
virtual const char * GetName() const
Returns name of object.
The ROOT global object gROOT contains a list of all defined classes.
const char * GetSeparator() const
ClassDef(TDocLatexDirective, 0)
ClassDef(TDocDirective, 0)
void SetParameters(const char *params)
Given a string containing parameters in params, we call AddParameter() for each of them...
ClassDef(TDocMacroDirective, 0)
virtual ~TDocLatexDirective()
Destructor.
virtual void AddLine(const TSubString &line)
Add a macro line.
static void SubProcess(const TString &what, const TString &out)
virtual const char * GetEndTag() const =0
virtual const char * GetEndTag() const
TString CreateSubprocessInputFile()
Create the input file for SubProcess().
virtual void AddLine(const TSubString &line)
Add a latex line.
virtual void DeleteOutput() const
TDocParser * GetDocParser() const
TList * GetListOfLines() const
Get the list of lines as TObjStrings.
virtual const char * GetEndTag() const
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
virtual const char * GetEndTag() const
virtual void CreateLatex(const char *filename)
Create a gif file named filename from a latex expression in fLatex.
virtual void AddLine(const TSubString &line)=0