Re: [xep-support] put a color in the offset crop

From: Eugene Protasov <protasov@renderx.com>
Date: Tue Nov 28 2006 - 05:10:50 PST

Hello, Marc!

> I try to insert in the crop a color so that there will not have any
> problem to cut the paper.
May be you will use the 'fo:region-after', 'fo:region-before',
'fo:region-start', 'fo:region-end' elements?
For example:
---- FO-file ----
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
 <fo:layout-master-set>
  <fo:simple-page-master master-name="default-page" page-height="11in"
page-width="8in">
   <fo:region-body
    region-name="xsl-region-body"
    margin-top="1in" margin-bottom="1in" margin-left="1in"
margin-right="1in"
    background="white"
   />
   <fo:region-before region-name="xsl-region-before" extent="1in"
display-align="after" background="silver"/>
   <fo:region-after region-name="xsl-region-after" extent="1in"
display-align="before" background="green"/>
   <fo:region-start region-name="xsl-region-start" extent="1in"
display-align="center" background="red"/>
   <fo:region-end region-name="xsl-region-end" extent="1in"
display-align="center" background="blue"/>
  </fo:simple-page-master>
 </fo:layout-master-set>
 <fo:page-sequence master-reference="default-page">
  <fo:flow flow-name="xsl-region-body">
   <fo:block>Viva la musique</fo:block>
  </fo:flow>
 </fo:page-sequence>
</fo:root>
---- end of FO-file ----

Sincerely,
Eugene

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Tue Nov 28 05:19:27 2006

This archive was generated by hypermail 2.1.8 : Tue Nov 28 2006 - 05:19:32 PST