io.qt.gui.QAbstractTextDocumentLayout Maven / Gradle / Ivy
package io.qt.gui;
/**
* Abstract base class used to implement custom layouts for QTextDocuments
* Java wrapper for Qt class QAbstractTextDocumentLayout
*/
public abstract class QAbstractTextDocumentLayout extends io.qt.core.QObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
@io.qt.QtPropertyMember(enabled=false)
private Object __rcPaintDevice = null;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAbstractTextDocumentLayout.class);
@io.qt.NativeAccess
private static final class ConcreteWrapper extends QAbstractTextDocumentLayout {
@io.qt.NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public io.qt.core.QRectF blockBoundingRect(io.qt.gui.QTextBlock block){
return blockBoundingRect_native_cref_QTextBlock_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(block));
}
@io.qt.QtUninvokable
private native io.qt.core.QRectF blockBoundingRect_native_cref_QTextBlock_constfct(long __this__nativeId, long block);
@Override
@io.qt.QtUninvokable
protected void documentChanged(int from, int charsRemoved, int charsAdded){
documentChanged_native_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), from, charsRemoved, charsAdded);
}
@io.qt.QtUninvokable
private native void documentChanged_native_int_int_int(long __this__nativeId, int from, int charsRemoved, int charsAdded);
@Override
@io.qt.QtUninvokable
public io.qt.core.QSizeF documentSize(){
return documentSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSizeF documentSize_native_constfct(long __this__nativeId);
@Override
@io.qt.QtUninvokable
public void draw(io.qt.gui.QPainter painter, io.qt.gui.QAbstractTextDocumentLayout.PaintContext context){
draw_native_QPainter_ptr_cref_QAbstractTextDocumentLayout_PaintContext(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(context));
}
@io.qt.QtUninvokable
private native void draw_native_QPainter_ptr_cref_QAbstractTextDocumentLayout_PaintContext(long __this__nativeId, long painter, long context);
@Override
@io.qt.QtUninvokable
public io.qt.core.QRectF frameBoundingRect(io.qt.gui.QTextFrame frame){
return frameBoundingRect_native_QTextFrame_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(frame));
}
@io.qt.QtUninvokable
private native io.qt.core.QRectF frameBoundingRect_native_QTextFrame_ptr_constfct(long __this__nativeId, long frame);
@Override
@io.qt.QtUninvokable
public int hitTest(io.qt.core.QPointF point, io.qt.core.Qt.HitTestAccuracy accuracy){
return hitTest_native_cref_QPointF_Qt_HitTestAccuracy_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point), accuracy.value());
}
@io.qt.QtUninvokable
private native int hitTest_native_cref_QPointF_Qt_HitTestAccuracy_constfct(long __this__nativeId, long point, int accuracy);
@Override
@io.qt.QtUninvokable
public int pageCount(){
return pageCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int pageCount_native_constfct(long __this__nativeId);
}
/**
* QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection
* Java wrapper for Qt class QAbstractTextDocumentLayout::Selection
*/
public static class Selection extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
public Selection(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(Selection instance);
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.gui.QAbstractTextDocumentLayout.Selection v2){
return operator_equal_native_cref_QAbstractTextDocumentLayout_Selection(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(v2));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QAbstractTextDocumentLayout_Selection(long __this__nativeId, long v2);
/**
* The selection's cursor
* See QAbstractTextDocumentLayout::Selection::cursor
*/
@io.qt.QtUninvokable
public final void setCursor(io.qt.gui.QTextCursor cursor){
setCursor_native_cref_QTextCursor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(cursor));
}
@io.qt.QtUninvokable
private native void setCursor_native_cref_QTextCursor(long __this__nativeId, long cursor);
/**
* The selection's cursor
* See QAbstractTextDocumentLayout::Selection::cursor
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextCursor cursor(){
return cursor_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextCursor cursor_native(long __this__nativeId);
/**
* The format of the selection
* See QAbstractTextDocumentLayout::Selection::format
*/
@io.qt.QtUninvokable
public final void setFormat(io.qt.gui.QTextCharFormat format){
setFormat_native_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@io.qt.QtUninvokable
private native void setFormat_native_cref_QTextCharFormat(long __this__nativeId, long format);
/**
* The format of the selection
* See QAbstractTextDocumentLayout::Selection::format
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextCharFormat format(){
return format_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextCharFormat format_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected Selection(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QAbstractTextDocumentLayout.Selection) {
return operator_equal((io.qt.gui.QAbstractTextDocumentLayout.Selection) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
public Selection clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native Selection clone_native(long __this_nativeId);
}
/**
* QAbstractTextDocumentLayout::PaintContext class is a convenience class defining the parameters used when painting a document's layout
* Java wrapper for Qt class QAbstractTextDocumentLayout::PaintContext
*/
public static class PaintContext extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
public PaintContext(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(PaintContext instance);
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.gui.QAbstractTextDocumentLayout.PaintContext v2){
return operator_equal_native_cref_QAbstractTextDocumentLayout_PaintContext(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(v2));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QAbstractTextDocumentLayout_PaintContext(long __this__nativeId, long v2);
/**
* Hint to the layout specifying the area around paragraphs, frames or text require painting
* See QAbstractTextDocumentLayout::PaintContext::clip
*/
@io.qt.QtUninvokable
public final void setClip(io.qt.core.QRectF clip){
setClip_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(clip));
}
@io.qt.QtUninvokable
private native void setClip_native_cref_QRectF(long __this__nativeId, long clip);
/**
* Hint to the layout specifying the area around paragraphs, frames or text require painting
* See QAbstractTextDocumentLayout::PaintContext::clip
*/
@io.qt.QtUninvokable
public final io.qt.core.QRectF clip(){
return clip_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRectF clip_native(long __this__nativeId);
/**
* The position within the document, where the cursor line should be drawn
* See QAbstractTextDocumentLayout::PaintContext::cursorPosition
*/
@io.qt.QtUninvokable
public final void setCursorPosition(int cursorPosition){
setCursorPosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), cursorPosition);
}
@io.qt.QtUninvokable
private native void setCursorPosition_native_int(long __this__nativeId, int cursorPosition);
/**
* The position within the document, where the cursor line should be drawn
* See QAbstractTextDocumentLayout::PaintContext::cursorPosition
*/
@io.qt.QtUninvokable
public final int cursorPosition(){
return cursorPosition_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int cursorPosition_native(long __this__nativeId);
/**
* The default color that is used for the text, when no color is specified
* See QAbstractTextDocumentLayout::PaintContext::palette
*/
@io.qt.QtUninvokable
public final void setPalette(io.qt.gui.QPalette palette){
setPalette_native_cref_QPalette(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(palette));
}
@io.qt.QtUninvokable
private native void setPalette_native_cref_QPalette(long __this__nativeId, long palette);
/**
* The default color that is used for the text, when no color is specified
* See QAbstractTextDocumentLayout::PaintContext::palette
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPalette palette(){
return palette_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPalette palette_native(long __this__nativeId);
/**
* The collection of selections that will be rendered when passing this paint context to QAbstractTextDocumentLayout's draw() function
* See QAbstractTextDocumentLayout::PaintContext::selections
*/
@io.qt.QtUninvokable
public final void setSelections(java.util.Collection selections){
setSelections_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), selections);
}
@io.qt.QtUninvokable
private native void setSelections_native_cref_QList(long __this__nativeId, java.util.Collection selections);
/**
* The collection of selections that will be rendered when passing this paint context to QAbstractTextDocumentLayout's draw() function
* See QAbstractTextDocumentLayout::PaintContext::selections
*/
@io.qt.QtUninvokable
public final io.qt.core.QList selections(){
return selections_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QList selections_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected PaintContext(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QAbstractTextDocumentLayout.PaintContext) {
return operator_equal((io.qt.gui.QAbstractTextDocumentLayout.PaintContext) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
public PaintContext clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native PaintContext clone_native(long __this_nativeId);
}
/**
* See QAbstractTextDocumentLayout::documentSizeChanged(QSizeF)
*/
public final Signal1 documentSizeChanged = new Signal1<>();
/**
* See QAbstractTextDocumentLayout::pageCountChanged(int)
*/
public final Signal1<@io.qt.QtPrimitiveType Integer> pageCountChanged = new Signal1<>();
/**
* See QAbstractTextDocumentLayout::update(QRectF)
*/
public final Signal1Default1 update = new Signal1Default1<>(()->new io.qt.core.QRectF(0., 0., 1000000000., 1000000000.));
/**
* See QAbstractTextDocumentLayout::updateBlock(QTextBlock)
*/
public final Signal1 updateBlock = new Signal1<>();
/**
* See QAbstractTextDocumentLayout::QAbstractTextDocumentLayout(QTextDocument*)
*/
public QAbstractTextDocumentLayout(io.qt.gui.QTextDocument doc){
super((QPrivateConstructor)null);
initialize_native(this, doc);
}
private native static void initialize_native(QAbstractTextDocumentLayout instance, io.qt.gui.QTextDocument doc);
/**
* See QAbstractTextDocumentLayout::anchorAt(QPointF)const
*/
@io.qt.QtUninvokable
public final java.lang.String anchorAt(io.qt.core.QPointF pos){
return anchorAt_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@io.qt.QtUninvokable
private native java.lang.String anchorAt_native_cref_QPointF_constfct(long __this__nativeId, long pos);
/**
* See QAbstractTextDocumentLayout::blockWithMarkerAt(QPointF)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextBlock blockWithMarkerAt(io.qt.core.QPointF pos){
return blockWithMarkerAt_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextBlock blockWithMarkerAt_native_cref_QPointF_constfct(long __this__nativeId, long pos);
/**
* See QAbstractTextDocumentLayout::document()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextDocument document(){
return document_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextDocument document_native_constfct(long __this__nativeId);
/**
* See QAbstractTextDocumentLayout::format(int)
*/
@io.qt.QtUninvokable
protected final io.qt.gui.QTextCharFormat format(int pos){
return format_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextCharFormat format_native_int(long __this__nativeId, int pos);
/**
* See QAbstractTextDocumentLayout::formatAt(QPointF)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextFormat formatAt(io.qt.core.QPointF pos){
return formatAt_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextFormat formatAt_native_cref_QPointF_constfct(long __this__nativeId, long pos);
@io.qt.QtUninvokable
protected final int formatIndex(int pos){
return formatIndex_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@io.qt.QtUninvokable
private native int formatIndex_native_int(long __this__nativeId, int pos);
/**
* See QAbstractTextDocumentLayout::handlerForObject(int)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextObjectInterface handlerForObject(int objectType){
return handlerForObject_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), objectType);
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextObjectInterface handlerForObject_native_int_constfct(long __this__nativeId, int objectType);
/**
* See QAbstractTextDocumentLayout::imageAt(QPointF)const
*/
@io.qt.QtUninvokable
public final java.lang.String imageAt(io.qt.core.QPointF pos){
return imageAt_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@io.qt.QtUninvokable
private native java.lang.String imageAt_native_cref_QPointF_constfct(long __this__nativeId, long pos);
/**
* See QAbstractTextDocumentLayout::paintDevice()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPaintDevice paintDevice(){
return paintDevice_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPaintDevice paintDevice_native_constfct(long __this__nativeId);
/**
* See QAbstractTextDocumentLayout::registerHandler(int,QObject*)
*/
@io.qt.QtUninvokable
private final void _registerHandler(int objectType, io.qt.core.QObject component){
_registerHandler_native_int_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), objectType, QtJambi_LibraryUtilities.internal.checkedNativeId(component));
}
@io.qt.QtUninvokable
private native void _registerHandler_native_int_QObject_ptr(long __this__nativeId, int objectType, long component);
/**
* See QAbstractTextDocumentLayout::setPaintDevice(QPaintDevice*)
*/
@io.qt.QtUninvokable
public final void setPaintDevice(io.qt.gui.QPaintDevice device){
setPaintDevice_native_QPaintDevice_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(device));
__rcPaintDevice = device;
}
@io.qt.QtUninvokable
private native void setPaintDevice_native_QPaintDevice_ptr(long __this__nativeId, long device);
/**
* Overloaded function for {@link #_unregisterHandler(int, io.qt.core.QObject)}
* with component = null
.
*/
@io.qt.QtUninvokable
private final void _unregisterHandler(int objectType) {
_unregisterHandler(objectType, (io.qt.core.QObject)null);
}
/**
* See QAbstractTextDocumentLayout::unregisterHandler(int,QObject*)
*/
@io.qt.QtUninvokable
private final void _unregisterHandler(int objectType, io.qt.core.QObject component){
_unregisterHandler_native_int_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), objectType, QtJambi_LibraryUtilities.internal.checkedNativeId(component));
}
@io.qt.QtUninvokable
private native void _unregisterHandler_native_int_QObject_ptr(long __this__nativeId, int objectType, long component);
/**
* See QAbstractTextDocumentLayout::blockBoundingRect(QTextBlock)const
*/
@io.qt.QtUninvokable
public abstract io.qt.core.QRectF blockBoundingRect(io.qt.gui.QTextBlock block);
@io.qt.QtUninvokable
private native io.qt.core.QRectF blockBoundingRect_native_cref_QTextBlock_constfct(long __this__nativeId, long block);
/**
* See QAbstractTextDocumentLayout::documentChanged(int,int,int)
*/
@io.qt.QtUninvokable
protected abstract void documentChanged(int from, int charsRemoved, int charsAdded);
@io.qt.QtUninvokable
private native void documentChanged_native_int_int_int(long __this__nativeId, int from, int charsRemoved, int charsAdded);
/**
* See QAbstractTextDocumentLayout::documentSize()const
*/
@io.qt.QtUninvokable
public abstract io.qt.core.QSizeF documentSize();
@io.qt.QtUninvokable
private native io.qt.core.QSizeF documentSize_native_constfct(long __this__nativeId);
/**
* See QAbstractTextDocumentLayout::draw(QPainter*,QAbstractTextDocumentLayout::PaintContext)
*/
@io.qt.QtUninvokable
public abstract void draw(io.qt.gui.QPainter painter, io.qt.gui.QAbstractTextDocumentLayout.PaintContext context);
@io.qt.QtUninvokable
private native void draw_native_QPainter_ptr_cref_QAbstractTextDocumentLayout_PaintContext(long __this__nativeId, long painter, long context);
/**
* See QAbstractTextDocumentLayout::drawInlineObject(QPainter*,QRectF,QTextInlineObject,int,QTextFormat)
*/
@io.qt.QtUninvokable
protected void drawInlineObject(io.qt.gui.QPainter painter, io.qt.core.QRectF rect, io.qt.gui.QTextInlineObject object, int posInDocument, io.qt.gui.QTextFormat format){
drawInlineObject_native_QPainter_ptr_cref_QRectF_QTextInlineObject_int_cref_QTextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), QtJambi_LibraryUtilities.internal.checkedNativeId(object), posInDocument, QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@io.qt.QtUninvokable
private native void drawInlineObject_native_QPainter_ptr_cref_QRectF_QTextInlineObject_int_cref_QTextFormat(long __this__nativeId, long painter, long rect, long object, int posInDocument, long format);
/**
* See QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame*)const
*/
@io.qt.QtUninvokable
public abstract io.qt.core.QRectF frameBoundingRect(io.qt.gui.QTextFrame frame);
@io.qt.QtUninvokable
private native io.qt.core.QRectF frameBoundingRect_native_QTextFrame_ptr_constfct(long __this__nativeId, long frame);
/**
* See QAbstractTextDocumentLayout::hitTest(QPointF,Qt::HitTestAccuracy)const
*/
@io.qt.QtUninvokable
public abstract int hitTest(io.qt.core.QPointF point, io.qt.core.Qt.HitTestAccuracy accuracy);
@io.qt.QtUninvokable
private native int hitTest_native_cref_QPointF_Qt_HitTestAccuracy_constfct(long __this__nativeId, long point, int accuracy);
/**
* See QAbstractTextDocumentLayout::pageCount()const
*/
@io.qt.QtUninvokable
public abstract int pageCount();
@io.qt.QtUninvokable
private native int pageCount_native_constfct(long __this__nativeId);
/**
* See QAbstractTextDocumentLayout::positionInlineObject(QTextInlineObject,int,QTextFormat)
*/
@io.qt.QtUninvokable
protected void positionInlineObject(io.qt.gui.QTextInlineObject item, int posInDocument, io.qt.gui.QTextFormat format){
positionInlineObject_native_QTextInlineObject_int_cref_QTextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), posInDocument, QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@io.qt.QtUninvokable
private native void positionInlineObject_native_QTextInlineObject_int_cref_QTextFormat(long __this__nativeId, long item, int posInDocument, long format);
/**
* See QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineObject,int,QTextFormat)
*/
@io.qt.QtUninvokable
protected void resizeInlineObject(io.qt.gui.QTextInlineObject item, int posInDocument, io.qt.gui.QTextFormat format){
resizeInlineObject_native_QTextInlineObject_int_cref_QTextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), posInDocument, QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@io.qt.QtUninvokable
private native void resizeInlineObject_native_QTextInlineObject_int_cref_QTextFormat(long __this__nativeId, long item, int posInDocument, long format);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QAbstractTextDocumentLayout(QPrivateConstructor p) { super(p); }
/**
* Registers the given component as a handler for items of the given objectType.
* Note: registerHandler() has to be called once for each object type. This means that there is only one handler for multiple replacement characters of the same object type.
*
* @param objectType The type for which to register a handler.
* @param component The handler for the given type.
**/
public final void registerHandler(int objectType, Handler component) {
_registerHandler(objectType, component);
}
public final void unregisterHandler(int objectType, Handler component) {
_unregisterHandler(objectType, component);
}
}