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

paperclips turn

More
10 years 4 weeks ago #11065 by Viachaslau
paperclips turn was created by Viachaslau
Hi! We have a small problem. When we use landscape orientation pdf - clip inverted. Portrait orientation pdf - normal.
The code in your project.
Project PDFReader. Class PDFReader.java. Method onTouchNote(MotionEvent event):
private boolean onTouchNote(MotionEvent event) {
if (m_status == STA_NOTE) {
switch (event.getActionMasked()) {
case MotionEvent.ACTION_UP:
PDFPos pos = m_view.vGetPos((int) event.getX(), (int) event.getY());
PDFVPage vpage = m_view.vGetPage(pos.pageno);
Page page = vpage.GetPage();
if (page != null) {
//float pt[] = new float[2];
//pt[0] = pos.x;
//pt[1] = pos.y;
//page.AddAnnotText(pt);
~~~~~~~~~~~~~add this code~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
float pt1[] = new float[4];
pt1[0] = pos.x;
pt1[1] = pos.y;
pt1[2] = pt1[0] + 20;
pt1[3] = pt1[1] + 25;
page.AddAnnotAttachment("/storage/emulated/0/Download/myPDF.pdf", 2, pt1);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
m_view.vRenderSync(vpage);
if (m_listener != null)
m_listener.OnPageModified(vpage.GetPageNo());
}
break;
}
return true;
}
return false;
}

Can we somehow affect this?




More
10 years 4 weeks ago #11066 by Viachaslau
Replied by Viachaslau on topic paperclips turn
More
10 years 3 weeks ago #11084 by Davide
Replied by Davide on topic paperclips turn
Hi,
can you reproduce the issue with all the annotation types?
Can you reproduce the issue with all your pdfs? Can you please send us one of these?
I think that the problem is related to the orientation of the pdf itself.
More
10 years 3 weeks ago - 10 years 3 weeks ago #11089 by Viachaslau
Replied by Viachaslau on topic paperclips turn
Hi. Yes. This problem is related to the orientation of the pdf itself.
The only problem with attached annotations. Text annotation is good.
www.dropbox.com/s/rtq3azivs6lprq4/12345.zip?dl=0
> pdf files
Last edit: 10 years 3 weeks ago by Viachaslau.
More
9 years 10 months ago #11395 by Davide
Replied by Davide on topic paperclips turn
Hi,
sorry for the late reply.

We have sent the issue to our developers and we'll get back to you as soon as possible.
More
9 years 10 months ago #11399 by Davide
Replied by Davide on topic paperclips turn
Hi,
we have just published a new 3.9RC1 version of the library that solves the issue.
You can download it here : www.radaeepdf.com/download/download-andr...ile/64-radaeepdf-3-9
Time to create page: 0.416 seconds
Powered by Kunena Forum