Skip to content

jumptrnr/carbonetest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published