[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: watermarking PDF
At 2011-11-30 17:51 +0100, Geert Bormans wrote:
I was thinking about SVG after I saw the watermarking example of Antenna House It cannot be done inline unless you use the overlapping regions. The region background is an attribute, not a formatting object. The example below happens to look good in Antenna House. I hope this helps. . . . . . . . . . . Ken p.s. I created the SVG using the free Inkscape tool, saving as SVG, and hacking the resulting XML to be the minimum subset I need without the baggage Inkscape uses for going full circle saving and reopening the file <?xml version="1.0" encoding="US-ASCII"?><!--geert.fo--> <root xmlns="http://www.w3.org/1999/XSL/Format" font-family="Times" font-size="20pt"> <layout-master-set> <simple-page-master master-name="frame" page-height="297mm" page-width="210mm" margin-top="15mm" margin-bottom="15mm" margin-left="15mm" margin-right="15mm"> <region-body region-name="frame-body"/> <region-start region-name="start" extent="210mm"/> </simple-page-master> </layout-master-set> <page-sequence master-reference="frame"> <static-content flow-name="start"> <block text-align="center"> <instream-foreign-object> <svg xmlns="http://www.w3.org/2000/svg" width="744.09448819" height="1052.3622047"> <g id="layer1"> <text xml:space="preserve" style="font-size:133.00810242000000017px;font-style:normal;font-weight:no rmal;fill:#000000;fill-opacity:0.17647059;stroke:none;font-family:Bitstream Vera Sans" x="-635.17249" y="746.8996" id="text2816" transform="matrix(0.68900485,-0.68900485,0.7256843,0.7256843,0,0)"><tspan id="tspan2818" x="-635.17249" y="746.8996">Confidential</tspan></text> </g> </svg> </instream-foreign-object> </block> </static-content> <flow flow-name="frame-body"> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> <block>This is a test used to fill the page with text.</block> </flow> </page-sequence> </root>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|