PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Extract text, tables, and images from PDF documents to a JSON file.
Tables can commonly be divided into two categories:


ComPDF Conversion SDK supports json_contain_table. When enabled, the SDK extracts table content from PDFs and outputs the table structure. Otherwise, table content is treated as regular text.
CConvertOption option = CPDF_DefaultConvertOption();
option.json_contain_table = true;
CPDF_StartPDFToJson(CPDF_TEXT("json.pdf"), CPDF_TEXT("password"), CPDF_TEXT("path/output.json"), option, NULL);