2013年7月21日星期日

android parse pdf files

parse pdf android open source framework has mupdf and vudroid several. I want to parse out the pdf catalog, click on each directory when it jumps directly to pdf specified location? This seems to have several frame no such function. Guiqiu prawn, you have a solution? Thank you very much!
------ Solution ---------------------------------------- ----
has been sent to you
------ For reference only -------------------------- -------------
their top, Guiqiu help.
------ For reference only -------------- -------------------------
http://download.csdn.net/detail/zhufeng2007/5263999
download the file
 
PDF mPdf = null; ArrayList > outlines = new ArrayList > (); mPdf = new PDF (new File (filename), 2); Outline outline = mPdf.getOutline (); if (outline! = null) { / / Outlines
while (true) { HashMap item = new HashMap (); item.put ("title", outline.title); item.put ("page", outline.page); outlines.add (item); Log.i ("mytest", outline.toString ()); if (outline.next == null) { break; } Else { outline = outline.next; }
}
}


------ For reference only ---------------------------------- -----
mupdf can do directory Jump
http://blog.csdn.net/clybe/article/details/6732227
------ For reference only ----------------- ----------------------
great God, write thank! Thank you very much! But can not extract the downloaded archive!
------ For reference only -------------------------------------- -
Guiqiu source code! God bless you!

没有评论:

发表评论