void HtmlGenerator::writeStartAnnoItem(const char *,const char *f, const char *path,const char *name) { t << "<li>"; if (path) docify(path); t << "<a class=\"el\" href=\"" << f << Doxygen::htmlFileExtension << "\">"; docify(name); t << "</a> "; }
void HtmlGenerator::writeChar(char c) { char cs[2]; cs[0]=c; cs[1]=0; docify(cs); }
void HtmlGenerator::writeCodeLink(const char *ref,const char *f, const char *anchor, const char *name) { QCString *dest; if (ref) { t << "<a class=\"codeRef\" "; t << "doxygen=\"" << ref << ":"; if ((dest=Doxygen::tagDestinationDict[ref])) t << *dest << "/"; t << "\" "; } else { t << "<a class=\"code\" "; } t << "href=\""; if (ref) { if ((dest=Doxygen::tagDestinationDict[ref])) t << relPath << *dest << "/"; } else { t << relPath; } if (f) t << f << Doxygen::htmlFileExtension; if (anchor) t << "#" << anchor; t << "\">"; docify(name); t << "</a>"; col+=strlen(name); }
void ManGenerator::startMemberDocSimple(bool isEnum) { if (!firstCol) { t << endl << ".PP" << endl; } t << "\\fB"; if (isEnum) { docify(theTranslator->trEnumerationValues()); } else { docify(theTranslator->trCompoundMembers()); } t << ":\\fP" << endl; t << ".RS 4" << endl; }
void ManGenerator::startMemberDocSimple() { if (!firstCol) { t << endl << ".PP" << endl; } t << "\\fB"; docify(theTranslator->trCompoundMembers()); t << ":\\fP" << endl; t << ".RS 4" << endl; }
void ManGenerator::startConstraintList(const char *header) { if (!firstCol) { t << endl << ".PP" << endl; firstCol=TRUE; paragraph=TRUE; col=0; } paragraph=FALSE; startBold(); docify(header); endBold(); paragraph=TRUE; }
void ManGenerator::startParamList(ParamListTypes,const char *title) { if (!firstCol) { t << endl << ".PP" << endl; firstCol=TRUE; paragraph=TRUE; col=0; } paragraph=FALSE; startBold(); docify(title); endBold(); paragraph=TRUE; }
void ManGenerator::startExamples() { if (!firstCol) { t << endl << ".PP" << endl; firstCol=TRUE; paragraph=TRUE; col=0; } paragraph=FALSE; startBold(); docify(theTranslator->trExamples()); endBold(); paragraph=TRUE; }
void ManGenerator::startSimpleSect(SectionTypes,const char *, const char *,const char *title) { if (!firstCol) { t << endl << ".PP" << endl; firstCol=TRUE; paragraph=TRUE; col=0; } paragraph=FALSE; startBold(); docify(title); endBold(); paragraph=TRUE; }
void ManGenerator::startDescTable(const char *title) { if (!firstCol) { t << endl << ".PP" << endl; firstCol=TRUE; paragraph=TRUE; col=0; } paragraph=FALSE; startBold(); docify(title); endBold(); paragraph=TRUE; startDescForItem(); }
void HtmlGenerator::writeIndexItem(const char *ref,const char *f, const char *name) { //printf("HtmlGenerator::writeIndexItem(%s,%s,%s)\n",ref,f,name); QCString *dest; t << "<li>"; if (ref || f) { if (ref) { t << "<a class=\"elRef\" "; t << "doxygen=\"" << ref << ":"; if ((dest=Doxygen::tagDestinationDict[ref])) t << *dest << "/"; t << "\" "; } else { t << "<a class=\"el\" "; } t << "href=\""; if (ref) { if ((dest=Doxygen::tagDestinationDict[ref])) t << *dest << "/"; } if (f) t << f << Doxygen::htmlFileExtension << "\">"; } else { t << "<b>"; } docify(name); if (ref || f) { t << "</a>" << endl; } else { t << "</b>"; } }
void ManGenerator::writeCodeLink(const char *,const char *, const char *, const char *name, const char *) { docify(name); }
void ManGenerator::writeObjectLink(const char *,const char *, const char *, const char *name) { startBold(); docify(name); endBold(); }
void ManGenerator::writeString(const char *text) { docify(text); }