打开pdf文件参数

例子:隐藏工具栏http://www.cs.sfu.ca/CourseCentral/433/bfraser/other/2011-student-howtos/XML-in-Qt.pdf#toolbar=0


You can open a PDF document with a command or URL that specifies exactly what to display (a named  
destination or specific page), and how to display it (using such characteristics as a specific view, scrollbars,  
bookmarks, annotations, or highlighting).  
The parameters for URLs are supported by most browsers, and can be used when opening PDF documents  
programmatically.  
Many of these parameters can be passed to the following core API functions (see the Acrobat and PDF  
Library API Reference for details):  
AVDocOpenFromFileWithParamString  
AVDocOpenFromASFileWithParamString  
AVDocOpenFromPDDocWithParamString  
When opening a PDF document from a command shell, you can pass the parameters to the open  
command using the /A switch with the following syntax:  
<Acrobat path> /A "<parameter>=<value>" "<PDF path>"  
For example:  
Acrobat.exe /A "zoom=1000" "C:\example.pdf"  
In Mac OS, you can use the parameters when opening a PDF document with an Apple event.  
Parameters  
The following table describes the parameters. Italics indicate user-specified variables.  
Syntax Description  
nameddest=destination Specifies a named destination in the PDF document.  
page=pagenum Specifies a numbered page in the document, using an integer  
value. The document’s first page has a pagenum value of 1.  
comment=commentID Specifies a comment on a given page in the PDF document. Use  
the page command before this command. For example:  
#page=1&comment=452fde0e-fd22-457c-84aa-  
2cf5bed5a349  
Adobe Acrobat SDK Parameters for Opening PDF Files  
Parameters for Opening PDF Files Parameters 6  
collab=setting Sets the comment repository to be used to supply and store  
comments for the document. This overrides the default comment  
server for the review or the default preference. The setting is of the  
form store_type@location, where valid values for store_type are:  
● DAVFDF (WebDAV)  
● FSFDF (Network folder)  
● DB (ADBC)  
For example:  
#collab=DAVFDF@http://review_server/Collab  
/user1  
For more information on comment repositories, see Acrobat  
Online Collaboration: Setup and Administration.  
zoom=scale  
zoom=scale,left,top  
Sets the zoom and scroll factors, using float or integer values. For  
example, a scale value of 100 indicates a zoom value of 100%.  
Scroll values left and top are in a coordinate system where 0,0  
represents the top left corner of the visible page, regardless of  
document rotation.  
view=Fit  
view=FitH  
view=FitH,top  
view=FitV  
view=FitV,left  
view=FitB  
view=FitBH  
view=FitBH,top  
view=FitBV  
view=FitBV,left  
Set the view of the displayed page, using the keyword values  
defined in the PDF language specification. For more information,  
see the PDF Reference.  
Scroll values left and top are floats or integers in a coordinate  
system where 0,0 represents the top left corner of the visible  
page, regardless of document rotation.  
Use the page command before this command.  
Note: This parameter is not supported on the command line.  
viewrect=left,top,wd,ht Sets the view rectangle using float or integer values in a  
coordinate system where 0,0 represents the top left corner of the  
visible page, regardless of document rotation.  
Use the page command before this command.  
Note: This parameter is not supported on the command line.  
pagemode=bookmarks  
pagemode=thumbs  
pagemode=none (default)  
Displays bookmarks or thumbnails.  
scrollbar=1|0 Turns scrollbars on or off.  
Syntax Description  
Adobe Acrobat SDK Parameters for Opening PDF Files  
Parameters for Opening PDF Files Specifying parameters in a URL 7  
Specifying parameters in a URL  
You can specify multiple parameters in a single URL. Separate each parameter with either an ampersand  
(&) or a pound (#) character. Actions are processed and executed from left to right as they appear in the  
URL.  
Because all specified actions are executed, it is possible that later actions will override the effects of  
previous actions, so it is important to use the correct order. For example, page actions should appear  
before zoom actions.  
Commands are not case sensitive except for the value of a named destination. There can be no spaces in  
the URL.  
search=wordList Opens the Search panel and performs a search for any of the  
words in the specified word list. The first matching word is  
highlighted in the document.  
The words must be enclosed in quotation marks and separated by  
spaces. For example:  
#search="word1 word2"  
You can search only for single words. You cannot search for a  
string of words.  
toolbar=1|0 Turns the toolbar on or off.  
statusbar=1|0 Turns the status bar on or off.  
messages=1|0 Turns the document message bar on or off.  
navpanes=1|0 Turns the navigation panes and tabs on or off.  
highlight=lt,rt,top,btm Highlights a specified rectangle on the displayed page. Use the  
page command before this command.  
The rectangle values are integers in a coordinate system where  
0,0 represents the top left corner of the visible page, regardless of  
document rotation.  
fdf=URL Specifies an FDF file to populate form fields in the PDF file being  
opened. For example:  
#fdf=http://example.org/doc.fdf  
Note: The fdf parameter should be specified last in a URL.  
Syntax Description  
Adobe Acrobat SDK Parameters for Opening PDF Files  
Parameters for Opening PDF Files URL examples 8  
URL examples  
http://example.org/doc.pdf#Chapter6  
http://example.org/doc.pdf#page=3  
http://example.org/doc.pdf#page=3&zoom=200,250,100  
http://example.org/doc.pdf#zoom=50  
http://example.org/doc.pdf#page=72&view=fitH,100  
http://example.org/doc.pdf#pagemode=none  
http://example.org/doc.pdf#pagemode=bookmarks&page=2  
http://example.org/doc.pdf#page=3&pagemode=thumbs  
http://example.org/doc.pdf#collab=DAVFDF@http://review_server/Collab/user1  
http://example.org/doc.pdf#page=1&comment=452fde0e-fd22-457c-84aa-2cf5bed5a349  
http://example.org/doc.pdf#fdf=http://example.org/doc.fdf  
URL limitations  
● Only one digit following a decimal point is retained for float values.  
● Individual parameters, together with their values (separated by & or #), can be no greater then 32  
characters in length.  
● You cannot use the reserved characters =, #, and &. There is no way to escape these special characters.  
● If you turn bookmarks off using a URL parameter when a document had previously been saved with  
bookmarks on, the bookmark scrollbars are displayed at first, and only disappear once Acrobat obtains  
enough streamed information to render the full page.  
### 回答1: 为什么红绿灯会有倒计时显示? 红绿灯倒计时显示是交通管理部门为了提高交通流量和交通安全而采取的措施。这种方法可以让行人和车辆更好地掌握时间,合理安排自己的出行。同时,倒计时的存在也减少了交通拥堵的发生,也有助于减少车辆等待的时间和燃油的浪费。 此外,倒计时信号灯也为盲人以及其他视觉障碍者提供了更多的信息,让他们更好地了解交通信号,避免潜在的危险和风险。倒计时信号灯也有助于减少交通事故的发生,因为当行人和驾驶员知道绿灯剩下的时间或红灯结束的时间,他们可以更好地预判并避免危险行为。 总之,红绿灯倒计时显示对于交通安全和流量的提高、减少碳排放以及方便行人和驾驶员出行都有着积极的作用。 ### 回答2: 如何提高职场软实力? 职场软实力是指那些不能被具体量化的、但对职场发展有极大帮助的能力和素质,如沟通能力、人际交往能力、语言表达能力、领导力等。提高职场软实力可以帮助人在职场中更好地表现自己、获得更好的机会和职业发展。 以下是提高职场软实力的一些方法: 1.积极学习。不断更新自己的知识和技能,持续学习与岗位相关的专业知识和业务技能,提高自己的综合素质。 2.多沟通。与同事、上级、客户等多交流,学会倾听、沟通和表达能力。 3.注重细节。在职场中注重细节,提高自身的表现力,例如注意言谈举止的得体性、工作细节的准确性等。 4.锻炼自己的领导力。在职场中,要不断寻找机会锻炼自己的领导力,发挥自身的影响力,带领他人实现工作目标。 5.开放心态。保持开放的心态,接受他人的意见和建议,增强自身的包容和道德素质。 6.积极面对变化。在职场中,面对各种变化和挑战,要保持积极、乐观的心态,增强自身的适应能力和抗压能力。 总之,提高职场软实力需要持续地学习、锻炼和提升自身的综合素质和能力,以适应职场的不断变化和挑战。同时,保持积极开放的心态,为自己的职业发展打开更广阔的道路。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值