- Posts: 580
- Thank you received: 67
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
Roman numerals as page numbers
IP: 212.97.62.176
8 years 1 week ago #13995
by emanuele
Replied by emanuele on topic Roman numerals as page numbers
Hi,
we double checked the new beta version with the pdf file provided by you, and this code in viewWillAppear method:
returns {"r":1}
Please try to remove the app from your device and reinstall using the latest beta version
we double checked the new beta version with the pdf file provided by you, and this code in viewWillAppear method:
Code:
NSString *pagenumber = [m_doc pageLabel:0];
NSLog(@"%@", pagenumber);
Please try to remove the app from your device and reinstall using the latest beta version
IP: 105.225.58.175
8 years 1 week ago #14001
by cornelius
Replied by cornelius on topic Roman numerals as page numbers
Thank you
I deleted the app and re-tested it. The page numbers do work on the sample PDF I provided, but it doesn't work on the other PDFs.
I tried a few PDFs and all of them return nil except the sample PDF I provided
I deleted the app and re-tested it. The page numbers do work on the sample PDF I provided, but it doesn't work on the other PDFs.
I tried a few PDFs and all of them return nil except the sample PDF I provided
IP: 212.97.62.176
8 years 1 week ago #14004
by emanuele
Replied by emanuele on topic Roman numerals as page numbers
can you please provide a pdf file with the issue?
IP: 105.227.181.231
8 years 3 days ago #14011
by cornelius
Replied by cornelius on topic Roman numerals as page numbers
Hi
You can use the PDF in you sample app. I can replicate this with the help.pdf file
You can use the PDF in you sample app. I can replicate this with the help.pdf file
IP: 212.97.62.176
8 years 3 days ago #14012
by emanuele
Replied by emanuele on topic Roman numerals as page numbers
Hi,
pageLabel method follows the PDF reference 1.7 (section 8.3.1), but help.pdf version is 1.5.
Older versions probably don't follow the same references and, in this cases, you have to use Advanced APIs to get the page label.
pageLabel method follows the PDF reference 1.7 (section 8.3.1), but help.pdf version is 1.5.
Older versions probably don't follow the same references and, in this cases, you have to use Advanced APIs to get the page label.
Time to create page: 0.467 seconds