Hi Vincent,
 
XWIKI-571 describes a similar issue in relation to header formatting, but the bug does not really reflect this problem as the logged issue is with applying a wiki format to a pdf; while what I'm having difficulty with is maintaining standard web layout consistant in my wiki render and my Print=>PDF rendering.
Without showing screenshots, only way I can really describe it is the following:
 
1) A thick black border around tables, even when I specify in my table to not have a border.  Almost like there is a table with thick bordering around the tables when rendering the PDF?
2) Each <td> is spaced to be a percentage of the total = eg, 4 columns, each one will be 25% of view area; even if using hardcoded widths.
    For eg, using percentages (same applies whether percentiles or exact pixel measurements):
        <tr>
            <td width="10%">status text</td>
            <td width="50%">A long text, maybe a description</td>
            <td width="20%">shorttext</td>
            <td width="20%">short text</td>
        </tr>
    Is always rendered as:
        <tr>
            <td width="25%">status text</td>
            <td width="25%">A long text, maybe a description</td>
            <td width="25%">short text</td>
            <td width="25%">short text</td>
        </tr>
    This means my reports when rendered into PDF are creating over three times the amount of pages than really necessary
 
If there is no layout applied to the view at all, then it looks relatively similar to the wiki view - but then the page would make little sense.

 

From: Vincent Massol [mailto:vincent@massol.net]
Sent: 24 January 2007 12:31
To: xwiki-users@objectweb.org
Subject: Re: [xwiki-users] PDF Output: XWiki10B2

Is your issue amongst one of these issues: http://tinyurl.com/ynph95 ?

Thanks
-Vincent

On Jan 24, 2007, at 1:24 PM, Esbach, Brandon wrote:

When creating a PDF output, the view is very different from the view offered when in xwiki itself (adds thick outer borders; widths are all overridden; etc)… is there any way in xwiki10B2 to alter this?


This was partially possible in 0.9.840 by modifying an xsl file (forget which one, about a year ago when I did this on our own servers).  There seems to be only one xsl file in the current version (xhtml.xsl), which does not seem to affect the style of the PDF output.

Anyone that can point me in the right direction for resolving this?


--
You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list.
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws