# 【无用软件】「公文准式」，基于公文助手二次开发的支持Word / WPS (JS/VBA) 引擎的排版插件

**URL:** <https://meta.appinn.net/t/topic/95998>\
**Category:** 喵喵喵的新旧闻\
**Tags:** linux, windows, macos\
**Created:** [2026 年11 月 15 日 13:06 UTC](https://meta.appinn.net/t/topic/95998 "2026-11-15T13:06:48Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![CCR](https://meta-edge.appinn.com/user_avatar/meta.appinn.net/ccr/32/68442_2.png) [@CCR](https://meta.appinn.net/u/CCR)\
发布日期： [2026 年11 月 15 日 13:06 UTC](https://meta.appinn.net/t/topic/95998/1 "2026-11-15T13:06:48Z")

</div>

> **[GitHub - Mikachu2333/gw: 公文准式（Word / WPS \[VBA / JS\]）](https://github.com/mikachu2333/gw)**
>
> 公文准式（Word / WPS \[VBA / JS\]）

## 简单介绍

感谢 @xiaokonglong 大佬开发的公文助手 :heart_eyes:，前几年有段时间天天用，开源以后狠狠根据自己的痛点更改。本软件在巨人的肩膀上做了简单的移植和修改，支持WPS的JS版本引擎。且在安装时会自动选择版本：

 ![PixPin_2026-11-15_21-01-24](https://h2cdn.appinn.me/original/3X/9/5/954112bf97f01c441ed7caac084a3f86b5fbdb80.jpeg)

## WPS界面

 ![PixPin_2026-11-15_21-02-37](https://h2cdn.appinn.me/original/3X/9/c/9c595a9b1603027a54af30bbe018c76ef675e8fe.jpeg)

## 其他改动

- 增加了简单的诊断功能：因为是早期版本，部分功能尚不完备，关于按钮下面有个诊断日志，可以将其复制到GitHub issue中供我排查问题。
- 迁移VBA脚本
- 改进VBA脚本的错误处理逻辑，对WPS的VBA做了大量兼容
- WPS版本默认安装JS版本，Word默认安装VBA版本
- 正文按钮现在会自动缩进了

## 其他

1. 感谢DeepSeek V4.1的卓越贡献！
2. 关联：[【无用教程】WPS二次开发文档（含JS版本的Word API等）](https://meta.appinn.net/t/topic/95996)

---

_[View the full topic](https://meta.appinn.net/t/topic/95998)._
