View Single Post
Old 10-08-2007, 11:12 AM   #27
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
Quote:
Originally Posted by firekat View Post
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
Attached Thumbnails
Click image for larger version

Name:	bookmarks.19.characters.png
Views:	664
Size:	119.0 KB
ID:	6110  
yokos is offline   Reply With Quote