Paper Office
paper-pptxAPI referenceenum.action

PP_ACTION_TYPE

paper-pptx 0.2.0 API reference

Specifies the type of a mouse action (click or hover action).

Alias: PP_ACTION

Example::

from pptx.enum.action import PP_ACTION

assert shape.click_action.action == PP_ACTION.HYPERLINK

MS API name: PpActionType

https://msdn.microsoft.com/EN-US/library/office/ff744895.aspx

Attributes

END_SHOW

attributeEND_SHOW
= (6, 'Slide show ends.')

Slide show ends.

FIRST_SLIDE

attributeFIRST_SLIDE
= (3, 'Returns to the first slide.')

Returns to the first slide.

attributeHYPERLINK
= (7, 'Hyperlink.')

Hyperlink.

LAST_SLIDE

attributeLAST_SLIDE
= (4, 'Moves to the last slide.')

Moves to the last slide.

LAST_SLIDE_VIEWED

attributeLAST_SLIDE_VIEWED
= (5, 'Moves to the last slide viewed.')

Moves to the last slide viewed.

NAMED_SLIDE

attributeNAMED_SLIDE
= (101, 'Moves to slide specified by slide number.')

Moves to slide specified by slide number.

NAMED_SLIDE_SHOW

attributeNAMED_SLIDE_SHOW
= (10, 'Runs the slideshow.')

Runs the slideshow.

NEXT_SLIDE

attributeNEXT_SLIDE
= (1, 'Moves to the next slide.')

Moves to the next slide.

NONE

attributeNONE
= (0, 'No action is performed.')

No action is performed.

OLE_VERB

attributeOLE_VERB
= (11, 'OLE Verb.')

OLE Verb.

OPEN_FILE

attributeOPEN_FILE
= (102, 'Opens the specified file.')

Opens the specified file.

PLAY

attributePLAY
= (12, 'Begins the slideshow.')

Begins the slideshow.

PREVIOUS_SLIDE

attributePREVIOUS_SLIDE
= (2, 'Moves to the previous slide.')

Moves to the previous slide.

RUN_MACRO

attributeRUN_MACRO
= (8, 'Runs a macro.')

Runs a macro.

RUN_PROGRAM

attributeRUN_PROGRAM
= (9, 'Runs a program.')

Runs a program.

On this page