Script for changing fonts in a Word document

前端 未结 3 1706
粉色の甜心
粉色の甜心 2021-01-24 10:44

I have a Word 2007 file and I want to change all usage of the Courier New font into a Lucida Console font. I need a script that find all words formatted in that font and change

3条回答
  •  余生分开走
    2021-01-24 11:35

    Perhaps you can use OpenXML SDK 2.0? You should be able to change the style (which is what contains the font information, I believe).

提交回复
热议问题