pdf.js/examples/svgviewer
Tim van der Meij e293c12afc
Implement the setDocument method for the find controller
Now it follows the same pattern as e.g., the document properties
component, which allows us to have one instance of the find controller
and set a new document to search upon switching documents.

Moreover, this allows us to get rid of the dependency on `pdfViewer` in
order to fetch the text content for a page. This is working towards
getting rid of the `pdfViewer` dependency upon initializing the
component entirely in future commits.

Finally, we make the `reset` method private since it's not supposed to
be used from the outside anymore now that `setDocument` takes care of
this, similar to other components.
2018-09-30 16:57:40 +02:00
..
index.html Modified Examples to work without systemjs 2018-07-21 16:56:06 +05:30
README.md SVG Viewer example demo 2014-06-20 08:25:05 +05:30
viewer.js Implement the setDocument method for the find controller 2018-09-30 16:57:40 +02:00

PDF.js using SVG

This is a project for implementing alternate backend for PDF.js using Scalable Vector Graphics. This is still a WIP. Take a look at proposal for this project.

Getting started

Take a look at src/display/svg.js to see the SVG rendering code.