import com.aspose.Words.*;
public class RemoveHeaderFooter {
public static void main(String[] args) throws Exception {
Document doc = new Document("input.doc");
for (Section section : doc.getSection…...Word文件,如何去掉页眉页脚,同时保持内容排版不变 中文技术支持 ZhonghaoSun December 8, 2025...10:36am 1 import com.aspose.words.*; public class RemoveHeaderFooter...