I have implemented one pdf reader application for iphone.
In which I am searching text from the pdf.I have got proper text during searching.
But I have got some encoding string.How to do decode that string.
Please give me some advice.
Thanks
Related
I have been developing an asp application. I want to use response.charset that uses "UTF-8". I try to encode a unicode string by using server.urlencode. It is showed like this "%e3%81%a4%e3%82%". I got a problem this. I don't know how to decode url. Please, help me
This may help you, there is a tutorial and a tool that can decode the encoded URLs you can check it out here
I am developing App in which PDF text searching & highlighting is needed. I found like its very difficult to highlight in PDF. So i thought to convert PDF to HTML then by using java-script, Search the string & Highlight it. Actually i got success in searching & highlighting on HTML text using java script.If any1 need source code send your email id.
But my obstacle is PDF to HTML conversion. I know it is very hard,bcoz PDF is enrich text & HTML doesn't support all the features. In between i got some source code in Python i.e. PDFMiner. With out jail breaking its hard to use Python in IOS. So i dropped this idea also.
Now i m looking on xPDF, its C++ based code to convert PDF to HTML. Did any1 got success over integrating xPDF into your IOS app. I want to know feasibility of this.
Thanks in advance for ur thoughtful reply,
Naveen Thunga.
Here you can find an example. Still has some problems, but is a good start:
https://github.com/KurtCode/PDFKitten
I'm receiving a pdf that contains some data I would like to parse.
For example, there's an array with some integer data that I would like to parse for an automatic treatment.
I've looked at itext but the sample I've found are for writing pdf only.
Can someone give me an example of how to read through a pdf ?
Thanks in advance for any help.
Best regards
PdfBox is much better for reading text from a PDF file.
Finally,
I'm converting PDF to Word and I'm using Word interop :)
I have some XML that looks like the following sample:
<INLINE>
<IMG LINKTEXT="خدمات ديني يقيني" NUMOFCOLOUMNS="9" NUMOFROWS="20">RamadanPortal</IMG>
</INLINE>
When I tried to parse the above XML using NSXMLParser, I'm getting the LINKTEXT response as U062e\U062f.
How can I get the exact Arabic text instead of Unicode characters? Thanks in advance.
You need to download the file in the correct encoding. There's plenty of documentation on this on the apple website (developer docs), but since you haven't supplied a code example I can't point you at the exact one.
How do i Convert .doc format to pdf file from iphone .
i Want same layout as .doc format.
i Tried with html format but did not get any success.
anyone suggest any solution would be appreciated.
Thank you.
Since you are creating a PD based on a DOC Docmosis might help. The cloud system can work from an iPhone as long as you are happy calling a web service.