2006年6月26日
摘要: It's not often that you can't find coding examples on the internet to do basic programming tasks, so I was surprised when I couldn't find code to determine the page count of PDF documents. I've had to return to my old hacking ways (ie 'hacking' in its original sense). I visited my favorite hacking website - www.wotsit.org, downloaded the PDF document specifications and got coding. It didn't take too long to construct a reasonably efficient algorithm which does what I want. I've 阅读全文
posted @ 2006-06-26 16:12 RubyPDF 阅读(2902) 评论(0) 推荐(0) 编辑