Generating dynamic hyperlinks in pdfs with xdocreport, odt and velocity - pdf

Good day,
I´m trying to convert some openoffice .odt files to pdf and i need to fill out some elements dynamically. I use normal inputfields which works great for just text. However, I have some text that needs to be clickable and point to a certain URL. Both the text and the url needs to be inserted dynamically, it can´t be hard coded in the .odt.
I haven´t been able to find any documentation that lets me do this. There was some references on how to do it with .docx files, but none regarding .odt.
Is it even possible to dynamically create hyperlinks in an odt that gets converted to pdf?

Related

Using PDFBox or something else, is it possible to know if a pdf contains no scanned pages?

I'm looking for a solution to detect if a pdf document contains some non-searchable text, I'm thinking about a scenario where a multi-page pdf contains some plain text pages, with or without images it doesn't matter, and one or some pages containing non-searchable texts.
So I would like a method returning true/false which is able to detect if a pdf contains some non-searchable text (or viceversa), in your opinion is it possible with PDFBox or something else?
Thx

Is there a way to convert submittable/fillable PDF (containing JS) to HTML?

I have a huge set of PDF files which use forms and JavaScript to submit them. I'm wondering if there's a way of converting such PDFs into HTML (or any other format except Flash which would allow for opening the page in a Web browser and submitting it).
After research on the topic I was able to find several pieces of software that would convert PDF to HTML but even if there are any fields left after conversion there's no JS apparently and all the buttons are missing.
Edit: The number of documents to convert is roughly 500... so "by hand" method is out unless it's a bit of "by hand" and then in bulk
I'm not sure whether this PDF converter will help. It can convert PDF to html, however, I'm not sure whether it will preserve your buttons and js. Maybe you can have a try. Hope this helps.

Is it possible to make a Telerik report based on an existing PDF?

I have a lengthy PDF time tracking document that was printed out and used in a paper process to schedule appointments. Now this paper process is being converted to an online application and this application needs to generate reports in the same format as the PDF document (this time programatically inserting values into rows instead of having someone write them on the piece of paper).
My question is this, is possible to somehow import the layout of that PDF document into Telerik reporter's designer? Otherwise, is there some sort of an intermediary tool that I can use to make the layout more exportable?
Just to clarify, I am not trying to save my reports as PDF but trying to use a given PDF's layout to create a similar looking report in Telerik.
Any tips would be very welcome.
Thank you very much!
There are numerous tools for extracting text or images from pdf files, but I am pretty sure nothing exists to extract the layout of a pdf. The pdf format is just text and symbols with coordinates. There is no layout to extract.

is it possible to select ,copy a text in pdf?

i want to create a pdf page where i want to copy some text and paste in other document. i have gone through many pdf examples but i havent seen any app with selecting text in pdf.so i want to know whether it is possible or do i need to try with some other formats other than pdf
For this you need CGPDF class for this purpose here is link this might help you
http://www.random-ideas.net/posts/42

web based form to collect data and populate to a fillable PDF

Is there a script that anyone can suggest that would allow me to create a HTML or PHP web based form to collect data and save that data. the call the data to be populated in a fillable pdf?
If you have an existing PDF that you want to populate, and that PDF just has text fields (no checkboxes or radio buttons) then CAM::PDF may be able to help you. You can use it as a Perl library directly, or use its command-line interface. CAM::PDF is not useful for generating PDFs from scratch, however. Furthermore, if you have embedded fonts, then you need to ensure that all of the characters you plan to insert are represented in the embedded font.
Use a normal web page to get the data. If not sure how to do it, look for "php forms" on google, there are plenty of tutorials.
Then use a php pdf generator, like this one, to create the PDF file. If you look hard enough, you will probably find a pdf generator that will let you use a template with placeholders where the entered data should be.