然後在添加段落的時候,就可以應用該屬性了。 from docx.shared import RGBColor from docx.enum.style import WD_STYLE_TYPE style = document.styles.add_style(' ...
確定! 回上一頁