From a89f7e8ec73f9594d83c78c33f372399c075986f Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Tue, 8 Sep 2020 16:28:06 +0300 Subject: [PATCH] Improve PDF reader --- .../content/zotero/{viewer.xul => reader.xul} | 30 +- chrome/content/zotero/viewer.js | 66 -- chrome/content/zotero/xpcom/annotations.js | 10 +- chrome/content/zotero/xpcom/data/item.js | 53 +- chrome/content/zotero/xpcom/editorInstance.js | 2 +- .../zotero/xpcom/pdfWorker/transport.js | 2 +- chrome/content/zotero/xpcom/reader.js | 610 ++++++++++++++++++ chrome/content/zotero/xpcom/viewer.js | 523 --------------- chrome/content/zotero/zoteroPane.js | 2 +- components/zotero-service.js | 2 +- pdf-reader | 2 +- scripts/pdf-reader.js | 2 +- 12 files changed, 668 insertions(+), 636 deletions(-) rename chrome/content/zotero/{viewer.xul => reader.xul} (79%) delete mode 100644 chrome/content/zotero/viewer.js create mode 100644 chrome/content/zotero/xpcom/reader.js delete mode 100644 chrome/content/zotero/xpcom/viewer.js diff --git a/chrome/content/zotero/viewer.xul b/chrome/content/zotero/reader.xul similarity index 79% rename from chrome/content/zotero/viewer.xul rename to chrome/content/zotero/reader.xul index c688327ffc..33c14a78a6 100644 --- a/chrome/content/zotero/viewer.xul +++ b/chrome/content/zotero/reader.xul @@ -11,13 +11,17 @@ ]> + @@ -56,11 +60,16 @@ - - + - + -