⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xpdf.hlp

📁 这是一个做pdf阅读器的源代码文件,是大家学习阅读器资料的很好参考
💻 HLP
📖 第 1 页 / 共 2 页
字号:
2 WEB_BROWSERS       If  you  want  to  run xpdf automatically from netscape or       mosaic (and probably other browsers) when you click  on  a       link to a PDF file, you need to edit (or create) the files       .mime.types and  .mailcap  in  your  home  directory.   In       .mime.types add the line:              application/pdf pdf       In .mailcap add the lines:              # Use xpdf to view PDF files.              application/pdf; xpdf -q %s       Make sure that xpdf is on your executable search path.       When you click on a URL link in a PDF file, xpdf will exe-       cute the command specified by the urlCommand  config  file       option, replacing an occurrence of '%s' with the URL.  For       example, to call netscape with the URL, add this  line  to       your config file:              urlCommand "netscape -remote 'openURL(%s)'"                                                               ()2 COMMANDS       Xpdf's key and mouse bindings are user-configurable, using       the bind and  unbind  options  in  the  config  file  (see       xpdfrc(5)).   The bind command allows you to bind a key or       mouse button to a sequence of one or more commands.   Available Commands       The following commands are supported:       gotoPage(page)              Go to the specified page.       gotoPageNoScroll(page)              Go to the specified page, with the current relative              scroll position.       gotoDest(dest)              Go to a named destination.       gotoLastPage              Go to the last page in the PDF file.       gotoLastPageNoScroll              Go  to the last page in the PDF file, with the cur-              rent relative scroll position.       nextPage              Go to the next page.       nextPageNoScroll              Go to the next  page,  with  the  current  relative              scroll position.       prevPage              Go to the previous page.       prevPageNoScroll              Go  to the previous page, with the current relative              scroll position.       pageUp Scroll up by one screenful.       pageDown              Scroll down by one screenful.       scrollLeft(n)              Scroll left by n pixels.       scrollRight(n)              Scroll right by n pixels.       scrollUp(n)              Scroll up by n pixels.       scrollDown(n)              Scroll down by n pixels.       scrollUpPrevPage(n)              Scroll up by n pixels, moving to the previous  page              if appropriate.       scrollDownPrevPage(n)              Scroll down by n pixels, moving to the next page if              appropriate.       scrollToTopEdge              Scroll to the top edge of the current page, with no              horizontal movement.       scrollToBottomEdge              Scroll to the bottom edge of the current page, with              no horizontal movement.       scrollToLeftEdge              Scroll to the left edge of the current  page,  with              no vertical movement.       scrollToRightEdge              Scroll  to the right edge of the current page, with              no vertical movement.       scrollToTopLeft              Scroll to the top-left corner of the current  page.       scrollToBottomRight              Scroll  to  the  bottom-right corner of the current              page.       goForward              Move forward along the history path.       goBackward              Move backward along the history path.       zoomPercent(z)              Set the zoom factor to z%.       zoomFitPage              Set the zoom factor to fit-page.       zoomFitWidth              Set the zoom factor to fit-width.       zoomIn Zoom in - go to the next higher zoom factor.       zoomOut              Zoom out - go the next lower zoom factor.       continuousMode              Go to continuous view mode.       singlePageMode              Go to single-page view mode.       toggleContinuousMode              Toggle between  continuous  and  single  page  view              modes.       fullScreenMode              Go to full-screen mode.       windowMode              Go to window (non-full-screen) mode.       toggleFullScreenMode              Toggle between full-screen and window modes.       open   Open  a  PDF  file  in  this window, using the open              dialog.       openInNewWin              Open a PDF file in a new  window,  using  the  open              dialog.       openFile(file)              Open a specified PDF file in this window.       openFileInNewWin(file)              Open a specified PDF file in a new window.       openFileAtDest(file,dest)              Open  a specified PDF file in this window and go to              a named destination.       openFileAtDestInNewWin(file,dest)              Open a specified PDF file in a new window and go to              a named destination.       reload Reload the current PDF file.       redraw Redraw the window.       raise  Raise the window to the front.       closeWindow              Close the window.       run(external-command-string)              Run an external command.  The following escapes are              allowed in the command string:                  %f => PDF file name (or an empty string if no                        file is open)                  %b => PDF file base name, i.e., file name minus                        the extension (or an empty string if no                        file is open)                  %u => link URL (or an empty string if not over                        a URL link)                  %x => selection upper-left x coordinate                        (or 0 if there is no selection)                  %y => selection upper-left y coordinate                        (or 0 if there is no selection)                  %X => selection lower-right x coordinate                        (or 0 if there is no selection)                  %Y => selection lower-right y coordinate                        (or 0 if there is no selection)                  %% => %       openOutline              Open the outline pane.       closeOutline              Close the outline pane.       toggleOutline              Toggle the outline pane between open and closed.       scrollOutlineDown(n)              Scroll the outline down by n increments.       scrollOutlineUp(n)              Scroll the outline up by n increments.       focusToDocWin              Set the keyboard focus to the main document window.       focusToPageNum              Set the keyboard focus to the page number text box.       find   Open the 'find' dialog.       findNext              Finds the next occurrence of the search string  (no              dialog).       print  Open the 'print' dialog.       about  Open the 'about' dialog.       quit   Quit from xpdf.       The  following  commands depend on the current mouse posi-       tion:       startSelection              Start a selection, which will be  extended  as  the              mouse moves.       endSelection              End a selection.       startPan              Start  a pan, which will scroll the document as the              mouse moves       endPan End a pan.       postPopupMenu              Display the popup menu.       followLink              Follow a hyperlink (does nothing if  the  mouse  is              not over a link).       followLinkInNewWin              Follow a hyperlink, opening PDF files in a new win-              dow (does nothing if the mouse is not over a link).              For links to non-PDF files, this command is identi-              cal to followLink.       followLinkNoSel              Same as followLink, but does nothing if there is  a              non-empty  selection.   (This  is useful as a mouse              button binding.)       followLinkInNewWinNoSel              Same as followLinkInNewWin,  but  does  nothing  if              there is a non-empty selection.  (This is useful as              a mouse button binding.)   Default Bindings       The default mouse bindings are as follows:           bind mousePress1    any         startSelection           bind mouseRelease1  any         endSelection followLinkNoSel           bind mousePress2    any         startPan           bind mouseRelease2  any         endPan           bind mousePress3    any         postPopupMenu           bind mousePress4    any         scrollUpPrevPage(16)           bind mousePress5    any         scrollDownNextPage(16)           bind mousePress6    any         scrollLeft(16)           bind mousePress7    any         scrollRight(16)       The default key bindings are as follows:           bind ctrl-home      any         gotoPage(1)           bind home           any         scrollToTopLeft           bind ctrl-end       any         gotoLastPage           bind end            any         scrollToBottomRight           bind pgup           any         pageUp           bind backspace      any         pageUp           bind delete         any         pageUp           bind pgdn           any         pageDown           bind space          any         pageDown           bind left           any         scrollLeft(16)           bind right          any         scrollRight(16)           bind up             any         scrollUp(16)           bind down           any         scrollDown(16)           bind o              any         open           bind O              any         open           bind r              any         reload           bind R              any         reload           bind f              any         find           bind F              any         find           bind ctrl-f         any         find           bind ctrl-g         any         findNext           bind ctrl-p         any         print           bind n              scrLockOff  nextPage           bind N              scrLockOff  nextPage           bind n              scrLockOn   nextPageNoScroll           bind N              scrLockOn   nextPageNoScroll           bind p              scrLockOff  prevPage           bind P              scrLockOff  prevPage           bind p              scrLockOn   prevPageNoScroll           bind P              scrLockOn   prevPageNoScroll           bind v              any         goForward           bind b              any         goBackward           bind g              any         focusToPageNum           bind 0              any         zoomPercent(125)           bind +              any         zoomIn           bind -              any         zoomOut           bind z              any         zoomFitPage           bind w              any         zoomFitWidth           bind alt-f          any         toggleFullScreenMode           bind ctrl-l         any         redraw           bind ctrl-w         any         closeWindow           bind ?              any         about           bind q              any         quit           bind Q              any         quit       Previous versions of xpdf included a "viKeys" X  resource.       It  is no longer available, but the following bindings are       equivalent:           bind h any scrollLeft(16)           bind l any scrollRight(16)           bind k any scrollUp(16)           bind j any scrollDown(16)                                                               ()2 REMOTE_SERVER_MODE       Xpdf  can be started in remote server mode by specifying a       server name (in addition to the file name  and  page  num-       ber).  For example:              xpdf -remote myServer file.pdf       If  there is currently no xpdf running in server mode with       the name 'myServer', a new xpdf window will be opened.  If       another command:              xpdf -remote myServer another.pdf 9       is  issued,  a  new  copy  of  xpdf  will  not be started.       Instead, the first xpdf (the server) will load another.pdf       and display page nine.  If the file name is the same:              xpdf -remote myServer another.pdf 4       the xpdf server will simply display the specified page.       The -raise option tells the server to raise its window; it       can be specified with or without a file name and page num-       ber.       The  -quit option tells the server to close its window and       exit.                                                               ()2 XIT_CODE       The Xpdf tools use the following exit codes:       0      No error.       1      Error opening a PDF file.       2      Error opening an output file.       3      Error related to PDF permissions.       99     Other error.                                                               ()2 AUTHOR       The   xpdf   software   and  documentation  are  copyright       1996-2007 Glyph & Cog, LLC.                                                               ()2 SEE_ALSO       pdftops(1),    pdftotext(1),    pdfinfo(1),   pdffonts(1),       pdftoppm(1), pdfimages(1), xpdfrc(5)       http://www.foolabs.com/xpdf/                                                               ()

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -