Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
场景是给我一个word文档,我需要做一些对齐,比如如果它以Caps开头,如果不是单个空格,则在句号后给出双空格。类似的东西可以用脚本完成而不是做大量的手工工作吗?如果是,请帮忙。谢谢。
可以使用 Apache POI。它是用于 MS 文档的 java API。还有 Apache POI - HWPF - 它是处理 MSWord 文件的 java API