>> Give your block-container an "id". If you render your document using -at,
>> you get an XML file. Locate the "block" element that has a "prod-id"
>> attribute with the id you've given the block-container. There may be
>> more than one. Choose the one that has is-viewport-area="true". There,
>> you'll find an attribute called "ctm". That's a transformation matrix.
>> If you manipulate it you may be able to achieve the effect you seek.
>> After modifying the XML you can render the XML file to PostScript using
>> -atin instead of -fo.
>> 
>> More info: http://xmlgraphics.apache.org/fop/0.93/intermediate.html
>> 
>> HTH
>Yes it does. Thanks for the tip. I am most certainly going to try this.

Finally got around trying this. It works...more or less.

If I start from 

  <fo:block-container id='totransform' height="100.0pt" width="100.0pt" 
      overflow="hidden" background-color="rgb(0,0,255)"
      position="absolute" top="30pt" left="30pt"  >
    <fo:block linefeed-treatment="ignore" white-space-treatment="ignore"
white-space-collapse="true"  
       color="cmyk(0,0,1,0)" font-size="8pt" background-color="rgb(0,0,0)"
>jaja
    </fo:block>
</fo:block-container>

and change the ctm as in 


<block ipd="100000" bpd="100000"
  ipda="100000" bpda="100000" bap="0 0 0 0"
  prod-id="totransform" is-viewport-area="true"
  background="color=#0000ff"
  bkg-color="java.awt.Color[r=0,g=0,b=255]"
  left-position="30000" top-position="30000"
  ctm="[0.7071 0.7071 -0.7071 0.7071 30000.0 30000.0]"
  clipped="true" positioning="absolute">


This does not rotate the 'background' of the block-container, but only its'
'content'.

http://www.nabble.com/file/p12018237/fo.pdf fo.pdf 

Would anyone have any thoughts?

Thanks,

Peter
-- 
View this message in context: 
http://www.nabble.com/%28Postscript%29-transformation-of-block-container-tf3632392.html#a12018237
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to