83 const char *p=str.
data();
107 case '^': *
m_t <<
"\\string^";
111 case '`': *
m_t <<
"\\`{}";
116 int spacesToNextTabStop = tabSize - (
m_col%tabSize);
117 while (spacesToNextTabStop--)
128 case '\n': *
m_t <<
'\n';
138#define COPYCHAR() do { \
139 int bytes = getUTF8CharNumBytes(c); \
140 if (result.size() < static_cast<size_t>(i + bytes + 1)) \
142 result.resize(result.size() + 512); \
144 for (int j=0; j<bytes && *p; j++) \
154 c!=0x0c && c!=
'\t' && c!=
'\n' && c!=
' ' && c!=
'^'
203 size_t l = name.length();
204 if (ref.
empty() && usePDFLatex && pdfHyperlinks)
206 *
m_t <<
"\\doxymbox{\\hyperlink{";
209 if (!anchor.
empty()) *
m_t << anchor;
228 *
m_t <<
"\\DoxyCodeLine{";
239 lineAnchor.
sprintf(
"_l%05d",l);
242 bool showTarget = usePDFLatex && pdfHyperlinks && !lineAnchor.
empty() && writeLineAnchor;
245 *
m_t <<
"\\Hypertarget{" <<
stripPath(lineAnchor) <<
"}";
247 if (!fileName.
empty())
274 *
m_t <<
"\\DoxyCodeLine{";
293 *
m_t <<
"\\textcolor{" << name <<
"}{";
315 *
m_t <<
"\\end{" << style <<
"}\n";
373 term(
"Could not open file {} for writing\n",fileName);
379 DString bibtex_command =
"bibtex";
380 DString manual_file =
"refman";
381 const int latex_count = 8;
383 t <<
"LATEX_CMD?=" << latex_command <<
"\n"
384 <<
"MKIDX_CMD?=" << mkidx_command <<
"\n"
385 <<
"BIBTEX_CMD?=" << bibtex_command <<
"\n"
386 <<
"LATEX_COUNT?=" << latex_count <<
"\n"
387 <<
"MANUAL_FILE?=" << manual_file <<
"\n"
391 t <<
"all: $(MANUAL_FILE).dvi\n"
393 <<
"ps: $(MANUAL_FILE).ps\n"
395 <<
"pdf: $(MANUAL_FILE).pdf\n"
397 <<
"ps_2on1: $(MANUAL_FILE).ps\n"
399 <<
"pdf_2on1: $(MANUAL_FILE).pdf\n"
401 <<
"$(MANUAL_FILE).ps: $(MANUAL_FILE).dvi\n"
402 <<
"\tdvips -o $(MANUAL_FILE).ps $(MANUAL_FILE).dvi\n"
404 t <<
"$(MANUAL_FILE).pdf: $(MANUAL_FILE).ps\n";
405 t <<
"\tps2pdf $(MANUAL_FILE).ps $(MANUAL_FILE).pdf\n\n";
406 t <<
"$(MANUAL_FILE).dvi: clean $(MANUAL_FILE).tex doxygen.sty\n"
407 <<
"\techo \"Running latex...\"\n"
408 <<
"\t$(LATEX_CMD) $(MANUAL_FILE).tex || \\\n"
409 <<
"\tif [ $$? != 0 ] ; then \\\n"
410 <<
"\t \\echo \"Please consult $(MANUAL_FILE).log to see the error messages\" ; \\\n"
413 <<
"\techo \"Running makeindex...\"\n"
414 <<
"\t$(MKIDX_CMD) $(MANUAL_FILE).idx\n";
417 t <<
"\techo \"Running bibtex...\"\n";
418 t <<
"\t$(BIBTEX_CMD) $(MANUAL_FILE)\n";
419 t <<
"\techo \"Rerunning latex....\"\n";
420 t <<
"\t$(LATEX_CMD) $(MANUAL_FILE).tex || \\\n"
421 <<
"\tif [ $$? != 0 ] ; then \\\n"
422 <<
"\t \\echo \"Please consult $(MANUAL_FILE).log to see the error messages\" ; \\\n"
426 t <<
"\techo \"Rerunning latex....\"\n"
427 <<
"\t$(LATEX_CMD) $(MANUAL_FILE).tex\n"
428 <<
"\tlatex_count=$(LATEX_COUNT) ; \\\n"
429 <<
"\twhile grep -E -s 'Rerun (LaTeX|to get cross-references right|to get bibliographical references right)' $(MANUAL_FILE).log && [ $$latex_count -gt 0 ] ;\\\n"
431 <<
"\t echo \"Rerunning latex....\" ;\\\n"
432 <<
"\t $(LATEX_CMD) $(MANUAL_FILE).tex ; \\\n"
433 <<
"\t $(LATEX_CMD) $(MANUAL_FILE).tex || \\\n"
434 <<
"\t if [ $$? != 0 ] ; then \\\n"
435 <<
"\t \\echo \"Please consult $(MANUAL_FILE).log to see the error messages\" ; \\\n"
438 <<
"\t latex_count=`expr $$latex_count - 1` ;\\\n"
440 <<
"\t$(MKIDX_CMD) $(MANUAL_FILE).idx\n"
441 <<
"\t$(LATEX_CMD) $(MANUAL_FILE).tex || \\\n"
442 <<
"\tif [ $$? != 0 ] ; then \\\n"
443 <<
"\t \\echo \"Please consult $(MANUAL_FILE).log to see the error messages\" ; \\\n"
446 <<
"$(MANUAL_FILE).ps: $(MANUAL_FILE).ps\n"
447 <<
"\tpsnup -2 $(MANUAL_FILE).ps >$(MANUAL_FILE).ps\n"
449 <<
"$(MANUAL_FILE).pdf: $(MANUAL_FILE).ps\n"
450 <<
"\tps2pdf $(MANUAL_FILE).ps $(MANUAL_FILE).pdf\n";
454 t <<
"all: $(MANUAL_FILE).pdf\n\n"
455 <<
"pdf: $(MANUAL_FILE).pdf\n\n";
456 t <<
"$(MANUAL_FILE).pdf: clean $(MANUAL_FILE).tex\n";
457 t <<
"\t$(LATEX_CMD) $(MANUAL_FILE) || \\\n"
458 <<
"\tif [ $$? != 0 ] ; then \\\n"
459 <<
"\t \\echo \"Please consult $(MANUAL_FILE).log to see the error messages\" ; \\\n"
462 t <<
"\t$(MKIDX_CMD) $(MANUAL_FILE).idx\n";
465 t <<
"\t$(BIBTEX_CMD) $(MANUAL_FILE)\n";
466 t <<
"\t$(LATEX_CMD) $(MANUAL_FILE) || \\\n"
467 <<
"\tif [ $$? != 0 ] ; then \\\n"
468 <<
"\t \\echo \"Please consult $(MANUAL_FILE).log to see the error messages\" ; \\\n"
472 t <<
"\t$(LATEX_CMD) $(MANUAL_FILE) || \\\n"
473 <<
"\tif [ $$? != 0 ] ; then \\\n"
474 <<
"\t \\echo \"Please consult $(MANUAL_FILE).log to see the error messages\" ; \\\n"
477 <<
"\tlatex_count=$(LATEX_COUNT) ; \\\n"
478 <<
"\twhile grep -E -s 'Rerun (LaTeX|to get cross-references right|to get bibliographical references right)' $(MANUAL_FILE).log && [ $$latex_count -gt 0 ] ;\\\n"
480 <<
"\t echo \"Rerunning latex....\" ;\\\n"
481 <<
"\t $(LATEX_CMD) $(MANUAL_FILE) || \\\n"
482 <<
"\t if [ $$? != 0 ] ; then \\\n"
483 <<
"\t \\echo \"Please consult $(MANUAL_FILE).log to see the error messages\" ; \\\n"
486 <<
"\t latex_count=`expr $$latex_count - 1` ;\\\n"
488 <<
"\t$(MKIDX_CMD) $(MANUAL_FILE).idx\n"
489 <<
"\t$(LATEX_CMD) $(MANUAL_FILE) || \\\n"
490 <<
"\tif [ $$? != 0 ] ; then \\\n"
491 <<
"\t \\echo \"Please consult $(MANUAL_FILE).log to see the error messages\" ; \\\n"
499 <<
"*.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl $(MANUAL_FILE).pdf\n";
506 DString fileName=dir+
"/make.bat";
509 DString bibtex_command =
"bibtex";
510 DString manual_file =
"refman";
511 const int latex_count = 8;
516 term(
"Could not open file {} for writing\n",fileName);
518 t <<
"pushd %~dp0\r\n";
519 t <<
"if not %errorlevel% == 0 goto :end1\r\n";
521 t <<
"set ORG_LATEX_CMD=%LATEX_CMD%\r\n";
522 t <<
"set ORG_MKIDX_CMD=%MKIDX_CMD%\r\n";
523 t <<
"set ORG_BIBTEX_CMD=%BIBTEX_CMD%\r\n";
524 t <<
"set ORG_LATEX_COUNT=%LATEX_COUNT%\r\n";
525 t <<
"set ORG_MANUAL_FILE=%MANUAL_FILE%\r\n";
526 t <<
"if \"X\"%LATEX_CMD% == \"X\" set LATEX_CMD=" << latex_command <<
"\r\n";
527 t <<
"if \"X\"%MKIDX_CMD% == \"X\" set MKIDX_CMD=" << mkidx_command <<
"\r\n";
528 t <<
"if \"X\"%BIBTEX_CMD% == \"X\" set BIBTEX_CMD=" << bibtex_command <<
"\r\n";
529 t <<
"if \"X\"%LATEX_COUNT% == \"X\" set LATEX_COUNT=" << latex_count <<
"\r\n";
530 t <<
"if \"X\"%MANUAL_FILE% == \"X\" set MANUAL_FILE=" << manual_file <<
"\r\n";
532 t <<
"del /s /f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl %MANUAL_FILE%.pdf\r\n\r\n";
536 t <<
"%LATEX_CMD% %MANUAL_FILE%.tex\r\n";
537 t <<
"@if ERRORLEVEL 1 goto :error\r\n";
538 t <<
"echo ----\r\n";
539 t <<
"%MKIDX_CMD% %MANUAL_FILE%.idx\r\n";
542 t <<
"%BIBTEX_CMD% %MANUAL_FILE%\r\n";
543 t <<
"echo ----\r\n";
544 t <<
"\t%LATEX_CMD% %MANUAL_FILE%.tex\r\n";
545 t <<
"@if ERRORLEVEL 1 goto :error\r\n";
547 t <<
"setlocal enabledelayedexpansion\r\n";
548 t <<
"set count=%LAT#EX_COUNT%\r\n";
550 t <<
"set content=X\r\n";
551 t <<
"for /F \"tokens=*\" %%T in ( 'findstr /C:\"Rerun LaTeX\" %MANUAL_FILE%.log' ) do set content=\"%%~T\"\r\n";
552 t <<
"if !content! == X for /F \"tokens=*\" %%T in ( 'findstr /C:\"Rerun to get cross-references right\" %MANUAL_FILE%.log' ) do set content=\"%%~T\"\r\n";
553 t <<
"if !content! == X for /F \"tokens=*\" %%T in ( 'findstr /C:\"Rerun to get bibliographical references right\" %MANUAL_FILE%.log' ) do set content=\"%%~T\"\r\n";
554 t <<
"if !content! == X goto :skip\r\n";
555 t <<
"set /a count-=1\r\n";
556 t <<
"if !count! EQU 0 goto :skip\r\n\r\n";
557 t <<
"echo ----\r\n";
558 t <<
"%LATEX_CMD% %MANUAL_FILE%.tex\r\n";
559 t <<
"@if ERRORLEVEL 1 goto :error\r\n";
560 t <<
"goto :repeat\r\n";
563 t <<
"%MKIDX_CMD% %MANUAL_FILE%.idx\r\n";
564 t <<
"%LATEX_CMD% %MANUAL_FILE%.tex\r\n";
565 t <<
"@if ERRORLEVEL 1 goto :error\r\n";
566 t <<
"dvips -o %MANUAL_FILE%.ps %MANUAL_FILE%.dvi\r\n";
568 t <<
" -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite "
569 "-sOutputFile=%MANUAL_FILE%.pdf -c save pop -f %MANUAL_FILE%.ps\r\n";
573 t <<
"%LATEX_CMD% %MANUAL_FILE%\r\n";
574 t <<
"@if ERRORLEVEL 1 goto :error\r\n";
575 t <<
"echo ----\r\n";
576 t <<
"%MKIDX_CMD% %MANUAL_FILE%.idx\r\n";
579 t <<
"%BIBTEX_CMD% %MANUAL_FILE%\r\n";
580 t <<
"%LATEX_CMD% %MANUAL_FILE%\r\n";
581 t <<
"@if ERRORLEVEL 1 goto :error\r\n";
583 t <<
"echo ----\r\n";
584 t <<
"%LATEX_CMD% %MANUAL_FILE%\r\n";
585 t <<
"@if ERRORLEVEL 1 goto :error\r\n";
587 t <<
"setlocal enabledelayedexpansion\r\n";
588 t <<
"set count=%LATEX_COUNT%\r\n";
590 t <<
"set content=X\r\n";
591 t <<
"for /F \"tokens=*\" %%T in ( 'findstr /C:\"Rerun LaTeX\" %MANUAL_FILE%.log' ) do set content=\"%%~T\"\r\n";
592 t <<
"if !content! == X for /F \"tokens=*\" %%T in ( 'findstr /C:\"Rerun to get cross-references right\" %MANUAL_FILE%.log' ) do set content=\"%%~T\"\r\n";
593 t <<
"if !content! == X for /F \"tokens=*\" %%T in ( 'findstr /C:\"Rerun to get bibliographical references right\" %MANUAL_FILE%.log' ) do set content=\"%%~T\"\r\n";
594 t <<
"if !content! == X goto :skip\r\n";
595 t <<
"set /a count-=1\r\n";
596 t <<
"if !count! EQU 0 goto :skip\r\n\r\n";
597 t <<
"echo ----\r\n";
598 t <<
"%LATEX_CMD% %MANUAL_FILE%\r\n";
599 t <<
"@if ERRORLEVEL 1 goto :error\r\n";
600 t <<
"goto :repeat\r\n";
603 t <<
"%MKIDX_CMD% %MANUAL_FILE%.idx\r\n";
604 t <<
"%LATEX_CMD% %MANUAL_FILE%\r\n";
605 t <<
"@if ERRORLEVEL 1 goto :error\r\n";
608 t <<
"goto :end\r\n";
610 t <<
"@echo ===============\r\n";
611 t <<
"@echo Please consult %MANUAL_FILE%.log to see the error messages\r\n";
612 t <<
"@echo ===============\r\n";
615 t<<
"@REM reset environment\r\n";
617 t<<
"set LATEX_CMD=%ORG_LATEX_CMD%\r\n";
618 t<<
"set ORG_LATEX_CMD=\r\n";
619 t<<
"set MKIDX_CMD=%ORG_MKIDX_CMD%\r\n";
620 t<<
"set ORG_MKIDX_CMD=\r\n";
621 t<<
"set BIBTEX_CMD=%ORG_BIBTEX_CMD%\r\n";
622 t<<
"set ORG_BIBTEX_CMD=\r\n";
623 t<<
"set MANUAL_FILE=%ORG_MANUAL_FILE%\r\n";
624 t<<
"set ORG_MANUAL_FILE=\r\n";
625 t<<
"set LATEX_COUNT=%ORG_LATEX_COUNT%\r\n";
626 t<<
"set ORG_LATEX_COUNT=\r\n";
638 term(
"Could not create output directory {}\n",dname);
692 t <<
"% Latex header for doxygen " << getDoxygenVersion() <<
"\n";
698 t <<
"% Latex footer for doxygen " << getDoxygenVersion() <<
"\n";
704 t <<
"% stylesheet for doxygen " << getDoxygenVersion() <<
"\n";
735 m_t <<
"\\\\[1ex]\\large ";
742 for (
const auto &fileName : extraLatexStyles)
744 if (!fileName.empty())
749 result +=
"\\usepackage{";
771 if (!latex_mkidx_command.
empty())
773 if (latex_mkidx_command[0] ==
'\\')
774 result += latex_mkidx_command;
776 result +=
"\\"+latex_mkidx_command;
780 result +=
"\\makeindex";
789 case LATEX_BATCHMODE_t::NO:
return "";
790 case LATEX_BATCHMODE_t::YES:
return "\\batchmode";
791 case LATEX_BATCHMODE_t::BATCH:
return "\\batchmode";
792 case LATEX_BATCHMODE_t::NON_STOP:
return "\\nonstopmode";
793 case LATEX_BATCHMODE_t::SCROLL:
return "\\scrollmode";
794 case LATEX_BATCHMODE_t::ERROR_STOP:
return "\\errorstopmode";
819 case TIMESTAMP_t::YES:
820 case TIMESTAMP_t::DATETIME:
824 case TIMESTAMP_t::DATE:
828 case TIMESTAMP_t::NO:
839 generatedBy = tg.
str();
844 if (latexEmojiDirectory.
empty()) latexEmojiDirectory =
".";
845 latexEmojiDirectory =
substitute(latexEmojiDirectory,
"\\",
"/");
857 if (!formulaMacrofile.
empty())
873 {
"$title", [&]() {
return !title.
empty() ? title : projName; } },
874 {
"$doxygenversion", [&]() {
return getDoxygenVersion(); } },
875 {
"$projectname", [&]() {
return projName; } },
876 {
"$projectnumber", [&]() {
return convertToLaTeX(projectNumber,
false); } },
877 {
"$projectbrief", [&]() {
return projBrief; } },
891 {
"$generatedby", [&]() {
return generatedBy; } },
892 {
"$latexbibstyle", [&]() {
return style; } },
895 {
"$papertype", [&]() {
return paperType+
"paper"; } },
898 {
"$latexfontenc", [&]() {
return latexFontenc; } },
900 {
"$latexemojidirectory", [&]() {
return latexEmojiDirectory; } },
901 {
"$makeindex", [&]() {
return makeIndex(); } },
902 {
"$extralatexpackages", [&]() {
return extraLatexPackages; } },
903 {
"$latexspecialformulachars", [&]() {
return latexSpecialFormulaChars; } },
904 {
"$formulamacrofile", [&]() {
return stripMacroFile; } },
913 {
"COMPACT_LATEX", compactLatex },
914 {
"PDF_HYPERLINKS", pdfHyperlinks },
915 {
"USE_PDFLATEX", usePdfLatex },
916 {
"TIMESTAMP", timeStamp!=TIMESTAMP_t::NO },
917 {
"LATEX_FONTENC", !latexFontenc.
empty() },
918 {
"FORMULA_MACROFILE", !formulaMacrofile.
empty() },
919 {
"PROJECT_NUMBER", !projectNumber.
empty() }
940 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
944 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
948 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
952 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
956 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
960 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
964 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
968 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
972 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
979 if (!gd->isReference())
981 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
992 if (!mod->isReference() && mod->isPrimaryInterface())
994 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
1005 if (dd->isLinkableInProject())
1007 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
1018 if (nd->isLinkableInProject() && !nd->isAlias())
1020 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
1031 if (cd->isLinkableInProject() && !cd->isAlias())
1033 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
1044 if (cd->isLinkableInProject() &&
1045 !cd->isImplicitTemplateInstance() &&
1046 !cd->isEmbeddedInOuterScope() &&
1050 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
1062 for (
const auto &fd : *fn)
1064 if (fd->isLinkableInProject() || fd->generateSourceFile())
1068 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
1080 if (compactLatex)
m_t <<
"\\doxysection";
else m_t <<
"\\chapter";
1110 m_t <<
"}\n\\input{modules}\n";
1113 m_t <<
"}\n\\input{topics}\n";
1116 m_t <<
"}\n\\input{dirs}\n";
1119 m_t <<
"}\n\\input{namespaces}\n";
1122 m_t <<
"}\n\\input{concepts}\n";
1125 m_t <<
"}\n\\input{hierarchy}\n";
1128 m_t <<
"}\n\\input{annotated}\n";
1131 m_t <<
"}\n\\input{files}\n";
1134 m_t <<
"}\n\\input{pages}\n";
1141 if (!gd->isReference() && !gd->isASubGroup())
1153 if (!mod->isReference() && mod->isPrimaryInterface())
1165 if (dd->isLinkableInProject())
1172 m_t <<
"\\input{" << dd->getOutputFileBase() <<
"}\n";
1182 if (nd->isLinkableInProject() && !nd->isAlias())
1189 m_t <<
"\\input{" << nd->getOutputFileBase() <<
"}\n";
1199 if (cd->isLinkableInProject() && !cd->isAlias())
1206 m_t <<
"\\input{" << cd->getOutputFileBase() <<
"}\n";
1216 if (cd->isLinkableInProject() &&
1217 !cd->isImplicitTemplateInstance() &&
1218 !cd->isEmbeddedInOuterScope() &&
1227 m_t <<
"\\input{" << cd->getOutputFileBase() <<
"}\n";
1237 for (
const auto &fd : *fn)
1239 if (fd->isLinkableInProject())
1246 m_t <<
"\\input{" << fd->getOutputFileBase() <<
"}\n";
1248 if (fd->generateSourceFile())
1255 m_t <<
"\\input{" << fd->getSourceFileBase() <<
"}\n";
1266 m_t <<
"\\input{" << pd->getOutputFileBase() <<
"}\n";
1274 if (!pd->getGroupDef() && !pd->isReference() && !pd->hasParentPage()
1296 m_t <<
"{" << name <<
"}\n";
1318 m_t <<
"\n" <<
"\n";
1323 m_t <<
"\n" <<
"\n";
1336 m_t <<
"\\contentsline{section}{";
1351 m_t <<
"\\item\\contentsline{section}\\textbf{ ";
1359 m_t <<
"\\item\\contentsline{section}{";
1369 if (hasBrief)
m_t <<
"\\\\*";
1391 m_t <<
"\\doxymbox{\\hyperlink{";
1393 if (!anchor.
empty())
m_t <<
"_" << anchor;
1398 m_t <<
"\\textbf{ ";
1414 bool insideTabbing,
bool disableLinks)
1418 if (!disableLinks && ref.
empty() && pdfHyperlinks)
1420 result +=
"\\doxymbox{\\hyperlink{";
1422 if (!f.
empty() && !anchor.
empty()) result +=
"_";
1423 if (!anchor.
empty()) result += anchor;
1430 result +=
"\\textbf{ ";
1441 t <<
"\\texorpdfstring{";
1446 t <<
"}{" << strRepl <<
"}";
1458 m_t <<
" \\doxyref{}{";
1464 if (!clname.
empty())
m_t << clname;
1465 if (!anchor.
empty())
m_t <<
"_" << anchor;
1478 if (hierarchyLevel < 0)
1479 m_t <<
"\\chapter{";
1498 m_t <<
"\\label{" << fn <<
"}";
1513 if (extraIndentLevel>=3)
1515 m_t <<
"\\doxysubparagraph*{";
1517 else if (extraIndentLevel==2)
1519 m_t <<
"\\doxyparagraph{";
1561 if (!memname.
empty() && memname[0]!=
'@')
1570 m_t <<
"\\doxysubparagraph";
1572 else if (compactLatex)
1574 m_t <<
"\\doxyparagraph";
1584 m_t <<
"\\texorpdfstring{";
1593 m_t <<
"\\hspace{0.1cm}{\\footnotesize\\ttfamily [" << memCount <<
"/" << memTotal <<
"]}";
1596 m_t <<
"\n{\\footnotesize\\ttfamily ";
1614 if (usePDFLatex && pdfHyperlinks)
1616 m_t <<
"\\Hypertarget{";
1618 if (!anchor.
empty())
m_t <<
"_" << anchor;
1631 if (!anchor.
empty())
m_t <<
"_" << anchor;
1649 if (usePDFLatex && pdfHyperlinks)
1681 if (usePDFLatex && pdfHyperlinks)
1697 default:
ASSERT(0);
break;
1712 default:
ASSERT(0);
break;
1720 m_t <<
"}\\label{" << lab <<
"}\n";
1760 m_t <<
"\\begin{tabbing}\n";
1761 m_t <<
"xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=xx\\=\\kill\n";
1771 m_t <<
"\n" <<
"\\end{tabbing}";
1781 m_t <<
"{\\footnotesize ";
1817 m_t <<
"\\begin{DoxyCompactList}\\small\\item\\em ";
1831 m_t <<
"\\end{DoxyCompactList}";
1870 m_t <<
"\\begin{DoxyEnumFields}[" << (hasInits?3:2) <<
"]{" << title <<
"}\n";
1876 m_t <<
"\\end{DoxyEnumFields}\n";
1883 m_t <<
"\\raisebox{\\heightof{T}}[0pt][0pt]{";
1915 m_t <<
"\\\\\n\\hline\n\n";
1927 m_t <<
"\\begin{DoxyCompactItemize}\n";
1936 m_t <<
"\\end{DoxyCompactItemize}\n";
1945 m_t <<
"\\begin{Indent}";
1946 m_t <<
"\\textbf{ ";
1962 if (hasHeader)
m_t <<
"}\\par\n";
1982 if (hasHeader)
m_t <<
"\\end{Indent}";
1988 m_t <<
"\n" <<
"\n";
2034 m_t <<
"\\begin{Desc}\n\\item[";
2041 m_t <<
"\\end{Desc}\n";
2047 if (openBracket)
m_t <<
"(";
2048 m_t <<
"\\begin{DoxyParamCaption}";
2086 m_t <<
"\\end{DoxyParamCaption}";
2087 if (closeBracket)
m_t <<
")";
2097 else if (closeBracket)
2112 std::visit(visitor,astImpl->
root);
2118 m_t <<
"\\begin{Desc}\n\\item[";
2121 m_t <<
"\\begin{description}\n";
2126 m_t <<
"\\item[{\\em ";
2135 m_t <<
"} : {\\em ";
2153 m_t <<
"\\end{description}\n";
2154 m_t <<
"\\end{Desc}\n";
2161 m_t <<
"\\doxyparagraph*{";
2182 m_t <<
"\\newline\n";
2191 m_t <<
"\\begin{DoxyEnumFields}{";
2196 m_t <<
"\\begin{DoxyFields}{";
2209 m_t <<
"\\end{DoxyEnumFields}\n";
2213 m_t <<
"\\end{DoxyFields}\n";
2245 m_t <<
"\\\\\n\\hline\n\n";
2250 m_t <<
"\\hspace{0.3cm}";
2255 m_t <<
"{\\ttfamily [" << l <<
"]}";
2256 if (!isLast)
m_t <<
", ";
2270 m_t <<
"\\doxyparagraph*{";
2284 m_t <<
"\\DoxyTOC{\\etocsetnexttocdepth{" << maxLevel <<
"}";
2285 m_t <<
"\\localtableofcontents}\n";
2290 m_t <<
"\\begin{DoxyEmbeddedDoc}[" << indent <<
"]\n";
2295 m_t <<
"\\end{DoxyEmbeddedDoc}\n";
2304 if (!extraPackages.empty())
2306 t <<
"% Packages requested by user\n";
2307 for (
const auto &pkgName : extraPackages)
2309 if ((pkgName[0] ==
'[') || (pkgName[0] ==
'{'))
2310 t <<
"\\usepackage" << pkgName <<
"\n";
2312 t <<
"\\usepackage{" << pkgName <<
"}\n";
2320 unsigned char minus[4];
2321 unsigned char sup2[3];
2322 unsigned char sup3[3];
2334 t <<
"\\ifPDFTeX\n";
2335 t <<
"\\usepackage{newunicodechar}\n";
2338 t <<
" \\makeatletter\n"
2339 " \\def\\doxynewunicodechar#1#2{%\n"
2340 " \\@tempswafalse\n"
2341 " \\edef\\nuc@tempa{\\detokenize{#1}}%\n"
2342 " \\if\\relax\\nuc@tempa\\relax\n"
2343 " \\nuc@emptyargerr\n"
2345 " \\edef\\@tempb{\\expandafter\\@car\\nuc@tempa\\@nil}%\n"
2348 " \\@namedef{u8:\\nuc@tempa}{#2}%\n"
2354 t <<
" \\doxynewunicodechar{" << minus <<
"}{${}^{-}$}% Superscript minus\n"
2355 " \\doxynewunicodechar{" << sup2 <<
"}{${}^{2}$}% Superscript two\n"
2356 " \\doxynewunicodechar{" << sup3 <<
"}{${}^{3}$}% Superscript three\n"
2362 bool insideTabbing,
bool insidePre,
bool insideItem,
bool insideTable,
bool keepSpaces,
const bool retainNewline)
2364 if (str.
empty())
return;
2367 const char *p = str.
data();
2368 unsigned char pc=
'\0';
2372 unsigned char c=
static_cast<unsigned char>(*p++);
2380 if (
static_cast<unsigned char>(*(p)) == 0xbf &&
static_cast<unsigned char>(*(p+1)) == 0xbd)
2386 t << static_cast<char>(c);
2388 case '\\': t <<
"\\(\\backslash\\)";
break;
2389 case '{': t <<
"\\{";
break;
2390 case '}': t <<
"\\}";
break;
2391 case '_': t <<
"\\_";
break;
2392 case '&': t <<
"\\&";
break;
2393 case '%': t <<
"\\%";
break;
2394 case '#': t <<
"\\#";
break;
2395 case '$': t <<
"\\$";
break;
2396 case '"': t <<
"\"{}";
break;
2397 case '-': t <<
"-\\/";
break;
2398 case '^':
insideTable ? t <<
"\\string^" : t << static_cast<char>(c);
break;
2399 case '~': t <<
"\\string~";
break;
2400 case '\n':
if (retainNewline) t <<
"\\newline";
else t <<
' ';
2402 case ' ':
if (keepSpaces) t <<
"~";
else t <<
' ';
2406 else t << static_cast<char>(c);
2416 if (
static_cast<unsigned char>(*(p)) == 0xbf &&
static_cast<unsigned char>(*(p+1)) == 0xbd)
2422 t << static_cast<char>(c);
2424 case '#': t <<
"\\+\\#";
break;
2425 case '$': t <<
"\\$";
break;
2426 case '%': t <<
"\\%";
break;
2427 case '^':
processEntity(t,pdfHyperlinks,
"$^\\wedge$",
"\\string^");
break;
2437 case '*':
processEntity(t,pdfHyperlinks,
"$\\ast$",
"*");
break;
2438 case '_':
if (!insideTabbing && *p) t <<
"\\+";
2440 if (!insideTabbing && *p) t <<
"\\+";
2442 case '{': t <<
"\\{";
break;
2443 case '}': t <<
"\\}";
break;
2444 case '<': t <<
"$<$";
break;
2445 case '>': t <<
"$>$";
break;
2446 case '|':
processEntity(t,pdfHyperlinks,
"$\\vert$",
"|");
break;
2447 case '~':
processEntity(t,pdfHyperlinks,
"$\\sim$",
"\\string~");
break;
2453 case ']':
if (pc==
'[') t <<
"$\\,$";
2459 case '-': t <<
"-\\/";
2461 case '\\': t <<
"\\textbackslash{}";
2463 case '"': t <<
"\"{}";
2465 case '`': t <<
"\\`{}";
2467 case '\'': t <<
"\\textquotesingle{}";
2469 case '\n':
if (retainNewline)
2479 case ' ':
if (keepSpaces) {
if (insideTabbing) t <<
"\\>";
else t <<
'~'; }
else t <<
' ';
2484 if (!insideTabbing &&
2485 ((c>=
'A' && c<=
'Z' && pc!=
' ' && !(pc>=
'A' && pc <=
'Z') && pc!=
'\0' && *p) || (pc==
'.' &&
isId(c)))
2496 t << static_cast<char>(c);
2498 if (!insideTabbing && *p && ((c==
':' && *p!=
':') || c==
'/'))
2518 if (s.
empty())
return s;
2521 const char *p=s.
data();
2527 case '|': t <<
"\\texttt{\"|}";
break;
2528 case '!': t <<
"\"!";
break;
2529 case '@': t <<
"\"@";
break;
2530 case '%': t <<
"\\%";
break;
2531 case '{': t <<
"\\lcurly{}";
break;
2532 case '}': t <<
"\\rcurly{}";
break;
2533 case '~': t <<
"````~";
break;
2540 while ((c=*p) && c!=
'@' && c!=
'[' && c!=
']' && c!=
'!' && c!=
'{' && c!=
'}' && c!=
'|')
2563 if (s.
empty())
return s;
2566 const char *p=s.
data();
2572 case '!': t <<
"\"!";
break;
2573 case '"': t <<
"\"\"";
break;
2574 case '@': t <<
"\"@";
break;
2575 case '|': t <<
"\\texttt{\"|}";
break;
2576 case '[': t <<
"[";
break;
2577 case ']': t <<
"]";
break;
2578 case '{': t <<
"\\lcurly{}";
break;
2579 case '}': t <<
"\\rcurly{}";
break;
2586 while ((c=*p) && c!=
'"' && c!=
'@' && c!=
'[' && c!=
']' && c!=
'!' && c!=
'{' && c!=
'}' && c!=
'|')
2608 if (s.
empty())
return s;
2610 const char *p=s.
data();
2616 case '\\': t <<
"\\textbackslash{}";
break;
2617 case '{': t <<
"\\{";
break;
2618 case '}': t <<
"\\}";
break;
2619 case '_': t <<
"\\_";
break;
2620 case '%': t <<
"\\%";
break;
2621 case '&': t <<
"\\&";
break;
2622 case '#': t <<
"\\#";
break;
2623 case '$': t <<
"\\$";
break;
2624 case '^': t <<
"\\string^";
break;
2625 case '~': t <<
"\\string~";
break;
2636 constexpr auto hex =
"0123456789ABCDEF";
2637 if (s.
empty())
return s;
2639 const char *p=s.
data();
2645 case '#': t <<
"\\#";
break;
2646 case '%': t <<
"\\%";
break;
2647 case '\\': t <<
"\\\\";
break;
2650 if (
static_cast<signed char>(c)<0)
2652 unsigned char id =
static_cast<unsigned char>(c);
2653 t <<
"\\%" << hex[
id>>4] << hex[
id&0xF];
static CitationManager & instance()
bool empty() const
return true if there are no citations.
DString latexBibFiles()
lists the bibtex cite files in a comma separated list
Class representing a built-in class diagram.
void writeFigure(TextStream &t, const DString &path, const DString &file) const
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
bool empty() const
Returns true iff the string is empty (std::string compatible alias for isEmpty()).
DString & prepend(const char *s)
DString & sprintf(const char *format,...)
const std::string & str() const
const char * data() const
Returns a pointer to the contents of the string in the form of a 0-terminated C string.
bool endsWith(const char *s) const
size_t length() const
Returns the length of the string, not counting the 0-terminator.
The common base class of all entity definitions found in the sources.
virtual DString getDefFileExtension() const =0
Class representing a directory in the file system.
bool mkdir(const std::string &path, bool acceptsAbsPath=true) const
Class representing the abstract syntax tree of a documentation block.
Representation of an call graph.
DString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const DString &path, const DString &fileName, const DString &relPath, bool writeImageMap=true, int graphId=-1)
Representation of a class inheritance or dependency graph.
DString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const DString &path, const DString &fileName, const DString &relPath, bool TBRank=true, bool imageMap=true, int graphId=-1)
Representation of an directory dependency graph.
DString writeGraph(TextStream &out, GraphOutputFormat gf, EmbeddedOutputFormat ef, const DString &path, const DString &fileName, const DString &relPath, bool writeImageMap=true, int graphId=-1, bool linkRelations=true)
Representation of a group collaboration graph.
DString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const DString &path, const DString &fileName, const DString &relPath, bool writeImageMap=true, int graphId=-1)
Representation of an include dependency graph.
DString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const DString &path, const DString &fileName, const DString &relPath, bool writeImageMap=true, int graphId=-1)
static NamespaceLinkedMap * namespaceLinkedMap
static ConceptLinkedMap * conceptLinkedMap
static std::unique_ptr< PageDef > mainPage
static FileNameLinkedMap * inputNameLinkedMap
static ClassLinkedMap * classLinkedMap
static PageLinkedMap * exampleLinkedMap
static PageLinkedMap * pageLinkedMap
static DirLinkedMap * dirLinkedMap
static GroupLinkedMap * groupLinkedMap
Minimal replacement for QFileInfo.
std::string fileName() const
std::string absFilePath() const
const char * latex(SymType symb) const
Access routine to the LaTeX code of the HTML entity.
const char * writeHtmlEntity(T &result, const char *s, HtmlEntityMapperFunc &&mapper, const char *fallback)
static HtmlEntityMapper & instance()
Returns the one and only instance of the HTML entity mapper.
opaque representation of the abstract syntax tree (AST)
Generator for LaTeX code fragments.
int usedTableLevel() const
void startCodeFragment(const DString &style) override
LatexCodeGenerator(TextStream *t, const DString &relPath, const DString &sourceFile)
void setStripIndentAmount(size_t amount) override
void setInsideTabbing(bool b)
void endFontClass() override
bool insideTabbing() const
void codify(const DString &text) override
void writeCodeLink(CodeSymbolType type, const DString &ref, const DString &file, const DString &anchor, const DString &name, const DString &tooltip) override
void setTextStream(TextStream *t)
void endSpecialComment() override
void stripCodeComments(bool b) override
size_t m_stripIndentAmount
void startCodeLine(int) override
void startSpecialComment() override
void startFontClass(const DString &) override
void writeLineNumber(const DString &, const DString &, const DString &, int, bool) override
void setRelativePath(const DString &path)
void endCodeFragment(const DString &style) override
void endCodeLine() override
void setSourceFileName(const DString &sourceFileName)
Concrete visitor implementation for LaTeX output.
void endMemberItem(MemberItemType) override
void addCodeGen(OutputCodeList &list) override
void endIndexKey() override
void endInlineMemberDoc() override
void startMemberHeader(const DString &, int) override
void startProjectNumber() override
void startIndexSection(IndexSection) override
void writeInheritedSectionTitle(const DString &, const DString &, const DString &, const DString &, const DString &, const DString &) override
void endParameterList() override
void endMemberDescription() override
std::unique_ptr< OutputCodeList > m_codeList
void endDirDepGraph(DotDirDeps &g) override
void endDescTable() override
void startMemberGroup() override
void endInlineHeader() override
void endGroupHeader(int) override
void writeAnchor(const DString &fileName, const DString &name) override
void startTextLink(const DString &, const DString &) override
void writeChar(char c) override
void endDescTableInit() override
void docify(const DString &text) override
void startParameterName(bool) override
void writePageLink(const DString &, bool) override
void endParameterType() override
void startPageRef() override
void startFile(const DString &name, bool isSource, const DString &manName, const DString &title, int id, int hierarchyLevel) override
void endLabels() override
void endIndexValue(const DString &, bool) override
void endSection(const DString &, SectionType) override
void endIndexSection(IndexSection) override
void startMemberDoc(const DString &, const DString &, const DString &, const DString &, int, int, bool) override
void exceptionEntry(const DString &, bool) override
void startConstraintType() override
void startClassDiagram() override
void endInlineMemberType() override
void startDescTableTitle() override
void endInclDepGraph(DotInclDepGraph &) override
void writeNonBreakableSpace(int) override
void startTitleHead(const DString &) override
void startMemberGroupDocs() override
void startDescTable(const DString &title, const bool hasInits) override
void endDescTableTitle() override
void startMemberDescription(const DString &, const DString &, bool) override
void startInclDepGraph() override
void lastIndexPage() override
void endExamples() override
void startLocalToc(int level) override
void startAnonTypeScope(int) override
void endPlainFile() override
void endTitleHead(const DString &, const DString &name) override
static void writeFooterFile(TextStream &t)
void startParameterList(bool) override
void endMemberDoc(bool) override
void endConstraintType() override
void startDescTableRow() override
void endAnonTypeScope(int) override
void endConstraintList() override
void startDotGraph() override
void endParameterExtra(bool last, bool one, bool bracket) override
void startSection(const DString &, const DString &, SectionType) override
void startConstraintList(const DString &) override
void endDescTableData() override
void endIndexItem(const DString &ref, const DString &file) override
void startGroupCollaboration() override
void startLabels() override
void endMemberGroupHeader(bool) override
static void writeStyleSheetFile(TextStream &t)
void endMemberHeader() override
OutputType type() const override
void lineBreak(const DString &style=DString()) override
void endConstraintDocs() override
void startIndexKey() override
void startMemberGroupHeader(const DString &, bool) override
void startConstraintParam() override
void endInlineMemberName() override
void startMemberTemplateParams() override
void startInlineMemberType() override
void writeStartAnnoItem(const DString &type, const DString &file, const DString &path, const DString &name) override
void startPlainFile(const DString &name) override
void startInlineMemberDoc() override
void addLabel(const DString &, const DString &) override
void startCallGraph() override
void endMemberList() override
void startExamples() override
void startIndexItem(const DString &ref, const DString &file) override
LatexGenerator & operator=(const LatexGenerator &)
void startDirDepGraph() override
void endTextLink() override
void endEmbeddedDoc() override
void startMemberList() override
void startDescTableData() override
void endDescTableRow() override
void startConstraintDocs() override
void endMemberGroupDocs() override
void endMemberTemplateParams(const DString &, const DString &) override
void startDescTableInit() override
void addIndexItem(const DString &, const DString &) override
void endMemberDocSimple(bool) override
void endParameterName() override
void startGroupHeader(const DString &, int) override
void startMemberDocSimple(bool) override
void endCallGraph(DotCallGraph &) override
void endGroupCollaboration(DotGroupCollaboration &g) override
void startParagraph(const DString &classDef) override
void startInlineHeader() override
void endConstraintParam() override
void endDotGraph(DotClassGraph &) override
void writeString(const DString &text) override
void startParameterExtra() override
LatexCodeGenerator * m_codeGen
void endMemberGroup(bool) override
static void writeHeaderFile(TextStream &t)
void startEmbeddedDoc(size_t) override
void endParagraph() override
void writeObjectLink(const DString &ref, const DString &file, const DString &anchor, const DString &name) override
void endClassDiagram(const ClassDiagram &, const DString &, const DString &) override
void writeStyleInfo(int part) override
void endDoxyAnchor(const DString &, const DString &) override
void startIndexValue(bool) override
void writeLabel(const DString &l, bool isLast) override
void startInlineMemberName() override
void startDoxyAnchor(const DString &, const DString &, const DString &, const DString &, const DString &) override
void writeDoc(const IDocNodeAST *node, const Definition *ctx, const MemberDef *, int id, int sectionLevel) override
void startMemberItem(const DString &, MemberItemType, const DString &) override
void startParameterType(bool, const DString &) override
void endPageRef(const DString &, const DString &) override
bool m_templateMemberItem
A model of a class/file/namespace member symbol.
static ModuleManager & instance()
Class representing a list of different code generators.
void add(OutputCodeIntfPtr &&p)
Abstract interface for output generators.
Base class for shared implementation for all output generators.
static ResourceMgr & instance()
Returns the one and only instance of this class.
DString getAsString(const DString &name) const
Gets the resource data as a C string.
static constexpr int Section
static constexpr int Subsection
static constexpr int Subsubsection
constexpr int level() const
static constexpr int Page
static constexpr int Paragraph
static constexpr int Subsubparagraph
static constexpr int Subparagraph
Text streaming class that buffers data.
std::string str() const
Return the contents of the buffer as a std::string object.
virtual DString trCompoundMembers()=0
virtual DString latexDocumentPost()
virtual DString trGeneratedAt(const DString &date, const DString &projName)=0
virtual DString latexFontenc()
virtual DString trInheritedFrom(const DString &members, const DString &what)=0
virtual DString trCiteReferences()=0
virtual DString latexLanguageSupportCommand()=0
virtual DString trISOLang()=0
virtual DString latexFont()
virtual DString latexDocumentPre()
virtual DString trGeneratedBy()=0
virtual DString trEnumerationValues()=0
virtual DString latexCommandName()
virtual DString trExamples()=0
#define Config_getInt(name)
#define Config_getList(name)
#define Config_getEnumAsString(name)
#define Config_getBool(name)
#define Config_getString(name)
#define Config_getEnum(name)
std::vector< std::string > StringVector
DString yearToString()
Returns the current year as a string.
DString dateToString(DateTimeType includeTime)
Returns the current date, when includeTime is set also the time is provided.
bool insideTable(const DocNodeVariant *n)
DString substitute(const DString &s, const DString &src, const DString &dst)
substitute all occurrences of src in s by dst
bool isId(char c)
Returns true if c is a valid character for an identifier.
@ isNamespaceDocumentation
Translator * theTranslator
static DString extraLatexStyleSheet()
static DString substituteLatexKeywords(const DString &file, const DString &str, const DString &title)
static void writeLatexMakefile()
static DString latex_batchmode()
DString latexFilterURL(const DString &s)
DString latexEscapePDFString(const DString &s)
static const SelectionMarkerInfo latexMarkerInfo
DString latexEscapeIndexChars(const DString &s)
DString latexEscapeLabelName(const DString &s)
static void processEntity(TextStream &t, bool pdfHyperlinks, const char *strForm, const char *strRepl)
static void writeMakeBat()
static void writeDefaultStyleSheet(TextStream &t)
void filterLatexString(TextStream &t, const DString &str, bool insideTabbing, bool insidePre, bool insideItem, bool insideTable, bool keepSpaces, const bool retainNewline)
void writeExtraLatexPackages(TextStream &t)
static DString g_header_file
static DString makeIndex()
void latexWriteIndexItem(TextStream &m_t, const DString &s1, const DString &s2)
static DString objectLinkToString(const DString &ref, const DString &f, const DString &anchor, const DString &text, bool insideTabbing, bool disableLinks)
void writeLatexSpecialFormulaChars(TextStream &t)
static DString g_footer_file
DString convertToLaTeX(const DString &s, bool insideTabbing, bool keepSpaces)
void latexWriteIndexItem(TextStream &t, const DString &r1, const DString &s2="")
#define LATEX_STYLE_EXTENSION
DString latexEscapePDFString(const DString &s)
DString latexEscapeIndexChars(const DString &s)
DString convertToLaTeX(const DString &s, bool insideTabbing, bool keepSpaces=false)
void filterLatexString(TextStream &t, const DString &str, bool insideTabbing, bool insidePre, bool insideItem, bool insideTable, bool keepSpaces, const bool retainNewline=false)
const char * name(int level)
const char * ghostScriptCommand()
std::ofstream openOutputStream(const DString &name, bool append=false)
size_t updateColumnCount(const char *s, size_t col)
OutputCodeDefer< LatexCodeGenerator > LatexCodeGeneratorDefer
Portable versions of functions that are platform dependent.
Some helper functions for std::string.
std::string removeEmptyLines(const std::string &s)
Various UTF8 related helper functions.
DString selectBlocks(const DString &s, const SelectionBlockList &blockList, const SelectionMarkerInfo &markerInfo)
remove disabled blocks and all block markers from s and return the result as a string
bool checkExtension(const DString &fName, const DString &ext)
DString showDate(const DString &fmt)
DString stripExtensionGeneral(const DString &fName, const DString &ext)
void clearSubDirs(const Dir &d)
void createSubDirs(const Dir &d)
void checkBlocks(const DString &s, const DString fileName, const SelectionMarkerInfo &markerInfo)
DString fileToString(const DString &name, bool filter, bool isSourceCode)
DString substituteKeywords(const DString &file, const DString &s, const KeywordSubstitutionList &keywords)
DString relativePathToRoot(const DString &name)
DString projectLogoFile()
bool copyFile(const DString &src, const DString &dest)
Copies the contents of file with name src to the newly created file with name dest.
DString projectLogoSize()
DString stripPath(const DString &s)
A bunch of utility functions.