Skip to main content

The rtfdocvisitor.cpp File Reference

Included Headers

#include <algorithm> #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 "rtfgen.h" #include "message.h" #include "parserintf.h" #include "dia.h" #include "filedef.h" #include "config.h" #include "htmlentity.h" #include "emoji.h" #include "plantuml.h" #include "fileinfo.h" #include "portable.h" #include "codefragment.h" #include "cite.h"

Functions Index

static QCStringalign (const DocHtmlCell &cell)
static QCStringmakeBaseName (const QCString &name)

Macro Definitions Index

#defineDBG_RTF(x)   do {} while(0)

Functions

align()

QCString align (const DocHtmlCell & cell)
static

Definition at line 45 of file rtfdocvisitor.cpp.

45static QCString align(const DocHtmlCell &cell)
46{
47 for (const auto &attr : cell.attribs())
48 {
49 if (attr.name.lower()=="align")
50 {
51 if (attr.value.lower()=="center") return "\\qc ";
52 else if (attr.value.lower()=="right") return "\\qr ";
53 else return "";
54 }
55 }
56 return "";
57}

Reference DocHtmlCell::attribs.

Referenced by RTFDocVisitor::operator(), OutputGenIntf::startMemberDocName and OutputList::startMemberDocName.

makeBaseName()

QCString makeBaseName (const QCString & name)
static

Definition at line 59 of file rtfdocvisitor.cpp.

59static QCString makeBaseName(const QCString &name)
60{
61 QCString baseName = name;
62 int i = baseName.findRev('/');
63 if (i!=-1)
64 {
65 baseName=baseName.mid(i+1);
66 }
67 return baseName;
68}

References QCString::findRev and QCString::mid.

Macro Definitions

DBG_RTF

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

Definition at line 43 of file rtfdocvisitor.cpp.

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

Referenced by RTFGenerator::addLabel, RTFGenerator::beginRTFChapter, RTFGenerator::beginRTFDocument, RTFGenerator::beginRTFSection, RTFGenerator::endCallGraph, RTFCodeGenerator::endCodeFragment, RTFGenerator::endConstraintDocs, RTFGenerator::endConstraintList, RTFGenerator::endConstraintParam, RTFGenerator::endConstraintType, RTFGenerator::endDescForItem, RTFGenerator::endDescTable, RTFGenerator::endDescTableData, RTFGenerator::endDescTableInit, RTFGenerator::endDescTableTitle, RTFGenerator::endDirDepGraph, RTFGenerator::endDotGraph, RTFGenerator::endDoxyAnchor, RTFGenerator::endExamples, RTFGenerator::endFile, RTFGenerator::endGroupHeader, RTFGenerator::endInclDepGraph, RTFGenerator::endIndexItem, RTFGenerator::endIndexKey, RTFGenerator::endIndexList, RTFGenerator::endIndexListItem, RTFGenerator::endIndexSection, RTFGenerator::endIndexValue, RTFGenerator::endInlineHeader, RTFGenerator::endInlineMemberDoc, RTFGenerator::endInlineMemberName, RTFGenerator::endInlineMemberType, RTFGenerator::endItemList, RTFGenerator::endItemListItem, RTFGenerator::endMemberDescription, RTFGenerator::endMemberDoc, RTFGenerator::endMemberDocSimple, RTFGenerator::endMemberGroup, RTFGenerator::endMemberGroupDocs, RTFGenerator::endMemberGroupHeader, RTFGenerator::endMemberItem, RTFGenerator::endMemberList, RTFGenerator::endMemberSubtitle, RTFGenerator::endParagraph, RTFGenerator::endParameterType, RTFGenerator::endProjectNumber, RTFGenerator::endSection, RTFGenerator::endTextBlock, RTFGenerator::endTitleHead, RTFGenerator::exceptionEntry, RTFGenerator::lastIndexPage, RTFGenerator::lineBreak, RTFGenerator::newParagraph, RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFDocVisitor::operator(), RTFGenerator::rtfwriteRuler_doubleline, RTFGenerator::rtfwriteRuler_emboss, RTFGenerator::rtfwriteRuler_thick, RTFGenerator::rtfwriteRuler_thin, RTFGenerator::startCallGraph, RTFGenerator::startClassDiagram, RTFCodeGenerator::startCodeFragment, RTFGenerator::startCompoundTemplateParams, RTFGenerator::startConstraintDocs, RTFGenerator::startConstraintList, RTFGenerator::startConstraintParam, RTFGenerator::startConstraintType, RTFGenerator::startDescForItem, RTFGenerator::startDescTable, RTFGenerator::startDescTableData, RTFGenerator::startDescTableInit, RTFGenerator::startDescTableTitle, RTFGenerator::startDirDepGraph, RTFGenerator::startDotGraph, RTFGenerator::startDoxyAnchor, RTFGenerator::startExamples, RTFGenerator::startGroupHeader, RTFGenerator::startInclDepGraph, RTFGenerator::startIndent, RTFGenerator::startIndexItem, RTFGenerator::startIndexKey, RTFGenerator::startIndexList, RTFGenerator::startIndexListItem, RTFGenerator::startIndexSection, RTFGenerator::startIndexValue, RTFGenerator::startInlineHeader, RTFGenerator::startInlineMemberDoc, RTFGenerator::startInlineMemberName, RTFGenerator::startInlineMemberType, RTFGenerator::startItemList, RTFGenerator::startItemListItem, RTFGenerator::startMemberDescription, RTFGenerator::startMemberDoc, RTFGenerator::startMemberDocSimple, RTFGenerator::startMemberGroup, RTFGenerator::startMemberGroupDocs, RTFGenerator::startMemberGroupHeader, RTFGenerator::startMemberItem, RTFGenerator::startMemberList, RTFGenerator::startMemberSubtitle, RTFGenerator::startParagraph, RTFGenerator::startParameterType, RTFGenerator::startProjectNumber, RTFGenerator::startSection, RTFGenerator::startTextBlock, RTFGenerator::startTitleHead, RTFGenerator::writeAnchor and RTFGenerator::writeStartAnnoItem.


Generated via doxygen2docusaurus by Doxygen 1.14.0.