You can use PDFTextStripper to get the co-ordinates of every paragraph.

Identifying the paragraph you want could be tricky.

Cheers
Malcolm.





On 14 December 2017 at 16:39, Dan Liu <[email protected]> wrote:

> Then how to get the coordinate of a catalog in text from the catalog in
> pdf metadata? And how to get the coordinate of paragraph in text?
>
>
> With best regards
> Daniel
>
>
>
> ------------------ Original ------------------
> From:  "Gilad Denneboom";<[email protected]>;
> Date:  Thu, Dec 14, 2017 07:09 PM
> To:  "users"<[email protected]>;
>
> Subject:  Re: How can I get the coordinates of a bookmark corresponding to
> atitle
>
>
>
> Bookmarks don't have coordinates. They are not elements on a page. A
> bookmark can *point *to a specific coordinate (or actually, a view state),
> though. You can inspect the bookmark's Action or Destination (notice there
> could be more than one, though, or none at all) to get that information.
>
> On Thu, Dec 14, 2017 at 4:15 AM, 张钧荣 <[email protected]> wrote:
>
> >
> >
> > 发送自 Windows 10 版邮件应用
> >
> >
> >
> > Hi!I want to get the coordinates of a bookmark corresponding to a
> > title.How can I get it?
> >
> > 发送自 Windows 10 版邮件应用
> >
> >
> >

Reply via email to