Hello, Just downloaded the last snapshot xwiki-enterprise-jetty-hsqldb-3.0-20110208.100613-162.zip Run it, add an image in Sandbox.TestPage2 then try to generate a multipage pdf using the following : http://localhost:8080/xwiki/bin/export/Sandbox/WebHome?format=pdf&includechilds=2&pagebreaks=1
Works fine (the generated pdf is 10 pages long) but the Wiki Admin page is also included in the pdf. Don't know if it is a bug or a feature. Of course Sandbox.WebPreferences is a child of the WebHome page. So, *includelinks* intead of *includechilds *is a good option. http://localhost:8080/xwiki/bin/export/Sandbox/WebHome?format=pdf&includelinks=2&pagebreaks=1 Just for your info, the link to XWiki.XWikiSyntax is not followed (and I prefer but it is strange). Thanks for the fix, I think it is a very important feature to export the content of a wiki in an easy to email format (waiting for the death of the email). Maxime 2011/2/2 Vincent Massol <[email protected]> > > On Jan 31, 2011, at 4:07 PM, Vincent Massol wrote: > > > > > On Jan 31, 2011, at 3:51 PM, Sergiu Dumitriu wrote: > > > >> On 01/31/2011 03:10 PM, Le Génie wrote: > >>> Final episode, the multipage export. > >>> The images included in the child pages are never present in the > generated > >>> pdf. In the log, a lot of "Image not found" messages appear. In fact, > the > >>> images of a child page are looked up in the primary one. > >>> > >>> Tell me if you want more details. > >> > >> I think this is known, it's caused by the fact that image:filename.png > >> doesn't use the correct base document. It's a problem with the rendering > >> engine, > > > > Yes i have that on my todo to fix. > > Fixed in http://jira.xwiki.org/jira/browse/XWIKI-5902 (3.0M2). > > Thanks > -Vincent > > > As Sergiu said, absolute refs should work fine. > > > > Thanks > > -Vincent > > > >> not with the PDF export. Can you try to use the full reference > >> for images, as in image:[email protected], and see if it > works? > >> > >>> > >>> > >>> 2011/1/31 Le Génie<[email protected]> > >>> > >>>> Hi Sergiu, > >>>> > >>>> I'm testing with the 3.0 snapshot. > >>>> > >>>> Image 1 [[image:Copie01.jpg||width="50%"]] PDF ok > >>>> Image 2 [[image:Copie02.jpg||height="65%" width="65%"]] PDF ok > >>>> Image 3 [[image:Copie03.jpg||width="400px"]] DOES NOT appear in the > PDF > >>>> > >>>> Now I will test the multipage PDF export. > >>>> > >>>> Regards, > >>>> Maxime > >>>> > >>>> > >>>> 2011/1/30 Sergiu Dumitriu<[email protected]> > >>>> > >>>> On 01/28/2011 09:57 AM, Schömer, Jörg wrote: > >>>>>> Hi all, > >>>>>> > >>>>>> the PDF export works fine if the width attribute is set in percent, > but > >>>>> when measured in pixel the image is missing. > >>>>>> > >>>>>> XWIKI ENTERPRISE 2.6.33065 > >>>>> > >>>>> I made some improvements in the PDF export handling of images (only > on > >>>>> trunk at the moment, will be part of the future 3.0M2). Could someone > >>>>> verify this works fine for their images? Download the latest build > from > >>>>> > >>>>> > http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-jetty-hsqldb/3.0-SNAPSHOT/ > >>>>> and check the PDF export. > >>>>> > >>>>>> Best regards, > >>>>>> Jörg > >>>>>> > >>>>>> > >>>>>> -----Original Message----- > >>>>>> From: [email protected] [mailto:[email protected]] On > >>>>> Behalf Of Schömer, Jörg > >>>>>> Sent: Tuesday, January 11, 2011 11:01 AM > >>>>>> To: XWiki Users > >>>>>> Subject: Re: [xwiki-users] How to produce a doc from a set of XWiki > >>>>> pages ?Youradvice is welcome > >>>>>> > >>>>>> Hi Maxime, > >>>>>> > >>>>>> I figured out, that images with attributes width or hight are not > >>>>> rendered into the PDF. Remove the attributes and try again. > >>>>>> > >>>>>> e.g. > >>>>>> [[image:your.png||height="480" width="640"]] > >>>>>> should be changed to > >>>>>> [[image:your.png]] > >>>>>> > >>>>>> Best regards, > >>>>>> Jörg > >>>>>> > >>>>>> -----Ursprüngliche Nachricht----- > >>>>>> Von: [email protected] [mailto:[email protected]] Im > >>>>> Auftrag von Le Génie > >>>>>> Gesendet: Freitag, 7. Januar 2011 13:04 > >>>>>> An: XWiki Users > >>>>>> Betreff: [xwiki-users] How to produce a doc from a set of XWiki > pages ? > >>>>> Youradvice is welcome > >>>>>> > >>>>>> Hi XWikiers, > >>>>>> > >>>>>> We have written a software specification (SRD) inside our wiki. This > >>>>>> specification is a set of pages with graphics (as attached images) > and > >>>>>> mockups (using Balsamiq Mockups). > >>>>>> > >>>>>> Now, we want to communicate easily this specification to our > external > >>>>>> partner and, of course, they can't access our wiki (intranet only). > >>>>>> Our first idea was to produce a document (PDF). We try to use the > PDF > >>>>> export > >>>>>> but it seems that the inclusion of the children pages doesn't work. > >>>>> Other > >>>>>> problem with PDF (with a unique page), the included images don't > appear. > >>>>>> > >>>>>> Just for info, we are using the last 2.7 release of XWiki. > >>>>>> > >>>>>> So, do you have encountered the same need and how did you solve it ? > Do > >>>>>> XWord may help ? Other idea ? > >>>>>> Thanks for your response. > > > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
