diff --git a/src/data/mime_db/application/pdf b/src/data/mime_db/application/pdf index aecdedace1..7594162c46 100644 --- a/src/data/mime_db/application/pdf +++ b/src/data/mime_db/application/pdf @@ -3,7 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; resource(1, "META:TYPE") "application/pdf"; -resource(2, "META:SNIFF_RULE") "0.50 (\"%PDF\")"; +resource(2, "META:SNIFF_RULE") "0.50 (\"%PDF\")"; resource(3, "META:PREF_APP") #'MSIG' "application/x-vnd.mp-xpdf"; @@ -34,3 +34,73 @@ resource(6, "META:ICON") #'VICN' array { $"8100040A01010A1001178402040A06010A000A05040D0B0C0E1815FF01178222" $"04" }; + +resource(7, "META:ATTR_INFO") message(233) { + "attr:name" = "PDF:subject", + "attr:name" = "PDF:title", + "attr:name" = "PDF:creator", + "attr:name" = "PDF:author", + "attr:name" = "PDF:keywords", + "attr:name" = "PDF:producer", + "attr:name" = "PDF:created", + "attr:name" = "PDF:modified", + "attr:name" = "PDF:pages", + "attr:name" = "PDF:version", + "attr:name" = "PDF:linearized", + "attr:public_name" = "Subject", + "attr:public_name" = "Title", + "attr:public_name" = "Creator", + "attr:public_name" = "Author", + "attr:public_name" = "Keywords", + "attr:public_name" = "Producer", + "attr:public_name" = "Created", + "attr:public_name" = "Modified", + "attr:public_name" = "Pages", + "attr:public_name" = "Version", + "attr:public_name" = "Linearized", + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'CSTR', + "attr:type" = 'LONG', + "attr:type" = 'LONG', + "attr:type" = 'LONG', + "attr:type" = 'DBLE', + "attr:type" = 'BOOL', + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:viewable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = true, + "attr:editable" = false, + "attr:editable" = false, + "attr:editable" = false, + "attr:editable" = false, + "attr:editable" = false, + "attr:width" = 200, + "attr:width" = 200, + "attr:width" = 150, + "attr:width" = 150, + "attr:width" = 150, + "attr:width" = 150, + "attr:width" = 60, + "attr:width" = 60, + "attr:width" = 50, + "attr:width" = 70, + "attr:width" = 90, + "type" = "application/pdf" +};