Re: Batik Extension/FOP problem

2003-09-07 Thread Thomas DeWeese
Jihai Qiu wrote: The CCS engine for the document is set in BridgeContext.initializeDocument(), which is called by org.apache.batik.bridge.GVTBuilder.build(). But it seems there is no way to set CCS engine from FOP classes(such as BatikElement). (I do not want to modify Batik source code). It also

Re: Batik Extension/FOP problem

2003-09-06 Thread Jihai Qiu
The CCS engine for the document is set in BridgeContext.initializeDocument(), which is called by org.apache.batik.bridge.GVTBuilder.build(). But it seems there is no way to set CCS engine from FOP classes(such as BatikElement). (I do not want to modify Batik source code). >It also appears that you

Re: Batik Extension/FOP problem

2003-09-05 Thread Thomas DeWeese
Hi Jay, Well the problem you are having is because you haven't setup the CSS engine for Batik. This is normally done by the batik.bridge.BridgeContext class in Batik. However, it also appears that you are trying to map just the flowText element - The SVG specification is pretty clear that SVG

Re: RE: Batik Extension/FOP problem

2003-09-05 Thread Jay Chiu
I solved the element class mapping issue, but still get exception at org.apache.batik.bridge.CSSUtilities.convertDisplay() because getComputedStyle(e, SVGCSSEngine.DISPLAY_INDEX) returns null on flowTextElement. If I set the method to return true, then I get exception at org.apache.batik.bridge.CSS

RE: Batik Extension/FOP problem

2003-09-03 Thread Jay Chiu
you please tell me what I am missing? Thank you very much. Jay ========= > > RE: Batik Extension/FOP problem > > > > > ------------ > > &g