<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:05:12 CEST 2007 --> <TITLE> QTextBlockFormat </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.gui.QTextBlockFormat class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QTextBlockFormat"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QTextBlock_iterator.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QTextBlockGroup.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QTextBlockFormat.html" target="_top"><B>FRAMES</B></A> <A HREF="QTextBlockFormat.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.gui.QTextFormat">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.trolltech.qt.gui</FONT> <BR> Class QTextBlockFormat</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html" title="class in com.trolltech.qt.gui">com.trolltech.qt.gui.QTextFormat</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QTextBlockFormat</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>QTextBlockFormat</B><DT>extends <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html" title="class in com.trolltech.qt.gui">QTextFormat</A></DL> </PRE> <P> <p>The <a href="QTextBlockFormat.html#QTextBlockFormat()"><tt>QTextBlockFormat</tt></a> class provides formatting information for blocks of text in a <a href="QTextDocument.html"><tt>QTextDocument</tt></a>.</p> <p>A document is composed of a list of blocks, represented by <a href="QTextBlock.html"><tt>QTextBlock</tt></a> objects. Each block can contain an item of some kind, such as a paragraph of text, a table, a list, or an image. Every block has an associated <a href="QTextBlockFormat.html#QTextBlockFormat()"><tt>QTextBlockFormat</tt></a> that specifies its characteristics.</p> <p>To cater for left-to-right and right-to-left languages you can set a block's direction with setDirection(). Paragraph alignment is set with <a href="QTextBlockFormat.html#setAlignment(com.trolltech.qt.core.Qt.Alignment)"><tt>setAlignment</tt></a>. Margins are controlled by <a href="QTextBlockFormat.html#setTopMargin(double)"><tt>setTopMargin</tt></a>, <a href="QTextBlockFormat.html#setBottomMargin(double)"><tt>setBottomMargin</tt></a>, <a href="QTextBlockFormat.html#setLeftMargin(double)"><tt>setLeftMargin</tt></a>, <a href="QTextBlockFormat.html#setRightMargin(double)"><tt>setRightMargin</tt></a>. Overall indentation is set with <a href="QTextBlockFormat.html#setIndent(int)"><tt>setIndent</tt></a>, the indentation of the first line with <a href="QTextBlockFormat.html#setTextIndent(double)"><tt>setTextIndent</tt></a>.</p> <p>Line breaking can be enabled and disabled with <a href="QTextBlockFormat.html#setNonBreakableLines(boolean)"><tt>setNonBreakableLines</tt></a>.</p> <p>The brush used to paint the paragraph's background is set with setBackground(), and other aspects of the text's appearance can be customized by using the setProperty() function with the <tt>OutlinePen</tt>, <tt>ForegroundBrush</tt>, and <tt>BackgroundBrush</tt> <tt>QTextFormat::Property</tt> values.</p> <p>If a text block is part of a list, it can also have a list format that is accessible with the listFormat() function.</p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="QTextBlock.html"><tt>QTextBlock</tt></a>, <a href="QTextCharFormat.html"><tt>QTextCharFormat</tt></a></DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Nested Class Summary</B></FONT></TH> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_com.trolltech.qt.gui.QTextFormat"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.gui.<A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html" title="class in com.trolltech.qt.gui">QTextFormat</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QTextFormat.FormatType.html" title="enum in com.trolltech.qt.gui">QTextFormat.FormatType</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.ObjectTypes.html" title="enum in com.trolltech.qt.gui">QTextFormat.ObjectTypes</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.PageBreakFlag.html" title="enum in com.trolltech.qt.gui">QTextFormat.PageBreakFlag</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.PageBreakFlags.html" title="class in com.trolltech.qt.gui">QTextFormat.PageBreakFlags</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.Property.html" title="enum in com.trolltech.qt.gui">QTextFormat.Property</A></CODE></TD> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#QTextBlockFormat()">QTextBlockFormat</A></B>()</CODE> <BR> Constructs a new <a href="QTextBlockFormat.html#QTextBlockFormat()"><tt>QTextBlockFormat</tt></a>.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#alignment()">alignment</A></B>()</CODE> <BR> Returns the paragraph's alignment.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#bottomMargin()">bottomMargin</A></B>()</CODE> <BR> Returns the paragraph's bottom margin.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html" title="class in com.trolltech.qt.gui">QTextBlockFormat</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</CODE> <BR> This function returns the QTextBlockFormat instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#indent()">indent</A></B>()</CODE> <BR> Returns the paragraph's indent.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#isValid()">isValid</A></B>()</CODE> <BR> Returns true if this block format is valid; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#leftMargin()">leftMargin</A></B>()</CODE> <BR> Returns the paragraph's left margin.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#nativePointerArray(com.trolltech.qt.gui.QTextBlockFormat[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html" title="class in com.trolltech.qt.gui">QTextBlockFormat</A>[] array)</CODE> <BR> This function returns a QNativePointer that is pointing to the specified QTextBlockFormat array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#nonBreakableLines()">nonBreakableLines</A></B>()</CODE> <BR> Returns true if the lines in the paragraph are non-breakable; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.PageBreakFlags.html" title="class in com.trolltech.qt.gui">QTextFormat.PageBreakFlags</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#pageBreakPolicy()">pageBreakPolicy</A></B>()</CODE> <BR> Returns the currently set page break policy for the paragraph.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#rightMargin()">rightMargin</A></B>()</CODE> <BR> Returns the paragraph's right margin.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setAlignment(com.trolltech.qt.core.Qt.Alignment)">setAlignment</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A> alignment)</CODE> <BR> Sets the paragraph's <tt>alignment</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setAlignment(com.trolltech.qt.core.Qt.AlignmentFlag...)">setAlignment</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.AlignmentFlag.html" title="enum in com.trolltech.qt.core">Qt.AlignmentFlag</A>... alignment)</CODE> <BR> Sets the paragraph's <tt>alignment</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setBottomMargin(double)">setBottomMargin</A></B>(double margin)</CODE> <BR> Sets the paragraph's bottom <tt>margin</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setIndent(int)">setIndent</A></B>(int indent)</CODE> <BR> Sets the paragraph's <tt>indent</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setLeftMargin(double)">setLeftMargin</A></B>(double margin)</CODE> <BR> Sets the paragraph's left <tt>margin</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setNonBreakableLines(boolean)">setNonBreakableLines</A></B>(boolean b)</CODE> <BR> If <tt>b</tt> is true, the lines in the paragraph are treated as non-breakable; otherwise they are breakable.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setPageBreakPolicy(com.trolltech.qt.gui.QTextFormat.PageBreakFlag...)">setPageBreakPolicy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTextFormat.PageBreakFlag.html" title="enum in com.trolltech.qt.gui">QTextFormat.PageBreakFlag</A>... flags)</CODE> <BR> Sets the page break policy for the paragraph to <tt>flags</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setPageBreakPolicy(com.trolltech.qt.gui.QTextFormat.PageBreakFlags)">setPageBreakPolicy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTextFormat.PageBreakFlags.html" title="class in com.trolltech.qt.gui">QTextFormat.PageBreakFlags</A> flags)</CODE> <BR> Sets the page break policy for the paragraph to <tt>flags</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setRightMargin(double)">setRightMargin</A></B>(double margin)</CODE> <BR> Sets the paragraph's right <tt>margin</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setTextIndent(double)">setTextIndent</A></B>(double margin)</CODE> <BR> Sets the <tt>margin</tt> for the first line in the block.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#setTopMargin(double)">setTopMargin</A></B>(double margin)</CODE> <BR> Sets the paragraph's top <tt>margin</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#textIndent()">textIndent</A></B>()</CODE> <BR> Returns the paragraph's text indent.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html#topMargin()">topMargin</A></B>()</CODE> <BR> Returns the paragraph's top margin.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.gui.QTextFormat"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.gui.<A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html" title="class in com.trolltech.qt.gui">QTextFormat</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#background()">background</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#boolProperty(int)">boolProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#brushProperty(int)">brushProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#clearBackground()">clearBackground</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#clearForeground()">clearForeground</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#clearProperty(int)">clearProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#colorProperty(int)">colorProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#doubleProperty(int)">doubleProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#foreground()">foreground</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#hasProperty(int)">hasProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#intProperty(int)">intProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#isBlockFormat()">isBlockFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#isCharFormat()">isCharFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#isFrameFormat()">isFrameFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#isImageFormat()">isImageFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#isListFormat()">isListFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#isTableFormat()">isTableFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#layoutDirection()">layoutDirection</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#lengthProperty(int)">lengthProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#lengthVectorProperty(int)">lengthVectorProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#merge(com.trolltech.qt.gui.QTextFormat)">merge</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#nativePointerArray(com.trolltech.qt.gui.QTextFormat[])">nativePointerArray</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#objectIndex()">objectIndex</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#objectType()">objectType</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#penProperty(int)">penProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#properties()">properties</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#property(int)">property</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#propertyCount()">propertyCount</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#setBackground(com.trolltech.qt.gui.QBrush)">setBackground</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#setForeground(com.trolltech.qt.gui.QBrush)">setForeground</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#setLayoutDirection(com.trolltech.qt.core.Qt.LayoutDirection)">setLayoutDirection</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#setObjectIndex(int)">setObjectIndex</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#setObjectType(int)">setObjectType</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#setProperty(int, java.util.List)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#setProperty(int, java.lang.Object)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#stringProperty(int)">stringProperty</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#toBlockFormat()">toBlockFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#toCharFormat()">toCharFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#toFrameFormat()">toFrameFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#toImageFormat()">toImageFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#toListFormat()">toListFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#toTableFormat()">toTableFormat</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#type()">type</A>, <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="QTextBlockFormat()"><!-- --></A><H3> QTextBlockFormat</H3> <PRE> public <B>QTextBlockFormat</B>()</PRE> <DL> <DD><p>Constructs a new <a href="QTextBlockFormat.html#QTextBlockFormat()"><tt>QTextBlockFormat</tt></a>.</p> <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="alignment()"><!-- --></A><H3> alignment</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A> <B>alignment</B>()</PRE> <DL> <DD><p>Returns the paragraph's alignment.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#setAlignment(com.trolltech.qt.core.Qt.Alignment)"><tt>setAlignment</tt></a></DL> </DD> </DL> <HR> <A NAME="bottomMargin()"><!-- --></A><H3> bottomMargin</H3> <PRE> public final double <B>bottomMargin</B>()</PRE> <DL> <DD><p>Returns the paragraph's bottom margin.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#setBottomMargin(double)"><tt>setBottomMargin</tt></a>, <a href="QTextBlockFormat.html#topMargin()"><tt>topMargin</tt></a></DL> </DD> </DL> <HR> <A NAME="indent()"><!-- --></A><H3> indent</H3> <PRE> public final int <B>indent</B>()</PRE> <DL> <DD><p>Returns the paragraph's indent.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#setIndent(int)"><tt>setIndent</tt></a></DL> </DD> </DL> <HR> <A NAME="isValid()"><!-- --></A><H3> isValid</H3> <PRE> public final boolean <B>isValid</B>()</PRE> <DL> <DD><p>Returns true if this block format is valid; otherwise returns false.</p> <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html#isValid()">isValid</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QTextFormat.html" title="class in com.trolltech.qt.gui">QTextFormat</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="leftMargin()"><!-- --></A><H3> leftMargin</H3> <PRE> public final double <B>leftMargin</B>()</PRE> <DL> <DD><p>Returns the paragraph's left margin.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#setLeftMargin(double)"><tt>setLeftMargin</tt></a>, <a href="QTextBlockFormat.html#rightMargin()"><tt>rightMargin</tt></a>, <a href="QTextBlockFormat.html#indent()"><tt>indent</tt></a></DL> </DD> </DL> <HR> <A NAME="nonBreakableLines()"><!-- --></A><H3> nonBreakableLines</H3> <PRE> public final boolean <B>nonBreakableLines</B>()</PRE> <DL> <DD><p>Returns true if the lines in the paragraph are non-breakable; otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#setNonBreakableLines(boolean)"><tt>setNonBreakableLines</tt></a></DL> </DD> </DL> <HR> <A NAME="pageBreakPolicy()"><!-- --></A><H3> pageBreakPolicy</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QTextFormat.PageBreakFlags.html" title="class in com.trolltech.qt.gui">QTextFormat.PageBreakFlags</A> <B>pageBreakPolicy</B>()</PRE> <DL> <DD><p>Returns the currently set page break policy for the paragraph. The default is QTextFormat::PageBreak_Auto.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#setPageBreakPolicy(com.trolltech.qt.gui.QTextFormat.PageBreakFlags)"><tt>setPageBreakPolicy</tt></a></DL> </DD> </DL> <HR> <A NAME="rightMargin()"><!-- --></A><H3> rightMargin</H3> <PRE> public final double <B>rightMargin</B>()</PRE> <DL> <DD><p>Returns the paragraph's right margin.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#setRightMargin(double)"><tt>setRightMargin</tt></a>, <a href="QTextBlockFormat.html#leftMargin()"><tt>leftMargin</tt></a></DL> </DD> </DL> <HR> <A NAME="setAlignment(com.trolltech.qt.core.Qt.AlignmentFlag...)"><!-- --></A><H3> setAlignment</H3> <PRE> public final void <B>setAlignment</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.AlignmentFlag.html" title="enum in com.trolltech.qt.core">Qt.AlignmentFlag</A>... alignment)</PRE> <DL> <DD><p>Sets the paragraph's <tt>alignment</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#alignment()"><tt>alignment</tt></a></DL> </DD> </DL> <HR> <A NAME="setAlignment(com.trolltech.qt.core.Qt.Alignment)"><!-- --></A><H3> setAlignment</H3> <PRE> public final void <B>setAlignment</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A> alignment)</PRE> <DL> <DD><p>Sets the paragraph's <tt>alignment</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#alignment()"><tt>alignment</tt></a></DL> </DD> </DL> <HR> <A NAME="setBottomMargin(double)"><!-- --></A><H3> setBottomMargin</H3> <PRE> public final void <B>setBottomMargin</B>(double margin)</PRE> <DL> <DD><p>Sets the paragraph's bottom <tt>margin</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#bottomMargin()"><tt>bottomMargin</tt></a>, <a href="QTextBlockFormat.html#setTopMargin(double)"><tt>setTopMargin</tt></a>, <a href="QTextBlockFormat.html#setLeftMargin(double)"><tt>setLeftMargin</tt></a>, <a href="QTextBlockFormat.html#setRightMargin(double)"><tt>setRightMargin</tt></a></DL> </DD> </DL> <HR> <A NAME="setIndent(int)"><!-- --></A><H3> setIndent</H3> <PRE> public final void <B>setIndent</B>(int indent)</PRE> <DL> <DD><p>Sets the paragraph's <tt>indent</tt>. Margins are set independently of indentation with <a href="QTextBlockFormat.html#setLeftMargin(double)"><tt>setLeftMargin</tt></a> and setTextIdent().</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#indent()"><tt>indent</tt></a></DL> </DD> </DL> <HR> <A NAME="setLeftMargin(double)"><!-- --></A><H3> setLeftMargin</H3> <PRE> public final void <B>setLeftMargin</B>(double margin)</PRE> <DL> <DD><p>Sets the paragraph's left <tt>margin</tt>. Indentation can be applied separately with <a href="QTextBlockFormat.html#setIndent(int)"><tt>setIndent</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#leftMargin()"><tt>leftMargin</tt></a>, <a href="QTextBlockFormat.html#setRightMargin(double)"><tt>setRightMargin</tt></a>, <a href="QTextBlockFormat.html#setTopMargin(double)"><tt>setTopMargin</tt></a>, <a href="QTextBlockFormat.html#setBottomMargin(double)"><tt>setBottomMargin</tt></a></DL> </DD> </DL> <HR> <A NAME="setNonBreakableLines(boolean)"><!-- --></A><H3> setNonBreakableLines</H3> <PRE> public final void <B>setNonBreakableLines</B>(boolean b)</PRE> <DL> <DD><p>If <tt>b</tt> is true, the lines in the paragraph are treated as non-breakable; otherwise they are breakable.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#nonBreakableLines()"><tt>nonBreakableLines</tt></a></DL> </DD> </DL> <HR> <A NAME="setPageBreakPolicy(com.trolltech.qt.gui.QTextFormat.PageBreakFlag...)"><!-- --></A><H3> setPageBreakPolicy</H3> <PRE> public final void <B>setPageBreakPolicy</B>(<A HREF="../../../../com/trolltech/qt/gui/QTextFormat.PageBreakFlag.html" title="enum in com.trolltech.qt.gui">QTextFormat.PageBreakFlag</A>... flags)</PRE> <DL> <DD><p>Sets the page break policy for the paragraph to <tt>flags</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#pageBreakPolicy()"><tt>pageBreakPolicy</tt></a></DL> </DD> </DL> <HR> <A NAME="setPageBreakPolicy(com.trolltech.qt.gui.QTextFormat.PageBreakFlags)"><!-- --></A><H3> setPageBreakPolicy</H3> <PRE> public final void <B>setPageBreakPolicy</B>(<A HREF="../../../../com/trolltech/qt/gui/QTextFormat.PageBreakFlags.html" title="class in com.trolltech.qt.gui">QTextFormat.PageBreakFlags</A> flags)</PRE> <DL> <DD><p>Sets the page break policy for the paragraph to <tt>flags</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#pageBreakPolicy()"><tt>pageBreakPolicy</tt></a></DL> </DD> </DL> <HR> <A NAME="setRightMargin(double)"><!-- --></A><H3> setRightMargin</H3> <PRE> public final void <B>setRightMargin</B>(double margin)</PRE> <DL> <DD><p>Sets the paragraph's right <tt>margin</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#rightMargin()"><tt>rightMargin</tt></a>, <a href="QTextBlockFormat.html#setLeftMargin(double)"><tt>setLeftMargin</tt></a>, <a href="QTextBlockFormat.html#setTopMargin(double)"><tt>setTopMargin</tt></a>, <a href="QTextBlockFormat.html#setBottomMargin(double)"><tt>setBottomMargin</tt></a></DL> </DD> </DL> <HR> <A NAME="setTextIndent(double)"><!-- --></A><H3> setTextIndent</H3> <PRE> public final void <B>setTextIndent</B>(double margin)</PRE> <DL> <DD><p>Sets the <tt>margin</tt> for the first line in the block. This allows the first line of a paragraph to be indented differently to the other lines, enhancing the readability of the text.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#textIndent()"><tt>textIndent</tt></a>, <a href="QTextBlockFormat.html#setLeftMargin(double)"><tt>setLeftMargin</tt></a>, <a href="QTextBlockFormat.html#setRightMargin(double)"><tt>setRightMargin</tt></a>, <a href="QTextBlockFormat.html#setTopMargin(double)"><tt>setTopMargin</tt></a>, <a href="QTextBlockFormat.html#setBottomMargin(double)"><tt>setBottomMargin</tt></a></DL> </DD> </DL> <HR> <A NAME="setTopMargin(double)"><!-- --></A><H3> setTopMargin</H3> <PRE> public final void <B>setTopMargin</B>(double margin)</PRE> <DL> <DD><p>Sets the paragraph's top <tt>margin</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#topMargin()"><tt>topMargin</tt></a>, <a href="QTextBlockFormat.html#setBottomMargin(double)"><tt>setBottomMargin</tt></a>, <a href="QTextBlockFormat.html#setLeftMargin(double)"><tt>setLeftMargin</tt></a>, <a href="QTextBlockFormat.html#setRightMargin(double)"><tt>setRightMargin</tt></a></DL> </DD> </DL> <HR> <A NAME="textIndent()"><!-- --></A><H3> textIndent</H3> <PRE> public final double <B>textIndent</B>()</PRE> <DL> <DD><p>Returns the paragraph's text indent.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#setTextIndent(double)"><tt>setTextIndent</tt></a></DL> </DD> </DL> <HR> <A NAME="topMargin()"><!-- --></A><H3> topMargin</H3> <PRE> public final double <B>topMargin</B>()</PRE> <DL> <DD><p>Returns the paragraph's top margin.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QTextBlockFormat.html#setTopMargin(double)"><tt>setTopMargin</tt></a>, <a href="QTextBlockFormat.html#bottomMargin()"><tt>bottomMargin</tt></a></DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html" title="class in com.trolltech.qt.gui">QTextBlockFormat</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</PRE> <DL> <DD>This function returns the QTextBlockFormat instance pointed to by nativePointer <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL> </DD> </DL> <HR> <A NAME="nativePointerArray(com.trolltech.qt.gui.QTextBlockFormat[])"><!-- --></A><H3> nativePointerArray</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/gui/QTextBlockFormat.html" title="class in com.trolltech.qt.gui">QTextBlockFormat</A>[] array)</PRE> <DL> <DD>This function returns a QNativePointer that is pointing to the specified QTextBlockFormat array. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to. <DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QTextBlock_iterator.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QTextBlockGroup.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QTextBlockFormat.html" target="_top"><B>FRAMES</B></A> <A HREF="QTextBlockFormat.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.gui.QTextFormat">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>