summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextformat.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@theqtcompany.com>2015-04-10 10:47:34 +0200
committerKonstantin Ritt <ritt.ks@gmail.com>2015-04-10 15:37:06 +0000
commit6c6fe766a84214b5dfaaff06ce44610fdf4b098f (patch)
treef82b31d6a21b69161d758ebe8e94836b0b59c8bd /src/gui/text/qtextformat.cpp
parent7e721d24d7828097ad5cdabcf8371edb3b0ca969 (diff)
Improve QTextDocument::toPlainText doc related to inline images
"Embedded objects, such as images, are represented by a Unicode value U+FFFC (OBJECT REPLACEMENT CHARACTER)." Also updated the QTextImageFormat docs with the same wording. Task-number: QTBUG-44538 Change-Id: I64dd5f5be4a0ecc64b30758a72f8b4281c17924b Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/gui/text/qtextformat.cpp')
-rw-r--r--src/gui/text/qtextformat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qtextformat.cpp b/src/gui/text/qtextformat.cpp
index c60d0cc775..598a22d9c6 100644
--- a/src/gui/text/qtextformat.cpp
+++ b/src/gui/text/qtextformat.cpp
@@ -3027,8 +3027,8 @@ QTextTableFormat::QTextTableFormat(const QTextFormat &fmt)
\ingroup richtext-processing
\ingroup shared
- Inline images are represented by an object replacement character
- (0xFFFC in Unicode) which has an associated QTextImageFormat. The
+ Inline images are represented by a Unicode value U+FFFC (OBJECT
+ REPLACEMENT CHARACTER) which has an associated QTextImageFormat. The
image format specifies a name with setName() that is used to
locate the image. The size of the rectangle that the image will
occupy is specified using setWidth() and setHeight().