TPdfView Class from Arturo Tamayo

TPdfView Class from Arturo Tamayo

Postby reinaldocrespo » 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.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: TPdfView Class from Arturo Tamayo

Postby Marcelo Via Giglio » 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
Marcelo Via Giglio
 
Posts: 1064
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: TPdfView Class from Arturo Tamayo

Postby dutch » Fri Jun 29, 2012 12:04 pm

Dear Reinaldo,

Does it mean this?
Code: Select all  Expand view
*-----------------------------------*
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 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: TPdfView Class from Arturo Tamayo

Postby reinaldocrespo » 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.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: TPdfView Class from Arturo Tamayo

Postby dutch » 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 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 107 guests