Mohamed Baig
6d8adb31ad
Added the data-page-number dom attribute to the page rendered in the browser
...
Added data-page-id attribute to page container divs
Updated the attribute with a better label
2015-03-27 18:23:39 -04:00
Jonas Jenwald
eed67ea8bb
Remove the |el| property in PDFPageView and PDFThumbnailView
2015-02-27 00:26:02 +01:00
Jonas Jenwald
8471bb3206
Avoid getting |childNodes| twice in PDFPageView_reset, by using the variable instead
2015-01-26 12:22:09 +01:00
Tim van der Meij
dd7fd0b665
Merge pull request #5588 from Snuffleupagus/remove-pageView-anchor
...
Remove unused anchor links placed before every page
2015-01-23 22:38:09 +01:00
Jonas Jenwald
95dd9ee185
Move the |pagerendered| event to pdf_page_view.js
...
Also deprecates the |pagerender| event, except for GENERIC builds.
2015-01-06 21:44:22 +01:00
Jonas Jenwald
42a00394b0
Remove unused anchor links placed before every page
...
In old versions of the viewer, anchor links were used to be able to scroll a page into view. Since we for quite some time have had a `scrollIntoView` function which handles this, the anchor links are no longer necessary and I believe that they can be removed. Doing so will reduce the total number of DOM elements in the viewer.
For most documents this patch will probably not make much of a difference performance wise, but for very long (1000+ pages) documents this could help performance especially on lower powered hardware.
2015-01-05 20:42:56 +01:00
Yury Delendik
2565e627a3
Refactors draw method in PDFPageView; makes optional some PDFPageViewOptions options
2014-12-20 23:41:34 -06:00
Yury Delendik
2ac7ac4678
Removes lastScrollSource and isViewerInPresentationMode from TextLayerBuilderOptions
2014-12-20 11:14:13 -06:00
Yury Delendik
b930228788
Refactors Cache into PDFPageViewBuffer
2014-12-19 16:54:32 -06:00
Yury Delendik
22c62685b0
Removes Stats dependency from PDFPageView.
2014-12-19 13:07:28 -06:00
Yury Delendik
9f384bbb41
Creates AnnotationsLayerBuilder.
2014-12-19 13:07:28 -06:00
Yury Delendik
fe4ac86781
Removes PDFPageSource
2014-12-19 09:55:11 -06:00
Yury Delendik
7663942ee5
Creates IPDFTextLayerFactory interface
2014-12-17 15:21:54 -06:00
Yury Delendik
f68678086d
Simple restructuring PageView into PDFPageView
2014-12-17 15:21:54 -06:00
Yury Delendik
863d583ae1
Renames page_view.js file.
2014-12-17 10:32:07 -06:00