All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QTextDocumentFragment Maven / Gradle / Ivy

The newest version!
package io.qt.gui;


/**
 * 

Represents a piece of formatted text from a QTextDocument

*

Java wrapper for Qt class QTextDocumentFragment

*/ public class QTextDocumentFragment extends io.qt.QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QTextDocumentFragment::QTextDocumentFragment()

*/ public QTextDocumentFragment(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QTextDocumentFragment instance); /** *

See QTextDocumentFragment::QTextDocumentFragment(QTextCursor)

*/ public QTextDocumentFragment(io.qt.gui.QTextCursor range){ super((QPrivateConstructor)null); initialize_native(this, range); } private native static void initialize_native(QTextDocumentFragment instance, io.qt.gui.QTextCursor range); public QTextDocumentFragment(io.qt.gui.QTextDocument document){ super((QPrivateConstructor)null); initialize_native(this, document); } private native static void initialize_native(QTextDocumentFragment instance, io.qt.gui.QTextDocument document); /** *

See QTextDocumentFragment::QTextDocumentFragment(QTextDocumentFragment)

*/ public QTextDocumentFragment(io.qt.gui.QTextDocumentFragment rhs){ super((QPrivateConstructor)null); initialize_native(this, rhs); } private native static void initialize_native(QTextDocumentFragment instance, io.qt.gui.QTextDocumentFragment rhs); /** *

See QTextDocumentFragment::isEmpty()const

*/ @io.qt.QtUninvokable public final boolean isEmpty(){ return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isEmpty_native_constfct(long __this__nativeId); /** *

See QTextDocumentFragment::toHtml()const

*/ @io.qt.QtUninvokable public final java.lang.String toHtml(){ return toHtml_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String toHtml_native_constfct(long __this__nativeId); /** *

See QTextDocumentFragment::toPlainText()const

*/ @io.qt.QtUninvokable public final java.lang.String toPlainText(){ return toPlainText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String toPlainText_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #fromHtml(java.lang.String, io.qt.gui.QTextDocument)} * with resourceProvider = null.

*/ public static io.qt.gui.QTextDocumentFragment fromHtml(java.lang.String html) { return fromHtml(html, (io.qt.gui.QTextDocument)null); } /** *

See QTextDocumentFragment::fromHtml(QString,const QTextDocument*)

*/ public static io.qt.gui.QTextDocumentFragment fromHtml(java.lang.String html, io.qt.gui.QTextDocument resourceProvider){ return fromHtml_native_cref_QString_const_QTextDocument_ptr(html, QtJambi_LibraryUtilities.internal.checkedNativeId(resourceProvider)); } private native static io.qt.gui.QTextDocumentFragment fromHtml_native_cref_QString_const_QTextDocument_ptr(java.lang.String html, long resourceProvider); /** *

See QTextDocumentFragment::fromPlainText(QString)

*/ public native static io.qt.gui.QTextDocumentFragment fromPlainText(java.lang.String plainText); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QTextDocumentFragment(QPrivateConstructor p) { super(p); } @Override public QTextDocumentFragment clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QTextDocumentFragment clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy