在机器人的web视图中显示PDF [英] Display pdf in webview of android

查看:206
本文介绍了在机器人的web视图中显示PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我显示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

这将覆盖移动浏览器,并把你的桌面版本,其中有一个单独的流程。

This will override the mobile viewer and take you to the desktop version, which has a single flow.

这篇关于在机器人的web视图中显示PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆