开发者

A pdf document viewing question

I 开发者_运维技巧have created a pdf in php.To view the next page i have to scroll down and i would like to change this.Is a technique that can allow me scroll from left to right to see the next page and right to left to see the previous page?


All the "initial view" options are available through the Acrobat UI. This isn't one of them... save as a "2 up" layout where pages are displayed side by side in pairs. There's no way to convince it to display "n-up".

The only alternative would be to brutally hack up a PDF page that was as wide as N pages. You'd want some margin in between and some sort of 'page' navigation buttons to move the view around on your horrifically vast page.

Note that there's an implementation-defined limit on the size of a PDF page in any given dimension... lets see...

Ah: 200"x200" using the standard "one point equals 1/72 of an inch". You can change the definition of a point in your document, but any given page box still cannot exceed 14,400 points in width or height.

So this horrific hack would butt up against the implementation limit at page 22 given 8.5"-wide pages with a half-inch gap between each "page".

I suspect current viewers would have Serious Problems rendering it efficiently, but I'm not about to hack up something that silly to find out.

[/mental-exercise-and-or-torture]

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜