python-docx 处理导出word有段前距离段后距离的问题

# 设置与下一段间隔 Pt(0) # paragraph_format.space_before = Pt(0) # paragraph_format.right_indent = Pt(0) rn = p_new.add_run(r_text,r.style) self.copyFont(r, rn) rn.font.name = 'Arial' rn.font.size = Pt(10)  
相关文章
相关标签/搜索