20 Commits (4b903791377895f02728fe861cf629036d18db46)

Author SHA1 Message Date
Jonas Jenwald 96fb0c0370 Call the `reset()` methods in the `PDFAttachmentViewer` and `PDFOutlineViewer` constructors 8 years ago
Jonas Jenwald 614e8cf295 Change `var` to `let`, and use object destructuring, in a couple of previously class converted `web/*.js` files 8 years ago
Jonas Jenwald 223c429357 Fix inconsistent spacing and trailing commas in objects in `web/` files, so we can enable the `comma-dangle` and `object-curly-spacing` ESLint rules later on 8 years ago
Yury Delendik 66c8893815 Removes last UMDs from the modules. 8 years ago
Tim van der Meij 93520172f6
Convert the attachments/outline view to ES6 syntax 8 years ago
Yury Delendik 8e681ce3e2 Change amd to cjs path in ES6 modules 8 years ago
Jonas Jenwald b2c3f8f081 Convert a number of `import * as pdfjsLib from 'pdfjs-web/pdfjs';` cases to only specify the necessary imports 8 years ago
Jonas Jenwald 3b35c15d42 Convert the files in the `/web` folder to ES6 modules 8 years ago
Jonas Jenwald 468ed1b9a1 Ensure that the `outlineWithDeepNesting` CSS class is removed when resetting `PDFOutlineViewer`, to prevent incorrect alignment if a new document is opened 8 years ago
Jonas Jenwald e07cb8638e Get rid of `element.removeChild(element.firstChild)` usage (bug 1345253) 8 years ago
Jonas Jenwald d5e3b2fbf0 Update `PDFOutlineViewer_bindLink` to look more like `LinkAnnotationElement_bindLink` 9 years ago
Jonas Jenwald e64bc1fd13 Move parsing of destination dictionaries to a helper function 9 years ago
Yury Delendik 32ce369d88 Fixes some static analysis warnings and recommendations 9 years ago
Yury Delendik 7fd3db9977 Adds EventBus. 9 years ago
Yury Delendik 4165cedc9f Replace pdfjsLib with module that represents pdf.js. 9 years ago
Yury Delendik 006e8fb59d Introduces UMD headers to the web/ folder. 9 years ago
Yury Delendik 1e3e14e6b2 Exposes all functional members via lib exports and use them in viewer. 9 years ago
Tim van der Meij f4bb23a66b Correct a minor name issue in the outline viewer code 9 years ago
Jonas Jenwald 9b126711cd Add support for bold/italic styled outline items in the viewer 9 years ago
Jonas Jenwald 21f048234d Refactor how `PDFOutlineView`/`PDFAttachmentView` is initialized in viewer.js, rename the classes, and refactor their `render` methods 9 years ago
Jonas Jenwald 9bcbd4d872 Add a default title for outline items, to prevent display issues if the title is missing 9 years ago
Jonas Jenwald 0030a82dc3 [api-minor] Add support for URLs in the document outline 9 years ago
Jonas Jenwald 97c10e9c08 Strip `null` (\x00) characters from the URLs in LinkAnnotations (issue 6832) 9 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Jonas Jenwald b7d1bed463 Add a utility function, for the viewer, that removes `null` (\x00) characters (issue 6416) 10 years ago
Rob Wu 7c992243fd Allow outline to be collapsed / shown via icon. 10 years ago
Jonas Jenwald 94cc731616 Add custom |outlineloaded| and |attachmentsloaded| events to the viewer (bug 1112947) 10 years ago
Tim van der Meij f4dbc99483 Add JSDoc comments to PDFOutlineView 10 years ago
Tim van der Meij ea1d37eb0d Refactor PDFAttachmentView to be more class-like and to separate functionality into methods 10 years ago
Tim van der Meij b17da309ed Rename DocumentOutlineView to PDFOutlineView 10 years ago
Tim van der Meij 3eeb571425 Rename document_outline_view.js to pdf_outline_view.js 10 years ago
Yury Delendik 44779f14b0 Renames and refactors PDFView to PDFViewerApplication. 11 years ago
Tim van der Meij 1e119e093b Move DocumentOutlineView to its own file 11 years ago