My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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)
 
static void visitCaption (RTFDocVisitor *parent, QList< DocNode > children)
 

Macro Definition Documentation

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

Function Documentation

static QCString align ( DocHtmlCell cell)
static

Definition at line 42 of file rtfdocvisitor.cpp.

References DocHtmlCell::attribs().

Referenced by RTFDocVisitor::visitPre().

{
HtmlAttribList attrs = cell->attribs();
uint i;
for (i=0; i<attrs.count(); ++i)
{
if (attrs.at(i)->name.lower()=="align")
{
if (attrs.at(i)->value.lower()=="center")
return "\\qc ";
else if (attrs.at(i)->value.lower()=="right")
return "\\qr ";
else return "";
}
}
return "";
}
static void visitCaption ( RTFDocVisitor parent,
QList< DocNode children 
)
static

Definition at line 234 of file rtfdocvisitor.cpp.

References DocNode::accept().

Referenced by RTFDocVisitor::visit().

{
QListIterator<DocNode> cli(children);
DocNode *n;
for (cli.toFirst();(n=cli.current());++cli) n->accept(parent);
}