From 46e74c8bc82dc24942a6db3cc8ad0c51a4f567fa Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sat, 27 Jul 2013 09:42:43 -0700 Subject: [PATCH] Updates --- Viewer-options.md | 22 ---------------------- Viewer-options.mediawiki | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 Viewer-options.md create mode 100644 Viewer-options.mediawiki diff --git a/Viewer-options.md b/Viewer-options.md deleted file mode 100644 index bb2ccc8..0000000 --- a/Viewer-options.md +++ /dev/null @@ -1,22 +0,0 @@ -Options for pdf.js's viewer that can be given at the URL level. This page is current as of 2013 April 21. - -Multiple values of either type can be combined by separating with an ampersand (&) including after the hash (Example: #page=2&textLayer=off). - -Options after the ? -Example: http://www.example.com/pdf.js?file=myfile.pdf -* file: pdf filename to use (must be on the same server due to javascript limitations). Example: file=myfile.pdf - -Options after the # -Example: http://www.example.com/pdf.js#page=2 -* page: page number. Example: page=2 - * zoom: zoom level. Example: zoom=200 -* nameddest: go to a named destionation -* pagemode: either "thumbs" or "bookmarks". Example: pagemode=thumbs -* disableWorker: set to true to disable web workers. Example: disableWorker=true -* disableRange: set to true to disable... something -* disableAutoFetch: set to true to disable... something -* locale: set a localization -* textLayer: set to one of the following. Example: textLayer=off - * off: disable textLayer generation - * visible, shadow, hover: apply the css class textlayer- to all text layers. -* pdfBug: handle pdf bugs \ No newline at end of file diff --git a/Viewer-options.mediawiki b/Viewer-options.mediawiki new file mode 100644 index 0000000..5749a08 --- /dev/null +++ b/Viewer-options.mediawiki @@ -0,0 +1,22 @@ +Options for PDF.js's viewer that can be given at the URL level. Multiple values of either type can be combined by separating with an ampersand (&) after the hash (example: #page=2&textLayer=off). + +===Options after the ?=== +Example: http://www.example.com/pdf.js?file=myfile.pdf + +* file: the filename of the PDF file to use (must be on the same server due to JavaScript limitations). Example: file=myfile.pdf + +===Options after the #=== +Example: http://www.example.com/pdf.js#page=2 + +* page: page number. Example: page=2 +** zoom: zoom level. Example: zoom=200 +* nameddest: go to a named destionation +* pagemode: either "thumbs" or "bookmarks". Example: pagemode=thumbs +* disableWorker: set to true to disable web workers. Example: disableWorker=true +* disableRange: set to true to disable range requests. Example: disableRange=true +* disableAutoFetch +* locale: use another locale than the default. Example: locale=nl +* textLayer: set to one of the following. Example: textLayer=off +** off: disable textLayer generation +** visible, shadow, hover: apply the CSS class textlayer- to all text layers +* pdfBug: handle PDF bugs \ No newline at end of file