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 WpHyperlinkAttribute

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

public class WpHyperlinkAttribute
extends HyperlinkAttribute

该类定义了在文字处理文档中应用超级链接属性的方法。该类继承了HyperlinkAttribute类。

Method Summary
`void` | `apply()` 应用已经设置的超链接属性。

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`

Method Detail

### apply

    public void apply()

  应用已经设置的超链接属性。

  例子：

       Document doc = Application.getWorkbooks().getActiveDocument();
       Section section = doc.getSection(0);
       BaseText baseText = section.getBaseText();
       WpHyperlinkAttribute hyperlink = baseText.getHyperlink(0,2);
       hyperlink.setHyperlinkType(1);
       hyperlink.setShowText("aa");
       hyperlink.setScreenTip("myAA");
       hyperlink.hyperLinkTopOfDocumnet(doc);
       hyperlink.apply();

Overview | Package | Class | Tree | Index | Help

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

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