@@ -116,15 +116,15 @@ void DocbookDocVisitor::visitPreStart(TextStream &t,
116116 t << " <imagedata" ;
117117 if (!width.isEmpty ())
118118 {
119- t << " width=\" " << convertToDocBook (width) << " \" " ;
119+ t << " width=\" " << DocbookGenerator::convertToDocbook (width) << " \" " ;
120120 }
121121 else
122122 {
123123 if (!height.isEmpty () && !inlineImage) t << " width=\" 50%\" " ;
124124 }
125125 if (!height.isEmpty ())
126126 {
127- t << " depth=\" " << convertToDocBook (height) << " \" " ;
127+ t << " depth=\" " << DocbookGenerator::convertToDocbook (height) << " \" " ;
128128 }
129129 t << " align=\" center\" valign=\" middle\" scalefit=\" 0\" fileref=\" " << name << " \" >" ;
130130 t << " </imagedata>\n " ;
@@ -671,7 +671,7 @@ DB_VIS_C
671671 }
672672 else
673673 {
674- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trSeeAlso ()) << " </title>\n " ;
674+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trSeeAlso ()) << " </title>\n " ;
675675 }
676676 break ;
677677 case DocSimpleSect::Return:
@@ -681,7 +681,7 @@ DB_VIS_C
681681 }
682682 else
683683 {
684- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trReturns ()) << " </title>\n " ;
684+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trReturns ()) << " </title>\n " ;
685685 }
686686 break ;
687687 case DocSimpleSect::Author:
@@ -691,7 +691,7 @@ DB_VIS_C
691691 }
692692 else
693693 {
694- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trAuthor (TRUE , TRUE )) << " </title>\n " ;
694+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trAuthor (TRUE , TRUE )) << " </title>\n " ;
695695 }
696696 break ;
697697 case DocSimpleSect::Authors:
@@ -701,7 +701,7 @@ DB_VIS_C
701701 }
702702 else
703703 {
704- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trAuthor (TRUE , FALSE )) << " </title>\n " ;
704+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trAuthor (TRUE , FALSE )) << " </title>\n " ;
705705 }
706706 break ;
707707 case DocSimpleSect::Version:
@@ -711,7 +711,7 @@ DB_VIS_C
711711 }
712712 else
713713 {
714- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trVersion ()) << " </title>\n " ;
714+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trVersion ()) << " </title>\n " ;
715715 }
716716 break ;
717717 case DocSimpleSect::Since:
@@ -721,7 +721,7 @@ DB_VIS_C
721721 }
722722 else
723723 {
724- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trSince ()) << " </title>\n " ;
724+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trSince ()) << " </title>\n " ;
725725 }
726726 break ;
727727 case DocSimpleSect::Date:
@@ -731,7 +731,7 @@ DB_VIS_C
731731 }
732732 else
733733 {
734- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trDate ()) << " </title>\n " ;
734+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trDate ()) << " </title>\n " ;
735735 }
736736 break ;
737737 case DocSimpleSect::Note:
@@ -741,7 +741,7 @@ DB_VIS_C
741741 }
742742 else
743743 {
744- m_t << " <note><title>" << convertToDocBook (theTranslator->trNote ()) << " </title>\n " ;
744+ m_t << " <note><title>" << DocbookGenerator::convertToDocbook (theTranslator->trNote ()) << " </title>\n " ;
745745 }
746746 break ;
747747 case DocSimpleSect::Warning:
@@ -751,7 +751,7 @@ DB_VIS_C
751751 }
752752 else
753753 {
754- m_t << " <warning><title>" << convertToDocBook (theTranslator->trWarning ()) << " </title>\n " ;
754+ m_t << " <warning><title>" << DocbookGenerator::convertToDocbook (theTranslator->trWarning ()) << " </title>\n " ;
755755 }
756756 break ;
757757 case DocSimpleSect::Pre:
@@ -761,7 +761,7 @@ DB_VIS_C
761761 }
762762 else
763763 {
764- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trPrecondition ()) << " </title>\n " ;
764+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trPrecondition ()) << " </title>\n " ;
765765 }
766766 break ;
767767 case DocSimpleSect::Post:
@@ -771,7 +771,7 @@ DB_VIS_C
771771 }
772772 else
773773 {
774- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trPostcondition ()) << " </title>\n " ;
774+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trPostcondition ()) << " </title>\n " ;
775775 }
776776 break ;
777777 case DocSimpleSect::Copyright:
@@ -781,7 +781,7 @@ DB_VIS_C
781781 }
782782 else
783783 {
784- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trCopyright ()) << " </title>\n " ;
784+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trCopyright ()) << " </title>\n " ;
785785 }
786786 break ;
787787 case DocSimpleSect::Invar:
@@ -791,7 +791,7 @@ DB_VIS_C
791791 }
792792 else
793793 {
794- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trInvariant ()) << " </title>\n " ;
794+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trInvariant ()) << " </title>\n " ;
795795 }
796796 break ;
797797 case DocSimpleSect::Remark:
@@ -802,7 +802,7 @@ DB_VIS_C
802802 }
803803 else
804804 {
805- m_t << " <formalpara><title>" << convertToDocBook (theTranslator->trRemarks ()) << " </title>\n " ;
805+ m_t << " <formalpara><title>" << DocbookGenerator::convertToDocbook (theTranslator->trRemarks ()) << " </title>\n " ;
806806 }
807807 break ;
808808 case DocSimpleSect::Attention:
@@ -812,7 +812,7 @@ DB_VIS_C
812812 }
813813 else
814814 {
815- m_t << " <caution><title>" << convertToDocBook (theTranslator->trAttention ()) << " </title>\n " ;
815+ m_t << " <caution><title>" << DocbookGenerator::convertToDocbook (theTranslator->trAttention ()) << " </title>\n " ;
816816 }
817817 break ;
818818 case DocSimpleSect::Important:
@@ -822,7 +822,7 @@ DB_VIS_C
822822 }
823823 else
824824 {
825- m_t << " <important><title>" << convertToDocBook (theTranslator->trImportant ()) << " </title>\n " ;
825+ m_t << " <important><title>" << DocbookGenerator::convertToDocbook (theTranslator->trImportant ()) << " </title>\n " ;
826826 }
827827 break ;
828828 case DocSimpleSect::User:
@@ -1068,7 +1068,7 @@ DB_VIS_C
10681068 if (supportedHtmlAttribute (opt.name ))
10691069 {
10701070 // process supported attributes only
1071- m_t << " " << opt.name << " ='" << convertToDocBook (opt.value ) << " '" ;
1071+ m_t << " " << opt.name << " ='" << DocbookGenerator::convertToDocbook (opt.value ) << " '" ;
10721072 }
10731073 }
10741074 m_t << " >\n " ;
@@ -1122,13 +1122,13 @@ DB_VIS_C
11221122 }
11231123 else
11241124 {
1125- m_t << " class='" << convertToDocBook (opt.value ) << " '" ;
1125+ m_t << " class='" << DocbookGenerator::convertToDocbook (opt.value ) << " '" ;
11261126 }
11271127 }
11281128 else if (supportedHtmlAttribute (opt.name ))
11291129 {
11301130 // process supported attributes only
1131- m_t << " " << opt.name << " ='" << convertToDocBook (opt.value ) << " '" ;
1131+ m_t << " " << opt.name << " ='" << DocbookGenerator::convertToDocbook (opt.value ) << " '" ;
11321132 }
11331133 }
11341134 m_t << " >" ;
@@ -1162,7 +1162,7 @@ DB_VIS_C
11621162 if (m_hide) return ;
11631163 if (href.url ().at (0 ) != ' #' )
11641164 {
1165- m_t << " <link xlink:href=\" " << convertToDocBook (href.url ()) << " \" >" ;
1165+ m_t << " <link xlink:href=\" " << DocbookGenerator::convertToDocbook (href.url ()) << " \" >" ;
11661166 }
11671167 else
11681168 {
@@ -1533,10 +1533,10 @@ DB_VIS_C
15331533}
15341534
15351535
1536- void DocbookDocVisitor::filter (const QCString &str, const bool retainNewLine, const bool citeEntry)
1536+ void DocbookDocVisitor::filter (const QCString &str, bool retainNewLine, bool citeEntry)
15371537{
15381538DB_VIS_C
1539- m_t << convertToDocBook (str, retainNewLine, citeEntry);
1539+ m_t << DocbookGenerator::convertToDocbook (str, retainNewLine, citeEntry);
15401540}
15411541
15421542void DocbookDocVisitor::startLink (const QCString &file,const QCString &anchor)
0 commit comments