Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.

Extract text

More
IP: 192.168.0.71 9 years 19 hours ago #12203 by miguel.garcia
Extract text was created by miguel.garcia
Good morning.
We are working with your Cordova plugin and we are changing it to get text from every page, therefore we are changing the cordova plugin and interface and everything works as expected but getting the text.
We are using the premium license provided by the plugin it self and we are able to open the doc and every page after calling to objStart() method on every page we always get null when we call to ObjGetString method.
Checking out other posts we have added a delay to the process getting the very same results.
Here you have the example code:
int resOpen = openPDFDoc(path2OpenFile, "");

if (resOpen == 0) {
int numPages = m_doc.GetPageCount();
Log.e("SJHY", "numPages:" + numPages);

for (int i = 0; i < m_doc.GetPageCount()-1; i++) {
final Page currentPage = m_doc.GetPage(i);
currentPage.ObjsStart();
final Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
String text = currentPage.ObjsGetString(0,200);
Log.e("SJHY", "Text:" + text);
}
}, 15000);


}
}

Any idea?

Thanks a lot for your support
More
IP: 192.168.0.71 9 years 18 hours ago #12205 by nermeen
Replied by nermeen on topic Extract text
We have checked and the following code is working, are you facing this problem with certain documents?
if yes, can you send us a sample?
Code:
for (int i = 0 ; i < m_doc.GetPageCount() ; i++) { Page page = m_doc.GetPage(i); page.ObjsStart(); String text = page.ObjsGetString(0, page.ObjsGetCharCount() - 1); Log.e("SJHY", "Text:" + text); }
More
IP: 192.168.0.71 9 years 17 hours ago - 9 years 17 hours ago #12206 by miguel.garcia
Replied by miguel.garcia on topic Extract text
I am trying to upload a file example but it exceeds the file allowed by the adminstrator.

Is there another way to send you the file?

Thanks
Last edit: 9 years 17 hours ago by miguel.garcia.
More
IP: 192.168.0.71 8 years 11 months ago - 8 years 11 months ago #12213 by nermeen
Replied by nermeen on topic Extract text
We have increased the limit, you can retry and if you still cannot upload, you can use dropbox, wetransfer or any file sharing software.
Last edit: 8 years 11 months ago by nermeen.
More
IP: 192.168.0.71 8 years 11 months ago #12214 by miguel.garcia
Replied by miguel.garcia on topic Extract text
Lets check whether it can be uploaded
More
IP: 192.168.0.71 8 years 11 months ago #12215 by miguel.garcia
Replied by miguel.garcia on topic Extract text
It seems it still exceeds the limit.

Would you mind trying to download from this url?

drive.google.com/open?id=0B-xf7TKFtDAvaTVKUGJobVBZZFE

Thanks
Time to create page: 0.430 seconds
Powered by Kunena Forum