From 6c6fe766a84214b5dfaaff06ce44610fdf4b098f Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Fri, 10 Apr 2015 10:47:34 +0200 Subject: 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 Reviewed-by: Konstantin Ritt --- src/gui/text/qtextformat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/text/qtextformat.cpp') 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(). -- cgit v1.2.3