Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.01 KB

readme.md

File metadata and controls

31 lines (19 loc) · 1.01 KB

Test App for Carbone Library

The original library is here

The fork being used here is: here

Problem

The library doesn't replace images correctly when they are repeated and iterated on multiple pages. the refID for the image seems to be the same for all the images and so the last image is inserted in all the places.

Expected behaviour: the images in the output.pdf should correspond with the correct images from the data.json file provided.

How to run

Installation

yarn install

You must also install LibreOffice. You can download it from here.

Running the test app

nodemon start
  • When the app starts it navigate to yourapp at localhost:8085 or wherever you are running it
  • Look at the ./test/output.pdf file and note the two images are the same, but in fact should be different, and correspond to the base64 images in the provided data.json file.