[英]Display pdf in webview of android
I'm displaying a pdf in webview using help of google docs, with this url
, https://docs.google.com/gview?url=+location of pdf
. 我正在使用谷歌文档的帮助在webview中显示pdf,这个
url
是https://docs.google.com/gview?url=+location of pdf
。 It's breaking the pages and giving navigation icons on top right. 它打破了页面并在右上方显示了导航图标。 Is there any way to display all the pages in single flow instead of breaking them.
有没有办法在单个流程中显示所有页面而不是打破它们。
In the image above, instead of showing in 10 different pages, i want the pdf to be displayed in single flow, I don't want to use navigation buttons on top right. 在上图中,我想要在单个流程中显示pdf,而不是在10个不同的页面中显示,我不想使用右上角的导航按钮。
when &overridemobile=true
is appended to URL
, this image is being showed. 当
&overridemobile=true
附加到URL
,将显示此图像。
You can append &overridemobile=true
to the url. 您可以将
&overridemobile=true
附加到网址。
Example: 例:
https://docs.google.com/gview?url=www.example.com/example.pdf&overridemobile=true
This will override the mobile viewer and take you to the desktop version, which has a single flow. 这将覆盖移动查看器并将您带到桌面版本,该版本具有单个流程。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.