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.presentations.presentation.master
Class SlideMaster

    java.lang.Object
      application.workbooks.workbook.presentations.presentation.master.AbstractMaster
          application.workbooks.workbook.presentations.presentation.master.SlideMaster

public class SlideMaster
extends AbstractMaster

该类定义了给幻灯片母版添加占位符的方法。

Method Summary
`void` | `addPlaceholder(int index)` 为幻灯片母版加占位符。

Methods inherited from class application.workbooks.workbook.presentations.presentation.master.AbstractMaster
`getBackground, getShapes, setColorScheme, setColorScheme`

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

Method Detail

### addPlaceholder

    public void addPlaceholder(int index)

  为幻灯片母版加占位符。

  Specified by:
    `addPlaceholder` in class `AbstractMaster`
  Parameters:
    `index` - 占位符索引，整数型值,其常量取值如下：

         SLIDEMASTER_PLACEHOLDER_TITLE = 0		( 幻灯片母版的标题占位符 )
         SLIDEMASTER_PLACEHOLDER_TEXT = 1		( 幻灯片母版的正文占位符 )
         SLIDEMASTER_PLACEHOLDER_DATE = 2		( 幻灯片母版的日期占位符 )
         SLIDEMASTER_PLACEHOLDER_SLIDENUMBER = 3		( 幻灯片母版的幻灯片张数占位符 )
         SLIDEMASTER_PLACEHOLDER_FOOTER = 4		( 幻灯片母版的页脚占位符 )

        例子:

         Presentations.getActivePresentation().getSlideMaster().addPlaceholder(MasterConstants.SLIDEMASTER_PLACEHOLDER_TEXT);

  See Also:
    `MasterConstants`

Overview | Package | Class | Tree | Index | Help

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

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