extend TCPDF class

Tobias Maier - February 5, 2007 - 18:16
Project:Pdfview
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I plan to enhance pdfview with extending the class.

Currently, it is not easy to change the pages' header and footer. PHP allows us to overwrite specific methods with own methods.
Beside this we can overwrite Error() so that errors get logged with watchdog.

You can get a first impression about this if you take a look at the files attached

AttachmentSize
pdfview.image__4.patch6 KB

#1

Tobias Maier - February 5, 2007 - 18:19
Status:active» needs review

this is the class extension

AttachmentSize
pdfview_tcpdf.inc_.txt 990 bytes

#2

Tobias Maier - February 5, 2007 - 18:20

I moved every theme function into this include except theme_pdfview_pdf()

AttachmentSize
pdfview_theme.inc_.txt 4.95 KB

#3

tzafrir - February 5, 2007 - 23:25

Wow, this is a very good step for pdfview!

Right now I cannot use it, because of the messy images, the error handling, and the problems with headering, so this is very good news to hear!

#4

Egon Bianchet - February 7, 2007 - 10:03

Let's discuss the future of pdfview here before going ahead: http://groups.drupal.org/pdf

#5

rconstantine - October 17, 2007 - 21:54

Any progress on this?

 
 

Drupal is a registered trademark of Dries Buytaert.