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/07/12 20:38:13 UTC

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

Message:

   The following issue has been closed.

---------------------------------------------------------------------
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: Closed
   Priority: Minor
 Resolution: FIXED

    Project: Forrest
  Component: None
    Fix For: 0.6
   Versions:
             HEAD

   Assignee: 
   Reporter: Nick Chalko

    Created: Wed, 28 Apr 2004 9:02 PM
    Updated: Mon, 12 Jul 2004 8:38 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] Closed: (FOR-138) PDF margins ignored

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
...but I tried with krysalis-site and css-style-dev and the issue is 
still open for those skins. Note that both skins are using

>> Or do you mean the margins still aren't working for these skins?
>>
>
> Yes, I meant that. ...and it is quite weird because they both doing an 
> import on the common do2fo!
>
> Thanks again for fixing it :).


I just did an update and the css-style / krysalis-site skin now have as 
well the margin back :). 

Thanks!

king regards
thorsten

-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.
Avda. de la Arboleda s/n
41940 - Tomares,  (Sevilla)
Tlfn: (+34) 955 062 627
e-mail: thorsten.scherler.ext@juntadeandalucia.es

Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
contiene información de carácter confidencial exclusivamente dirigida a su
destinatario o destinatarios. Queda prohibida su divulgación, copia o
distribución a terceros sin la previa autorización escrita de "Sociedad
Andaluza para el Desarrollo de la Sociedad de la Información, S.A.U.". Si no
es Ud. el destinatario del mensaje le ruego lo destruya sin hacer copia
digital o física, comunicando a Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U. vía e-mail o fax la recepción del presente
mensaje. Toda declaración de voluntad contenida deberá ser tenida por no
producida. Gracias.
____________________________________________________________________________
___________________

The information in this e-mail and in any attachments is confidential and
solely for the attention and use of the named addressee(s). You are hereby
notified that any dissemination, distribution or copy of this communication
is prohibited without the prior written consent of "Sociedad Andaluza para
el Desarrollo de la Sociedad de la Información, S.A.U.". If you are not the
formal receiver of this message please destroy it without making any digital
or physical copy and inform "Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U." , by e-mail or fax, of the reception of
the present message. Any whatsoever involuntary declaration contained
herewith must be taken as having no legal effect. Thank you.



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

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
Dave Brondsema wrote:

> Scherler, Thorsten wrote:
>
>> issues@cocoondev.org wrote:
>>
>>> Message:
>>>
>>>    The following issue has been closed.
>>>
>>> ---------------------------------------------------------------------
>>> View the issue:
>>>
>>>   http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-138
>>>
>>>
>>
>> Hi Dave,
>>
>> did you try a /forrest seed/ after your update?
>>
>> I get the following error besides some other known errors (that are 
>> the same as in FOR-210 mentioned):
>> X [0] samples/faq.pdf    BROKEN: org.apache.fop.apps.FOPException: No 
>> flow in page-sequence
>>
> Good catch.  I just fixed that.
>
>> ...but I tried with krysalis-site and css-style-dev and the issue is 
>> still open for those skins. Note that both skins are using
>> <xsl:import href="../../../common/xslt/fo/document2fo.xsl"/>.
>>
>
> You're referring to the known errors in FOR-120, right?  


No!

> Or do you mean the margins still aren't working for these skins?
>

Yes, I meant that. ...and it is quite weird because they both doing an 
import on the common do2fo!

Thanks again for fixing it :).

thorsten

-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.



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

Posted by Dave Brondsema <da...@brondsema.net>.
Scherler, Thorsten wrote:
> issues@cocoondev.org wrote:
> 
>> Message:
>>
>>    The following issue has been closed.
>>
>> ---------------------------------------------------------------------
>> View the issue:
>>
>>   http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-138
>>
>>
> 
> Hi Dave,
> 
> did you try a /forrest seed/ after your update?
> 
> I get the following error besides some other known errors (that are the 
> same as in FOR-210 mentioned):
> X [0] samples/faq.pdf    BROKEN: org.apache.fop.apps.FOPException: No 
> flow in page-sequence
> 
Good catch.  I just fixed that.

> ...but I tried with krysalis-site and css-style-dev and the issue is 
> still open for those skins. Note that both skins are using
> <xsl:import href="../../../common/xslt/fo/document2fo.xsl"/>.
> 

You're referring to the known errors in FOR-120, right?  Or do you mean 
the margins still aren't working for these skins?

FOR-210 is related to FOR-147 I think.  Hopefully I'll be able to work 
on this some at work tomorrow.

-- 
Dave Brondsema : dave@brondsema.net
http://www.splike.com : programming
http://csx.calvin.edu : student org
http://www.brondsema.net : personal

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

Posted by "Scherler, Thorsten" <th...@apache.org>.
issues@cocoondev.org wrote:

> Message:
> 
>    The following issue has been closed.
> 
> ---------------------------------------------------------------------
> View the issue:
> 
>   http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-138
> 
> 

Hi Dave,

did you try a /forrest seed/ after your update?

I get the following error besides some other known errors (that are the 
same as in FOR-210 mentioned):
X [0] samples/faq.pdf	BROKEN: org.apache.fop.apps.FOPException: No flow 
in page-sequence

Besides that the pdf margin is fixed for the new seed. Thank you very 
much :).

...but I tried with krysalis-site and css-style-dev and the issue is 
still open for those skins. Note that both skins are using
<xsl:import href="../../../common/xslt/fo/document2fo.xsl"/>.

thorsten
-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
  <@cocoon-WIKI>
http://wiki.apache.org/cocoon/Scherler
</...@cocoon-WIKI>
  <acronymfinder>
http://www.acronymfinder.com/af-query.asp?String=exact&Find=Find&Acronym=
  </acronymfinder>
  <motto>
    "My task which I am trying to achieve is,
     by the power of the written word,
     [...] to make you see."
     *Joseph Conrad (1857-1924)*
  </motto>
</thorsten>