在机器人的web视图中显示PDF [英] Display pdf in webview of android
问题描述
我显示PDF格式的WebView使用谷歌文档的帮助下,这个网址
, https://docs.google.com/ PDF格式的gview?URL = +位置
。它突破了网页并给导航图标的右上角。有没有什么办法来显示打破他们的单流的所有页面,而不是。
I'm displaying a pdf in webview using help of google docs, with this 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.
在上面的图片,而不是显示在10个不同的页面,我想的PDF显示在单一的流,我不希望使用右上角的导航按钮。
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.
在&放大器; overridemobile =真
被添加到网址
,这一形象被显示。
when &overridemobile=true
is appended to URL
, this image is being showed.
推荐答案
您可以追加&放大器; overridemobile = TRUE
到URL
例如:
<$c$c>https://docs.google.com/gview?url=www.example.com/example.pdf&overridemobile=true$c$c>
这将覆盖移动浏览器,并把你的桌面版本,其中有一个单独的流程。
This will override the mobile viewer and take you to the desktop version, which has a single flow.
这篇关于在机器人的web视图中显示PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!