[Question] Targeted page number of Link

Open
#198 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, json
Domain
backend

Research direction

The issue names no source file or test entry point. Start by tracing how pdf2json represents PDF link annotations and whether the shown JSON contains target-page data; done means establishing whether the target page number can be exposed and documenting or implementing the resulting behavior.

Written by the indexing model from the issue text.

Description

Hi,

Thanks a lot for your lib, it is amazing.
However, can you tell me if it is possible for me to extract the targeted page number of Link?
For example, from the following link how extract the information about the page number of target?

{
  "oc": "#4d4d4d",
  "x": 3.735,
  "y": 6.002,
  "w": 120.866,
  "sw": 0.33696875,
  "clr": -1,
  "A": "left",
  "R": [
    {
      "T": "My%20Link",
      "S": -1,
      "TS": [
        2,
        17,
        0,
        0
      ]
    }
  ]
}

Thanks a lot

Dominant language
Java
Stars
2.2k
Forks
396
Avg merge
9d 19h
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modesty/pdf2json

All issues in modesty/pdf2json

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.