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)  
相關文章
相關標籤/搜索