Skip to main content

default_theme_xml

Function default_theme_xml 

Source
pub fn default_theme_xml() -> String
Expand description

返回完整且经过验证的 Office 主题 XML(与 python-pptx 默认输出对齐)。

这是写路径的默认实现,保证 PowerPoint/WPS 能正确打开。 如需根据 Theme 结构体生成自定义 XML,使用 Theme::to_xml