Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Pdf parser/viewer (Loading a pdf file and render one page to a draw to display in a ctrl.)
Pdf parser/viewer [message #58213] Wed, 23 March 2022 13:09 Go to next message
brown is currently offline  brown
Messages: 8
Registered: July 2015
Location: Budapest
Promising Member
Hi Guys,
I have a project to manage documents. The app has its own scanner manager (ole/Wia), which could also create pdf files based on bmp/jpg conversion. I am also able to implement a textual report renderer to write pdfs.
Unfortunately, I have other pdf files which were not generated by my app. So, I would like to parse it for some reasons.

In my understanding the PdfDraw can only render pdf format (see PdfDraw::Finish() function),
but it is not able to read/load/parse a pdf file. Am I right ?

Is it a project on-going development somewhere to have this feature for U++ ?

My actual goal would be,

  • load an external pdf file, parse it some level
  • to check the signature(s), add a signature to an ordinary pdf file.
  • render one static view (in example ctrl::paint(draw&) way would be fine)

    • in case of image is encoded into the pdf, that is not a problem for my use-case.
    • in case of vector graph/text content is in pdf, some kind of graphical render is needed.
  • to be able to display pdf files on linux, windows and maybe with Turtle later.



[Updated on: Wed, 23 March 2022 13:14]

Report message to a moderator

Re: Pdf parser/viewer [message #58214 is a reply to message #58213] Thu, 24 March 2022 23:07 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 526
Registered: March 2007
Contributor
To be able to read & render a pdf file from within U++ program is definitely something desirable.

This C project/repo might be a good starting point. It's in Apache 2.0 license which is quite permissive. Adapting it to U++ and adding drawing capability should not be too difficult.
Re: Pdf parser/viewer [message #60053 is a reply to message #58214] Sun, 23 July 2023 15:51 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I wonder if there have been news about a pdf viewer in the meantime.

Thanks,
Luigi
Previous Topic: Getting the value/text from a EditField
Next Topic: Compiler Warnings
Goto Forum:
  


Current Time: Thu Apr 25 00:07:23 CEST 2024

Total time taken to generate the page: 0.01524 seconds