java填充word文档

If contracts are part of your daily workflow, you know how frustrating it is when people change parts of the document or form they shouldn’t. Fortunately, Microsoft Word has a developer tool that lets you protect the text in your document while still allowing people to fill in blanks.

如果合同是您日常工作流程的一部分,那么您会知道当人们更改不应更改的文档或表格的一部分时,合同会令人沮丧。 幸运的是,Microsoft Word有一个开发人员工具,可让您保护文档中的文本,同时仍然允许人们填写空白。

使文档可填充,不可编辑 (Making Your Document Fillable, Not Editable)

Let’s say, for example, that you have a non-disclosure agreement that you want to send out to an employee that will be joining your company. You want to give the receiving individual the ability the fill in the blanks in the document, but you also want to ensure that none of the information in the NDA is altered or changed in any way. It only takes a few steps to achieve this in Word. Here’s how.

举例来说,假设您有一份保密协议要发送给将要加入公司的员工。 您想让接收者有能力填写文档中的空白,但是您也要确保NDA中的任何信息都不会以任何方式被更改或更改。 只需几个步骤即可在Word中实现这一目标。 这是如何做。

First, grab the legal document you want to work with. Microsoft provides a few basic templates, but there are also a lot of websites that provide detailed, comprehensive legal templates online for free, drawn up by actual attorneys. In this example, we’ll be using an NDA that we grabbed from the above link.

首先,获取要使用的法律文件。 Microsoft提供了一些基本模板,但是也有许多网站免费提供由实际律师草拟的在线详细,全面的法律模板。 在此示例中,我们将使用从上面的链接中获取的NDA。

Once you have your document pulled up, it’s time to add some controls and protection to it. First, you need to get into the “Developer” tab. Word doesn’t display this on the ribbon by default, so let’s go ahead and fix that.

提取文档后,就该添加一些控件和保护了。 首先,您需要进入“开发人员”标签。 Word默认情况下不会在功能区上显示此内容,因此让我们继续进行修复。

Click “File.”

点击“文件”。

At the very bottom of the menu, select “Options.”

在菜单的最底部,选择“选项”。

On the left pane of the Options menu, select “Customize Ribbon.”

在“选项”菜单的左窗格上,选择“自定义功能区”。

On the right, tick the “Developer” checkbox, which you’ll find under “Customize the Ribbon,” and then click “OK.”

在右侧,选中“开发人员”复选框,您将在“自定义功能区”下找到该复选框,然后单击“确定”。

Now you’ll notice the Developer tab appear between the View and Help tabs. Go ahead and switch to the “Developer” tab.

现在,您会注意到“开发人员”选项卡出现在“视图”和“帮助”选项卡之间。 继续并切换到“开发人员”标签。

Once there, find the “Controls” group, where you’ll see several content control options for rich or plain text, pictures, combo boxes, drop-down lists, date pickers, checkboxes, or building block controls.

到达那里后,找到“控件”组,您将在其中看到多个内容控件选项,用于纯文本或纯文本,图片,组合框,下拉列表,日期选择器,复选框或构建基块控件。

Let’s put it to practice. On the signature section of our NDA template, we’ll insert a date picker and rich text box for us to fill input the date of our agreement and printed name, respectively.

让我们付诸实践。 在NDA模板的签名部分,我们将插入日期选择器和富文本框,以分别填写协议的日期和打印的名称。

First, bring your cursor to the area where you want to insert a date picker. We’re going to place ours here:

首先,将光标移至要插入日期选择器的区域。 我们将在这里放置我们的:

Next, on the “Developer” tab, select “Date Picker Content Control” (it’s the calendar icon).

接下来,在“开发人员”选项卡上,选择“日期选择器内容控件”(这是日历图标)。

Now you’ll see a box appear. Click the arrow and choose a date from the calendar that pops up.

现在,您会看到一个框。 单击箭头,然后从弹出的日历中选择一个日期。

Next, let’s remove the lines next to “By:” and replace them with a rich text box. Once the lines are deleted, place your insertion point where it needs to go:

接下来,让我们删除“ By:”旁边的行,并用富文本框替换它们。 删除行后,将插入点放置在需要放置的位置:

Back at the “Developer” tab, click the “Rich Text Content Control” button.

返回“开发人员”选项卡,单击“富文本内容控件”按钮。

Your text box will now appear. Repeat the steps for the next line where a name should go, and you’ll have something that looks like this:

现在将出现您的文本框。 对下一个应重复输入名称的行重复上述步骤,您将看到如下所示的内容:

As you can see, you now have fillable sections for text and a date.

如您所见,您现在具有文本和日期的可填充部分。

Using this feature is particularly useful for forms that would be sent out often and have several sections that would need to be filled in by the receiving party. Take the first paragraph of our NDA, for example:

使用此功能对于经常发送的表单以及接收方需要填写的多个部分特别有用。 以我们的NDA的第一段为例:

That one paragraph alone has seven parts that need to be filled out. It makes sense to turn it into a fillable form.

仅这一段就有七个部分需要填写。 将其转换为可填充形式很有意义。

Moving forward, an NDA is not a document that would often have its content changed. Similarly, when sending out a contract to be signed, you want to make sure that none of the content was altered then sent back to you without your knowledge. Restricting editing rights for the receiving party is a great way to protect the integrity of the document, as well as yourself.

展望未来,NDA并不是经常更改其内容的文档。 同样,在发送要签署的合同时,您要确保所有内容均未更改,然后在您不知情的情况下发回给您。 限制接收方的编辑权限是保护文档以及您自己的完整性的好方法。

To make a document un-editable, first, select all the text in the document by pressing Ctrl+A. Once all of the text is highlighted, click “Restrict Editing” in the “Protect” group on the “Developer” tab.

要使文档不可编辑,首先,通过按Ctrl + A选择文档中的所有文本。 突出显示所有文本后,单击“开发人员”选项卡上“保护”组中的“限制编辑”。

In the “Restrict Editing” pane that appears on the right, select the option under the “Editing Restrictions” section.

在右侧显示的“限制编辑”窗格中,选择“编辑限制”部分下的选项。

Next, in the same section, click the arrow to make the drop-down menu appear and select “Filling in forms.”

接下来,在同一部分中,单击箭头以显示下拉菜单,然后选择“填写表格”。

Finally, select “Yes, Start Enforcing Protection.”

最后,选择“是,开始执行保护”。

To give your document an added layer of protection, you’ll be prompted to create a password. This is completely optional. If you decide to do so, enter a password and then click “OK.” Otherwise, just click Cancel.

为了给您的文档增加一层保护,系统将提示您创建密码。 这是完全可选的。 如果您决定这样做,请输入密码,然后单击“确定”。 否则,只需单击取消。

That’s it. Now you have a fillable document that is protected from unintentional (or intentional) editing. The example we used here is just one of many use cases where this feature would come in handy. Take advantage of this feature next time you have a questionnaire or legal form you’d like to send out!

而已。 现在,您有了一个可填充文档,该文档可以防止无意(或有意)编辑。 我们在此使用的示例只是该功能派上用场的众多用例之一。 下次您要发送问卷或法律表格时,请利用此功能!

翻译自: https://www.howtogeek.com/398308/how-to-make-word-documents-fillable-but-not-editable/

java填充word文档

java填充word文档_如何使Word文档可填充但不可编辑相关推荐

  1. 接收word里面的修订,使word显示时不会出现修订的痕迹

    using Microsoft.Office.Interop.Word; using Microsoft.Office.Core; using System.Diagnostics; /// < ...

  2. 扫描件转化为word文档_如何将旧文档转换为Word 2013

    扫描件转化为word文档 Have you recently upgraded to Word 2013? Documents created in earlier versions of Word ...

  3. mysql导出表结构word文档_如何将Word文档导出为长图片格式

    如何对word文档转化成潮图片格式呢?给大家分享一下,将word文档转化成图片具体方法,对大家能有所帮助. 方法/步骤 1 首先,如果想将word文档转化成图片格式文档,我们可以直接用word程序来实 ...

  4. word里公式后面标号怎么对齐_如何使Word中公式与文字对齐

    我们在写论文过程中,在Word文档里输入MathType写的公式,发现公式与文字不能很好得对齐问题,上下有偏差,很丑,让人很不爽:还有很多人发现使用MathType编辑的公式直接粘贴到Word里面,与 ...

  5. java非主流火星文输入法_我爱火星文_火星文输入法

    火星文输入法是一款火星文即时转换软件,包含火星文转换器和繁体字转换器,支持非主流火星文转换,繁体字转换,菊花文,QQ闪字,在线转换兼容所有中文输入法,是新新人类QQ聊天的必备工具. 火星文输入法,是2 ...

  6. c# word 增加段落_常用的word快捷键命令大全 办公必须掌握的word技能→MAIGOO知识...

    Word最常用的通用快捷键 1.基础功能快捷键 Ctrl+B:加粗 Ctrl+I:斜体 Ctrl+U:为字符添加下划线 Ctrl+Shift+<:缩小字号 Ctrl+Shift+>:增大字 ...

  7. java word 颜色设置_如何为Word文档在Java中的背景颜色

    展开全部 用第三方吧,比较方便,参考下Free Spire.Doc for Java的方法,这个是免费版,直接用可以了.62616964757a686964616fe58685e5aeb9313334 ...

  8. doxygen如何生成JAVA文档_有用Doxygen生成文档的吗?发一篇Doxygen的使用文档给大家,从网上搜来的。...

    第二章:Documenting the code 特殊的注释 一种特殊的注释是带有一些额外标记的C/C++注释块,这样doxygen就知道需要将其加入到文档中了. 对于每个代码块都有两种注释,这两种注 ...

  9. java农行接口通讯代码_农行TrustPayClient-Java接口文档(参考)

    [实例简介] 农行TrustPayClient-Java接口文档,V3.1.3,包括接口使用说明.自动化配置模式.接口demo都有 [实例截图] [核心代码] 农行TrustPayClient-Jav ...

最新文章

  1. iOS抓取日志方式(2)
  2. 派生类的拷贝构造【C++继承】
  3. IDEA引入外部jar包的方法
  4. Unabe to login, status: 526
  5. C提高_day03_作业第三题
  6. 详细描述一下 Elasticsearch 更新和删除文档的过程。
  7. 多学一点(五)——在Linux下安装配置Apache
  8. 22端口限制 git_正在搭 git 服务, iptables 允许 22 端口,然而策略并没有生效
  9. Tableau Desktop【包含各个版本】
  10. PS软件的一些基本快捷键
  11. 软件公司中的“黑社会
  12. 计算机网络第一章笔记呕心沥血之作 值得收藏
  13. 基于模板的文字识别结果结构化处理技术 | 公开课速记
  14. php的AES-128 EBC加密、解密
  15. SylixOS 经得起检验的国产操作系统 (四)
  16. Spring Boot使用spring-data-jpa配置Mysql多数据源
  17. 指标体系:指标的设计方法
  18. 计算机房需要排风吗,柴油发电机组机房设计进排风和背压计算方式
  19. VBA过程调用和参数传递
  20. 腾讯QQ登录服务器域名IP地址端口列表

热门文章

  1. java clh_Java多线程编程CLH锁详解
  2. CPU/显卡GPU/CUDA/内存/缓存/SDK/API/DLL【转载整理】
  3. 堆外内存(off-heap),堆内存(on-heap)
  4. 微软推高性能β2 Windows 进军超级计算领域
  5. 沧小海基于xilinx srio核的学习笔记之第五章 Rapidio协议详述
  6. 使用IDEA写程序时,运行忽然报错,提示:在类*** 中找不到 main 方法, 请将 main 方法定义为: public static void main(String[] args)
  7. 职位名称: Java技术经理
  8. 用坚果云同步mysql_使用技巧 | 什么?坚果云还可以同步这些App?
  9. html页面内检索,如何用 javascript 实现html页面的关键字搜索?
  10. Win7安装win10,无需全盘重新分区,原MBR格式转GPT格式,创建EFI和MSR分区,安装win10