summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-03-21 15:16:50 (GMT)
committerGitHub <noreply@github.com>2020-03-21 15:16:50 (GMT)
commitf788f684f055c5470d624f3c27c6e236f18c2c31 (patch)
tree5a7d04854e0606058096c6b984dee652ce89616d /src/rtfgen.h
parentd165a89863eab073702afb0e19b44cf2e85f7db5 (diff)
downloadDoxygen-f788f684f055c5470d624f3c27c6e236f18c2c31.zip
Doxygen-f788f684f055c5470d624f3c27c6e236f18c2c31.tar.gz
Doxygen-f788f684f055c5470d624f3c27c6e236f18c2c31.tar.bz2
Missing anchors in RTF code output (#7647)
When having the RTF_SOURCE_CODE and RTF_HYPERLINKS set the links to the code are generated (e.g. in "Definition at line") but the corresponding anchor is missing. The corresponding anchors are created (in a similar way as it is done for LaTeX).
Diffstat (limited to 'src/rtfgen.h')
-rw-r--r--src/rtfgen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rtfgen.h b/src/rtfgen.h
index 1750a7b..9330b13 100644
--- a/src/rtfgen.h
+++ b/src/rtfgen.h
@@ -32,6 +32,8 @@ class RTFGenerator : public OutputGenerator
static void writeStyleSheetFile(QFile &f);
static void writeExtensionsFile(QFile &file);
+ void setRelativePath(const QCString &path);
+ void setSourceFileName(const QCString &sourceFileName);
void enable()
{ if (m_genStack->top()) m_active=*m_genStack->top(); else m_active=TRUE; }
void disable() { m_active=FALSE; }
@@ -279,6 +281,7 @@ class RTFGenerator : public OutputGenerator
const char *rtf_Code_DepthStyle();
void incrementIndentLevel();
void decrementIndentLevel();
+ QCString m_sourceFileName;
int m_col;
bool m_prettyCode;