feature: add full shadow effect API to ShadowFormat by MHoroszowski · Pull Request #1121 · scanny/python-pptx
and others added 12 commits
March 22, 2026 09:24Add the ability to get and set whether a slide is hidden from the presentation. Maps to the `show` attribute on the `<p:sld>` element, where show="0" means the slide is hidden. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add begin/end arrowhead properties to LineFormat for controlling arrow styles on lines and connectors. Introduces MSO_LINE_END_TYPE and MSO_LINE_END_SIZE enums and models CT_LineEndProperties for the a:headEnd and a:tailEnd XML elements. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add line cap style (flat, round, square) and join style (round, bevel, miter) properties to LineFormat. Introduces MSO_LINE_CAP_STYLE and MSO_LINE_JOIN_STYLE enums and models the cap attribute and EG_LineJoinProperties choice group on CT_LineProperties. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add _Cell.borders property providing access to per-edge border line formatting on table cells. Each edge (left, right, top, bottom) returns a LineFormat object for controlling border color, width, and dash style. Uses the a:lnL, a:lnR, a:lnT, a:lnB child elements of a:tcPr which are CT_LineProperties elements per the OOXML spec. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add bullet_type, bullet_char, bullet_auto_number_type, and bullet_font properties to _Paragraph for programmatic bullet/numbered list creation. Introduces PP_BULLET_TYPE and PP_AUTO_NUMBER_STYLE enums and models the bullet choice group (a:buNone, a:buChar, a:buAutoNum) and a:buFont element on CT_TextParagraphProperties. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Extend ShadowFormat with visible, angle, blur_radius, distance, color, and rotate_with_shape properties for controlling outer shadow effects. Introduces CT_EffectList and CT_OuterShadowEffect element classes to model the a:effectLst and a:outerShdw XML elements with their attributes (blurRad, dist, dir, rotWithShape) and color choice group. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters