AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
fix(native_objects): keep negative bar/column fill by disabling invertIfNegative
hugohe33eb3fe1d530e
diff --git a/skills/ppt-master/references/shared-standards.md b/skills/ppt-master/references/shared-standards.mdindex bc54f8e0..8714ebd6 100644--- a/skills/ppt-master/references/shared-standards.md+++ b/skills/ppt-master/references/shared-standards.md@@ -789,7 +789,9 @@ axis/grid colors. Override any of them explicitly under `style` with`grid_color`; use `"none"` for transparent chart or plot area fill. Colorvalues may be `#RRGGBB`, `#RGB`, `rgb(...)` / `rgba(...)`, or common CSS namessuch as `white`, `black`, and `gray`; the exporter normalizes them to 6-digit-OOXML RGB.+OOXML RGB. Bar and column series also disable PowerPoint's negative-value+inversion so negative bars keep the same series fill instead of turning into+white/theme fill.**PowerPoint chartEx schema**: `treemap`, `sunburst`, `histogram`, `pareto`,`boxWhisker`, `waterfall`, and `funnel` use Office 2016+ chartEx parts. Usediff --git a/skills/ppt-master/scripts/svg_to_pptx/native_objects.py b/skills/ppt-master/scripts/svg_to_pptx/native_objects.pyindex da7e816c..06b5fc91 100644--- a/skills/ppt-master/scripts/svg_to_pptx/native_objects.py+++ b/skills/ppt-master/scripts/svg_to_pptx/native_objects.py@@ -2025,6 +2025,7 @@ def _series_xml(if radar_style == "filled":color_xml = _series_color_xml(_chart_color(colors, index), line=False)marker_xml = _marker_xml(radar_marker_style)+ invert_xml = '<c:invertIfNegative val="0"/>' if chart_type in {"bar", "column"} else ""parts.append("<c:ser>"f'<c:idx val="{index}"/><c:order val="{index}"/>'@@ -2032,7 +2033,7 @@ def _series_xml(f"<c:f>Sheet1!${_excel_col(column_index)}$1</c:f>"f"{_string_cache([str(item['name'])])}""</c:strRef></c:tx>"- f"{color_xml}{marker_xml}{point_colors_xml}"+ f"{color_xml}{invert_xml}{marker_xml}{point_colors_xml}""<c:cat><c:strRef>"f"<c:f>Sheet1!$A$2:$A${len(categories) + 1}</c:f>"f"{_string_cache(categories)}"