tag:blogger.com,1999:blog-6698210309262137433.post3287073436780223556..comments2023-05-24T08:05:11.298-04:00Comments on Code By Joshua the Lionhearted: PDF Bookmarks: Change Zoom level and Name of PDF BookmarksJoshuahttp://www.blogger.com/profile/08903612467158866477noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-6698210309262137433.post-78690524102247836482019-11-09T17:36:21.545-05:002019-11-09T17:36:21.545-05:00Thanks but here's an easier way to modify all ...Thanks but here's an easier way to modify all bookmarks to inherit view (or your prefered zoom level) on a PDF - https://github.com/beatngu13/pdf-zoom-wizard/Stevehttps://www.blogger.com/profile/01672317809402015046noreply@blogger.comtag:blogger.com,1999:blog-6698210309262137433.post-27957900385633840002018-06-23T22:41:11.160-04:002018-06-23T22:41:11.160-04:00Joshua, man, you're really a genius. Your app...Joshua, man, you're really a genius. Your app is so easy and intuitive. I could finally change around a thousand bookmarks in just 10 secs. Its the only one working after searching a lot of forums (at least unpaid apps). Im sorry with Kraus above, his didn't work with me.<br />Again, Joshua, if you're still around, thanks a lot.Anonymoushttps://www.blogger.com/profile/07704366894482718657noreply@blogger.comtag:blogger.com,1999:blog-6698210309262137433.post-68148426000253423882015-10-14T16:01:03.741-04:002015-10-14T16:01:03.741-04:00Fantastic. Thank you so freaking much.Fantastic. Thank you so freaking much.Ahttps://www.blogger.com/profile/12844102499747342431noreply@blogger.comtag:blogger.com,1999:blog-6698210309262137433.post-48833228478257564052014-01-11T09:59:48.637-05:002014-01-11T09:59:48.637-05:00I wrote a small java application which is based on...I wrote a small java application which is based on the PDF Clown library. It allows you to easily apply various bookmark configurations, such as 'Inherit zoom', to multiple PDF files within a desired directory.<br /><br />This is my first public project and due to the fact that I'm taking my exams in the next couple of weeks, I'm running out of time. But afterwards, which should be in mid-February, I'll keep on developing.<br /><br />In the meantime, feel free to use the application and give some feedback.<br /><br />https://bitbucket.org/beatngu13/pdfbookmarkwizard/downloadsAnonymoushttps://www.blogger.com/profile/02046983092294373360noreply@blogger.comtag:blogger.com,1999:blog-6698210309262137433.post-1305722758489128452013-07-18T15:20:15.106-04:002013-07-18T15:20:15.106-04:00I realized that bookmarks are defined as open or c...I realized that bookmarks are defined as open or closed. The above RegExp replacement will only replace those bookmarks defined as open. You'll have to do another replacement for all closed bookmarks (same patterns except for changing "open" to "closed"):<br /><br />Find what: "(closed,).*\n"<br />Replace with: "\1TopLeftZoom,0,0,0.0\n"<br /><br />Coffee Addicthttps://www.blogger.com/profile/01603471214745994001noreply@blogger.comtag:blogger.com,1999:blog-6698210309262137433.post-48072851830761757722013-07-18T14:59:17.792-04:002013-07-18T14:59:17.792-04:00Thanks for the tip, this works great and it's ...Thanks for the tip, this works great and it's also safer as it doesn't involve loading and saving the whole PDF file in a text editor...<br /><br />JPDFBookmarks will however open the resulting text file automatically with the default text editor, in my case plain old Notepad. Obviously, that's something better avoided as Notepad isn't the most reliable text editor available. The above mentioned Notepad++ will do the job, though I use EditPlus 3.<br /><br />Here's how I replace all zoom entries at once with the inherit zoom setting (check "Use Regular Expressions" and enter the text below without the ""):<br /><br />Find what: "(open,).*\n"<br />Replace with: "\1TopLeftZoom,0,0,0.0\n"<br />Coffee Addicthttps://www.blogger.com/profile/01603471214745994001noreply@blogger.comtag:blogger.com,1999:blog-6698210309262137433.post-585388304432495462013-01-29T15:01:20.433-05:002013-01-29T15:01:20.433-05:00Hi, I actually can make an adition to the solution...Hi, I actually can make an adition to the solution that hopefuly may be helpful for someone. I used Notepad++ for the search and replace process. With it, you can use wildcards and make the process a bit faster and accurate. This is an example of how i made the search:<br /><br /> Search: FitWidth... <br /> Replace: TopLeftZoom,0,0,0.0<br /><br />With "." it finds any character. In this case it founds the expression: "FitWidth,-5" and changed it correctly.Les Gauthyhttps://www.blogger.com/profile/05674771695287382793noreply@blogger.comtag:blogger.com,1999:blog-6698210309262137433.post-25633882980667922142012-09-19T20:49:57.844-04:002012-09-19T20:49:57.844-04:00thankyou thankyou thankyouthankyou thankyou thankyouAnonymoushttps://www.blogger.com/profile/05265944606183221049noreply@blogger.comtag:blogger.com,1999:blog-6698210309262137433.post-35168626647330789962012-09-16T21:54:10.358-04:002012-09-16T21:54:10.358-04:00Hey man, just wanted to thank you for this solutio...Hey man, just wanted to thank you for this solution. I've been trying to do this for a while, and none of the other suggestions have worked. My documents are now actually readable!Anonymousnoreply@blogger.com