aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/pptx/enum/action.py
diff options
context:
space:
mode:
authorS. Solomon Darnell2025-03-28 21:52:21 -0500
committerS. Solomon Darnell2025-03-28 21:52:21 -0500
commit4a52a71956a8d46fcb7294ac71734504bb09bcc2 (patch)
treeee3dc5af3b6313e921cd920906356f5d4febc4ed /.venv/lib/python3.12/site-packages/pptx/enum/action.py
parentcc961e04ba734dd72309fb548a2f97d67d578813 (diff)
downloadgn-ai-master.tar.gz
two version of R2R are hereHEADmaster
Diffstat (limited to '.venv/lib/python3.12/site-packages/pptx/enum/action.py')
-rw-r--r--.venv/lib/python3.12/site-packages/pptx/enum/action.py71
1 files changed, 71 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/pptx/enum/action.py b/.venv/lib/python3.12/site-packages/pptx/enum/action.py
new file mode 100644
index 00000000..bc447226
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/pptx/enum/action.py
@@ -0,0 +1,71 @@
+"""Enumerations that describe click-action settings."""
+
+from __future__ import annotations
+
+from pptx.enum.base import BaseEnum
+
+
+class PP_ACTION_TYPE(BaseEnum):
+ """
+ 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
+ """
+
+ END_SHOW = (6, "Slide show ends.")
+ """Slide show ends."""
+
+ FIRST_SLIDE = (3, "Returns to the first slide.")
+ """Returns to the first slide."""
+
+ HYPERLINK = (7, "Hyperlink.")
+ """Hyperlink."""
+
+ LAST_SLIDE = (4, "Moves to the last slide.")
+ """Moves to the last slide."""
+
+ LAST_SLIDE_VIEWED = (5, "Moves to the last slide viewed.")
+ """Moves to the last slide viewed."""
+
+ NAMED_SLIDE = (101, "Moves to slide specified by slide number.")
+ """Moves to slide specified by slide number."""
+
+ NAMED_SLIDE_SHOW = (10, "Runs the slideshow.")
+ """Runs the slideshow."""
+
+ NEXT_SLIDE = (1, "Moves to the next slide.")
+ """Moves to the next slide."""
+
+ NONE = (0, "No action is performed.")
+ """No action is performed."""
+
+ OPEN_FILE = (102, "Opens the specified file.")
+ """Opens the specified file."""
+
+ OLE_VERB = (11, "OLE Verb.")
+ """OLE Verb."""
+
+ PLAY = (12, "Begins the slideshow.")
+ """Begins the slideshow."""
+
+ PREVIOUS_SLIDE = (2, "Moves to the previous slide.")
+ """Moves to the previous slide."""
+
+ RUN_MACRO = (8, "Runs a macro.")
+ """Runs a macro."""
+
+ RUN_PROGRAM = (9, "Runs a program.")
+ """Runs a program."""
+
+
+PP_ACTION = PP_ACTION_TYPE