Overview | Package | Class | Tree | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## application.workbooks.workbook.style.hyperlink
Class PgHyperlinkAttribute

    java.lang.Object
      application.workbooks.workbook.style.hyperlink.HyperlinkAttribute
          application.workbooks.workbook.style.hyperlink.PgHyperlinkAttribute

public class PgHyperlinkAttribute
extends HyperlinkAttribute

该类封装了简报制作中的超链接属性。

Constructor Summary
`PgHyperlinkAttribute()` 创建简报制作中的超链接属性。

Method Summary
`int` | `getLinkToAction()` 获取超链接到的幻灯片位置。
`void` | `linkToAction(int actionIndex)` 设置要超链接到的幻灯片位置。

Methods inherited from class application.workbooks.workbook.style.hyperlink.HyperlinkAttribute
`creatNewDocument, getShowText, hyperLinkBookMark, hyperLinkCellReference, hyperLinkDefinedName, hyperLinkHeading, hyperLinkSpreadsheet, hyperlinkToCustomShowList, hyperlinkToCustomShowList, hyperLinkTopOfDocumnet, hyperlinkToSlide, hyperlinkToSlide, setEmailAddress, setEmailSubject, setHyperlinkFileName, setHyperlinkType, setScreenTip, setShowText`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PgHyperlinkAttribute

    public PgHyperlinkAttribute()

  创建简报制作中的超链接属性。

  例子:

       application.workbooks.workbook.style.hyperlink.PgHyperlinkAttribute   PHA=
       new application.workbooks.workbook.style.hyperlink.PgHyperlinkAttribute();

Method Detail

### getLinkToAction

    public int getLinkToAction()

  获取超链接到的幻灯片位置。

  Returns:
    超链接到的幻灯片位置，其常量和相应的值如下：

    ActionSettingConstants.ACTIONOPTION_NEXTSLIDE = 0（下一张幻灯片）；

    ActionSettingConstants.ACTIONOPTION_PREVIEWSLIDE = 1（上一张幻灯片）；

    ActionSettingConstants.ACTIONOPTION_FIRSTSLIDE = 2（第一张幻灯片）；

    ActionSettingConstants.ACTIONOPTION_LASTSLIDE = 3（最后一张幻灯片）；

    ActionSettingConstants.ACTIONOPTION_ENDSHOW = 4（停止放映）

    例子:

         application.workbooks.workbook.style.hyperlink.PgHyperlinkAttribute   PHA=
         new application.workbooks.workbook.style.hyperlink.PgHyperlinkAttribute();
         PHA.linkToAction(3);
         System.out.println(PHA.getLinkToAction());

  See Also:
    `linkToAction(int actionIndex)`, `application.constants.ActionSettingsConstants`

### linkToAction

    public void linkToAction(int actionIndex)

  设置要超链接到的幻灯片位置。

  Parameters:
    `actionIndex` - 要超链接到的幻灯片位置，其常量和相应的值如下：

    ActionSettingConstants.ACTIONOPTION_NEXTSLIDE = 0（下一张幻灯片）；

    ActionSettingConstants.ACTIONOPTION_PREVIEWSLIDE = 1（上一张幻灯片）；

    ActionSettingConstants.ACTIONOPTION_FIRSTSLIDE = 2（第一张幻灯片）；

    ActionSettingConstants.ACTIONOPTION_LASTSLIDE = 3（最后一张幻灯片）；

    ActionSettingConstants.ACTIONOPTION_ENDSHOW = 4（停止放映）

    例子:

         application.workbooks.workbook.style.hyperlink.PgHyperlinkAttribute   PHA=
         new application.workbooks.workbook.style.hyperlink.PgHyperlinkAttribute();
         PHA.linkToAction(3);
         System.out.println(PHA.getLinkToAction());

  See Also:
    `getLinkToAction()`, `ActionSettingConstants`

Overview | Package | Class | Tree | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

版权所有 2001-2004 无锡永中科技有限公司