modesty / modesty/pdf2json

Provide check box export values.

Open
#92 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.2k
Forks
394
Avg merge
3d 5h
Merged PRs (30d)
7

Description

I attached an "example.pdf".

In this file, there is a check box with export value "On", however this does not appear when parsing the PDF (partial output below). Would be great to know this information when parsing.

      "Boxsets": [{
        "boxes": [{
          "style": 48,
          "T": {
            "Name": "box",
            "TypeInfo": {}
          },
          "id": {
            "Id": "Check_Box2",
            "EN": 0
          },
          "TI": 1,
          "AM": 0,
          "x": 5.318,
          "y": 17.793,
          "w": 1.125,
          "h": 1.125
        }]
      }]

Also, similar issue as #88 where the field name "Check Box2" becomes "Check_Box2".

example.pdf

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with example.pdf and trace how its form Boxsets and boxes are parsed into JSON, focusing on where checkbox properties are read. Confirm the export value is represented and investigate the related field-name behavior from issue #88; done means the supplied PDF produces the requested information without breaking existing output.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.