Error message

Access denied. You may need to login below or register to access this page.

Access Denied / User log in

Please let our ADS show!

This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).
Please:

  • disable your AdBlocker by adding CoolSoft website to whitelist
  • give the proper cookie consent
  • enable JavaScript for this website

This seconds wait is to let you update your browser configuration...

Ok, I've done the required changes... now show me your content!
!!! Please enable JavaScript !!!

Quick login

Use your existing social account to login without registration: no confirmation mail to wait for, no new password to remember, quick, easy, safe.

...or use your CoolSoft account

Enter your CoolSoft username.
Enter the password that accompanies your username.
Add reply | CoolSoft

Add reply

Please let our ADS show!

This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).
Please:

  • disable your AdBlocker by adding CoolSoft website to whitelist
  • give the proper cookie consent
  • enable JavaScript for this website

This seconds wait is to let you update your browser configuration...

Ok, I've done the required changes... now show me your content!
!!! Please enable JavaScript !!!
(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.

Warning!

You're posting your message as anonymous user.

By registering you'll be allowed to receive notifications of post replies and new threads.
Registration is really quick and only requires you to choose an username and provide a valid email address.

Click here to to register.

A confirmation mail will be sent to this address.
Your email address won't be published.

More information about text formats

Filtered HTML

  • Allowed HTML tags: <a> <blockquote> <br> <cite> <code> <dd> <del> <dl> <dt> <em> <img> <li> <ol> <p> <pre> <s> <span> <strike> <strong> <ul>
    Allowed Style properties: background-color, color, font-size, font-style, height, text-align, text-decoration, text-transform, width
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <pre>, <c>, <cpp>, <csharp>, <drupal5>, <drupal6>, <javascript>, <php>. The supported tag styles are: <foo>, [foo].
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Cancel
Posts: 1
Joined: December 17, 2017 - 01:31
Re: Propagating the "Pages" Metadata

this is great thank you,thank you,thank you, so much

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Propagating the "Pages" Metadata

Just released version 1.10.0 that adds support to encrypted/protected documents and improves page count support.

Posts: 4
Joined: May 31, 2017 - 00:32
Re: Propagating the "Pages" Metadata

It worked wonderfully!

Now if I could just this extension to display its pages column in Directory Opus.

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Propagating the "Pages" Metadata

I've checked the file you've sent and it won't show ALL of the document properties, not only the Pages count.
That was caused by a small bug in reading the trailer dictionary, now fixed.

Attached here a test version of the extension with the fix, together with some speed improvements.

coolsoft wrote:
Having the Pages object packed into an object stream is not so common (I've seen in only 1 of my 30 test files collection), because Pages should be easily available; anyway PDF specifications allows it, so we have to agree...
I still have to find a PDF file with that kind of layout: it's allowed by PDF specifications but not so commonly used.
Feel free to test the test version and report any other file with missing Pages count (or other properties).

PS: I've deleted your sample PDF file, don't worry ;)

Attachments
1 file(s) attached
Posts: 4
Joined: May 31, 2017 - 00:32
Re: Propagating the "Pages" Metadata

Sample file sent. Hopefully it helps you find and verify what needs to be done to get the pages property populated.

Thank you.

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Propagating the "Pages" Metadata

I suppose that the non-working files contain object streams, one of the PDF features not yet supported by the extension.
I already have an ongoing branch to support them, but it's still almost incomplete.

Having the Pages object packed into an object stream is not so common (I've seen in only 1 of my 30 test files collection), because Pages should be easily available; anyway PDF specifications allows it, so we have to agree...

I'd like to have a look to one of those files.
Send it through the contact form and remember me to keep it private.

Posts: 4
Joined: May 31, 2017 - 00:32
Re: Propagating the "Pages" Metadata

Some files it counts the pages and some it doesn't. I can't see a pattern to it. (I thought initially it was size related, but I checked other folders and even smaller files it wouldn't propagate the page count.)

I wouldn't mind sharing the data with you, but I'd need it to be private.

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Propagating the "Pages" Metadata

That feature was on my TODO list for so much time; I started experimenting on it a long time ago, but never completed.

Now it is: just released version 1.9.0 with Page count support!

Please let me know if it works as expected...

Posts: 4
Joined: May 31, 2017 - 00:32
Re: Propagating the "Pages" Metadata

I know I'm reviving an old thread, but given the speed of computers and hard drives (especially as SSDs become more prevalent), have you changed your mind about quickly doing a page count of the file(s) to provide that as a property?

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Propagating the "Pages" Metadata

Page count is not a ready-made metadata, available somewhre in the PDF file; it must be calculated by parsing all the pages.
I suppose this will slow down things a lot...

Will investigate more but I'm pretty sure there's no easy fix.