在MUPDF超链接PDF [英] Hyperlink pdf on MUPDF

查看:257
本文介绍了在MUPDF超链接PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搭建的Andr​​oid MUPDF库及其工作的罚款要查看PDF,但任何一个知道我可以能够使用mupdf超链接来查看PDF作为mupdf表示支持超链接?????

I have build MUPDF library for android and its working fine to view a pdf but any one know how I can able to view pdf with hyper link using mupdf as mupdf said support hyperlink?????

推荐答案

我有同样需要这些过去几天;我写了1.0RC1 code一小块返回的int的字符串来代替。它基本上都在那里,但需要改变一些东西;

I had the same need these last couple of days; I wrote a small patch on the 1.0RC1 code to return a String instead of the int on. It was basically all there, but needed to change some things;

public static native String getPageLink(int page, float x, float y);

它仍然返回该页面为INT,但现在是24,洙你可以分析它,如果你仍然需要它。 希望MuPDF源被更新很快就连接类型返回一个完整的Java架构等等...

It still returns the page as the int but now as "24", soo you can parse it if you need it still. Hope the MuPDF source gets updated soon to return a full java structure on link types etc...

您可以下载这个: MuPDF拓-1.0RC1

下载包含的补丁(你可以编译yourselve),改变mupdfcore.c和放大器; mupdfcore.java JNI的文件,而且还易于使用编译好的二进制机器人。

The download contains the patch (as you can compile it yourselve), the changed mupdfcore.c & mupdfcore.java jni files, but also for easy use the compiled binaries for android.

这篇关于在MUPDF超链接PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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