PDF 文字替换软件 PDFReplace

PDF 文字替换软件 PDFReplace 是在 PDF 文本提取软件的基础上开发出来的, PDFReplace 具备替换或删除 PDF 页面中任意的连续的文字,同时能在指定的坐标位置显示你需要的文字,通过指定文字字体和颜色,可以获得丰富的文本表现。

PDFReplace 是通过简单的行命令脚本执行方式来处理文字替换的,命令脚本的几种基本格式如下:

# 为行注释

SOURCE = your.pdf  # 关键字 SOURCE 指示脚本处理的 PDF 源文件,必须是第一个指令。

TARGET = result.pdf # 关键字 TARGET 指示处理完成后目标存储文件,可以缺省,缺省值为(your.rep.pdf)

PAGE = 1 # 关键字 PAGE 指示当前处理第1页

FONT = KaiTi, 12 # 关键字 FONT 指示当前使用12号楷体,一直影响后续的替换命令和文字输出命令

RGB = 222,0,0 # 关键字 RGB 指示当前使用红色字体输出,一直影响后续的替换命令和文字输出命令

mark1 = hello world # mark1为非关键字,指示替换 文档中的 mark为 hello world。

@60,600 = good morning # 符号 @ 指示在坐标(x=60,y=600)的位置上输出 good morning。

mark2 =      # mark2为非关键字,空的替换内容指示删除这一页中的mark2,或可以省略=号

mark3[1] =  hello   # mark3 为非关键字,方括号[n]表示当内容中有不止一处存在mark3时,选择第n个替换

 

对于PDF 页面中需要对关键字进行替换可以在关键字前加上转意字符"/",指示将该关键字当中普通文本处理

/PAGE = hello # 将文本中出现PAGE的地方替换成 hello

 

路径问题:

上面 SOURCE=your.pdf 我们使用的是相对路径, PDFReplace 将会在脚本文件目录下查找该文件,

因此,使用相对路径,最好将脚本文件和源 PDF 放在相同的目录下。

当然我们可以使用绝对路径,

SOURCE = c:/dir/your.pdf

TARGET = c:/dir/result.pdf

PDFReplace 执行完脚本后,将在 TARGET 指定的目录下形成一个新的PDF替换结果文件,如果失败或没有发生替换或输出

将不形成该文件,执行过程中,PDFReplace 的执行界面将会详细的输出执行状态,让用户了解每一个执行过程。大致

的执行界面是这样的:...

 

软件下载

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
pdf修改软件What's New in Foxit PDF Editor 2.1 Foxit PDF Editor 2.1 has introduced some new features and enhancements that are listed below: 1. Shading Object Support Enables users to create or edit a shading object, which has a smooth transition between colors across an area. Foxit PDF Editor offers linear and radial gradients for users to choose. 2. Converting Text of Path Able to convert the selected text object(s) into path(s), which will meet the pre-press requirement. For those computers which do not support or display certain embedded fonts, this new feature helps to overcome that issue. Foxit PDF Editor also offers a menu option for users to convert the entire text in a PDF to path. 3. Adding Shapes in Non-Graphics Editing Mode Provides several simple auto shapes that users can insert into a PDF in the non-graphics editing mode. With this new version, users can easily add a simple shape in the main interface of Foxit PDF Editor without having to enter into the graphics editor. 4. Removing all evaluation marks at once Removes all the evaluation marks on a PDF file that was added by Foxit PDF Editor 2.1 all at once by selecting "Remove Evaluation Marks" under the Help menu for registered users. 5. Alignment Support Automatically places or aligns the selected objects evenly with the Objects Align button on the toolbar. This feature helps to make your structured PDF pages more professional. 6. Image Transparency Support This allows users the ability to set image transparency with alpha channel. By inputting values of between 0% and 100% in Image Alpha text field, the image goes from fully transparent to fully opaque. 7. Checking for Update This option under the Help menu det
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值