Pdf Coversion

Hi Team,

How to convert pdf file into a JSON javascript platform. I attached pdf files. Give sample in stackblitz.

escalated

Thanks,
Saravanan

Attachment: pdf_3f5a654d.zip

6 Replies 1 reply marked as answer

JE Jeeva May 6, 2021 04:28 PM UTC

any update on this?


JE Jeeva May 7, 2021 05:52 AM UTC

Hi Team,

any update on this?


JE Jeeva May 7, 2021 08:16 AM UTC

 Is it support team is active on PDF viewer?


VS Vasugi Sivajothi Syncfusion Team May 7, 2021 09:08 AM UTC

Hi Jeeva, 
 
Thank you for contacting Syncfusion  
support. 
 
We do not have support to convert PDF files to JSON files. However, you can retrieve the base64 string of the PDF document using saveAsBlob method. Please refer to the below code snippet and sample, 
 
Code Snippet: 
 
 
var data; 
  viewer.saveAsBlob().then(function(value) { 
    data = value; 
    var reader = new FileReader(); 
    reader.readAsDataURL(data); 
    reader.onload = () => { 
      var base64data = reader.result; 
      console.log(base64data); 
    }; 
  }); 
 
 
 
 
Kindly try this and let us know if this suggestion suites you. 
 
Regards, 
Vasugi 


Marked as answer

JE Jeeva May 8, 2021 02:28 AM UTC

Thanks for your effort.

We attached pdf and excel files. How to convert our pdf file into editable spreadsheet cells like adobe reader. If we get pdf inner values as JSON or Stream format? Please give a solution/workaround based on that.

Attachment: sample_file_1b4067c7.7z


VS Vasugi Sivajothi Syncfusion Team May 10, 2021 09:35 AM UTC

Hi Jeeva, 
 
Thank you for the update. 
 
We have already provided the workaround solution based on your requirement on May 7th in the below forum link. Kindly check the solution and let us know in that forum itself. 
 
 
Regards, 
Vasugi 


Loader.
Up arrow icon