A command tool for inject Custom Properties into word.
Microsoft Word Custom Properties is not easy to edit. Like [https://www.howtogeek.com/217329/how-to-create-custom-properties-in-a-word-document/]. I create this tool that help me edit it faster.
C#
.NET Framework 4.0 or higher
JSON.net
OpenXML
- Compile
- Open Command.
- $ WordHelper.exe -w d:\doc1.docx -p d:\property.json
協助將內容注入 WORD 自訂摘要屬性的命令列工具。
微軟 WORD 的自訂摘要屬性實在不容易用,可以參考 [https://blog.miniasp.com/post/2010/06/08/Microsoft-Office-Word-DocProperty-Field.aspx] ,為協助自己操作,我打造了這個小工具。
- 編譯它
- 進入命令列,並輸入以下指令
- $ WordHelper.exe -w d:\doc1.docx -p d:\property.json
附件在 SampleFile 資料夾中