Bug 6859

Summary: implement /Dur entry in page object
Product: poppler Reporter: Pablo Rodríguez <freedesktop>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: high CC: carlosgc
Version: unspecified   
Hardware: All   
OS: All   
i915 platform: i915 features:
Attachments: fullscreen with /Dur entry page object
Updated patch

Description Pablo Rodríguez 2006-05-08 07:18:26 UTC
From the PDF specification 1.6:

The page’s display duration (also called its advance timing): the maximum length
of time, in seconds, that the page is displayed during presentations before the
viewer application automatically advances to the next page.

I don't program myself, but I think it should be difficult to implement.
Comment 1 Albert Astals Cid 2006-05-09 03:31:14 UTC
having a document with such entry would be nice in case someone decides to 
implement it
Comment 2 Pablo Rodríguez 2006-05-09 19:25:58 UTC
Created attachment 5576 [details]
fullscreen with /Dur entry page object

Sorry, I forgot to include an example in the original report.

/Dur 0.01 works also and it only works in FullScreen mode.
Comment 3 Carlos Garcia Campos 2006-12-24 10:11:50 UTC
Created attachment 8207 [details] [review]

Attached patch adds support for page duration in poppler and poppler-glib.
Comment 4 Carlos Garcia Campos 2006-12-26 08:53:28 UTC
Created attachment 8220 [details] [review]
Updated patch

Here is an updated patch. It fixes a cut and paste bug in error message. I've
also added more documentation about what duration is.
Comment 5 Pablo Rodríguez 2006-12-26 10:13:47 UTC
Thanks, Carlos, for the patch.

Can it be compiled against poppler-0.5.4 or only to poppler-cvs?

(Sorry if the question sounds obvious or stupid, but I'm trying to apply it to
poppler-0.5.4 and I get an error and I don't know whether I'm doing something

Thanks for your work,

Comment 6 Albert Astals Cid 2006-12-26 11:57:25 UTC
Commited carlos patch to cvs head

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.