TechSpoken
"Any ideas?" is the most frequently-asked question in technical forums. My answer is: yes.

Regarding PDFListener and SP2

October 3, 2007 12:44 by LSN

A small clarification is obviously in order, because a couple of people have asked me when I'm "releasing" the SP2 version of PDFListener, to go with the changes I've made in RunReports.

The answer is: there is nothing I need to release. The code in PDFListener.PRG looks like this:


#DEFINE FFC_HOME ADDBS(HOME() + "FFC")

#DEFINE PDFLISTENER_SUPERCLASSLIB ;
             FFC_HOME + "_reportlistener.vcx"

#DEFINE CLASS PDFListener AS utilityReportListener ;
      
OF PDFLISTENER_SUPERCLASSLIB

 

... If you re-compile PDFListener.PRG with an SP2 copy of _reportlistener.vcx, you get the SP2 improvements.

The latest version of the PDFListener source is here: http://spacefold.com/downloads, but I haven’t changed anything in that source zip except for adding a non-VFP 9 version of the facility (PDFClass.PRG), as I explained when I posted the article (http://spacefold.com/articles).

PDFClass does not descend from any reportlistener class, and it is the code I used in earlier versions of FoxPro. In fact, I have used similar code, all the way back to FoxPro DOS. (I think I refactored the code for OOP around VFP 5.)

I have not made the equivalent changes in PDFClass.PRG to improve its exposure of page numbers because PDFClass does not even have a pages array. I suppose I could add one, but there isn't much point. By definition, PDFClass doesn't need to consider a report run with mixed old-style and new-style syntax, or chained reports.


Comments

January 9. 2009 23:01

renzer_nazer@yahoo.com

you're idea is interesting and wonderful!!know i understand it thanks and more power!!it really helps me!!thanks again!

renzer_nazer@yahoo.com

February 20. 2009 14:02

Kampanye Damai Pemilu Indonesia 2009

thanks for sharing, I'll try PDFListener ..

Kampanye Damai Pemilu Indonesia 2009

March 6. 2009 13:47

Hits Tech Gadgets

well there nothing SP2

Hits Tech Gadgets

March 11. 2009 04:53

Hectic Capiznon

Thanks for sharing your experiences

Hectic Capiznon

March 16. 2009 15:41

Gharra

Useful article..

Gharra

March 19. 2009 02:07

Jamil Wright

thanks for sharing this kind of information. I'll try PDFListener

Jamil Wright

June 19. 2009 09:53

director

PDFListener helped me a lot

director

July 1. 2009 05:09

wongsableng

nice article, thanks for share information Smile

wongsableng

August 15. 2009 11:37

Mephisto Schuhe

I really enjoy reading this article

Mephisto Schuhe

October 29. 2009 19:37

Anbieter Vergleich

Good stuff. well done.....excelent article

Anbieter Vergleich

November 21. 2009 03:45

Alleinunterhalter

thanks for sharing this.
good stuff

Alleinunterhalter

November 21. 2009 03:46

Werbetechnik

wow amazing job.
and thank you very much for sharing that article.

Werbetechnik

December 9. 2009 04:08

flooring

What is PDFlistener and SP2?Where it is used?What are its features?

flooring

December 10. 2009 05:03

>L<

Flooring,

the references are in the blog post, but (just in case you are not a bot) please see spacefold.com/articles for more info on PDFListener.  If you are not a VFP programmer, don't bother, this is not for you.  (Notice the category of this post.)

>L<

December 11. 2009 12:42

Uwe

ITS A VERY GOOD TOOL

thanks a lot

Uwe

December 11. 2009 23:56

flood pictures

It's the first time I read about PDF listener, and I get it from you. Thanks ...

flood pictures

December 17. 2009 16:58

Denver DUI Lawyer

It is nice blog. But what is PDF Listener.Code you give I think will improve it. Your blog is nice.

Denver DUI Lawyer

December 28. 2009 15:44

sell photos

While Lisa's PDFListener is for VFP9, much of the code restricted in that class can be lifted out and used in previous side. You'll too study lots about how statement listeners work by studying her code.

sell photos

January 21. 2010 14:45

ucvhost

It is extremely helpful for me.nice blog post

ucvhost

January 22. 2010 02:21

Rosendo Stofferahn

Valuable data and wonderful design you bought here! I would really like to thank you for sharing your thoughts and time into the stuff you post!! Thumbs up

Rosendo Stofferahn

January 28. 2010 04:18

Tagesgeld Zinsvergleiche

SP2 was the best!!!

Tagesgeld Zinsvergleiche

February 14. 2010 13:36

Geldanlagen

Spacefold?

Geldanlagen

February 16. 2010 22:05

how to reduce belly fat

Why didn’t I find this post earlier? Keep up the good work!

how to reduce belly fat

February 18. 2010 01:52

Solicitor

Your information is very interesting and helpful.

Solicitor

February 19. 2010 22:02

ghds

Why didn’t I find this post earlier? Keep up the good work!

ghds

February 20. 2010 00:20

best weight loss tablet

It’s hard to find knowledgeable people on this topic, but you sound like you know what you’re talking about! Thanks

best weight loss tablet

March 7. 2010 17:41

automotive news

thanks for great tips

automotive news

March 10. 2010 08:03

Volker

Ich wollte Euch hiermit sagen, dass ich Eure Seite sehr schön finde und da es mir so gut gefallen hat. Werde ich Euch weiterempfehlen!! Und einen netten Gruss hinterlass ich euch auch. Ich würde ich mich über einen Gegenbesuch auf meiner
Webseite "Urlaub auf Sylt oder an der Ostsee" sehr freuen.

Volker

Add comment


(Will show your Gravatar icon)

  Country flag

Click to change captcha

biuquote
  • Comment
  • Preview
Loading