Doxygen
htmldocvisitor.cpp 文件参考
#include "htmldocvisitor.h"
#include "docparser.h"
#include "language.h"
#include "doxygen.h"
#include "outputgen.h"
#include "dot.h"
#include "message.h"
#include "config.h"
#include "htmlgen.h"
#include "parserintf.h"
#include "msc.h"
#include "dia.h"
#include "util.h"
#include "vhdldocgen.h"
#include "filedef.h"
#include "memberdef.h"
#include "htmlentity.h"
#include "emoji.h"
#include "plantuml.h"
#include "formula.h"
#include "fileinfo.h"
+ htmldocvisitor.cpp 的引用(Include)关系图:

浏览源代码.

枚举

enum  contexts_t {
  NONE, STARTLI, STARTDD, ENDLI,
  ENDDD, STARTTD, ENDTD, INTERLI,
  INTERDD, INTERTD
}
 

函数

static QCString convertIndexWordToAnchor (const QCString &word)
 
static bool mustBeOutsideParagraph (const DocNode *n)
 
static bool isDocVerbatimVisible (const DocVerbatim *s)
 
static bool isDocIncludeVisible (const DocInclude *s)
 
static bool isDocIncOperatorVisible (const DocIncOperator *s)
 
static bool isInvisibleNode (const DocNode *node)
 
static void mergeHtmlAttributes (const HtmlAttribList &attribs, HtmlAttribList &mergeInto)
 
static QCString htmlAttribsToString (const HtmlAttribList &attribs, QCString *pAltValue=0)
 
static void visitPreCaption (TextStream &t, DocVerbatim *s)
 
static void visitPostCaption (TextStream &t, DocVerbatim *s)
 
static void visitCaption (HtmlDocVisitor *parent, DocNodeList &children)
 
template<class T >
bool isFirstChildNode (T *parent, DocNode *node)
 
template<class T >
bool isLastChildNode (T *parent, DocNode *node)
 
bool isSeparatedParagraph (DocSimpleSect *parent, DocPara *par)
 
static int getParagraphContext (DocPara *p, bool &isFirst, bool &isLast)
 
static bool insideStyleChangeThatIsOutsideParagraph (DocPara *para, int nodeIndex)
 Returns TRUE if the child nodes in paragraph para until nodeIndex contain a style change node that is still active and that style change is one that must be located outside of a paragraph, i.e. 更多...
 

变量

static const int NUM_HTML_LIST_TYPES = 4
 
static const char types [][NUM_HTML_LIST_TYPES] = {"1", "a", "i", "A"}
 
static const char * contexts [10]
 
static const char * hex ="0123456789ABCDEF"
 

枚举类型说明

◆ contexts_t

enum contexts_t
枚举值
NONE 
STARTLI 
STARTDD 
ENDLI 
ENDDD 
STARTTD 
ENDTD 
INTERLI 
INTERDD 
INTERTD 

在文件 htmldocvisitor.cpp40 行定义.

41 {
42  NONE, // 0
43  STARTLI, // 1
44  STARTDD, // 2
45  ENDLI, // 3
46  ENDDD, // 4
47  STARTTD, // 5
48  ENDTD, // 6
49  INTERLI, // 7
50  INTERDD, // 8
51  INTERTD // 9
52 };

函数说明

◆ convertIndexWordToAnchor()

static QCString convertIndexWordToAnchor ( const QCString word)
static

在文件 htmldocvisitor.cpp67 行定义.

68 {
69  static int cnt = 0;
70  QCString result="a";
71  QCString cntStr;
72  result += cntStr.setNum(cnt);
73  result += "_";
74  cnt++;
75  const char *str = word.data();
76  unsigned char c;
77  if (str)
78  {
79  while ((c = *str++))
80  {
81  if ((c >= 'a' && c <= 'z') || // ALPHA
82  (c >= 'A' && c <= 'Z') || // ALPHA
83  (c >= '0' && c <= '9') || // DIGIT
84  c == '-' ||
85  c == '.' ||
86  c == '_'
87  )
88  {
89  result += c;
90  }
91  else
92  {
93  char enc[4];
94  enc[0] = ':';
95  enc[1] = hex[(c & 0xf0) >> 4];
96  enc[2] = hex[c & 0xf];
97  enc[3] = 0;
98  result += enc;
99  }
100  }
101  }
102  return result;
103 }

引用了 QCString::data(), hex , 以及 QCString::setNum().

被这些函数引用 HtmlDocVisitor::visit().

◆ getParagraphContext()

static int getParagraphContext ( DocPara p,
bool &  isFirst,
bool &  isLast 
)
static

在文件 htmldocvisitor.cpp1050 行定义.

1051 {
1052  int t=0;
1053  isFirst=FALSE;
1054  isLast=FALSE;
1055  if (p && p->parent())
1056  {
1057  switch (p->parent()->kind())
1058  {
1060  { // hierarchy: node N -> para -> parblock -> para
1061  // adapt return value to kind of N
1063  if ( p->parent()->parent() && p->parent()->parent()->parent() )
1064  {
1065  kind = p->parent()->parent()->parent()->kind();
1066  }
1067  isFirst=isFirstChildNode((DocParBlock*)p->parent(),p);
1068  isLast =isLastChildNode ((DocParBlock*)p->parent(),p);
1069  t=NONE;
1070  if (isFirst)
1071  {
1072  if (kind==DocNode::Kind_HtmlListItem ||
1074  {
1075  t=STARTLI;
1076  }
1077  else if (kind==DocNode::Kind_HtmlDescData ||
1078  kind==DocNode::Kind_XRefItem ||
1080  {
1081  t=STARTDD;
1082  }
1083  else if (kind==DocNode::Kind_HtmlCell ||
1085  {
1086  t=STARTTD;
1087  }
1088  }
1089  if (isLast)
1090  {
1091  if (kind==DocNode::Kind_HtmlListItem ||
1093  {
1094  t=ENDLI;
1095  }
1096  else if (kind==DocNode::Kind_HtmlDescData ||
1097  kind==DocNode::Kind_XRefItem ||
1099  {
1100  t=ENDDD;
1101  }
1102  else if (kind==DocNode::Kind_HtmlCell ||
1104  {
1105  t=ENDTD;
1106  }
1107  }
1108  if (!isFirst && !isLast)
1109  {
1110  if (kind==DocNode::Kind_HtmlListItem ||
1112  {
1113  t=INTERLI;
1114  }
1115  else if (kind==DocNode::Kind_HtmlDescData ||
1116  kind==DocNode::Kind_XRefItem ||
1118  {
1119  t=INTERDD;
1120  }
1121  else if (kind==DocNode::Kind_HtmlCell ||
1123  {
1124  t=INTERTD;
1125  }
1126  }
1127  break;
1128  }
1130  isFirst=isFirstChildNode((DocAutoListItem*)p->parent(),p);
1131  isLast =isLastChildNode ((DocAutoListItem*)p->parent(),p);
1132  t=STARTLI; // not used
1133  break;
1135  isFirst=TRUE;
1136  isLast =TRUE;
1137  t=STARTLI; // not used
1138  break;
1140  isFirst=TRUE;
1141  isLast =TRUE;
1142  t=STARTLI; // not used
1143  break;
1145  isFirst=isFirstChildNode((DocHtmlListItem*)p->parent(),p);
1146  isLast =isLastChildNode ((DocHtmlListItem*)p->parent(),p);
1147  if (isFirst) t=STARTLI;
1148  if (isLast) t=ENDLI;
1149  if (!isFirst && !isLast) t = INTERLI;
1150  break;
1152  isFirst=isFirstChildNode((DocSecRefItem*)p->parent(),p);
1153  isLast =isLastChildNode ((DocSecRefItem*)p->parent(),p);
1154  if (isFirst) t=STARTLI;
1155  if (isLast) t=ENDLI;
1156  if (!isFirst && !isLast) t = INTERLI;
1157  break;
1159  isFirst=isFirstChildNode((DocHtmlDescData*)p->parent(),p);
1160  isLast =isLastChildNode ((DocHtmlDescData*)p->parent(),p);
1161  if (isFirst) t=STARTDD;
1162  if (isLast) t=ENDDD;
1163  if (!isFirst && !isLast) t = INTERDD;
1164  break;
1166  isFirst=isFirstChildNode((DocXRefItem*)p->parent(),p);
1167  isLast =isLastChildNode ((DocXRefItem*)p->parent(),p);
1168  if (isFirst) t=STARTDD;
1169  if (isLast) t=ENDDD;
1170  if (!isFirst && !isLast) t = INTERDD;
1171  break;
1173  isFirst=isFirstChildNode((DocSimpleSect*)p->parent(),p);
1174  isLast =isLastChildNode ((DocSimpleSect*)p->parent(),p);
1175  if (isFirst) t=STARTDD;
1176  if (isLast) t=ENDDD;
1178  // if the paragraph is enclosed with separators it will
1179  // be included in <dd>..</dd> so avoid addition paragraph
1180  // markers
1181  {
1182  isFirst=isLast=TRUE;
1183  }
1184  if (!isFirst && !isLast) t = INTERDD;
1185  break;
1187  isFirst=isFirstChildNode((DocHtmlCell*)p->parent(),p);
1188  isLast =isLastChildNode ((DocHtmlCell*)p->parent(),p);
1189  if (isFirst) t=STARTTD;
1190  if (isLast) t=ENDTD;
1191  if (!isFirst && !isLast) t = INTERTD;
1192  break;
1193  default:
1194  break;
1195  }
1196  //printf("para=%p parent()->kind=%d isFirst=%d isLast=%d t=%d\n",
1197  // p,p->parent()->kind(),isFirst,isLast,t);
1198  }
1199  return t;
1200 }

引用了 ENDDD, ENDLI, ENDTD, FALSE, INTERDD, INTERLI, INTERTD, isFirstChildNode(), isLastChildNode(), isSeparatedParagraph(), DocNode::kind(), DocNode::Kind_AutoListItem, DocNode::Kind_HtmlCell, DocNode::Kind_HtmlDescData, DocNode::Kind_HtmlListItem, DocNode::Kind_Para, DocNode::Kind_ParamList, DocNode::Kind_ParBlock, DocNode::Kind_SecRefItem, DocNode::Kind_SimpleListItem, DocNode::Kind_SimpleSect, DocNode::Kind_XRefItem, NONE, DocNode::parent(), STARTDD, STARTLI, STARTTD , 以及 TRUE.

被这些函数引用 HtmlDocVisitor::forceEndParagraph(), HtmlDocVisitor::forceStartParagraph(), HtmlDocVisitor::visitPost() , 以及 HtmlDocVisitor::visitPre().

◆ htmlAttribsToString()

static QCString htmlAttribsToString ( const HtmlAttribList attribs,
QCString pAltValue = 0 
)
static

在文件 htmldocvisitor.cpp233 行定义.

234 {
235  QCString result;
236  for (const auto &att : attribs)
237  {
238  if (!att.value.isEmpty()) // ignore attribute without values as they
239  // are not XHTML compliant, with the exception
240  // of the alt attribute with the img tag
241  {
242  if (att.name=="alt" && pAltValue) // optionally return the value of alt separately
243  // need to convert <img> to <object> for SVG images,
244  // which do not support the alt attribute
245  {
246  *pAltValue = att.value;
247  }
248  else
249  {
250  result+=" ";
251  result+=att.name;
252  result+="=\""+convertToXML(att.value)+"\"";
253  }
254  }
255  else if (att.name=="nowrap") // In XHTML, attribute minimization is forbidden, and the nowrap attribute must be defined as <td nowrap="nowrap">.
256  {
257  result+=" ";
258  result+=att.name;
259  result+="=\"nowrap\"";
260  }
261  }
262  return result;
263 }

引用了 convertToXML().

被这些函数引用 HtmlDocVisitor::visit() , 以及 HtmlDocVisitor::visitPre().

◆ insideStyleChangeThatIsOutsideParagraph()

static bool insideStyleChangeThatIsOutsideParagraph ( DocPara para,
int  nodeIndex 
)
static

Returns TRUE if the child nodes in paragraph para until nodeIndex contain a style change node that is still active and that style change is one that must be located outside of a paragraph, i.e.

it is a center, div, or pre tag. See also bug746162.

在文件 htmldocvisitor.cpp2352 行定义.

2353 {
2354  //printf("insideStyleChangeThatIsOutputParagraph(index=%d)\n",nodeIndex);
2355  int styleMask=0;
2356  bool styleOutsideParagraph=FALSE;
2357  while (nodeIndex>=0 && !styleOutsideParagraph)
2358  {
2359  DocNode *n = para->children().at(nodeIndex).get();
2360  if (n->kind()==DocNode::Kind_StyleChange)
2361  {
2362  DocStyleChange *sc = (DocStyleChange*)n;
2363  if (!sc->enable()) // remember styles that has been closed already
2364  {
2365  styleMask|=(int)sc->style();
2366  }
2367  bool paraStyle = sc->style()==DocStyleChange::Center ||
2368  sc->style()==DocStyleChange::Div ||
2370  //printf("Found style change %s enabled=%d\n",sc->styleString(),sc->enable());
2371  if (sc->enable() && (styleMask&(int)sc->style())==0 && // style change that is still active
2372  paraStyle
2373  )
2374  {
2375  styleOutsideParagraph=TRUE;
2376  }
2377  }
2378  nodeIndex--;
2379  }
2380  return styleOutsideParagraph;
2381 }

引用了 DocStyleChange::Center, CompAccept< T >::children(), DocStyleChange::Div, DocStyleChange::enable(), FALSE, DocNode::kind(), DocNode::Kind_StyleChange, DocStyleChange::Preformatted, DocStyleChange::style() , 以及 TRUE.

被这些函数引用 HtmlDocVisitor::forceEndParagraph() , 以及 HtmlDocVisitor::forceStartParagraph().

◆ isDocIncludeVisible()

static bool isDocIncludeVisible ( const DocInclude s)
static

在文件 htmldocvisitor.cpp175 行定义.

176 {
177  switch (s->type())
178  {
185  return FALSE;
186  default:
187  return TRUE;
188  }
189 }

引用了 DocInclude::DocbookInclude, DocInclude::DontInclude, FALSE, DocInclude::LatexInclude, DocInclude::ManInclude, DocInclude::RtfInclude, TRUE, DocInclude::type() , 以及 DocInclude::XmlInclude.

被这些函数引用 isInvisibleNode().

◆ isDocIncOperatorVisible()

static bool isDocIncOperatorVisible ( const DocIncOperator s)
static

在文件 htmldocvisitor.cpp191 行定义.

192 {
193  switch (s->type())
194  {
196  return FALSE;
197  default:
198  return TRUE;
199  }
200 }

引用了 FALSE, DocIncOperator::Skip, TRUE , 以及 DocIncOperator::type().

被这些函数引用 isInvisibleNode().

◆ isDocVerbatimVisible()

static bool isDocVerbatimVisible ( const DocVerbatim s)
static

在文件 htmldocvisitor.cpp160 行定义.

161 {
162  switch(s->type())
163  {
169  return FALSE;
170  default:
171  return TRUE;
172  }
173 }

引用了 DocVerbatim::DocbookOnly, FALSE, DocVerbatim::LatexOnly, DocVerbatim::ManOnly, DocVerbatim::RtfOnly, TRUE, DocVerbatim::type() , 以及 DocVerbatim::XmlOnly.

被这些函数引用 isInvisibleNode().

◆ isFirstChildNode()

template<class T >
bool isFirstChildNode ( T *  parent,
DocNode node 
)

在文件 htmldocvisitor.cpp1007 行定义.

1008 {
1009  return !parent->children().empty() && parent->children().front().get()==node;
1010 }

被这些函数引用 getParagraphContext().

◆ isInvisibleNode()

static bool isInvisibleNode ( const DocNode node)
static

在文件 htmldocvisitor.cpp202 行定义.

203 {
204  return (node->kind()==DocNode::Kind_WhiteSpace)
205  || // skip over image nodes that are not for HTML output
206  (node->kind()==DocNode::Kind_Image && ((DocImage*)node)->type()!=DocImage::Html)
207  || // skip over verbatim nodes that are not visible in the HTML output
209  || // skip over include nodes that are not visible in the HTML output
211  || // skip over include operator nodes that are not visible in the HTML output
213  ;
214 }

引用了 DocImage::Html, isDocIncludeVisible(), isDocIncOperatorVisible(), isDocVerbatimVisible(), DocNode::kind(), DocVerbatim::kind(), DocInclude::kind(), DocNode::Kind_Image, DocNode::Kind_Include, DocNode::Kind_IncOperator, DocNode::Kind_Verbatim , 以及 DocNode::Kind_WhiteSpace.

被这些函数引用 HtmlDocVisitor::forceEndParagraph(), HtmlDocVisitor::forceStartParagraph(), HtmlDocVisitor::visitPost() , 以及 HtmlDocVisitor::visitPre().

◆ isLastChildNode()

template<class T >
bool isLastChildNode ( T *  parent,
DocNode node 
)

在文件 htmldocvisitor.cpp1013 行定义.

1014 {
1015  return !parent->children().empty() && parent->children().back().get()==node;
1016 }

被这些函数引用 getParagraphContext().

◆ isSeparatedParagraph()

bool isSeparatedParagraph ( DocSimpleSect parent,
DocPara par 
)

在文件 htmldocvisitor.cpp1018 行定义.

1019 {
1020  const DocNodeList &nodes = parent->children();
1021  auto it = std::find_if(nodes.begin(),nodes.end(),[par](const auto &n) { return n.get()==par; });
1022  if (it==nodes.end()) return FALSE;
1023  size_t i = it - nodes.begin();
1024  size_t count = parent->children().size();
1025  if (count>1 && i==0) // first node
1026  {
1027  if (nodes.at(i+1)->kind()==DocNode::Kind_SimpleSectSep)
1028  {
1029  return TRUE;
1030  }
1031  }
1032  else if (count>1 && i==count-1) // last node
1033  {
1034  if (nodes.at(i-1)->kind()==DocNode::Kind_SimpleSectSep)
1035  {
1036  return TRUE;
1037  }
1038  }
1039  else if (count>2 && i>0 && i<count-1) // intermediate node
1040  {
1041  if (nodes.at(i-1)->kind()==DocNode::Kind_SimpleSectSep &&
1042  nodes.at(i+1)->kind()==DocNode::Kind_SimpleSectSep)
1043  {
1044  return TRUE;
1045  }
1046  }
1047  return FALSE;
1048 }

引用了 CompAccept< T >::children(), FALSE, DocNode::Kind_SimpleSectSep , 以及 TRUE.

被这些函数引用 getParagraphContext().

◆ mergeHtmlAttributes()

static void mergeHtmlAttributes ( const HtmlAttribList attribs,
HtmlAttribList mergeInto 
)
static

在文件 htmldocvisitor.cpp216 行定义.

217 {
218  for (const auto &att : attribs)
219  {
220  auto it = std::find_if(mergeInto.begin(),mergeInto.end(),
221  [&att](const auto &opt) { return opt.name==att.name; });
222  if (it!=mergeInto.end()) // attribute name already in mergeInto
223  {
224  it->value = it->value + " " + att.value;
225  }
226  else // attribute name not yet in mergeInto
227  {
228  mergeInto.push_back(att);
229  }
230  }
231 }

被这些函数引用 HtmlDocVisitor::visitPre().

◆ mustBeOutsideParagraph()

static bool mustBeOutsideParagraph ( const DocNode n)
static

在文件 htmldocvisitor.cpp105 行定义.

106 {
107  switch (n->kind())
108  {
109  /* <ul> */
113  /* <dl> */
118  /* <table> */
120  /* <h?> */
123  /* \internal */
125  /* <div> */
128  /* <hr> */
130  /* CopyDoc gets paragraph markers from the wrapping DocPara node,
131  * but needs to insert them for all documentation being copied to
132  * preserve formatting.
133  */
134  case DocNode::Kind_Copy:
135  /* <blockquote> */
137  /* \parblock */
140  return TRUE;
142  {
143  DocVerbatim *dv = (DocVerbatim*)n;
144  return dv->type()!=DocVerbatim::HtmlOnly || dv->isBlock();
145  }
147  return ((DocStyleChange*)n)->style()==DocStyleChange::Preformatted ||
148  ((DocStyleChange*)n)->style()==DocStyleChange::Div ||
149  ((DocStyleChange*)n)->style()==DocStyleChange::Center;
151  return !((DocFormula*)n)->isInline();
152  case DocNode::Kind_Image:
153  return !((DocImage*)n)->isInlineImage();
154  default:
155  break;
156  }
157  return FALSE;
158 }

引用了 DocStyleChange::Center, DocStyleChange::Div, FALSE, DocVerbatim::HtmlOnly, DocVerbatim::isBlock(), DocNode::kind(), DocNode::Kind_AutoList, DocNode::Kind_Copy, DocNode::Kind_Formula, DocNode::Kind_HorRuler, DocNode::Kind_HtmlBlockQuote, DocNode::Kind_HtmlDescList, DocNode::Kind_HtmlHeader, DocNode::Kind_HtmlList, DocNode::Kind_HtmlTable, DocNode::Kind_Image, DocNode::Kind_Include, DocNode::Kind_IncOperator, DocNode::Kind_Internal, DocNode::Kind_ParamSect, DocNode::Kind_ParBlock, DocNode::Kind_SecRefList, DocNode::Kind_Section, DocNode::Kind_SimpleList, DocNode::Kind_SimpleSect, DocNode::Kind_StyleChange, DocNode::Kind_Verbatim, DocNode::Kind_XRefItem, DocStyleChange::Preformatted, TRUE , 以及 DocVerbatim::type().

被这些函数引用 HtmlDocVisitor::forceEndParagraph(), HtmlDocVisitor::forceStartParagraph(), HtmlDocVisitor::visitPost() , 以及 HtmlDocVisitor::visitPre().

◆ visitCaption()

static void visitCaption ( HtmlDocVisitor parent,
DocNodeList children 
)
static

在文件 htmldocvisitor.cpp492 行定义.

493 {
494  for (const auto &n : children) n->accept(parent);
495 }

被这些函数引用 HtmlDocVisitor::visit().

◆ visitPostCaption()

static void visitPostCaption ( TextStream t,
DocVerbatim s 
)
static

在文件 htmldocvisitor.cpp483 行定义.

484 {
485  if (s->hasCaption())
486  {
487  t << "</div>\n";
488  }
489 }

引用了 DocVerbatim::hasCaption().

被这些函数引用 HtmlDocVisitor::visit().

◆ visitPreCaption()

static void visitPreCaption ( TextStream t,
DocVerbatim s 
)
static

在文件 htmldocvisitor.cpp474 行定义.

475 {
476  if (s->hasCaption())
477  {
478  t << "<div class=\"caption\">\n";
479  }
480 }

引用了 DocVerbatim::hasCaption().

被这些函数引用 HtmlDocVisitor::visit().

变量说明

◆ contexts

const char* contexts[10]
static
初始值:
=
{ "",
"startli",
"startdd",
"endli",
"enddd",
"starttd",
"endtd",
"interli",
"interdd",
"intertd"
}

在文件 htmldocvisitor.cpp53 行定义.

被这些函数引用 HtmlDocVisitor::visitPre().

◆ hex

◆ NUM_HTML_LIST_TYPES

const int NUM_HTML_LIST_TYPES = 4
static

在文件 htmldocvisitor.cpp38 行定义.

被这些函数引用 HtmlDocVisitor::visitPre().

◆ types

const char types[][NUM_HTML_LIST_TYPES] = {"1", "a", "i", "A"}
static

在文件 htmldocvisitor.cpp39 行定义.

被这些函数引用 HtmlDocVisitor::visitPre().

DocAutoListItem
Node representing an item of a auto list
Definition: docparser.h:720
DocStyleChange
Node representing a style change
Definition: docparser.h:343
DocVerbatim
Node representing a verbatim, unparsed text fragment
Definition: docparser.h:510
isDocIncludeVisible
static bool isDocIncludeVisible(const DocInclude *s)
Definition: htmldocvisitor.cpp:175
ENDTD
@ ENDTD
Definition: htmldocvisitor.cpp:48
DocNode::Kind_HtmlDescData
@ Kind_HtmlDescData
Definition: docparser.h:119
DocNode::Kind_AutoListItem
@ Kind_AutoListItem
Definition: docparser.h:105
INTERTD
@ INTERTD
Definition: htmldocvisitor.cpp:51
DocNode::Kind_SecRefList
@ Kind_SecRefList
Definition: docparser.h:140
DocVerbatim::HtmlOnly
@ HtmlOnly
Definition: docparser.h:513
DocStyleChange::Center
@ Center
Definition: docparser.h:349
DocNode::Kind_HtmlHeader
@ Kind_HtmlHeader
Definition: docparser.h:133
DocNode::Kind_Include
@ Kind_Include
Definition: docparser.h:131
DocHtmlListItem
Node representing a HTML list item
Definition: docparser.h:1286
DocNode
Abstract node interface with type information.
Definition: docparser.h:96
isDocIncOperatorVisible
static bool isDocIncOperatorVisible(const DocIncOperator *s)
Definition: htmldocvisitor.cpp:191
DocHtmlDescData
Node representing a HTML description data
Definition: docparser.h:1303
DocInclude::XmlInclude
@ XmlInclude
Definition: docparser.h:568
DocNode::Kind_ParBlock
@ Kind_ParBlock
Definition: docparser.h:151
DocNode::Kind_HtmlDescList
@ Kind_HtmlDescList
Definition: docparser.h:118
DocVerbatim::RtfOnly
@ RtfOnly
Definition: docparser.h:513
DocVerbatim::type
Type type() const
Definition: docparser.h:518
DocSecRefItem
Node representing a reference to a section
Definition: docparser.h:1023
DocNode::Kind_HtmlCell
@ Kind_HtmlCell
Definition: docparser.h:123
INTERDD
@ INTERDD
Definition: htmldocvisitor.cpp:50
DocNode::Kind_Section
@ Kind_Section
Definition: docparser.h:113
isLastChildNode
bool isLastChildNode(T *parent, DocNode *node)
Definition: htmldocvisitor.cpp:1013
DocInclude::DocbookInclude
@ DocbookInclude
Definition: docparser.h:568
DocInclude::DontInclude
@ DontInclude
Definition: docparser.h:566
DocNode::Kind_SecRefItem
@ Kind_SecRefItem
Definition: docparser.h:139
DocNode::Kind_IncOperator
@ Kind_IncOperator
Definition: docparser.h:132
DocImage::Html
@ Html
Definition: docparser.h:774
DocFormula
Node representing an item of a cross-referenced list
Definition: docparser.h:658
DocVerbatim::DocbookOnly
@ DocbookOnly
Definition: docparser.h:513
DocNode::Kind_WhiteSpace
@ Kind_WhiteSpace
Definition: docparser.h:102
DocIncOperator
Node representing a include/dontinclude operator block
Definition: docparser.h:606
DocNode::Kind_StyleChange
@ Kind_StyleChange
Definition: docparser.h:108
DocXRefItem
Node representing an item of a cross-referenced list
Definition: docparser.h:749
DocImage
Node representing an image
Definition: docparser.h:771
STARTTD
@ STARTTD
Definition: htmldocvisitor.cpp:47
DocNode::kind
virtual Kind kind() const =0
DocNodeList
std::vector< std::unique_ptr< DocNode > > DocNodeList
Definition: docparser.h:190
DocNode::Kind_SimpleList
@ Kind_SimpleList
Definition: docparser.h:111
INTERLI
@ INTERLI
Definition: htmldocvisitor.cpp:49
DocNode::Kind_Para
@ Kind_Para
Definition: docparser.h:103
NONE
@ NONE
Definition: htmldocvisitor.cpp:42
isSeparatedParagraph
bool isSeparatedParagraph(DocSimpleSect *parent, DocPara *par)
Definition: htmldocvisitor.cpp:1018
DocIncOperator::Skip
@ Skip
Definition: docparser.h:609
DocNode::Kind_HtmlList
@ Kind_HtmlList
Definition: docparser.h:116
DocParBlock
Node representing an block of paragraphs
Definition: docparser.h:1070
DocVerbatim::ManOnly
@ ManOnly
Definition: docparser.h:513
isFirstChildNode
bool isFirstChildNode(T *parent, DocNode *node)
Definition: htmldocvisitor.cpp:1007
DocNode::Kind_SimpleListItem
@ Kind_SimpleListItem
Definition: docparser.h:112
TRUE
#define TRUE
Definition: qcstring.h:36
DocNode::Kind_Verbatim
@ Kind_Verbatim
Definition: docparser.h:114
ENDLI
@ ENDLI
Definition: htmldocvisitor.cpp:45
DocNode::Kind_ParamSect
@ Kind_ParamSect
Definition: docparser.h:143
DocNode::Kind_Internal
@ Kind_Internal
Definition: docparser.h:129
DocVerbatim::hasCaption
bool hasCaption() const
Definition: docparser.h:527
DocNode::Kind_ParamList
@ Kind_ParamList
Definition: docparser.h:144
DocSimpleSect
Node representing a simple section
Definition: docparser.h:1111
DocInclude
Node representing an included text block from file
Definition: docparser.h:563
DocNode::Kind_HtmlTable
@ Kind_HtmlTable
Definition: docparser.h:121
DocNode::Kind_Copy
@ Kind_Copy
Definition: docparser.h:146
QCString::setNum
QCString & setNum(short n)
Definition: qcstring.h:372
DocNode::Kind_Formula
@ Kind_Formula
Definition: docparser.h:138
STARTLI
@ STARTLI
Definition: htmldocvisitor.cpp:43
DocNode::Kind_HtmlBlockQuote
@ Kind_HtmlBlockQuote
Definition: docparser.h:149
DocInclude::RtfInclude
@ RtfInclude
Definition: docparser.h:568
DocInclude::LatexInclude
@ LatexInclude
Definition: docparser.h:566
DocStyleChange::style
Style style() const
Definition: docparser.h:368
DocNode::Kind
Kind
Definition: docparser.h:100
DocNode::Kind_XRefItem
@ Kind_XRefItem
Definition: docparser.h:115
DocNode::Kind_AutoList
@ Kind_AutoList
Definition: docparser.h:104
DocIncOperator::type
Type type() const
Definition: docparser.h:616
STARTDD
@ STARTDD
Definition: htmldocvisitor.cpp:44
hex
static const char * hex
Definition: htmldocvisitor.cpp:65
DocVerbatim::LatexOnly
@ LatexOnly
Definition: docparser.h:513
DocStyleChange::Preformatted
@ Preformatted
Definition: docparser.h:353
DocStyleChange::enable
bool enable() const
Definition: docparser.h:370
ENDDD
@ ENDDD
Definition: htmldocvisitor.cpp:46
QCString::data
const char * data() const
Returns a pointer to the contents of the string in the form of a 0-terminated C string
Definition: qcstring.h:153
convertToXML
QCString convertToXML(const QCString &s, bool keepEntities)
Definition: util.cpp:3948
DocInclude::type
Type type() const
Definition: docparser.h:584
CompAccept::children
const DocNodeList & children() const
Definition: docparser.h:207
DocVerbatim::XmlOnly
@ XmlOnly
Definition: docparser.h:513
isDocVerbatimVisible
static bool isDocVerbatimVisible(const DocVerbatim *s)
Definition: htmldocvisitor.cpp:160
DocStyleChange::Div
@ Div
Definition: docparser.h:355
DocNode::parent
DocNode * parent() const
Definition: docparser.h:166
DocHtmlCell
Node representing a HTML table cell
Definition: docparser.h:1316
DocNode::Kind_SimpleSect
@ Kind_SimpleSect
Definition: docparser.h:109
DocVerbatim::isBlock
bool isBlock() const
Definition: docparser.h:526
DocInclude::ManInclude
@ ManInclude
Definition: docparser.h:568
DocNode::Kind_SimpleSectSep
@ Kind_SimpleSectSep
Definition: docparser.h:141
DocNode::Kind_HorRuler
@ Kind_HorRuler
Definition: docparser.h:126
DocNode::Kind_Image
@ Kind_Image
Definition: docparser.h:134
FALSE
#define FALSE
Definition: qcstring.h:33
DocNode::Kind_HtmlListItem
@ Kind_HtmlListItem
Definition: docparser.h:117
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108