Need to get the offset and byte length of each page in a PDF.For Example first page offset value will be 0 and length will be the byte length of the page.
I have a requirement to pass index file for a PDF to IBM Ondemand tool, it is a PDF repository. I need to merge individual PDF files calculate the offset and length of each PDF, create an index file with these two parameters and pass it to the tool.
The tool will make use of the index file to split the PDF(multiple PDF combined into single) based on the offset and length passed as properties (Index file).
I used itext to get the beginning and end of the page using bookmark. Need to calculate the offset and length of the bytes for each page.
Suggest is there is any way to get the index(start of the page) and end of the page in terms of bytes.
Any help would be appreciated