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

Marc Marc.Liste at free.fr
Tue Nov 28 01:20:36 PST 2006


Hello,
I try to insert in the crop a color so that there will not have any problem to cut the paper.
To do this I do a svg file with Inkscape with a rectangle of the size of the sheet plus the offset and put a color inside, for the test I put a different color, but there is nothing on the right of the sheet.
Here are my very simple code, I don't know exacttly the svg, then I put the exact output of Inkscape (Simple SVG format).
If anyone has an idea about this, thank's?
Marc
-------------------- Fo File
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
   xmlns:rx="http://www.renderx.com/XSL/Extensions">
   <fo:layout-master-set>
      <fo:simple-page-master master-name="page-blanche" page-height="29.7cm" page-width="21cm">
         <?xep-pdf-printer-mark url(D:\XML\FondsJurisprudence\Travail\Html/images_juris/fond1.svg)?>
         <?xep-pdf-crop-mark-width 0cm?>
         <?xep-pdf-crop-offset 1cm 1cm 1cm 1cm?>
         <?xep-pdf-bleed 0cm 0cm 0cm 0cm?>
         <fo:region-body margin-bottom="0" margin-left="0"
            background-color="rgb-icc (#DC,#14,#3C, #CMYK,0,0.909,0.727,0.137)" margin-right="0"
            margin-top="0"/>
      </fo:simple-page-master>
   </fo:layout-master-set>
   <fo:page-sequence master-reference="page-blanche">
      <fo:flow flow-name="xsl-region-body" start-indent="0">
         <fo:block font-size="21pt" space-after="2cm" id="SommaireGeneral">Table des
         matières</fo:block>
      </fo:flow>
   </fo:page-sequence>
</fo:root>
-------------- SVG File --------------------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   version="1.0"
   width="100%"
   height="100%"
   id="svg2">
  <defs
     id="defs4" />
  <rect
     width="779.52759"
     height="1062.9921"
     x="-0.98521709"
     y="-1.4670873"
     style="fill:#fa9600;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
     id="rect2766" />
</svg>
-------------------------------------------

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list