# 下载宏文件 - https://github.com/OceanicSix/Office_macro/releases/download/1.0/Reorder_heading.bas - https://github.com/OceanicSix/Office_macro/releases/download/1.0/update_vulnlist_table.bas - https://github.com/OceanicSix/Office_macro/releases/download/1.0/change_Fontname_for_All.bas - https://github.com/OceanicSix/Office_macro/releases/download/1.0/Change_FontName_by_Style.bas - https://github.com/OceanicSix/Office_macro/releases/download/1.0/Change_FontSize_by_Style.bas - # 导入宏文件 1. 打开word后按 `Alt + F11`,进入宏开发界面  2. 右击`Normal` 下的`Modules`文件夹,选择`Import File`( 在此处导入宏文件)  3. 导入后可在`Modules`文件夹下看到`module`文件  到此,宏文件已成功导入 # 使用宏文件 在Word中选中 `view` > `Macros` > 然后选择要使用的宏 > `Run`  # 宏文件功能介绍 ## Reorder_heading 当标题数字乱序时,可使用该宏对标题重新排序   1. 对`heading style`使用默认内容  2. 然后选择要修改的标题编号 >如要重新对2.1.1-2.1.10排序,输入2.1.1 >如要重新对3.1.1-3.1.10排序,输入3.1.1  3. 修改成功后会有提示   ## update_vulnlist_table ``` 使用限制: 只能用于漏洞标题格式为 "x.x.x【高危】API服务器xxxx"; 无法在标题格式为 "2.1.1 【已修复】【高危】APP服务器xxxx" 中使用 添加字体格式默认为: Noto Sans S Chinese Bold ,五号(10.5) ``` 读取`漏洞详情`中的标题, 对漏洞列表中的内容进行更新   ` 1. 输入`漏洞详情`的大标题  2. 更新成功会有提示   ## change_Fontname_for_All 修改全部字体的类型  选择新的字体  修改成功会有提示  ## change_FontName_by_Style 根据字体的`Style` 来调整字体类型 ``` 部分英文字体由于无中文字体类型,可能会调整失败 ```   1. 选择字体的`Style`  2. 选择字体的类型  3. 调整成功会有提示  ## Change_FontSize_by_Style 根据字体的`Style` 来调整字体大小  使用方法同 [change_FontName_by_Style](#change_FontName_by_Style)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up