I tried to create doc with page labels and outlines. But it is not working and it raised error while opening the pdf doc. Can someone tell me why it is not working. The specification for the doc is following.
%PDF-1.5
82 0 obj << /Title (Document) /Parent 2 0 R /Count 1 /Dest [10 0 R /XYZ 10 10 100] /F 1 >>endobj
83 0 obj << /Title (Document) /Parent 82 0 R /Count 1 /Dest [10 0 R /XYZ 10 10 100] /F 1 >>endobj
2 0 obj<< /Type Outlines/First 82 0 R /Count 2 >>
endobj
1 0 obj<< /Type /Catalog /ViewerPreferences <<
/HideToolbar false /HideMenubar false /CenterWindow false /FitWindow true /DisplayDocTitle true /HideWindowUI false >> /PageLayout /OneColumn /PageMode /UseOutlines /Pages 4 0 R /Outlines 2 0 R /PageLabels <</ /Nums [ 0 << /S /r >> 1 << /S /D >> ] >> >>endobj
If you can specify correct specification that will be great.
Thanks for your help!
%PDF-1.5
82 0 obj << /Title (Document) /Parent 2 0 R /Count 1 /Dest [10 0 R /XYZ 10 10 100] /F 1 >>endobj
83 0 obj << /Title (Document) /Parent 82 0 R /Count 1 /Dest [10 0 R /XYZ 10 10 100] /F 1 >>endobj
2 0 obj<< /Type Outlines/First 82 0 R /Count 2 >>
endobj
1 0 obj<< /Type /Catalog /ViewerPreferences <<
/HideToolbar false /HideMenubar false /CenterWindow false /FitWindow true /DisplayDocTitle true /HideWindowUI false >> /PageLayout /OneColumn /PageMode /UseOutlines /Pages 4 0 R /Outlines 2 0 R /PageLabels <</ /Nums [ 0 << /S /r >> 1 << /S /D >> ] >> >>endobj
If you can specify correct specification that will be great.
Thanks for your help!