📄 docwriter.html
字号:
<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to be converted<DT><B>Returns:</B><DD>the conversion result</DL></DD></DL><HR><A NAME="pause()"><!-- --></A><H3>pause</H3><PRE>public void <B>pause</B>()</PRE><DL><DD>Let the writer know that all writing has to be paused.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isPaused()"><!-- --></A><H3>isPaused</H3><PRE>public boolean <B>isPaused</B>()</PRE><DL><DD>Checks if writing is paused.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if writing temporarily has to be paused, <CODE>false</CODE> otherwise.</DL></DD></DL><HR><A NAME="resume()"><!-- --></A><H3>resume</H3><PRE>public void <B>resume</B>()</PRE><DL><DD>Let the writer know that writing may be resumed.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="flush()"><!-- --></A><H3>flush</H3><PRE>public void <B>flush</B>()</PRE><DL><DD>Flushes the <CODE>BufferedOutputStream</CODE>.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="write(java.lang.String)"><!-- --></A><H3>write</H3><PRE>protected void <B>write</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> string) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Writes a <CODE>String</CODE> to the <CODE>OutputStream</CODE>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>string</CODE> - the <CODE>String</CODE> to write<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="addTabs(int)"><!-- --></A><H3>addTabs</H3><PRE>protected void <B>addTabs</B>(int indent) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Writes a number of tabs.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>indent</CODE> - the number of tabs to add<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="write(java.lang.String, java.lang.String)"><!-- --></A><H3>write</H3><PRE>protected void <B>write</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> key, <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> value) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Writes a key-value pair to the outputstream.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the name of an attribute<DD><CODE>value</CODE> - the value of an attribute<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="writeStart(java.lang.String)"><!-- --></A><H3>writeStart</H3><PRE>protected void <B>writeStart</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> tag) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Writes a starttag to the outputstream.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tag</CODE> - the name of the tag<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="writeEnd(java.lang.String)"><!-- --></A><H3>writeEnd</H3><PRE>protected void <B>writeEnd</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> tag) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Writes an endtag to the outputstream.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tag</CODE> - the name of the tag<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="writeEnd()"><!-- --></A><H3>writeEnd</H3><PRE>protected void <B>writeEnd</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Writes an endtag to the outputstream.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="writeMarkupAttributes(java.util.Properties)"><!-- --></A><H3>writeMarkupAttributes</H3><PRE>protected boolean <B>writeMarkupAttributes</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A> markup) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Writes the markup attributes of the specified <CODE>MarkupAttributes</CODE> object to the <CODE>OutputStream</CODE>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>markup</CODE> - a <CODE>Properties</CODE> collection to write.<DT><B>Returns:</B><DD>true, if writing the markup attributes succeeded<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="isCloseStream()"><!-- --></A><H3>isCloseStream</H3><PRE>public boolean <B>isCloseStream</B>()</PRE><DL><DD>Checks if the stream is to be closed on document close<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the stream is closed on document close</DL></DD></DL><HR><A NAME="setCloseStream(boolean)"><!-- --></A><H3>setCloseStream</H3><PRE>public void <B>setCloseStream</B>(boolean closeStream)</PRE><DL><DD>Sets the close state of the stream after document close<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>closeStream</CODE> - true if the stream is closed on document close</DL></DD></DL><HR><A NAME="setMarginMirroring(boolean)"><!-- --></A><H3>setMarginMirroring</H3><PRE>public boolean <B>setMarginMirroring</B>(boolean MarginMirroring)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../com/lowagie/text/DocListener.html#setMarginMirroring(boolean)">DocListener</A></CODE></B></DD><DD>Parameter that allows you to do margin mirroring (odd/even pages)<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/DocListener.html#setMarginMirroring(boolean)">setMarginMirroring</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/DocListener.html" title="interface in com.lowagie.text">DocListener</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if successful<DT><B>See Also:</B><DD><A HREF="../../../com/lowagie/text/DocListener.html#setMarginMirroring(boolean)"><CODE>DocListener.setMarginMirroring(boolean)</CODE></A></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/DocumentException.html" title="class in com.lowagie.text"><B>PREV CLASS</B></A> <A HREF="../../../com/lowagie/text/Element.html" title="interface 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/DocWriter.html" target="_top"><B>FRAMES</B></A> <A HREF="DocWriter.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 + -