webodf / ViewerJS

ViewerJS: Document Reader in JavaScript
http://viewerjs.org
1.94k stars 421 forks source link

Zooming options get removed with PDF from excel/powerpoint #102

Open KristofVanKriekingen opened 9 years ago

KristofVanKriekingen commented 9 years ago

We downloaden some pdf samples; Normal PDF: viewerjs PDF of Powerpoint & Excel viewerjs3 viewerjs2

The normal PDF has the option below to:

Whenever we move on the the pdf's taken from an excel or powerpoint, the zooming functionality disappears.

kossebau commented 9 years ago

Currently the PDF plugin for ViewerJS tries to be smart (tm): if the pages are wider than high, it assumes a document with slides and goes to automatic zoom handling (i.e. full page and not showing the Zoom control).

As your and other examples shows, this needs more smartness or at least a way to overrule the smartness. Something to improve in one of the next releases, no good idea yet how.

DiegoColli commented 7 years ago

Scrolling is not set yet, right? The zoom I have resolved by html... I am really new at GitHub, I don't know if the questions about zoom and scrolling are fixed or not. Are it solved? Thanks