| java.lang.Object | |
| ↳ | com.pdftron.pdf.DataExtractionModule |
The class DataExtractionModule. static interface to PDFTron SDKs data extraction functionality
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | DataExtractionModule.DataExtractionEngine | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static void |
detectAndAddFormFieldsToPDF(Doc doc)
Perform automatic form field detection, then insert the fields into the PDF.
| ||||||||||
| static void |
detectAndAddFormFieldsToPDF(Doc doc, DataExtractionOptions options)
Perform automatic form field detection, then insert the fields into the PDF.
| ||||||||||
| static void |
extractData(String input_pdf_file, String output_json_file, DataExtractionModule.DataExtractionEngine engine, DataExtractionOptions options)
Perform data extraction on a PDF file using the specified engine.
| ||||||||||
| static String |
extractData(String input_pdf_file, DataExtractionModule.DataExtractionEngine engine)
Perform data extraction on a PDF file using the specified engine and return the resulting JSON string.
| ||||||||||
| static String |
extractData(String input_pdf_file, DataExtractionModule.DataExtractionEngine engine, DataExtractionOptions options)
Perform data extraction on a PDF file using the specified engine and return the resulting JSON string.
| ||||||||||
| static void |
extractData(String input_pdf_file, String output_json_file, DataExtractionModule.DataExtractionEngine engine)
Perform data extraction on a PDF file using the specified engine.
| ||||||||||
| static void |
extractToMarkdown(String input_pdf_file, Filter output_md_stream, DataExtractionOptions options)
Perform data extraction on a PDF in markdown output format.
| ||||||||||
| static void |
extractToMarkdown(String input_pdf_file, Filter output_md_stream)
Perform data extraction on a PDF in markdown output format.
| ||||||||||
| static void |
extractToMarkdown(String input_pdf_file, String output_md_file, DataExtractionOptions options)
Perform data extraction on a PDF in markdown output format.
| ||||||||||
| static void |
extractToMarkdown(String input_pdf_file, String output_md_file)
Perform data extraction on a PDF in markdown output format.
| ||||||||||
| static void |
extractToXLSX(String input_pdf_file, String output_xlsx_file)
Perform data extraction on a PDF in XLSX output format.
| ||||||||||
| static void |
extractToXLSX(String input_pdf_file, String output_xlsx_file, DataExtractionOptions options)
Perform data extraction on a PDF in XLSX output format.
| ||||||||||
| static void |
extractToXLSX(String input_pdf_file, Filter output_xlsx_stream, DataExtractionOptions options)
Perform data extraction on a PDF in XLSX output format.
| ||||||||||
| static void |
extractToXLSX(String input_pdf_file, Filter output_xlsx_stream)
Perform data extraction on a PDF in XLSX output format.
| ||||||||||
| static boolean |
isModuleAvailable(DataExtractionModule.DataExtractionEngine engine)
Find out whether the specified data extraction module is available (and licensed).
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Perform automatic form field detection, then insert the fields into the PDF.
| doc | -- The PDF document where fields are detected from and inserted into. |
|---|
| PDFNetException |
|---|
Perform automatic form field detection, then insert the fields into the PDF. Note: The FormKeyValue engine is experimental and subject to change.
| doc | -- The PDF document where fields are detected from and inserted into. |
|---|---|
| options | -- Data extraction options (optional). |
| PDFNetException |
|---|
Perform data extraction on a PDF file using the specified engine. Note: The FormKeyValue engine is experimental and subject to change.
| input_pdf_file | -- The source document filename |
|---|---|
| output_json_file | -- The resulting JSON filename |
| engine | -- The extraction engine |
| options | -- Data extraction options |
| PDFNetException |
|---|
Perform data extraction on a PDF file using the specified engine and return the resulting JSON string. Note: The FormKeyValue engine is experimental and subject to change.
| input_pdf_file | -- The source document filename |
|---|---|
| engine | -- The extraction engine |
| PDFNetException |
|---|
Perform data extraction on a PDF file using the specified engine and return the resulting JSON string. Note: The FormKeyValue engine is experimental and subject to change.
| input_pdf_file | -- The source document filename |
|---|---|
| engine | -- The extraction engine |
| options | -- Data extraction options |
| PDFNetException |
|---|
Perform data extraction on a PDF file using the specified engine. Note: The FormKeyValue engine is experimental and subject to change.
| input_pdf_file | -- The source document filename |
|---|---|
| output_json_file | -- The resulting JSON filename |
| engine | -- The extraction engine |
| PDFNetException |
|---|
Perform data extraction on a PDF in markdown output format.
| input_pdf_file | -- The source document filename |
|---|---|
| output_md_stream | -- The resulting markdown filter |
| options | -- Data extraction options |
| PDFNetException |
|---|
Perform data extraction on a PDF in markdown output format.
| input_pdf_file | -- The source document filename |
|---|---|
| output_md_stream | -- The resulting markdown filter |
| PDFNetException |
|---|
Perform data extraction on a PDF in markdown output format.
| input_pdf_file | -- The source document filename |
|---|---|
| output_md_file | -- The resulting markdown filename |
| options | -- Data extraction options |
| PDFNetException |
|---|
Perform data extraction on a PDF in markdown output format.
| input_pdf_file | -- The source document filename |
|---|---|
| output_md_file | -- The resulting markdown filename |
| PDFNetException |
|---|
Perform data extraction on a PDF in XLSX output format.
| input_pdf_file | -- The source document filename |
|---|---|
| output_xlsx_file | -- The resulting XLSX filename |
| PDFNetException |
|---|
Perform data extraction on a PDF in XLSX output format.
| input_pdf_file | -- The source document filename |
|---|---|
| output_xlsx_file | -- The resulting XLSX filename |
| options | -- Data extraction options |
| PDFNetException |
|---|
Perform data extraction on a PDF in XLSX output format.
| input_pdf_file | -- The source document filename |
|---|---|
| output_xlsx_stream | -- The resulting XLSX filter |
| options | -- Data extraction options |
| PDFNetException |
|---|
Perform data extraction on a PDF in XLSX output format.
| input_pdf_file | -- The source document filename |
|---|---|
| output_xlsx_stream | -- The resulting XLSX filter |
| PDFNetException |
|---|
Find out whether the specified data extraction module is available (and licensed).
| engine | -- The extraction engine |
|---|
| PDFNetException |
|---|