我在python中尝试了以下几种方法:
section = self.document.sections[0]
footer = section._sectPr.footer
footer.text = "I am here"我在docx文档中找不到清晰的页脚/页眉方向。是否有工作来弥补这一差距?
发布于 2016-08-12 17:58:23
这方面的工作是:
self.document = Document('')更改为self.document = Document('init.docx')。https://stackoverflow.com/questions/38795791
复制相似问题