[poppler] Extract title from pdf file.

Albert Astals Cid aacid at kde.org
Wed Nov 9 03:37:55 PST 2011


A Dimecres, 9 de novembre de 2011, Alec Taylor vàreu escriure:
> Incorrect, all getDocInfo tells you is what the meta info says, it
> doesn't analyse the actual document, whereas my pdftopdf will update
> the metadata with the appropriate info after PDF analysis

Please do not top post, makes reading e-mail incredibly hard.

And no it is not incorrect, if the metadata does not have a title, then the 
document does not have a title as defined per the spec.

Albert

> 
> On Wed, Nov 9, 2011 at 10:08 PM, Albert Astals Cid <aacid at kde.org> wrote:
> > A Dimecres, 9 de novembre de 2011, 杨辉强 vàreu escriure:
> >> Hi, all:
> >>      I want to extract title from pdf file. Although PDFDoc has a
> >> function getDocInfo() to get title info, it is
> >> empty most of the time. Thus, I have to guess it by myself.  I wish
> >> you
> >> can give me some advices.
> > 
> > If getDocInfo does not give you the title, there is no title in the
> > document.
> > 
> > Albert
> > 
> >> Thank you!
> >> Best wishes!
> >> _______________________________________________
> >> poppler mailing list
> >> poppler at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/poppler
> > 
> > _______________________________________________
> > poppler mailing list
> > poppler at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/poppler
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list