Skip to content

PDF forms structure is lost while read #195

Closed as duplicate
Closed as duplicate

Description

Hello,

While trying to read pdf forms, the text content output does not preserve the structure of the form. For example like below

The form I tried is eerf_form_3.pdf

But this is not extracting any of the label values, just prints out Test Name and Test address when tested with the following code

markdown = MarkItDown()
result = markdown.convert("eerf_form_3.pdf")
file = open("eerf_form_3.md", "w", encoding="utf-8")
file.write(result.text_content)
file.close() 

Not sure whether I am doing something wrong or any options are available for customizing this behavior

Activity

  1. gagb commented on Dec 21, 2024

    @gagb
    Contributor

    Related to #131; Lets continue discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions