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 <[email protected]> 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 > >> [email protected] > >> http://lists.freedesktop.org/mailman/listinfo/poppler > > > > _______________________________________________ > > poppler mailing list > > [email protected] > > http://lists.freedesktop.org/mailman/listinfo/poppler > > _______________________________________________ > poppler mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/poppler _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
