Skip to content

Commit

Permalink
1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriychunikhin committed Sep 15, 2024
2 parents 6025226 + d3d9c8f commit 78258c1
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 6 deletions.
Binary file modified Sample/report1.frx
Binary file not shown.
Binary file modified Sample/report2.frx
Binary file not shown.
Binary file modified Sample/sample.exe
Binary file not shown.
Binary file modified Sample/sample.pjx
Binary file not shown.
Binary file modified Sample/sample.scx
Binary file not shown.
Binary file modified Source/PdfiumReport.pjx
Binary file not shown.
10 changes: 5 additions & 5 deletions Source/pdfium-vfp.vc2
Original file line number Diff line number Diff line change
Expand Up @@ -7962,12 +7962,12 @@ DEFINE CLASS pdfiumviewer AS control && PDF viewer control.
ENDPROC

PROCEDURE searchtext && Text for searching. SearchClose must be called to stop search results rendering
LPARAMETERS tcFindWhat, tnDirection, tlMatchCase, tlMatchWholeWorld
LPARAMETERS tcFindWhat, tnDirection, tlMatchCase, tlMatchWholeWord

* tcFindWhat - text to find
* tnDirection - search direction: 1 - forward (default), 2 - backward
* tlMatchCase - .T. - case sensitive, .F. - case insensitive (default)
* tlMatchWholeWorld - .T. match whole word, .F. - not match whole word (default)
* tlMatchWholeWord - .T. match whole word, .F. - not match whole word (default)

* return value: -1 - error, 0 - not found, 1 - found, 2 - search ended

Expand All @@ -7987,12 +7987,12 @@ DEFINE CLASS pdfiumviewer AS control && PDF viewer control.
ENDIF


LOCAL lcFindWhat, lnDirection, llMatchCase, llMatchWholeWorld
LOCAL lcFindWhat, lnDirection, llMatchCase, llMatchWholeWord

lcFindWhat = CHRTRAN(ALLTRIM(EVL(NVL(m.tcFindWhat,""),"")), CHR(10)+CHR(13)+CHR(9),"")
lnDirection = EVL(NVL(m.tnDirection,0), SCH_FWD)
llMatchCase = EMPTY(NVL(m.tlMatchCase,.F.))=.F.
llMatchWholeWorld = EMPTY(NVL(m.tlMatchWholeWorld,.F.))=.F.
llMatchWholeWord = EMPTY(NVL(m.tlMatchWholeWord,.F.))=.F.

#define LOCALE_USER_DEFAULT 0x0400

Expand Down Expand Up @@ -8107,7 +8107,7 @@ DEFINE CLASS pdfiumviewer AS control && PDF viewer control.
ENDCASE


IF llMatchWholeWorld = .T. AND lnFindResIndex >= 0 AND lnFindResCount > 0
IF llMatchWholeWord = .T. AND lnFindResIndex >= 0 AND lnFindResCount > 0
LOCAL lcNextChar
lcNextChar = BINTOC(FPDFText_GetUnicode(lnFPDF_Text_Page, lnFindResIndex + lnFindResCount), "2RS")

Expand Down
Binary file modified Source/pdfium-vfp.vct
Binary file not shown.
Binary file modified Source/pdfium-vfp.vcx
Binary file not shown.
Binary file modified Source/pdfiumreport.app
Binary file not shown.
Binary file modified ThorUpdater/pdfium-vfp.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion ThorUpdater/pdfium-vfpVersion.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ return lcNotes
* "pdfium-vfp" is a Component. No procedure GetRegisterWithThor created by VFPX Deployment


*created by VFPX Deployment, 16.09.24 00:00:40
*created by VFPX Deployment, 16.09.24 00:07:32

0 comments on commit 78258c1

Please sign in to comment.