From c90505681054d51da05fd476d08c610d3e20ca38 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 28 Oct 2018 11:32:49 +0100 Subject: RTF layout regarding References and Referenced by The layout was so that lines were stretched to to complete lines from left to right (Justifid). For "normal" text this is fine, but not for lists like this, so set alignment here to: Left aligned --- src/rtfgen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index b4a9e65..34af705 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -2180,11 +2180,12 @@ void RTFGenerator::newParagraph() m_omitParagraph = FALSE; } -void RTFGenerator::startParagraph(const char *) +void RTFGenerator::startParagraph(const char *txt) { DBG_RTF(t << "{\\comment startParagraph}" << endl) newParagraph(); t << "{" << endl; + if (QCString(txt) == "reference") t << "\\ql" << endl; } void RTFGenerator::endParagraph() -- cgit v0.12