📜  python docx 标题 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:29.641000             🧑  作者: Mango

代码示例1
# 获取段落样式
paragraph_format = style.paragraph_format
# 首行缩进0.74厘米,即2个字符
paragraph_format.first_line_indent = Cm(0.74)