• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4437: GenPDFAddOn does not evaluate VIEW_TEMPLATEs

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension GenPDFAddOn Urgent Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

So it can't print out pages generated by a TWikiApplication that renders net data in forms using a VIEW_TEMPALTE. Infact, genpdf does not evaluate templates at all, i.e. skin templates.

-- TWiki:Main/MichaelDaum - 07 Aug 2007

If template support is added, I think it should be done in a way that allows the current functionality to render a page with a more formal document feel. It does this wonderfully by adding a TOC, title, page, headers/foots, etc and taking off some of the skin specific rendering.

-- TWiki:Main.RickMach - 31 Aug 2007

If I use the HTMLDoc GUI application instead, and tell it to open the print URL, it does include VIEW_TEMPLATE rendering. I like that It also includes two tables at the end of the PDF that show the current form data, and attachments. I also like that it lets me color hyperlinks (which fixes two other problems), *and* it properly generates images which the add on failed to do.

If these things all work with the GUI, they should work with the add-on...

Update: I struck a problem fixed by upgrading from HTMLDOC 1.8.24 to 1.8.27.

-- TWiki:Main.SeanCMorgan - 14 May 2008

Okay, I've fixed a couple of things along the way. It now properly handles skin and cover settings. It uses cover for printing instead of skin. There've been a couple of little problems in the code that cleans up the html, i.e. anchors and images. There's an option pdfstruct to print unstructured webpages now. That's most usefull if you are using a VIEW_TEMPLATE that generates a plain html page that not necessarily gets converted to pdf by htmldoc using book (see their manual).

-- TWiki:Main.MichaelDaum - 02 Jul 2008

ItemTemplate
Summary GenPDFAddOn does not evaluate VIEW_TEMPLATEs
ReportedBy TWiki:Main.MichaelDaum
Codebase

SVN Range TWiki-4.1.2, Sun, 05 Aug 2007, build 14504
AppliesTo Extension
Component GenPDFAddOn
Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:16963
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2008-07-02 - MichaelDaum
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback