You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2004/04/28 23:01:36 UTC

[issues] New comment: (FOR-138) PDF margins ignored

The following comment has been added to this issue:

     Author: Florian G. Haas
    Created: Wed, 28 Apr 2004 11:01 PM
       Body:
I just had a look into this. Apparently the skinconf.xml is being ignored altogether. The currently implemented method of getting to the $config variable in analogy to the HTML stylesheets (i.e. using the //skinconfig XPath) won't work here. The sitemap still tries to pass the config-file parameter and there is no content aggregation as there is with HTML.

However, reverting the stylesheet to honoring the config-file parameter and using the document() function doesn't work either. The config-file param is resolved correctly to point to the skinconf.xml located in build/webapp, but the document() function fails to retrieve the document node.

Could this be the same issue Bryan Hayes talked about in the thread titled "[Issue] Rev 10206 - Is skinconf being processed?" starting Apr 24? The thread itself seems inconclusive -- Cheche, do you have any new findings you could share?

I haven't checked, but I'm pretty sure that FOR-139 is a duplicate of this (also being a result of the skinconf file being ignored).
---------------------------------------------------------------------
View the issue:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-138


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-138
    Summary: PDF margins ignored
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Forrest
  Component: None
   Versions:
             HEAD

   Assignee: 
   Reporter: Nick Chalko

    Created: Wed, 28 Apr 2004 9:02 PM
    Updated: Wed, 28 Apr 2004 9:02 PM

Description:
Margins for PDF pages seemed to be ignored.  
I use the default of 
<pdf>
    <page size="letter" orientation="portrait"/>

    <margins double-sided="false">
      <top>1in</top>
      <bottom>1in</bottom>
      <inner>1.25in</inner>
      <outer>1in</outer>
    </margins>
  </pdf>

But the margins are always zero.  


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org/jira//Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [issues] New comment: (FOR-138) PDF margins ignored

Posted by Juan Jose Pablos <ch...@che-che.com>.
I was looking at this issue at the same time. It was introduced by me 
when I have update all the config values on the skins.

I have reverted to use the document funtion but the skinconf used is 
{project:skinconf}, this file has not got DTD so it can loaded.

I guess that this could have old values so it does not break old skins 
that has not updated their parameters.

Cheers,
cheche



issues@cocoondev.org escribió:
> The following comment has been added to this issue:
> 
>      Author: Florian G. Haas
>     Created: Wed, 28 Apr 2004 11:01 PM
>        Body:
> I just had a look into this. Apparently the skinconf.xml is being ignored altogether. The currently implemented method of getting to the $config variable in analogy to the HTML stylesheets (i.e. using the //skinconfig XPath) won't work here. The sitemap still tries to pass the config-file parameter and there is no content aggregation as there is with HTML.
> 
> However, reverting the stylesheet to honoring the config-file parameter and using the document() function doesn't work either. The config-file param is resolved correctly to point to the skinconf.xml located in build/webapp, but the document() function fails to retrieve the document node.
> 
> Could this be the same issue Bryan Hayes talked about in the thread titled "[Issue] Rev 10206 - Is skinconf being processed?" starting Apr 24? The thread itself seems inconclusive -- Cheche, do you have any new findings you could share?
> 
> I haven't checked, but I'm pretty sure that FOR-139 is a duplicate of this (also being a result of the skinconf file being ignored).
> ---------------------------------------------------------------------
> View the issue:
> 
>   http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-138
> 
> 
> Here is an overview of the issue:
> ---------------------------------------------------------------------
>         Key: FOR-138
>     Summary: PDF margins ignored
>        Type: Bug
> 
>      Status: Unassigned
>    Priority: Minor
> 
>     Project: Forrest
>   Component: None
>    Versions:
>              HEAD
> 
>    Assignee: 
>    Reporter: Nick Chalko
> 
>     Created: Wed, 28 Apr 2004 9:02 PM
>     Updated: Wed, 28 Apr 2004 9:02 PM
> 
> Description:
> Margins for PDF pages seemed to be ignored.  
> I use the default of 
> <pdf>
>     <page size="letter" orientation="portrait"/>
> 
>     <margins double-sided="false">
>       <top>1in</top>
>       <bottom>1in</bottom>
>       <inner>1.25in</inner>
>       <outer>1in</outer>
>     </margins>
>   </pdf>
> 
> But the margins are always zero.  
> 
> 
> ---------------------------------------------------------------------
> JIRA INFORMATION:
> This message is automatically generated by JIRA.
> 
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.cocoondev.org/jira//Administrators.jspa
> 
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira