简体   繁体   English

OpenXML标头

[英]OpenXML Headers

I have a docx which I am processing using the OpenXML SDK. 我有一个正在使用OpenXML SDK处理的docx。

The doc.MainDocumentPart.HeaderParts property has 2 items in it, yet when I open the docx as a zip file, it has header1.xml up to header6.xml. doc.MainDocumentPart.HeaderParts属性中包含2个项目,但是当我将docx作为zip文件打开时,它具有header1.xml到header6.xml。 How can I access (and modify) all of these headers programatically? 如何以编程方式访问(和修改)所有这些标头?

Thanks 谢谢

好像有一个标头实际上没有在文档中使用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM