一键标注全文拼音 - 拼音指南大升级

导读:最新版本(14036)wps的拼音指南功能进行了史诗级的升级,不仅可以一键标注全文拼音,而且还能自定义拼音生成的位置,话不多说,随一闪流溢走进今天的技能分享。

  • 一键标注全文拼音

  • 自定义拼音字体

  • 如何删除拼音

  • 只保留拼音,不保留文字

  • 拼音置于文字的右侧

  • 快速切换拼音和文字的显示


第一章、一键标注全文拼音

我们以上面这篇文档为例,如果我们想给全文标注拼音,那么我们:


第一步:点击拼音指南

第二步:点击对全文注音

第三步:点击开始注音

第四步:等待进度条走完(1000字注音仅需5秒)

现在我们就给全文标注好了拼音


第二章、自定义拼音字体

如果我们想修改当前拼音的字号和字体,那么我们首先要全选全文(ctrl+a),然后点击拼音指南,修改拼音字体的参数,最后点击“开始注音”,等进度条走完,拼音字体和字号就已经修改完成。


第三章、如何删除拼音

如果我们想删除某部分或者全文的拼音

第一步:选中要删除拼音的部分

如果是全文取消,那么要全选

第二步:点击拼音指南,点击“删除全部拼音”,最后点击“开始注音”


第四章、只保留拼音,不保留文字

如果我们只想保留拼音,不要文字部分,那么我们在拼音指南中,勾选“替换汉字”,这样我们就能去除文字,只保留拼音部分了


第五章、拼音置于文字的右侧

拼音置于右侧也是同样的操作,我们在这里勾选“单个拼音右侧”,然后点击开始注音就能得到想要的结果(相当实用)


第六章、介绍完基础功能

我们在这些功能的基础上做一个升级,做一键切换文字和拼音显示的宏按钮,便于以后我们的操作,效果如下图所示:

第一步:插入3个命令按钮

第二步:给按钮进行重命名(属性-caption)

第三步:右键按钮-查看代码

进入代码区,然后分别给三个按钮设置代码如下图所示(代码会放到文档最后):

第四步:然后通过点击按钮,就可以切换全文的拼音显示了


这就是今天一闪流溢分享的wps知识点

关注一闪流溢,每天get新技能!


js宏代码如下:

function CommandButton3_Click()

{

Selection.WholeStory();

Selection.Font.ColorIndex=wdBlack;

var 一闪流溢 = ActiveDocument.Content.Find;

一闪流溢.Replacement.Font.ColorIndex = wdWhite;

一闪流溢.Execute("[一-龟]", undefined, undefined ,true, undefined, undefined,true, undefined, undefined, undefined, wdReplaceAll, undefined, undefined, undefined, undefined);

一闪流溢.Replacement.Font.ColorIndex = wdBlack;

一闪流溢.Execute("[\\(\\)]", undefined, undefined ,true, undefined, undefined,true, undefined, undefined, undefined, wdReplaceAll, undefined, undefined, undefined, undefined);

}

function CommandButton1_Click()

{

Selection.WholeStory();

Selection.Font.ColorIndex=wdBlack;

var 一闪流溢 = ActiveDocument.Content.Find;

一闪流溢.Replacement.Font.ColorIndex = wdWhite;

一闪流溢.Execute("\\(*\\)", undefined, undefined ,true, undefined, undefined,true, undefined, undefined, undefined, wdReplaceAll, undefined, undefined, undefined, undefined);

一闪流溢.Replacement.Font.ColorIndex = wdBlack;

一闪流溢.Execute("[\\(\\)]", undefined, undefined ,true, undefined, undefined,true, undefined, undefined, undefined, wdReplaceAll, undefined, undefined, undefined, undefined);

}

function CommandButton2_Click()

{Selection.WholeStory();

Selection.Font.ColorIndex=wdBlack;

}

河北省
浏览 8288
收藏
8
分享
8 +1
4
+1
全部评论 4
 
VIP
注音之后,文字不能改变字体字号
· 贵州省
回复
 
刘彦宏
好棒!
· 湖北省
回复
 
WPS学姐
wow可以哇
· 广东省
回复
 
kia
大赛交流群昨天才有人问过这个哈哈
· 广东省
回复