export PDF in uncompressed format
Hi all.
I have a pdf with a lot of javascript handlers inside, which runs on various events: onpageopen, onpageclose etc.
If I look at the PDF with a text editor it looks like this:
<</Type /XRef/W[1 4 2]/Index[0 28]/Size 28/Filter /FlateDecode/DecodeParms<</Columns 7/Predictor
12>>/Length 97/Root 1 0 R /ID[<1BA5941DD3C4ED7AD477F1F3AFEB5A57><FA40370C22EDC77028A3FDBB8C3B12E1>]>>stream
xœcb ÿÿ™” ##Ó ýž‰ HKi3RŒ]@¨îÿaF&°>
è@òÃw(fu_@ö2Þº£ âŽ;x1ÔÝËüŸá#ˆÏúš ÍcF
endstream
endobj
My goal is to decompress the internal structure, whilst keeping the pdf valid, so that I can easily view and edit Javascript for all event handlers.
Any idea how I could export the PDF to achieve this? Thanks!