Thank you Koen.
Is there any document with the full list of html and CSS supported features? Regards. ___________________ Mario Diethelm Guallar From: Koen Deforche [mailto:k...@emweb.be] Sent: lunes, 27 de octubre de 2014 05:11 To: witty-interest@lists.sourceforge.net Subject: Re: [Wt-interest] reporting using html and pdf rendering Hey Mario, Wt supports CSS "page-break-before: always" and "page-break-after: always" declarations to force page breaks in multi-page PDFs. Koen 2014-10-27 1:22 GMT+01:00 Mario Diethelm Guallar <mari...@terra.cl <mailto:mari...@terra.cl> >: Hi, continuing with report development for my Web application, I need to include a multipage report. I have built an html source containing the styles for the different classes inside the report plus the report itself. I have put in a different <div> tag entry each report logical page. The report looks fine when I load it in the WText widget used for previewing purposes but when I generate the PDF file, all the different logical pages are written in the same PDF page (just one physical page for several logical pages). I have started from the code presented at the Widgetgallery PDF rendering example. Any idea why the pdf render could be generating just one page? Thanks. Regards. ___________________ Mario Diethelm Guallar From: Mario Diethelm Guallar [mailto:mari...@terra.cl <mailto:mari...@terra.cl> ] Sent: jueves, 23 de octubre de 2014 08:54 To: witty-interest@lists.sourceforge.net <mailto:witty-interest@lists.sourceforge.net> Subject: Re: [Wt-interest] reporting using html and pdf rendering Thanks Wim. A folder under the working directory (let say /images) plus a reference to the folder and the specific file (ie. “/images/file.jpg”) at the “src” attribute level works fine. Regards. ___________________ Mario Diethelm Guallar From: Wim Dumon [mailto:w...@emweb.be] Sent: jueves, 23 de octubre de 2014 04:59 To: witty-interest@lists.sourceforge.net <mailto:witty-interest@lists.sourceforge.net> Subject: Re: [Wt-interest] reporting using html and pdf rendering Hello Mario, Personally I prefer using data URLs in such a case to avoid using image files. If you use image files without path, I can only imagine that you should put them in the current working directory. Best regards, Wim. 2014-10-23 0:11 GMT+02:00 Mario Diethelm Guallar <mari...@terra.cl <mailto:mari...@terra.cl> >: Hi guys, I have built a couple of reports to complement my Web application generating html code in a stream that is pre visualized using a WText widget and then rendering the corresponding PDF file using a WPdfRenderer object (based on the widgetgallery examples). Everything works fine but when I try to add some images from files to my reports I just get the broken image logo when I load the WText widget with the corresponding html stream (I am using just the file name in the “src” property of the img tag without any directory, folder or drive specification). Where do I have to install the actual image files to get them loaded correctly? I am using the built-in httpd connector on a Windows environment. Thanks. ___________________ Mario Diethelm Guallar ------------------------------------------------------------------------------ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net <mailto:witty-interest@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net <mailto:witty-interest@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
_______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest