#include <TDocDirective.h>
Inheritance diagram for TDocLatexDirective:
Public Member Functions | |
TDocLatexDirective () | |
virtual | ~TDocLatexDirective () |
virtual void | AddLine (const TSubString &line) |
virtual const char * | GetEndTag () const |
const char * | GetAlignment () const |
const char * | GetSeparator () const |
Bool_t | SeparatorIsRegexp () const |
Int_t | GetFontSize () const |
TList * | GetListOfLines () const |
virtual Bool_t | GetResult (TString &result) |
virtual void | DeleteOutput () const |
ClassDef (TDocLatexDirective, 0) | |
TDocLatexDirective () | |
virtual | ~TDocLatexDirective () |
virtual void | AddLine (const TSubString &line) |
virtual const char * | GetEndTag () const |
const char * | GetAlignment () const |
const char * | GetSeparator () const |
Bool_t | SeparatorIsRegexp () const |
Int_t | GetFontSize () const |
TList * | GetListOfLines () const |
virtual Bool_t | GetResult (TString &result) |
virtual void | DeleteOutput () const |
ClassDef (TDocLatexDirective, 0) | |
Protected Member Functions | |
virtual void | CreateLatex (const char *filename) |
virtual void | AddParameter (const TString &name, const char *value=0) |
virtual void | GetBoundingBox (TLatex &latex, const char *text, Float_t &width, Float_t &height) |
virtual void | CreateLatex (const char *filename) |
virtual void | AddParameter (const TString &name, const char *value=0) |
virtual void | GetBoundingBox (TLatex &latex, const char *text, Float_t &width, Float_t &height) |
Protected Attributes | |
TMacro * | fLatex |
Int_t | fFontSize |
TString | fSeparator |
Bool_t | fSepIsRegexp |
TString | fAlignment |
TVirtualPad * | fBBCanvas |
TMacro * | fLatex |
TVirtualPad * | fBBCanvas |
Definition at line 121 of file TDocDirective.h.
TDocLatexDirective::TDocLatexDirective | ( | ) | [inline] |
Definition at line 135 of file TDocDirective.h.
TDocLatexDirective::~TDocLatexDirective | ( | ) | [virtual] |
Definition at line 585 of file TDocDirective.cxx.
References fBBCanvas, fLatex, gSystem, and TSystem::ProcessEvents().
TDocLatexDirective::TDocLatexDirective | ( | ) | [inline] |
Definition at line 135 of file TDocDirective.h.
virtual TDocLatexDirective::~TDocLatexDirective | ( | ) | [virtual] |
void TDocLatexDirective::CreateLatex | ( | const char * | filename | ) | [protected, virtual] |
Definition at line 617 of file TDocDirective.cxx.
References TObjArray::Add(), align(), TVirtualPad::cd(), TVirtualPad::Clear(), TObject::Error(), fAlignment, fBBCanvas, fFontSize, TList::First(), fLatex, Form(), fSeparator, fSepIsRegexp, GetBoundingBox(), TObjArray::GetEntries(), TDocDirective::GetHtml(), TMacro::GetListOfLines(), gPad, gROOT, gSystem, TString::Index(), TROOT::IsBatch(), kFALSE, kNPOS, kWhite, latex(), TString::Length(), line, TVirtualPad::Print(), TSystem::ProcessEvents(), TROOT::ProcessLineFast(), R__LOCKGUARD, regexp(), TROOT::SetBatch(), TVirtualPad::SetBorderMode(), TAttFill::SetFillColor(), TCollection::SetOwner(), str, and x.
Referenced by GetResult().
void TDocLatexDirective::AddParameter | ( | const TString & | name, | |
const char * | value = 0 | |||
) | [protected, virtual] |
Reimplemented from TDocDirective.
Definition at line 842 of file TDocDirective.cxx.
References TObject::Error(), fAlignment, fFontSize, fSeparator, TString::kIgnoreCase, name, and TObject::Warning().
void TDocLatexDirective::GetBoundingBox | ( | TLatex & | latex, | |
const char * | text, | |||
Float_t & | width, | |||
Float_t & | height | |||
) | [protected, virtual] |
Definition at line 776 of file TDocDirective.cxx.
References TVirtualPad::cd(), fBBCanvas, and latex().
Referenced by CreateLatex().
void TDocLatexDirective::AddLine | ( | const TSubString & | line | ) | [virtual] |
Implements TDocDirective.
Definition at line 595 of file TDocDirective.cxx.
References TMacro::AddLine(), fLatex, TDocDirective::GetDocParser(), TDocDirective::GetName(), TString::Length(), line, name, and TDocParser::Strip().
virtual const char* TDocLatexDirective::GetEndTag | ( | ) | const [inline, virtual] |
const char* TDocLatexDirective::GetAlignment | ( | ) | const [inline] |
const char* TDocLatexDirective::GetSeparator | ( | ) | const [inline] |
Bool_t TDocLatexDirective::SeparatorIsRegexp | ( | ) | const [inline] |
Int_t TDocLatexDirective::GetFontSize | ( | ) | const [inline] |
TList * TDocLatexDirective::GetListOfLines | ( | ) | const |
Implements TDocDirective.
Definition at line 799 of file TDocDirective.cxx.
References CreateLatex(), TString::Data(), TList::First(), fLatex, gDebug, TDocDirective::GetDocOutput(), TDocDirective::GetDocParser(), TMacro::GetListOfLines(), TNamed::GetName(), TDocDirective::GetName(), TDocDirective::GetOutputDir(), gSystem, TObject::Info(), kTRUE, TString::Length(), TDocOutput::NameSpace2FileName(), TSystem::PrependPathName(), TString::Remove(), TString::ReplaceAll(), TDocOutput::ReplaceSpecialChars(), and result().
virtual void TDocLatexDirective::DeleteOutput | ( | ) | const [inline, virtual] |
Reimplemented from TDocDirective.
Definition at line 151 of file TDocDirective.h.
References TDocDirective::DeleteOutputFiles().
TDocLatexDirective::ClassDef | ( | TDocLatexDirective | , | |
0 | ||||
) |
virtual void TDocLatexDirective::CreateLatex | ( | const char * | filename | ) | [protected, virtual] |
virtual void TDocLatexDirective::AddParameter | ( | const TString & | name, | |
const char * | value = 0 | |||
) | [protected, virtual] |
Reimplemented from TDocDirective.
virtual void TDocLatexDirective::GetBoundingBox | ( | TLatex & | latex, | |
const char * | text, | |||
Float_t & | width, | |||
Float_t & | height | |||
) | [protected, virtual] |
virtual void TDocLatexDirective::AddLine | ( | const TSubString & | line | ) | [virtual] |
Implements TDocDirective.
virtual const char* TDocLatexDirective::GetEndTag | ( | ) | const [inline, virtual] |
const char* TDocLatexDirective::GetAlignment | ( | ) | const [inline] |
const char* TDocLatexDirective::GetSeparator | ( | ) | const [inline] |
Bool_t TDocLatexDirective::SeparatorIsRegexp | ( | ) | const [inline] |
Int_t TDocLatexDirective::GetFontSize | ( | ) | const [inline] |
TList* TDocLatexDirective::GetListOfLines | ( | ) | const |
Implements TDocDirective.
virtual void TDocLatexDirective::DeleteOutput | ( | ) | const [inline, virtual] |
Reimplemented from TDocDirective.
Definition at line 151 of file TDocDirective.h.
References TDocDirective::DeleteOutputFiles().
TDocLatexDirective::ClassDef | ( | TDocLatexDirective | , | |
0 | ||||
) |
TMacro* TDocLatexDirective::fLatex [protected] |
Definition at line 123 of file TDocDirective.h.
Referenced by AddLine(), CreateLatex(), GetListOfLines(), GetResult(), and ~TDocLatexDirective().
Int_t TDocLatexDirective::fFontSize [protected] |
Definition at line 124 of file TDocDirective.h.
Referenced by AddParameter(), CreateLatex(), and GetFontSize().
TString TDocLatexDirective::fSeparator [protected] |
Definition at line 125 of file TDocDirective.h.
Referenced by AddParameter(), CreateLatex(), and GetSeparator().
Bool_t TDocLatexDirective::fSepIsRegexp [protected] |
Definition at line 126 of file TDocDirective.h.
Referenced by CreateLatex(), and SeparatorIsRegexp().
TString TDocLatexDirective::fAlignment [protected] |
Definition at line 127 of file TDocDirective.h.
Referenced by AddParameter(), CreateLatex(), and GetAlignment().
TVirtualPad* TDocLatexDirective::fBBCanvas [protected] |
Definition at line 128 of file TDocDirective.h.
Referenced by CreateLatex(), GetBoundingBox(), and ~TDocLatexDirective().
TMacro* TDocLatexDirective::fLatex [protected] |
Definition at line 123 of file TDocDirective.h.
TVirtualPad* TDocLatexDirective::fBBCanvas [protected] |
Definition at line 128 of file TDocDirective.h.