- Posts: 5
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
clickable Table of Content
IP: 192.168.0.71
11 years 3 months ago #8161
by sultan
clickable Table of Content was created by sultan
I have a pdf file that has clickable table of content page, when I click on a page in the table of content it doesn't go to the page in the pdf file
how can implement that ?
how can implement that ?
IP: 192.168.0.71
11 years 3 months ago - 11 years 3 months ago #8162
by radaee
Replied by radaee on topic clickable Table of Content
just invoke m_reader.PDFPerformAnnot() in PDFReaderAct.OnAnnotClicked()
Last edit: 11 years 3 months ago by .
IP: 192.168.0.71
11 years 3 months ago #8165
by sultan
Replied by sultan on topic clickable Table of Content
I tried this and its not working OnAnnotClicked is not even fired when I click on the chapter
IP: 192.168.0.71
11 years 3 months ago - 11 years 3 months ago #8172
by nermeen
Replied by nermeen on topic clickable Table of Content
There are 2 different scenarios:
- You mean extracting the TOC from the document and build a ui to show them, and handle the click...in this case you need to call Outline.GetDest to get the page number, then call m_view.vGotoPage(dest);
- You mean the TOC that already exist in the pdf pages (first couple of pages), in this case they are in the form of annotations, and it can be handled as mentioned above..but make sure that you are using at least a professional license to support annotations (in the demo project it should work)
Last edit: 11 years 3 months ago by marcoP.
IP: 192.168.0.71
11 years 3 months ago #8173
by sultan
Replied by sultan on topic clickable Table of Content
Thank you for the help, I tried this code : m_reader.PDFPerformAnnot() in PDFReaderAct.OnAnnotClicked()
in the demo project but it didn't work. the TOC is clickable when I open it from adope reader, but its not when I open it using the example
in the demo project but it didn't work. the TOC is clickable when I open it from adope reader, but its not when I open it using the example
IP: 192.168.0.71
11 years 3 months ago #8174
by radaee
Replied by radaee on topic clickable Table of Content
this feature need professional license or premium license.
if you use standard license or no license actived, page jumping shall not works.
if you are using professional license or premium license, and not working yet:
plz send us sample PDF file.
if you use standard license or no license actived, page jumping shall not works.
if you are using professional license or premium license, and not working yet:
plz send us sample PDF file.
Time to create page: 0.421 seconds