unified-doc

Overview

This is an experimental example. The implementation and features are subject to change.

This example uses pdf.js to convert PDF documents into HTML documents containing images and text nodes. With the PDF document represented by a collection of HTML documents, we can benefit from all unified-doc APIs (e.g. render, search, export, marks etc).

Source Code

Features

  • Features from the Doc preview example apply here.
  • Upload and preview any .pdf file using the DocPreview component.
  • Pagination support.

Concepts

  • Most concepts from the Doc preview example apply here.
  • Advanced async parsers to convert complex source data into an array of content, filename compatible with unified-doc.

Demo

View Sample PDF
© 2020 unified-doc