java.lang.Object
io.qt.QtObject
io.qt.gui.QTextDocumentFragment
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a piece of formatted text from a QTextDocument
Java wrapper for Qt class QTextDocumentFragment
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorsConstructorDescriptionQTextDocumentFragment
(QTextCursor range) QTextDocumentFragment
(QTextDocument document) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
clone()
Creates and returns a copy of this object.static QTextDocumentFragment
Overloaded function forfromHtml(java.lang.String, io.qt.gui.QTextDocument)
withresourceProvider = null
.static QTextDocumentFragment
fromHtml
(String html, QTextDocument resourceProvider) static QTextDocumentFragment
fromMarkdown
(String markdown) Overloaded function forfromMarkdown(java.lang.String, io.qt.gui.QTextDocument.MarkdownFeatures)
withfeatures = new io.qt.gui.QTextDocument.MarkdownFeatures(20236)
.static QTextDocumentFragment
fromMarkdown
(String markdown, QTextDocument.MarkdownFeature ... features) Overloaded function forfromMarkdown(java.lang.String, io.qt.gui.QTextDocument.MarkdownFeatures)
.static QTextDocumentFragment
fromMarkdown
(String markdown, QTextDocument.MarkdownFeatures features) static QTextDocumentFragment
fromPlainText
(String plainText) final boolean
isEmpty()
final String
toHtml()
final String
Overloaded function fortoMarkdown(io.qt.gui.QTextDocument.MarkdownFeatures)
withfeatures = new io.qt.gui.QTextDocument.MarkdownFeatures(20236)
.final String
toMarkdown
(QTextDocument.MarkdownFeature ... features) Overloaded function fortoMarkdown(io.qt.gui.QTextDocument.MarkdownFeatures)
.final String
toMarkdown
(QTextDocument.MarkdownFeatures features) final String
final String
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTextDocumentFragment
public QTextDocumentFragment() -
QTextDocumentFragment
-
QTextDocumentFragment
-
QTextDocumentFragment
-
-
Method Details
-
isEmpty
-
assign
-
toHtml
-
toMarkdown
-
toPlainText
-
toRawText
-
fromHtml
-
fromMarkdown
public static QTextDocumentFragment fromMarkdown(String markdown, QTextDocument.MarkdownFeatures features) -
fromPlainText
-
clone
Creates and returns a copy of this object.
-
toMarkdown
Overloaded function for
toMarkdown(io.qt.gui.QTextDocument.MarkdownFeatures)
withfeatures = new io.qt.gui.QTextDocument.MarkdownFeatures(20236)
. -
toMarkdown
Overloaded function for
toMarkdown(io.qt.gui.QTextDocument.MarkdownFeatures)
. -
fromHtml
Overloaded function for
fromHtml(java.lang.String, io.qt.gui.QTextDocument)
withresourceProvider = null
. -
fromMarkdown
Overloaded function for
fromMarkdown(java.lang.String, io.qt.gui.QTextDocument.MarkdownFeatures)
withfeatures = new io.qt.gui.QTextDocument.MarkdownFeatures(20236)
. -
fromMarkdown
public static QTextDocumentFragment fromMarkdown(String markdown, QTextDocument.MarkdownFeature ... features) Overloaded function for
fromMarkdown(java.lang.String, io.qt.gui.QTextDocument.MarkdownFeatures)
.
-