📄 markedsection.html
字号:
<A NAME="addSection(float)"><!-- --></A><H3>addSection</H3><PRE>public <A HREF="../../../com/lowagie/text/MarkedSection.html" title="class in com.lowagie.text">MarkedSection</A> <B>addSection</B>(float indentation)</PRE><DL><DD>Creates a <CODE>Section</CODE>, adds it to this <CODE>Section</CODE> and returns it.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>indentation</CODE> - the indentation of the new section<DT><B>Returns:</B><DD>a new Section object</DL></DD></DL><HR><A NAME="addSection(int)"><!-- --></A><H3>addSection</H3><PRE>public <A HREF="../../../com/lowagie/text/MarkedSection.html" title="class in com.lowagie.text">MarkedSection</A> <B>addSection</B>(int numberDepth)</PRE><DL><DD>Creates a <CODE>Section</CODE>, add it to this <CODE>Section</CODE> and returns it.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>numberDepth</CODE> - the numberDepth of the section<DT><B>Returns:</B><DD>a new Section object</DL></DD></DL><HR><A NAME="addSection()"><!-- --></A><H3>addSection</H3><PRE>public <A HREF="../../../com/lowagie/text/MarkedSection.html" title="class in com.lowagie.text">MarkedSection</A> <B>addSection</B>()</PRE><DL><DD>Creates a <CODE>Section</CODE>, adds it to this <CODE>Section</CODE> and returns it.<P><DD><DL><DT><B>Returns:</B><DD>a new Section object</DL></DD></DL><HR><A NAME="setTitle(com.lowagie.text.MarkedObject)"><!-- --></A><H3>setTitle</H3><PRE>public void <B>setTitle</B>(<A HREF="../../../com/lowagie/text/MarkedObject.html" title="class in com.lowagie.text">MarkedObject</A> title)</PRE><DL><DD>Sets the title of this section.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the new title</DL></DD></DL><HR><A NAME="getTitle()"><!-- --></A><H3>getTitle</H3><PRE>public <A HREF="../../../com/lowagie/text/MarkedObject.html" title="class in com.lowagie.text">MarkedObject</A> <B>getTitle</B>()</PRE><DL><DD>Gets the title of this MarkedSection.<P><DD><DL><DT><B>Returns:</B><DD>a MarkObject with a Paragraph containing the title of a Section<DT><B>Since:</B></DT> <DD>iText 2.0.8</DD></DL></DD></DL><HR><A NAME="setNumberDepth(int)"><!-- --></A><H3>setNumberDepth</H3><PRE>public void <B>setNumberDepth</B>(int numberDepth)</PRE><DL><DD>Sets the depth of the sectionnumbers that will be shown preceding the title. <P> If the numberdepth is 0, the sections will not be numbered. If the numberdepth is 1, the section will be numbered with their own number. If the numberdepth is higher (for instance x > 1), the numbers of x - 1 parents will be shown.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>numberDepth</CODE> - the new numberDepth</DL></DD></DL><HR><A NAME="setIndentationLeft(float)"><!-- --></A><H3>setIndentationLeft</H3><PRE>public void <B>setIndentationLeft</B>(float indentation)</PRE><DL><DD>Sets the indentation of this <CODE>Section</CODE> on the left side.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>indentation</CODE> - the indentation</DL></DD></DL><HR><A NAME="setIndentationRight(float)"><!-- --></A><H3>setIndentationRight</H3><PRE>public void <B>setIndentationRight</B>(float indentation)</PRE><DL><DD>Sets the indentation of this <CODE>Section</CODE> on the right side.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>indentation</CODE> - the indentation</DL></DD></DL><HR><A NAME="setIndentation(float)"><!-- --></A><H3>setIndentation</H3><PRE>public void <B>setIndentation</B>(float indentation)</PRE><DL><DD>Sets the indentation of the content of this <CODE>Section</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>indentation</CODE> - the indentation</DL></DD></DL><HR><A NAME="setBookmarkOpen(boolean)"><!-- --></A><H3>setBookmarkOpen</H3><PRE>public void <B>setBookmarkOpen</B>(boolean bookmarkOpen)</PRE><DL><DD>Setter for property bookmarkOpen.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>bookmarkOpen</CODE> - false if the bookmark children are not visible.</DL></DD></DL><HR><A NAME="setTriggerNewPage(boolean)"><!-- --></A><H3>setTriggerNewPage</H3><PRE>public void <B>setTriggerNewPage</B>(boolean triggerNewPage)</PRE><DL><DD>Setter for property triggerNewPage.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>triggerNewPage</CODE> - true if a new page has to be triggered.</DL></DD></DL><HR><A NAME="setBookmarkTitle(java.lang.String)"><!-- --></A><H3>setBookmarkTitle</H3><PRE>public void <B>setBookmarkTitle</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bookmarkTitle)</PRE><DL><DD>Sets the bookmark title. The bookmark title is the same as the section title but can be changed with this method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>bookmarkTitle</CODE> - the bookmark title</DL></DD></DL><HR><A NAME="newPage()"><!-- --></A><H3>newPage</H3><PRE>public void <B>newPage</B>()</PRE><DL><DD>Adds a new page to the section.<P><DD><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD></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>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/lowagie/text/MarkedObject.html" title="class in com.lowagie.text"><B>PREV CLASS</B></A> <A HREF="../../../com/lowagie/text/Meta.html" title="class in com.lowagie.text"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/lowagie/text/MarkedSection.html" target="_top"><B>FRAMES</B></A> <A HREF="MarkedSection.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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -