Hi,
I have tried to add two bookmarks to one pdf with DDX(in java code),
the first bookmark I shall add to the first page,and the second I shall add to the second page....
the question is:
If the pdf has only one page, I will not add bookmarks to the pdf. so I need to get the pages of pdf before my processing.
but I did not found any APIs in the SDK about it .
Can anyone help me.
thanks.
I have solve the problem myself
I use the tag "DocumentInformation" in DDX and get the xml after invoking DDX,
the xml contain the information of document
the sample DDX as:
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<DocumentInformation source="mergedPDF" result="doc_info.xml" />
</DDX>
North America
Europe, Middle East and Africa
Asia Pacific