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

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

package io.qt.gui;


/**
 * 

Formatting information for a QTextDocument

*

Java wrapper for Qt class QTextFormat

*/ public class QTextFormat 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(QTextFormat.class); /** *

Java wrapper for Qt enum QTextFormat::FormatType

*/ public enum FormatType implements io.qt.QtEnumerator { InvalidFormat(-1), BlockFormat(1), CharFormat(2), ListFormat(3), FrameFormat(5), UserFormat(100); private FormatType(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static FormatType resolve(int value) { switch (value) { case -1: return InvalidFormat; case 1: return BlockFormat; case 2: return CharFormat; case 3: return ListFormat; case 5: return FrameFormat; case 100: return UserFormat; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QTextFormat::ObjectTypes

*/ public enum ObjectTypes implements io.qt.QtEnumerator { NoObject(0), ImageObject(1), TableObject(2), TableCellObject(3), UserObject(4096); private ObjectTypes(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static ObjectTypes resolve(int value) { switch (value) { case 0: return NoObject; case 1: return ImageObject; case 2: return TableObject; case 3: return TableCellObject; case 4096: return UserObject; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QTextFormat::PageBreakFlag

* * @see PageBreakFlags */ public enum PageBreakFlag implements io.qt.QtFlagEnumerator { PageBreak_Auto(0), PageBreak_AlwaysBefore(1), PageBreak_AlwaysAfter(16); private PageBreakFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public PageBreakFlags asFlags() { return new PageBreakFlags(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public PageBreakFlags combined(PageBreakFlag e) { return new PageBreakFlags(this, e); } /** * Creates a new {@link PageBreakFlags} from the entries. * @param values entries * @return new flag */ public static PageBreakFlags flags(PageBreakFlag ... values) { return new PageBreakFlags(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static PageBreakFlag resolve(int value) { switch (value) { case 0: return PageBreak_Auto; case 1: return PageBreak_AlwaysBefore; case 16: return PageBreak_AlwaysAfter; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** * QFlags type for enum {@link PageBreakFlag} */ public static final class PageBreakFlags extends io.qt.QFlags implements Comparable { private static final long serialVersionUID = 0x9b4fd22eaa9bf4aaL; /** * Creates a new PageBreakFlags where the flags in args are set. * @param args enum entries */ public PageBreakFlags(PageBreakFlag ... args){ super(args); } /** * Creates a new PageBreakFlags with given value. * @param value */ public PageBreakFlags(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new PageBreakFlags */ @Override public final PageBreakFlags combined(PageBreakFlag e){ return new PageBreakFlags(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final PageBreakFlags setFlag(PageBreakFlag e){ super.setFlag(e); return this; } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final PageBreakFlags setFlag(PageBreakFlag e, boolean on){ super.setFlag(e, on); return this; } /** * Returns an array of flag objects represented by this PageBreakFlags. * @return array of enum entries */ @Override public final PageBreakFlag[] flags(){ return super.flags(PageBreakFlag.values()); } /** * {@inheritDoc} */ @Override public final PageBreakFlags clone(){ return new PageBreakFlags(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(PageBreakFlags other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QTextFormat::Property

*/ @io.qt.QtRejectedEntries({"FirstFontProperty", "FontSizeIncrement", "LastFontProperty"}) public enum Property implements io.qt.QtEnumerator { ObjectIndex(0), CssFloat(2048), LayoutDirection(2049), OutlinePen(2064), BackgroundBrush(2080), ForegroundBrush(2081), BackgroundImageUrl(2083), BlockAlignment(4112), BlockTopMargin(4144), BlockBottomMargin(4145), BlockLeftMargin(4146), BlockRightMargin(4147), TextIndent(4148), TabPositions(4149), BlockIndent(4160), LineHeight(4168), LineHeightType(4169), BlockNonBreakableLines(4176), BlockTrailingHorizontalRulerWidth(4192), HeadingLevel(4208), BlockQuoteLevel(4224), BlockCodeLanguage(4240), BlockCodeFence(4241), BlockMarker(4256), FirstFontProperty(8160), FontCapitalization(8160), FontLetterSpacing(8161), FontWordSpacing(8162), FontStyleHint(8163), FontStyleStrategy(8164), FontKerning(8165), FontHintingPreference(8166), FontFamilies(8167), FontStyleName(8168), FontLetterSpacingType(8169), FontStretch(8170), FontFamily(8192), FontPointSize(8193), FontSizeAdjustment(8194), FontSizeIncrement(8194), FontWeight(8195), FontItalic(8196), FontUnderline(8197), FontOverline(8198), FontStrikeOut(8199), FontFixedPitch(8200), FontPixelSize(8201), LastFontProperty(8201), TextUnderlineColor(8224), TextVerticalAlignment(8225), TextOutline(8226), TextUnderlineStyle(8227), TextToolTip(8228), TextSuperScriptBaseline(8229), TextSubScriptBaseline(8230), TextBaselineOffset(8231), IsAnchor(8240), AnchorHref(8241), AnchorName(8242), OldFontLetterSpacingType(8243), OldFontStretch(8244), OldTextUnderlineColor(8208), ObjectType(12032), ListStyle(12288), ListIndent(12289), ListNumberPrefix(12290), ListNumberSuffix(12291), FrameBorder(16384), FrameMargin(16385), FramePadding(16386), FrameWidth(16387), FrameHeight(16388), FrameTopMargin(16389), FrameBottomMargin(16390), FrameLeftMargin(16391), FrameRightMargin(16392), FrameBorderBrush(16393), FrameBorderStyle(16400), TableColumns(16640), TableColumnWidthConstraints(16641), TableCellSpacing(16642), TableCellPadding(16643), TableHeaderRowCount(16644), TableBorderCollapse(16645), TableCellRowSpan(18448), TableCellColumnSpan(18449), TableCellTopPadding(18450), TableCellBottomPadding(18451), TableCellLeftPadding(18452), TableCellRightPadding(18453), TableCellTopBorder(18454), TableCellBottomBorder(18455), TableCellLeftBorder(18456), TableCellRightBorder(18457), TableCellTopBorderStyle(18458), TableCellBottomBorderStyle(18459), TableCellLeftBorderStyle(18460), TableCellRightBorderStyle(18461), TableCellTopBorderBrush(18462), TableCellBottomBorderBrush(18463), TableCellLeftBorderBrush(18464), TableCellRightBorderBrush(18465), ImageName(20480), ImageTitle(20481), ImageAltText(20482), ImageWidth(20496), ImageHeight(20497), ImageQuality(20500), FullWidthSelection(24576), PageBreakPolicy(28672), UserProperty(1048576); private Property(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static Property resolve(int value) { switch (value) { case 0: return ObjectIndex; case 2048: return CssFloat; case 2049: return LayoutDirection; case 2064: return OutlinePen; case 2080: return BackgroundBrush; case 2081: return ForegroundBrush; case 2083: return BackgroundImageUrl; case 4112: return BlockAlignment; case 4144: return BlockTopMargin; case 4145: return BlockBottomMargin; case 4146: return BlockLeftMargin; case 4147: return BlockRightMargin; case 4148: return TextIndent; case 4149: return TabPositions; case 4160: return BlockIndent; case 4168: return LineHeight; case 4169: return LineHeightType; case 4176: return BlockNonBreakableLines; case 4192: return BlockTrailingHorizontalRulerWidth; case 4208: return HeadingLevel; case 4224: return BlockQuoteLevel; case 4240: return BlockCodeLanguage; case 4241: return BlockCodeFence; case 4256: return BlockMarker; case 8160: return FontCapitalization; case 8161: return FontLetterSpacing; case 8162: return FontWordSpacing; case 8163: return FontStyleHint; case 8164: return FontStyleStrategy; case 8165: return FontKerning; case 8166: return FontHintingPreference; case 8167: return FontFamilies; case 8168: return FontStyleName; case 8169: return FontLetterSpacingType; case 8170: return FontStretch; case 8192: return FontFamily; case 8193: return FontPointSize; case 8194: return FontSizeAdjustment; case 8195: return FontWeight; case 8196: return FontItalic; case 8197: return FontUnderline; case 8198: return FontOverline; case 8199: return FontStrikeOut; case 8200: return FontFixedPitch; case 8201: return FontPixelSize; case 8224: return TextUnderlineColor; case 8225: return TextVerticalAlignment; case 8226: return TextOutline; case 8227: return TextUnderlineStyle; case 8228: return TextToolTip; case 8229: return TextSuperScriptBaseline; case 8230: return TextSubScriptBaseline; case 8231: return TextBaselineOffset; case 8240: return IsAnchor; case 8241: return AnchorHref; case 8242: return AnchorName; case 8243: return OldFontLetterSpacingType; case 8244: return OldFontStretch; case 8208: return OldTextUnderlineColor; case 12032: return ObjectType; case 12288: return ListStyle; case 12289: return ListIndent; case 12290: return ListNumberPrefix; case 12291: return ListNumberSuffix; case 16384: return FrameBorder; case 16385: return FrameMargin; case 16386: return FramePadding; case 16387: return FrameWidth; case 16388: return FrameHeight; case 16389: return FrameTopMargin; case 16390: return FrameBottomMargin; case 16391: return FrameLeftMargin; case 16392: return FrameRightMargin; case 16393: return FrameBorderBrush; case 16400: return FrameBorderStyle; case 16640: return TableColumns; case 16641: return TableColumnWidthConstraints; case 16642: return TableCellSpacing; case 16643: return TableCellPadding; case 16644: return TableHeaderRowCount; case 16645: return TableBorderCollapse; case 18448: return TableCellRowSpan; case 18449: return TableCellColumnSpan; case 18450: return TableCellTopPadding; case 18451: return TableCellBottomPadding; case 18452: return TableCellLeftPadding; case 18453: return TableCellRightPadding; case 18454: return TableCellTopBorder; case 18455: return TableCellBottomBorder; case 18456: return TableCellLeftBorder; case 18457: return TableCellRightBorder; case 18458: return TableCellTopBorderStyle; case 18459: return TableCellBottomBorderStyle; case 18460: return TableCellLeftBorderStyle; case 18461: return TableCellRightBorderStyle; case 18462: return TableCellTopBorderBrush; case 18463: return TableCellBottomBorderBrush; case 18464: return TableCellLeftBorderBrush; case 18465: return TableCellRightBorderBrush; case 20480: return ImageName; case 20481: return ImageTitle; case 20482: return ImageAltText; case 20496: return ImageWidth; case 20497: return ImageHeight; case 20500: return ImageQuality; case 24576: return FullWidthSelection; case 28672: return PageBreakPolicy; case 1048576: return UserProperty; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

See QTextFormat::QTextFormat()

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

See QTextFormat::QTextFormat(QTextFormat)

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

See QTextFormat::QTextFormat(int)

*/ public QTextFormat(int type){ super((QPrivateConstructor)null); initialize_native(this, type); } private native static void initialize_native(QTextFormat instance, int type); /** *

See QTextFormat::background()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QBrush background(){ return background_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QBrush background_native_constfct(long __this__nativeId); /** *

See QTextFormat::boolProperty(int)const

*/ @io.qt.QtUninvokable public final boolean boolProperty(int propertyId){ return boolProperty_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native boolean boolProperty_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::brushProperty(int)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QBrush brushProperty(int propertyId){ return brushProperty_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native io.qt.gui.QBrush brushProperty_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::clearBackground()

*/ @io.qt.QtUninvokable public final void clearBackground(){ clearBackground_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void clearBackground_native(long __this__nativeId); /** *

See QTextFormat::clearForeground()

*/ @io.qt.QtUninvokable public final void clearForeground(){ clearForeground_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void clearForeground_native(long __this__nativeId); /** *

See QTextFormat::clearProperty(int)

*/ @io.qt.QtUninvokable public final void clearProperty(int propertyId){ clearProperty_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native void clearProperty_native_int(long __this__nativeId, int propertyId); /** *

See QTextFormat::colorProperty(int)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QColor colorProperty(int propertyId){ return colorProperty_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native io.qt.gui.QColor colorProperty_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::doubleProperty(int)const

*/ @io.qt.QtUninvokable public final double doubleProperty(int propertyId){ return doubleProperty_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native double doubleProperty_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::foreground()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QBrush foreground(){ return foreground_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QBrush foreground_native_constfct(long __this__nativeId); /** *

See QTextFormat::hasProperty(int)const

*/ @io.qt.QtUninvokable public final boolean hasProperty(int propertyId){ return hasProperty_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native boolean hasProperty_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::intProperty(int)const

*/ @io.qt.QtUninvokable public final int intProperty(int propertyId){ return intProperty_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native int intProperty_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::isBlockFormat()const

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

See QTextFormat::isCharFormat()const

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

See QTextFormat::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 QTextFormat::isFrameFormat()const

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

See QTextFormat::isImageFormat()const

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

See QTextFormat::isListFormat()const

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

See QTextFormat::isTableCellFormat()const

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

See QTextFormat::isTableFormat()const

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

See QTextFormat::isValid()const

*/ @io.qt.QtDeclaredFinal @io.qt.QtUninvokable public boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QTextFormat::layoutDirection()const

*/ @io.qt.QtUninvokable public final io.qt.core.Qt.LayoutDirection layoutDirection(){ return io.qt.core.Qt.LayoutDirection.resolve(layoutDirection_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int layoutDirection_native_constfct(long __this__nativeId); /** *

See QTextFormat::lengthProperty(int)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QTextLength lengthProperty(int propertyId){ return lengthProperty_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native io.qt.gui.QTextLength lengthProperty_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::lengthVectorProperty(int)const

*/ @io.qt.QtUninvokable public final io.qt.core.QList lengthVectorProperty(int propertyId){ return lengthVectorProperty_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native io.qt.core.QList lengthVectorProperty_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::merge(QTextFormat)

*/ @io.qt.QtUninvokable public final void merge(io.qt.gui.QTextFormat other){ merge_native_cref_QTextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void merge_native_cref_QTextFormat(long __this__nativeId, long other); /** *

See QTextFormat::objectIndex()const

*/ @io.qt.QtUninvokable public final int objectIndex(){ return objectIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int objectIndex_native_constfct(long __this__nativeId); /** *

See QTextFormat::objectType()const

*/ @io.qt.QtUninvokable public final int objectType(){ return objectType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int objectType_native_constfct(long __this__nativeId); /** *

See QTextFormat::operator==(QTextFormat)const

*/ @io.qt.QtUninvokable private final boolean operator_equal(io.qt.gui.QTextFormat rhs){ return operator_equal_native_cref_QTextFormat_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @io.qt.QtUninvokable private native boolean operator_equal_native_cref_QTextFormat_constfct(long __this__nativeId, long rhs); /** *

See QTextFormat::penProperty(int)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QPen penProperty(int propertyId){ return penProperty_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native io.qt.gui.QPen penProperty_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::properties()const

*/ @io.qt.QtUninvokable public final io.qt.core.QMap properties(){ return properties_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QMap properties_native_constfct(long __this__nativeId); /** *

See QTextFormat::property(int)const

*/ @io.qt.QtUninvokable public final java.lang.Object property(int propertyId){ return property_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native java.lang.Object property_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::propertyCount()const

*/ @io.qt.QtUninvokable public final int propertyCount(){ return propertyCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int propertyCount_native_constfct(long __this__nativeId); /** *

See QTextFormat::setBackground(QBrush)

*/ @io.qt.QtUninvokable public final void setBackground(io.qt.gui.QBrush brush){ setBackground_native_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); } @io.qt.QtUninvokable private native void setBackground_native_cref_QBrush(long __this__nativeId, long brush); /** *

See QTextFormat::setForeground(QBrush)

*/ @io.qt.QtUninvokable public final void setForeground(io.qt.gui.QBrush brush){ setForeground_native_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); } @io.qt.QtUninvokable private native void setForeground_native_cref_QBrush(long __this__nativeId, long brush); /** *

See QTextFormat::setLayoutDirection(Qt::LayoutDirection)

*/ @io.qt.QtUninvokable public final void setLayoutDirection(io.qt.core.Qt.LayoutDirection direction){ setLayoutDirection_native_Qt_LayoutDirection(QtJambi_LibraryUtilities.internal.nativeId(this), direction.value()); } @io.qt.QtUninvokable private native void setLayoutDirection_native_Qt_LayoutDirection(long __this__nativeId, int direction); /** *

See QTextFormat::setObjectIndex(int)

*/ @io.qt.QtUninvokable public final void setObjectIndex(int object){ setObjectIndex_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), object); } @io.qt.QtUninvokable private native void setObjectIndex_native_int(long __this__nativeId, int object); /** *

See QTextFormat::setObjectType(int)

*/ @io.qt.QtUninvokable public final void setObjectType(int type){ setObjectType_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), type); } @io.qt.QtUninvokable private native void setObjectType_native_int(long __this__nativeId, int type); /** *

See QTextFormat::setProperty(int,QList<QTextLength>)

*/ @io.qt.QtUninvokable public final void setProperty(int propertyId, java.util.Collection lengths){ setProperty_native_int_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId, lengths); } @io.qt.QtUninvokable private native void setProperty_native_int_cref_QList(long __this__nativeId, int propertyId, java.util.Collection lengths); /** *

See QTextFormat::setProperty(int,QVariant)

*/ @io.qt.QtUninvokable public final void setProperty(int propertyId, java.lang.Object value){ setProperty_native_int_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId, value); } @io.qt.QtUninvokable private native void setProperty_native_int_cref_QVariant(long __this__nativeId, int propertyId, java.lang.Object value); /** *

See QTextFormat::stringProperty(int)const

*/ @io.qt.QtUninvokable public final java.lang.String stringProperty(int propertyId){ return stringProperty_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), propertyId); } @io.qt.QtUninvokable private native java.lang.String stringProperty_native_int_constfct(long __this__nativeId, int propertyId); /** *

See QTextFormat::swap(QTextFormat&)

*/ @io.qt.QtUninvokable public final void swap(io.qt.gui.QTextFormat other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QTextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void swap_native_ref_QTextFormat(long __this__nativeId, long other); /** *

See QTextFormat::toBlockFormat()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QTextBlockFormat toBlockFormat(){ return toBlockFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QTextBlockFormat toBlockFormat_native_constfct(long __this__nativeId); /** *

See QTextFormat::toCharFormat()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QTextCharFormat toCharFormat(){ return toCharFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QTextCharFormat toCharFormat_native_constfct(long __this__nativeId); /** *

See QTextFormat::toFrameFormat()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QTextFrameFormat toFrameFormat(){ return toFrameFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QTextFrameFormat toFrameFormat_native_constfct(long __this__nativeId); /** *

See QTextFormat::toImageFormat()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QTextImageFormat toImageFormat(){ return toImageFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QTextImageFormat toImageFormat_native_constfct(long __this__nativeId); /** *

See QTextFormat::toListFormat()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QTextListFormat toListFormat(){ return toListFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QTextListFormat toListFormat_native_constfct(long __this__nativeId); /** *

See QTextFormat::toTableCellFormat()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QTextTableCellFormat toTableCellFormat(){ return toTableCellFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QTextTableCellFormat toTableCellFormat_native_constfct(long __this__nativeId); /** *

See QTextFormat::toTableFormat()const

*/ @io.qt.QtUninvokable public final io.qt.gui.QTextTableFormat toTableFormat(){ return toTableFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QTextTableFormat toTableFormat_native_constfct(long __this__nativeId); /** *

See QTextFormat::type()const

*/ @io.qt.QtUninvokable public final int type(){ return type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int type_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QTextFormat(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.gui.QTextFormat) { return operator_equal((io.qt.gui.QTextFormat) 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 @io.qt.QtUninvokable public String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private static native String toString_native(long __this_nativeId); @Override public QTextFormat clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QTextFormat clone_native(long __this_nativeId); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy