⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rtfpagesetting.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DD><DL><DT><B>Parameters:</B><DD><CODE>marginBottom</CODE> - The bottom margin to use</DL></DD></DL><HR><A NAME="getMarginLeft()"><!-- --></A><H3>getMarginLeft</H3><PRE>public int <B>getMarginLeft</B>()</PRE><DL><DD>Gets the left margin<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the left margin</DL></DD></DL><HR><A NAME="setMarginLeft(int)"><!-- --></A><H3>setMarginLeft</H3><PRE>public void <B>setMarginLeft</B>(int&nbsp;marginLeft)</PRE><DL><DD>Sets the left margin to use<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>marginLeft</CODE> - The left margin to use</DL></DD></DL><HR><A NAME="getMarginRight()"><!-- --></A><H3>getMarginRight</H3><PRE>public int <B>getMarginRight</B>()</PRE><DL><DD>Gets the right margin<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the right margin</DL></DD></DL><HR><A NAME="setMarginRight(int)"><!-- --></A><H3>setMarginRight</H3><PRE>public void <B>setMarginRight</B>(int&nbsp;marginRight)</PRE><DL><DD>Sets the right margin to use<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>marginRight</CODE> - The right margin to use</DL></DD></DL><HR><A NAME="getMarginTop()"><!-- --></A><H3>getMarginTop</H3><PRE>public int <B>getMarginTop</B>()</PRE><DL><DD>Gets the top margin<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the top margin</DL></DD></DL><HR><A NAME="setMarginTop(int)"><!-- --></A><H3>setMarginTop</H3><PRE>public void <B>setMarginTop</B>(int&nbsp;marginTop)</PRE><DL><DD>Sets the top margin to use<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>marginTop</CODE> - The top margin to use</DL></DD></DL><HR><A NAME="getPageHeight()"><!-- --></A><H3>getPageHeight</H3><PRE>public int <B>getPageHeight</B>()</PRE><DL><DD>Gets the page height<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the page height</DL></DD></DL><HR><A NAME="setPageHeight(int)"><!-- --></A><H3>setPageHeight</H3><PRE>public void <B>setPageHeight</B>(int&nbsp;pageHeight)</PRE><DL><DD>Sets the page height to use<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pageHeight</CODE> - The page height to use</DL></DD></DL><HR><A NAME="getPageWidth()"><!-- --></A><H3>getPageWidth</H3><PRE>public int <B>getPageWidth</B>()</PRE><DL><DD>Gets the page width<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the page width</DL></DD></DL><HR><A NAME="setPageWidth(int)"><!-- --></A><H3>setPageWidth</H3><PRE>public void <B>setPageWidth</B>(int&nbsp;pageWidth)</PRE><DL><DD>Sets the page width to use<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pageWidth</CODE> - The page width to use</DL></DD></DL><HR><A NAME="setPageSize(com.lowagie.text.Rectangle)"><!-- --></A><H3>setPageSize</H3><PRE>public void <B>setPageSize</B>(<A HREF="../../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A>&nbsp;pageSize)</PRE><DL><DD>Set the page size to use. This method will use guessFormat to try to guess the correct page format. If no format could be guessed, the sizes from the pageSize are used and the landscape setting is determined by comparing width and height;<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pageSize</CODE> - The pageSize to use</DL></DD></DL><HR><A NAME="guessFormat(com.lowagie.text.Rectangle, boolean)"><!-- --></A><H3>guessFormat</H3><PRE>private boolean <B>guessFormat</B>(<A HREF="../../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A>&nbsp;pageSize,                            boolean&nbsp;rotate)</PRE><DL><DD>This method tries to fit the <code>Rectangle pageSize</code> to one of the predefined PageSize rectangles. If a match is found the pageWidth and pageHeight will be set according to values determined from files generated by MS Word2000 and OpenOffice 641. If no match is found the method will try to match the rotated Rectangle by calling itself with the parameter rotate set to true.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pageSize</CODE> - the page size for which to guess the correct format<DD><CODE>rotate</CODE> - Whether we should try to rotate the size befor guessing the format<DT><B>Returns:</B><DD><code>True</code> if the format was guessed, <code>false/<code> otherwise</DL></DD></DL><HR><A NAME="rectEquals(com.lowagie.text.Rectangle, com.lowagie.text.Rectangle)"><!-- --></A><H3>rectEquals</H3><PRE>private boolean <B>rectEquals</B>(<A HREF="../../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A>&nbsp;rect1,                           <A HREF="../../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A>&nbsp;rect2)</PRE><DL><DD>This method compares to Rectangles. They are considered equal if width and height are the same<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rect1</CODE> - The first Rectangle to compare<DD><CODE>rect2</CODE> - The second Rectangle to compare<DT><B>Returns:</B><DD><code>True</code> if the Rectangles equal, <code>false</code> otherwise</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;<A HREF="../../../../../com/lowagie/text/rtf/document/RtfInfoGroup.html" title="class in com.lowagie.text.rtf.document"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/lowagie/text/rtf/document/RtfProtection.html" title="class in com.lowagie.text.rtf.document"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?com/lowagie/text/rtf/document/RtfPageSetting.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="RtfPageSetting.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -