Copy link to clipboard
Copied
Hi,
My requirement is converting the pdf to html with the applied styles.
I converted the pdf to json using adobe pdf services api. I need the help to convert the json to html without changing the styles.
Example: The generated json is
{
"Bounds": [
280.5,
671.7960052490234,
352.5,
687.7920074462891
],
"Font": {
"alt_family_name": "Times New Roman PS",
"embedded": false,
"encoding": "WinAnsiEncoding",
"family_name": "Times New Roman PS",
"font_type": "TrueType",
"italic": false,
"monospaced": false,
"name": "TimesNewRomanPS-BoldMT",
"subset": false,
"weight": 700
},
"HasClip": false,
"Lang": "en",
"Page": 5,
"Path": "//Document/H1[5]",
"Text": "Sample Page ",
"TextSize": 12.0,
"attributes": {
"LineHeight": 14.375,
"TextAlign": "Center"
}
}
In html, the output should be "Sample Page" with the H1 heading.
Is it possible to do this? If yes, please guide me
Copy link to clipboard
Copied
This is not related to Adobe Acrobat.