Skip to content

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): import native chart fallback helpers

hugohe36b8efe9ea525
diff --git a/skills/ppt-master/scripts/svg_to_pptx/native_objects/chart_style.py b/skills/ppt-master/scripts/svg_to_pptx/native_objects/chart_style.py
index 5cf85e9d..f51aaf85 100644
--- a/skills/ppt-master/scripts/svg_to_pptx/native_objects/chart_style.py
+++ b/skills/ppt-master/scripts/svg_to_pptx/native_objects/chart_style.py
@@ -6,7 +6,7 @@ from typing import Any
from xml.etree import ElementTree as ET
from ..drawingml.context import ConvertContext
-from ..drawingml.utils import detect_text_lang, _xml_escape
+from ..drawingml.utils import ctx_h, ctx_w, ctx_x, ctx_y, detect_text_lang, px_to_emu, _xml_escape
from .chart_data import _DEFAULT_CHART_COLORS
from .marker_common import (
_bool_attr,
@@ -21,6 +21,7 @@ from .marker_common import (
_font_size_hpt,
_hex_or_none,
_inferred_chart_background,
+ _maybe_number,
_most_common_color,
_number,
_relative_luminance,
diff --git a/skills/ppt-master/scripts/svg_to_pptx/native_objects/chart_xml.py b/skills/ppt-master/scripts/svg_to_pptx/native_objects/chart_xml.py
index b11cf7b9..06b49dc1 100644
--- a/skills/ppt-master/scripts/svg_to_pptx/native_objects/chart_xml.py
+++ b/skills/ppt-master/scripts/svg_to_pptx/native_objects/chart_xml.py
@@ -6,7 +6,7 @@ from typing import Any
from xml.etree import ElementTree as ET
from ..drawingml.utils import detect_text_lang, px_to_emu, _xml_escape
-from .chart_data import _chart_list, _data_labels_config
+from .chart_data import _DEFAULT_CHART_COLORS, _chart_list, _data_labels_config
from .chart_style import (
_alpha_xml,
_axis_title_xml,