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

io.qt.pdf.QPdfSelection Maven / Gradle / Ivy

package io.qt.pdf;


/**
 * 

Defines a range of text that has been selected on one page in a PDF document, and its geometric boundaries

*

Java wrapper for Qt's class QPdfSelection

*/ public class QPdfSelection extends io.qt.QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QPdfSelection.class); /** *

See QPdfSelection::boundingRectangle()const

*/ @io.qt.QtPropertyReader(name="boundingRectangle") @io.qt.QtUninvokable public final io.qt.core.QRectF boundingRectangle(){ return boundingRectangle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRectF boundingRectangle_native_constfct(long __this__nativeId); /** *

See QPdfSelection::bounds()const

*/ @io.qt.QtPropertyReader(name="bounds") @io.qt.QtUninvokable public final io.qt.core.QList bounds(){ return bounds_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QList bounds_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #copyToClipboard(io.qt.gui.QClipboard.Mode)} * with mode = io.qt.gui.QClipboard.Mode.Clipboard.

*/ @io.qt.QtUninvokable public final void copyToClipboard() { copyToClipboard(io.qt.gui.QClipboard.Mode.Clipboard); } /** *

See QPdfSelection::copyToClipboard(QClipboard::Mode)const

*/ @io.qt.QtUninvokable public final void copyToClipboard(io.qt.gui.QClipboard.Mode mode){ copyToClipboard_native_QClipboard_Mode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @io.qt.QtUninvokable private native void copyToClipboard_native_QClipboard_Mode_constfct(long __this__nativeId, int mode); /** *

See QPdfSelection::endIndex()const

*/ @io.qt.QtPropertyReader(name="endIndex") @io.qt.QtUninvokable public final int endIndex(){ return endIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int endIndex_native_constfct(long __this__nativeId); /** *

See QPdfSelection::isValid()const

*/ @io.qt.QtPropertyReader(name="valid") @io.qt.QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); @io.qt.QtUninvokable private final boolean operator_equal(io.qt.pdf.QPdfSelection value2){ return operator_equal_native_cref_QPdfSelection(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value2)); } @io.qt.QtUninvokable private native boolean operator_equal_native_cref_QPdfSelection(long __this__nativeId, long value2); /** *

See QPdfSelection::startIndex()const

*/ @io.qt.QtPropertyReader(name="startIndex") @io.qt.QtUninvokable public final int startIndex(){ return startIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int startIndex_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final void swap(io.qt.pdf.QPdfSelection other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QPdfSelection(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void swap_native_ref_QPdfSelection(long __this__nativeId, long other); /** *

See QPdfSelection::text()const

*/ @io.qt.QtPropertyReader(name="text") @io.qt.QtUninvokable public final java.lang.String text(){ return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String text_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QPdfSelection(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.pdf.QPdfSelection) { return operator_equal((io.qt.pdf.QPdfSelection) 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 QPdfSelection clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QPdfSelection clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy