FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TPdfView Class from Arturo Tamayo
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM

TPdfView Class from Arturo Tamayo

Posted: Wed Jun 27, 2012 11:58 PM

Hi.

A while back Arturo announced a new class to view pdfs natively. Has anybody heard about this class again? Is the source available anywhere? Arturo?

Thank you,

Reinaldo.

Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM

Re: TPdfView Class from Arturo Tamayo

Posted: Thu Jun 28, 2012 12:49 PM
Hi Reinaldo,

you can see in this site http://www.mupdf.com and if you make a class maybe you can publish it

saludos

Marcelo
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: TPdfView Class from Arturo Tamayo

Posted: Fri Jun 29, 2012 12:04 PM
Dear Reinaldo,

Does it mean this?
Code (fw): Select all Collapse
*-----------------------------------*
Function OpenPdf(cTempFile,cReport)
LOCAL oWnd, oPdf

Default cReport := cTempFile

DEFINE WINDOW oWnd TITLE cReport

   oPdf = TActiveX():New( oWnd, "AcroPDF.PDF" )

   oPdf:LoadFile := cTempFile

   oWnd:oClient = oPdf

ACTIVATE WINDOW oWnd MAXIMIZED ;
            ON INIT SETWINDOWPOS( oWnd:hWnd, -1, 0, 0, 0, 0, 3 ) ;
            VALID (oPdf:End(), .T. )

RETURN NIL
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM

Re: TPdfView Class from Arturo Tamayo

Posted: Fri Jun 29, 2012 12:07 PM

Dutch;

Thank you. Arturo's class did not require Acrobat to be installed. It was supposed to be a native fw class.

But, in the absence of Arturo's class, I will use your code. Thank you.

Reinaldo.

Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM

Re: TPdfView Class from Arturo Tamayo

Posted: Fri Jun 29, 2012 12:12 PM
Dear Reinaldo,

could you see my problem?
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=24360

Regards,
Dutch
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion