Code Monkey home page Code Monkey logo

Comments (10)

mgufrone avatar mgufrone commented on July 30, 2024 1

Okay, I will let you know regarding the update. 👍

from pdf-to-html.

JfrankMainframere avatar JfrankMainframere commented on July 30, 2024 1

@mgufrone Hey man! I figured out a completely different solution, so I went ahead and closed this issue for the sake of your wonder project's appearance.

If you were curious what I did, or anyone Googling here was my solution was using PDF.js and overlaying input elements implementing this library.

NOTE: (The base changes all occur in core\annotation.js and display\forms.js. Rendering is still entirely done through pdf.js, except form widgets are no longer rendered graphically by pdf.js. Instead, a second layer with web form elements is rendered over the canvas.)

This is working seamlessly for me. I additionally implemented a drag and drop (HTML5 native) and resizing (jQuery Resizable)

from pdf-to-html.

mgufrone avatar mgufrone commented on July 30, 2024

This one is particularly difficult within this package. The pdftohtml binary unfortunately can't render form controls such as text areas, text inputs, radio buttons, etc. I will keep in mind of your suggestion.

from pdf-to-html.

JfrankMainframere avatar JfrankMainframere commented on July 30, 2024

Well it renders "■" when the checkbox is checked, but nothing when it is blank. Is there anyway to at least make it render something for an empty checkbox as well?

from pdf-to-html.

JfrankMainframere avatar JfrankMainframere commented on July 30, 2024

Or if you have any other suggestions for how to load a PDF edit it in with a custom GUI on the webpage and resave the html as pdf? I have both ends of this system in place but cant move much further without all of the form fields at least loading as visible characters to be replaced.

from pdf-to-html.

mgufrone avatar mgufrone commented on July 30, 2024

That sounds promising. I think I need a pdf complete with form controls. Checkboxes, radio buttons, text inputs, and other form controls. So i can parse it to the correct form controls. Do you have that kind of pdf?

from pdf-to-html.

JfrankMainframere avatar JfrankMainframere commented on July 30, 2024

demoform1.pdf

from pdf-to-html.

JfrankMainframere avatar JfrankMainframere commented on July 30, 2024

If you could also point me in the direction of the parsing class or anything like that I would be more than happy to contribute to this library and figure out the form controls etc if I am able to.

from pdf-to-html.

mgufrone avatar mgufrone commented on July 30, 2024

this code is responsible to handle the HTML thing. https://github.com/mgufrone/pdf-to-html/blob/master/src/Html.php

from pdf-to-html.

rhoyle avatar rhoyle commented on July 30, 2024

First of all let me say thank you for the work you have done. This is my problem I am trying to create a back end for a website that will allow the user to input their certificates for classes they have completed. Most of the certificates are in pdf format and in less you use Adobe reader or some other pdf reader you can’t view the file and even if you use, let’s say adobe; the pdf pups up in a separate window. Using an iframe has its share of problems as well; that’s why I thought that using you pdf to html would do the trick. Well the first problem is how to get it to setup in Laravel 5.3, I used composer to install it; and I put the poppler-0.47 file in my windows program files (x86) directory, but I am not shore where to insert the code you pervade us on the page. I am somewhat of a new be to Laravel and am not shore, please help if you can I am using Laravel 5.3.

from pdf-to-html.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.