summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
authorahoogol <ahoogol@gmail.com>2017-06-25 07:32:35 (GMT)
committerahoogol <ahoogol@gmail.com>2017-06-25 07:32:35 (GMT)
commit5885c89d6b30ca607f84794d0de6800f49dd327b (patch)
tree4005066c10fd003cd6d93697b92a6cf7ba206266 /src/pagedef.cpp
parente7e62101a1a659740223c32cdd525b1e66b1cf09 (diff)
downloadDoxygen-5885c89d6b30ca607f84794d0de6800f49dd327b.zip
Doxygen-5885c89d6b30ca607f84794d0de6800f49dd327b.tar.gz
Doxygen-5885c89d6b30ca607f84794d0de6800f49dd327b.tar.bz2
Added support for RTL(right to left) languages like Arabic and Persian in HTML output
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index 1210305..203acf5 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -183,6 +183,7 @@ void PageDef::writeDocumentation(OutputList &ol)
ol.disable(OutputGenerator::Man);
if (!title().isEmpty() && !name().isEmpty() && si!=0)
{
+ ol.startPageDoc(si->title);
//ol.startSection(si->label,si->title,si->type);
startTitle(ol,getOutputFileBase(),this);
ol.generateDoc(docFile(),docLine(),this,0,si->title,TRUE,FALSE,0,TRUE,FALSE);
@@ -192,6 +193,8 @@ void PageDef::writeDocumentation(OutputList &ol)
//ol.endSection(si->label,si->type);
endTitle(ol,getOutputFileBase(),name());
}
+ else
+ ol.startPageDoc("");
ol.startContents();
ol.popGeneratorState();
//2.}
@@ -202,6 +205,7 @@ void PageDef::writeDocumentation(OutputList &ol)
}
writePageDocumentation(ol);
+ ol.endPageDoc();
if (generateTreeView && getOuterScope()!=Doxygen::globalScope && !Config_getBool(DISABLE_INDEX))
{