📄 pgshapes.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0) on Fri Feb 29 09:23:22 CST 2008 -->
<META http-equiv="Content-Type" content="text/html; charset=GB2312">
<TITLE>
PgShapes (永中集成Office二次开发API文档)
</TITLE>
<META NAME="date" CONTENT="2008-02-29">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PgShapes (永中集成Office二次开发API文档)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="跳过导航链接"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_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">
上一个类
下一个类</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?application/workbooks/workbook/presentations/presentation/slide/PgShapes.html" target="_top"><B>框架</B></A>
<A HREF="PgShapes.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="#method_summary">方法</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
详细信息: 字段 | 构造方法 | <A HREF="#method_detail">方法</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
application.workbooks.workbook.presentations.presentation.slide</FONT>
<BR>
类 PgShapes</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../../resources/inherit.gif" ALT="继承者 "><A HREF="../../../../../../application/workbooks/workbook/Shapes.html" title="application.workbooks.workbook 中的类">application.workbooks.workbook.Shapes</A>
<IMG SRC="../../../../../../resources/inherit.gif" ALT="继承者 "><B>application.workbooks.workbook.presentations.presentation.slide.PgShapes</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>PgShapes</B><DT>extends <A HREF="../../../../../../application/workbooks/workbook/Shapes.html" title="application.workbooks.workbook 中的类">Shapes</A></DL>
</PRE>
<P>
该类定义了添加,获取,设置简报制作中图形对象的方法。 <p> 该类继承了Shapes类,可以通过Slide类中的getShapes()方法得到。 <p>
<P>
<P>
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>方法摘要</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../../application/workbooks/workbook/shapes/Shape.html" title="application.workbooks.workbook.shapes 中的类">Shape</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../application/workbooks/workbook/presentations/presentation/slide/PgShapes.html#addMediaObject(java.lang.String, int)">addMediaObject</A></B>(java.lang.String fileName,
int type)</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/presentations/presentation/slide/pgshapes/PgShape.html" title="application.workbooks.workbook.presentations.presentation.slide.pgshapes 中的类">PgShape</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../application/workbooks/workbook/presentations/presentation/slide/PgShapes.html#getAllShapes()">getAllShapes</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/presentations/presentation/slide/pgshapes/PgShape.html" title="application.workbooks.workbook.presentations.presentation.slide.pgshapes 中的类">PgShape</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../application/workbooks/workbook/presentations/presentation/slide/PgShapes.html#getPlaceHolder(int)">getPlaceHolder</A></B>(int index)</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/presentations/presentation/slide/pgshapes/PgShapeRange.html" title="application.workbooks.workbook.presentations.presentation.slide.pgshapes 中的类">PgShapeRange</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../application/workbooks/workbook/presentations/presentation/slide/PgShapes.html#getRange()">getRange</A></B>()</CODE>
<BR>
获得被选中的自选图形,文本框或艺术字(ShapeRange)。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../../application/workbooks/workbook/presentations/presentation/slide/pgshapes/PgShape.html" title="application.workbooks.workbook.presentations.presentation.slide.pgshapes 中的类">PgShape</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../application/workbooks/workbook/presentations/presentation/slide/PgShapes.html#getShape(java.lang.String)">getShape</A></B>(java.lang.String shapeName)</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/presentations/presentation/slide/pgshapes/PgShape.html" title="application.workbooks.workbook.presentations.presentation.slide.pgshapes 中的类">PgShape</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../application/workbooks/workbook/presentations/presentation/slide/PgShapes.html#getShapes(java.lang.String)">getShapes</A></B>(java.lang.String name)</CODE>
<BR>
根据名称返回自选图形数组。</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_application.workbooks.workbook.Shapes"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>从类 application.workbooks.workbook.<A HREF="../../../../../../application/workbooks/workbook/Shapes.html" title="application.workbooks.workbook 中的类">Shapes</A> 继承的方法</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../application/workbooks/workbook/Shapes.html#addConnector(int, double, double, double, double)">addConnector</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#addDataObject(application.doors.DataObject, double, double, double, double)">addDataObject</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#addLine(int, double, double, double, double)">addLine</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#addPicture(java.lang.String)">addPicture</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#addShape(int, double, double, double, double)">addShape</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#addTextBox(int, double, double, double, double)">addTextBox</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#addWordArt(int, java.lang.String, java.lang.String, int, int, double, double, double, double)">addWordArt</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#insertFraction()">insertFraction</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#isLineDrawing()">isLineDrawing</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#isSelectAll()">isSelectAll</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#selectAll()">selectAll</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#selectRange(java.lang.String[])">selectRange</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#size()">size</A>, <A HREF="../../../../../../application/workbooks/workbook/Shapes.html#unSelect()">unSelect</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>从类 java.lang.Object 继承的方法</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>方法详细信息</B></FONT></TH>
</TR>
</TABLE>
<A NAME="addMediaObject(java.lang.String, int)"><!-- --></A><H3>
addMediaObject</H3>
<PRE>
public <A HREF="../../../../../../application/workbooks/workbook/shapes/Shape.html" title="application.workbooks.workbook.shapes 中的类">Shape</A> <B>addMediaObject</B>(java.lang.String fileName,
int type)</PRE>
<DL>
<DD>添加一个多媒体文件。
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>fileName</CODE> - 多媒体文件路径<DD><CODE>type</CODE> - 幻灯片放映时声音的播放方式: <pre> ShapeConstants.AUTO_MEDIA -- 表示幻灯片放映时多媒体自动播放(SWF格式的多媒体目前没有自动播放功能) ShapeConstants.CLICK_MEDIA -- 表示幻灯片放映时鼠标单击多媒体播放 </pre>
<DT><B>返回:</B><DD>多媒体对象 <p> <b>例子:</b>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -