After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644728 - Feature Request: add support for storing PDFs
Feature Request: add support for storing PDFs
Status: RESOLVED FIXED
Product: glom
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Murray Cumming
Murray Cumming
Depends on: 654832
Blocks:
 
 
Reported: 2011-03-14 14:08 UTC by Ben Konrath
Modified: 2011-09-13 07:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ben Konrath 2011-03-14 14:08:50 UTC
I would like to be able to store PDFs in a Glom database applications. Is something could be possible?

Thanks, Ben
Comment 1 Murray Cumming 2011-03-14 14:23:59 UTC
Yes, I think we should be able to store and open arbitrary files, maybe storing the filename and/or mime type along with them.
Comment 2 Ben Konrath 2011-03-17 09:19:13 UTC
I guess arbitrary files could be stored as a blob sql type. 

For the pdf file, it would nice to be able to put it in the details view just like an image or picture. But I don't really know if this makes sense or is even possible.

When I get some spare time, I'll make a small glom app with a screenshot of the first page of a pdf file to see if it would actually be useful to have the pdf in the details view.
Comment 3 Murray Cumming 2011-09-13 07:20:36 UTC
I implemented this a few weeks ago, in Glom 1.19/20, using evince's library. We don't yet store the mime type or the filename, but gio's mime-type guessing seems to work well enough. You can view the PDF in the details view, save it to disk, or open it in an external application.

evince bug #654832 would make it more efficient.