Hello Albert, Thanks for your reply , Yes I saw the same observation its workiing fine on normal PC but when I using the same in ARM based m/c its returning me same co-ordinates eveytiime .Its not moving to next hit even though that page have next hit.
On Thu, Mar 11, 2010 at 4:15 AM, Albert Astals Cid <[email protected]> wrote: > A Dimecres, 10 de març de 2010, amit aggarwal va escriure: >> Hello, >> >> One observation which I noticed is that same page all searchText below >> algorithm is working fine on x86 but its returning same co-ordinate on >> arm processor. >> >> Please help me is there any problem in page search API or I am not >> using it in correct way ? > > You mean the code works in a regular PC but fails in an arm based machine? > > Albert > >> >> On Wed, Mar 10, 2010 at 6:03 PM, amit aggarwal <[email protected]> wrote: >> > Hi All, >> > >> > I am using page search API in different thread to search the word of >> > that particular page. But I am getting one problem that its returning >> > same co-ordinate every time even though that page is containing more >> > than 2 search hit also. >> > So that while loop is never ending. Please help me for the same and >> > let me know If I am doing something wrong. >> > >> > I am attaching my code snippets and log also. >> > >> > QRectF searchHit; >> > while(mDocument->page(pageindex)->search( >> > searchText, >> > searchHit, >> > Poppler::Page::NextResult, >> > Poppler::Page::CaseInsensitive)) { >> > >> > >> > qDebug()<<"**********Page:"<<pageIndex+1<<"qrect:"<<searchHit<<"searchTex >> > t:"<<searchText; (mResults[page]).append(searchHit); >> > } >> > >> > Debug: **********Page: 1 qrect: QRectF(391.9,226.28 110.48x46.52) >> > searchText: "Office" >> > Debug: **********Page: 1 qrect: QRectF(391.9,226.28 110.48x46.52) >> > searchText: "Office" >> > Debug: **********Page: 1 qrect: QRectF(391.9,226.28 110.48x46.52) >> > searchText: "Office" >> > Debug: **********Page: 1 qrect: QRectF(391.9,226.28 110.48x46.52) >> > searchText: "Office" >> > Debug: **********Page: 1 qrect: QRectF(391.9,226.28 110.48x46.52) >> > searchText: "Office" >> > Debug: **********Page: 1 qrect: QRectF(391.9,226.28 110.48x46.52) >> > searchText: "Office" >> > Debug: **********Page: 1 qrect: QRectF(391.9,226.28 110.48x46.52) >> > searchText: "Office" >> > Debug: **********Page: 1 qrect: QRectF(391.9,226.28 110.48x46.52) >> > searchText: "Office" >> > Debug: **********Page: 1 qrect: QRectF(391.9,226.28 110.48x46.52) >> > searchText: "Office" >> > >> > >> > >> > -- >> > Thanks >> > Amit Aggarwal > _______________________________________________ > poppler mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/poppler > -- Thanks Amit Aggarwal _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
