📄 captionlabel.html
字号:
label2.delete(); </pre>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getChapterStyleLevel()"><!-- --></A><H3>
getChapterStyleLevel</H3>
<PRE>
public int <B>getChapterStyleLevel</B>()</PRE>
<DL>
<DD>当指定题注标签包含章节号时,返回用来标记新章节的标题样式
<P>
<DD><DL>
<DT><B>返回:</B><DD>章节的标题样式 <p> <b>例子:</b> <pre> CaptionLabels captionLabels=Application.getCaptionLabels(); CaptionLabel label=captionLabels.addCaptionLabel("dd"); System.out.println(label.getChapterStyleLevel()); </pre></DL>
</DD>
</DL>
<HR>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>返回名称
<P>
<DD><DL>
<DT><B>返回:</B><DD>名称 <p> <b>例子:</b> <pre> CaptionLabels captionLabels=Application.getCaptionLabels(); CaptionLabel label=captionLabels.addCaptionLabel("dd"); label.getName(); </pre></DL>
</DD>
</DL>
<HR>
<A NAME="getNumberStyle()"><!-- --></A><H3>
getNumberStyle</H3>
<PRE>
public int <B>getNumberStyle</B>()</PRE>
<DL>
<DD>返回编号样式
<P>
<DD><DL>
<DT><B>返回:</B><DD>编号样式 <p> <b>例子:</b> <pre> CaptionLabels captionLabels=Application.getCaptionLabels(); CaptionLabel label=captionLabels.addCaptionLabel("dd"); label.getNumberStyle(); </pre></DL>
</DD>
</DL>
<HR>
<A NAME="getPosition()"><!-- --></A><H3>
getPosition</H3>
<PRE>
public int <B>getPosition</B>()</PRE>
<DL>
<DD>返回题注标签文本的位置
<P>
<DD><DL>
<DT><B>返回:</B><DD>题注标签文本的位置 <pre> 为CAPTION_POSITION_ABOVE时,在项目的上方; 为CAPTION_POSITION_BELOW时,在项目的下方。 </pre> <p> <b>例子:</b> <pre> CaptionLabels captionLabels=Application.getCaptionLabels(); CaptionLabel label=captionLabels.addCaptionLabel("dd"); label.isPosition(); </pre></DL>
</DD>
</DL>
<HR>
<A NAME="isIncludeChapterNumber()"><!-- --></A><H3>
isIncludeChapterNumber</H3>
<PRE>
public boolean <B>isIncludeChapterNumber</B>()</PRE>
<DL>
<DD>返回是否包含章节号
<P>
<DD><DL>
<DT><B>返回:</B><DD><p> <b>例子:</b> <pre> CaptionLabels captionLabels=Application.getCaptionLabels(); CaptionLabel label=captionLabels.addCaptionLabel("dd"); label.isIncludeChapterNumber(); </pre></DL>
</DD>
</DL>
<HR>
<A NAME="setChapterStyleLevel(int)"><!-- --></A><H3>
setChapterStyleLevel</H3>
<PRE>
public void <B>setChapterStyleLevel</B>(int chapterStyleLevel)</PRE>
<DL>
<DD>当指定题注标签包含章节号时,用来标记新章节的标题样式
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>chapterStyleLevel</CODE> - 章节的标题样式 <pre> CHAPTER1 标题1 CHAPTER2 标题2 CHAPTER3 标题3 .. ... CHAPTER9 标题9 </pre> <p> <b>例子:</b> <pre> CaptionLabels captionLabels=Application.getCaptionLabels(); CaptionLabel label=captionLabels.addCaptionLabel("dd"); label.setIncludeChapterNumber(true); label.setChapterStyleLevel(CaptionConstants.CHAPTER1); System.out.println(label.getChapterStyleLevel()); </pre>
<DT><B>抛出:</B>
<DD><CODE><A HREF="../../../../../application/exceptions/MacroRunException.html" title="application.exceptions 中的类">MacroRunException</A></CODE> - 当参数小于0或者大于8时</DL>
</DD>
</DL>
<HR>
<A NAME="setIncludeChapterNumber(boolean)"><!-- --></A><H3>
setIncludeChapterNumber</H3>
<PRE>
public void <B>setIncludeChapterNumber</B>(boolean includeChapterNumber)</PRE>
<DL>
<DD>设置标识包含章节号
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>includeChapterNumber</CODE> - <p> <b>例子:</b> <pre> CaptionLabels captionLabels=Application.getCaptionLabels(); CaptionLabel label=captionLabels.addCaptionLabel("dd"); label.setIncludeChapterNumber(true); </pre></DL>
</DD>
</DL>
<HR>
<A NAME="setNumberStyle(int)"><!-- --></A><H3>
setNumberStyle</H3>
<PRE>
public void <B>setNumberStyle</B>(int numberStyle)</PRE>
<DL>
<DD>设置编号样式
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>numberStyle</CODE> - 编号样式 <pre> "1,2,3, …" "a,b,c,…" "A,B,C,…" "i,ii,iii, …" "I,II,III,…" "一,二,三(简) …" "壹,贰,叁 …" "甲,乙,丙 …" "子,丑,寅 …" </pre> <p> <b>例子:</b> <pre> CaptionLabels captionLabels=Application.getCaptionLabels(); CaptionLabel label=captionLabels.addCaptionLabel("dd"); label.setNumberStyle(CaptionConstants.ARABIC_NUMBER); </pre></DL>
</DD>
</DL>
<HR>
<A NAME="setPosition(int)"><!-- --></A><H3>
setPosition</H3>
<PRE>
public void <B>setPosition</B>(int position)</PRE>
<DL>
<DD>设置题注标签文本的位置
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>position</CODE> - 为CAPTION_POSITION_ABOVE时,在项目的上方; 为CAPTION_POSITION_BELOW时,在项目的下方。 <p> <b>例子:</b> <pre> CaptionLabels captionLabels=Application.getCaptionLabels(); CaptionLabel label=captionLabels.addCaptionLabel("dd"); label.setPosition(CaptionConstants.CAPTION_POSITION_ABOVE); </pre></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="跳过导航链接"></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>概述</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>软件包</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>类</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>树</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>索引</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>帮助</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="../../../../../application/workbooks/workbook/documents/document/BookMarks.html" title="application.workbooks.workbook.documents.document 中的类"><B>上一个类</B></A>
<A HREF="../../../../../application/workbooks/workbook/documents/document/CaptionLabels.html" title="application.workbooks.workbook.documents.document 中的类"><B>下一个类</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?application/workbooks/workbook/documents/document/CaptionLabel.html" target="_top"><B>框架</B></A>
<A HREF="CaptionLabel.html" target="_top"><B>无框架</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>所有类</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>所有类</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
摘要: 嵌套 | 字段 | <A HREF="#constructor_summary">构造方法</A> | <A HREF="#method_summary">方法</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
详细信息: 字段 | <A HREF="#constructor_detail">构造方法</A> | <A HREF="#method_detail">方法</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
版权所有 2001-2006 无锡永中科技有限公司
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -