Quote:
Originally Posted by firekat
A quick question;
Will this bookmark support IPDF read existing bookmarks in all pdf files or will it only read ones that are added through the iLiad?
|
No, it writes/reads the bookmarks to/from the manifest.xml file.
Code:
<bookmarks>
<bookmark_0>
<pagenumber>6</pagenumber>
<name>Contents at a Glance</name>
<comment>Contents at a Glance</comment>
</bookmarks>
But we could use maybe iText [a Java.pdf library] or something different to generate a manifest.xml with all bookmarks of pdf file.
The length of bookmark names is limited to 19 characters.
You can enter longer bookmark names, but they are not saved/loaded from the manifest file.
Code:
#define MAX_NAME_LENGTH 128
#define MAX_COMMENT_LENGTH 255
explanation of screenshots:
#1 all characters behind the 19th one are cut