java - how to change all bookmarks property to inherit zoom in existing pdf using itext -


this code change property of root bookmark inheritzoom. want access kids array of bookmarks , bookmarks inherit zoom. how access kids array of bookmarks? want change property of bookmarks not destinations. how achieve? can me out this.

list<hashmap<string,object>> list = simplebookmark.getbookmark(reader); for(hashmap<string, object> lis:list) { system.out.println(lis.size()); lis.put("page",string.format("%d %s",page++,"xyz")); } 

you want access kids of bookmark. done this:

list.get("kids"); 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -