Macros | Functions
rtfdocvisitor.cpp File Reference
#include <qfileinfo.h>
#include "rtfdocvisitor.h"
#include "docparser.h"
#include "language.h"
#include "doxygen.h"
#include "outputgen.h"
#include "dot.h"
#include "msc.h"
#include "util.h"
#include "rtfstyle.h"
#include "message.h"
#include "parserintf.h"
#include "dia.h"
#include "filedef.h"
#include "config.h"
#include "htmlentity.h"
#include "plantuml.h"

Go to the source code of this file.

Macros

#define DBG_RTF(x)   do {} while(0)
 

Functions

static QCString align (DocHtmlCell *cell)
 

Macro Definition Documentation

#define DBG_RTF (   x)    do {} while(0)

Definition at line 40 of file rtfdocvisitor.cpp.

Function Documentation

static QCString align ( DocHtmlCell cell)
static

Definition at line 42 of file rtfdocvisitor.cpp.

43 {
44  HtmlAttribList attrs = cell->attribs();
45  uint i;
46  for (i=0; i<attrs.count(); ++i)
47  {
48  if (attrs.at(i)->name.lower()=="align")
49  {
50  if (attrs.at(i)->value.lower()=="center")
51  return "\\qc ";
52  else if (attrs.at(i)->value.lower()=="right")
53  return "\\qr ";
54  else return "";
55  }
56  }
57  return "";
58 }
const HtmlAttribList & attribs() const
Definition: docparser.h:1267
type * at(uint i) const
Definition: qlist.h:94
uint count() const
Definition: qlist.h:66
QCString value
Definition: htmlattrib.h:25
QCString name
Definition: htmlattrib.h:24
QCString lower() const
Definition: qcstring.cpp:263
A list of Html attributes.
Definition: htmlattrib.h:32
unsigned uint
Definition: qglobal.h:351