📄 document.html
字号:
<BR>
获取保护文档的类型。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/documents/document/TextRange.html" title="application.workbooks.workbook.documents.document 中的类">TextRange</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getRange(long)">getRange</A></B>(long offset)</CODE>
<BR>
返回指定位置的一个文本区域。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/documents/document/TextRange.html" title="application.workbooks.workbook.documents.document 中的类">TextRange</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getRange(long, long)">getRange</A></B>(long start,
long end)</CODE>
<BR>
返回指定范围的一个文本区域。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/documents/document/Revisions.html" title="application.workbooks.workbook.documents.document 中的类">Revisions</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getRevisions()">getRevisions</A></B>()</CODE>
<BR>
得到文档的修订管理器。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/documents/document/Section.html" title="application.workbooks.workbook.documents.document 中的类">Section</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getSection(int)">getSection</A></B>(int sectionIndex)</CODE>
<BR>
返回指定索引号的节。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/documents/document/Section.html" title="application.workbooks.workbook.documents.document 中的类">Section</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getSectionByOffset(long)">getSectionByOffset</A></B>(long offset)</CODE>
<BR>
返回指定位置所在位置的章节。</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="../../../../application/workbooks/workbook/documents/Document.html#getSectionCount()">getSectionCount</A></B>()</CODE>
<BR>
返回全文节的总数。</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="../../../../application/workbooks/workbook/documents/Document.html#getSectionIndex(long)">getSectionIndex</A></B>(long offset)</CODE>
<BR>
返回指定位置所在位置的章节号。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getSelectedText()">getSelectedText</A></B>()</CODE>
<BR>
返回当前选中的文本内容。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getSelectionEnd()">getSelectionEnd</A></B>()</CODE>
<BR>
获得选中区域的结束位置。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/documents/document/TextRange.html" title="application.workbooks.workbook.documents.document 中的类">TextRange</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getSelectionRange()">getSelectionRange</A></B>()</CODE>
<BR>
返回当前高亮选中的一个文本区域。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getSelectionStart()">getSelectionStart</A></B>()</CODE>
<BR>
获得选中区域的起始位置。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/style/border/ShadingAttribute.html" title="application.workbooks.workbook.style.border 中的类">ShadingAttribute</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getShadingAttribute(long)">getShadingAttribute</A></B>(long offset)</CODE>
<BR>
返回指定位置的文字底纹。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/documents/document/WpShapes.html" title="application.workbooks.workbook.documents.document 中的类">WpShapes</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getShapes()">getShapes</A></B>()</CODE>
<BR>
返回文字处理中的图形对象。</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="../../../../application/workbooks/workbook/documents/Document.html#getStatusValue(int)">getStatusValue</A></B>(int statusType)</CODE>
<BR>
从状态管理器中取出某种状态的值</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/documents/document/Styles.html" title="application.workbooks.workbook.documents.document 中的类">Styles</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getStyles()">getStyles</A></B>()</CODE>
<BR>
返回样式集合。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/Tables.html" title="application.workbooks.workbook 中的类">Tables</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getTables()">getTables</A></B>()</CODE>
<BR>
获得自由表格的管理器.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getTemplatePath()">getTemplatePath</A></B>()</CODE>
<BR>
当前WP应用所使用模板名称,带路径,</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getText()">getText</A></B>()</CODE>
<BR>
返回正文部分的文本。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/style/fill/WaterMarkAttribute.html" title="application.workbooks.workbook.style.fill 中的类">WaterMarkAttribute</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getWatermarkAttribute()">getWatermarkAttribute</A></B>()</CODE>
<BR>
获取背景水印的属性。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/style/fill/WaterMarkAttribute.html" title="application.workbooks.workbook.style.fill 中的类">WaterMarkAttribute</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getWatermarkAttribute(int)">getWatermarkAttribute</A></B>(int sectionIndex)</CODE>
<BR>
获取背景水印的属性。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/documents/document/WordBulletLevel.html" title="application.workbooks.workbook.documents.document 中的类">WordBulletLevel</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getWordBulletLevel(int, int)">getWordBulletLevel</A></B>(int galleries,
int template)</CODE>
<BR>
获取一个新创建的列表对象,可以是项目符号或编号中的一种。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/documents/document/WordCount.html" title="application.workbooks.workbook.documents.document 中的类">WordCount</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#getWordCount(boolean)">getWordCount</A></B>(boolean isCountHN)</CODE>
<BR>
获得字符统计。</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="../../../../application/workbooks/workbook/documents/Document.html#insertBarcode(application.workbooks.workbook.documents.document.barcode.Barcode)">insertBarcode</A></B>(<A HREF="../../../../application/workbooks/workbook/documents/document/barcode/Barcode.html" title="application.workbooks.workbook.documents.document.barcode 中的类">Barcode</A> barcode)</CODE>
<BR>
在当前光标位置插入条形码。</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="../../../../application/workbooks/workbook/documents/Document.html#insertBarcode(long, application.workbooks.workbook.documents.document.barcode.Barcode)">insertBarcode</A></B>(long offset,
<A HREF="../../../../application/workbooks/workbook/documents/document/barcode/Barcode.html" title="application.workbooks.workbook.documents.document.barcode 中的类">Barcode</A> barcode)</CODE>
<BR>
在指定的位置插入条形码。</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="../../../../application/workbooks/workbook/documents/Document.html#insertBreak(long, int)">insertBreak</A></B>(long offset,
int breakType)</CODE>
<BR>
插入分隔符,输入字体属性为默认属性。</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="../../../../application/workbooks/workbook/documents/Document.html#insertBreak(long, int, application.workbooks.workbook.style.font.FontAttribute)">insertBreak</A></B>(long offset,
int breakType,
<A HREF="../../../../application/workbooks/workbook/style/font/FontAttribute.html" title="application.workbooks.workbook.style.font 中的类">FontAttribute</A> fontAttribute)</CODE>
<BR>
插入分隔符。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../application/workbooks/workbook/charts/Chart.html" title="application.workbooks.workbook.charts 中的类">Chart</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#insertChart()">insertChart</A></B>()</CODE>
<BR>
插入图表。</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="../../../../application/workbooks/workbook/documents/Document.html#insertDocument(int, java.lang.String, java.lang.String)">insertDocument</A></B>(int state,
java.lang.String filepath,
java.lang.String docName)</CODE>
<BR>
从指定的永中Office文件或其它文件插入到当前文档中。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> application.workbooks.workbook.documents.document.DocumentField</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../application/workbooks/workbook/documents/Document.html#insertDocumentField(int, long, java.lang.String)">insertDocumentField</A></B>(int position,
long offset,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -