You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Eivind Andreassen <ei...@usit.uio.no> on 2006/03/20 11:37:30 UTC
different margin-top
Hi gurus
I want a differnet margin-top on the first page than the other pages of
the document. Can anyone help me?
Cheers
Eivind Andreassen
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: different margin-top
Posted by Eivind Andreassen <ei...@usit.uio.no>.
Cheers mate. It worked.
Greetings
Eivind.
On 20.03.2006 12:33, Joachim Pfaff wrote:
> Hello Eivind,
>
> there are sooo many solutions for this ;)
>
> I would prefer the following:
>
> 1.) Create a new simple-page-master, with the wanted margins and name
> it.
> 2.) Create a new page-sequence-master with entries like these:
>
> <fo:page-sequence-master master-name="TOC-Pages">
> <fo:repeatable-page-master-alternatives>
> <fo:conditional-page-master-reference master-
> reference="Page.TOC-First" page-position="first"/>
> <fo:conditional-page-master-reference master-
> reference="Page.TOC-Others"/>
> </fo:repeatable-page-master-alternatives>
> </fo:page-sequence-master>
>
> Where "Page.TOC-First" would be your new simple-page-master and
> "Page.TOC-Others" would be your old simple-page-master.
>
> Create your page sequence as following:
> <fo:page-sequence master-reference="TOC-Pages">
> Content.....................................
> </fo:page-sequence>
>
> You can also create custom simple-page-masters for odd and even
> pages.
>
> Greetings,
>
> Joachim
>
>
> On 20 Mar 2006 at 11:37, Eivind Andreassen wrote:
>
>
>>I want a differnet margin-top on the first page than the other pages of
>>the document. Can anyone help me?
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: different margin-top
Posted by Joachim Pfaff <Jo...@gmx.net>.
Hello Eivind,
there are sooo many solutions for this ;)
I would prefer the following:
1.) Create a new simple-page-master, with the wanted margins and name
it.
2.) Create a new page-sequence-master with entries like these:
<fo:page-sequence-master master-name="TOC-Pages">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-
reference="Page.TOC-First" page-position="first"/>
<fo:conditional-page-master-reference master-
reference="Page.TOC-Others"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
Where "Page.TOC-First" would be your new simple-page-master and
"Page.TOC-Others" would be your old simple-page-master.
Create your page sequence as following:
<fo:page-sequence master-reference="TOC-Pages">
Content.....................................
</fo:page-sequence>
You can also create custom simple-page-masters for odd and even
pages.
Greetings,
Joachim
On 20 Mar 2006 at 11:37, Eivind Andreassen wrote:
> I want a differnet margin-top on the first page than the other pages of
> the document. Can anyone help me?
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org