Re: Batik Extension/FOP problem

2003-03-06 Thread Swapan Golla
Yes. I am using the 0.20.5rc2. May be for the batik
extensions to work through FOP, I need to tweak some
batik code also??

Swapan.



--- Keiron Liddle <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >I am trying to use batik extensions through
> > FOP. I added BatikElementMapping and BatikObj
> objects
> > into my FOP src and then registered them in the
> driver
> > class but I am still getting some exceptions. Can
> > anybody help me out ? I am trying to embed the
> > flowText.svg ( provided by batik distribution )
> into a
> > simple fo document and then trying to convert into
> a
> > pdf.
> 
> As the exception is happening in batik it may be a
> version problem.
> Have you tried with the latest FOP rc.
> 
> > Swapan.
> > 
> > [ERROR] svg graphic could not be built: null
> > java.lang.ClassCastException
> > at
> >
>
org.apache.batik.bridge.CSSUtilities.getComputedStyle(CSSUtilities.java:96)
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Batik Extension/FOP problem

2003-03-06 Thread Swapan Golla
Hi All,
   I am trying to use batik extensions through
FOP. I added BatikElementMapping and BatikObj objects
into my FOP src and then registered them in the driver
class but I am still getting some exceptions. Can
anybody help me out ? I am trying to embed the
flowText.svg ( provided by batik distribution ) into a
simple fo document and then trying to convert into a
pdf.

Swapan.


[ERROR] svg graphic could not be built: null
java.lang.ClassCastException
at
org.apache.batik.bridge.CSSUtilities.getComputedStyle(CSSUtilities.java:96)
at
org.apache.batik.bridge.CSSUtilities.convertDisplay(CSSUtilities.java:509)
at
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:176)
at
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:148)
at
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:188)
at
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:148)
at
org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:76)
at
org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:513)
at
org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:472)
at
org.apache.fop.svg.SVGArea.render(SVGArea.java:58)
at
org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRenderer.java:456)
at
org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java:46)
at
org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRenderer.java:408)
at
org.apache.fop.layout.ColumnArea.render(ColumnArea.java:29)
at
org.apache.fop.render.AbstractRenderer.renderSpanArea(AbstractRenderer.java:57).


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Re: Wrong operand type error in ASV 3.0

2003-03-02 Thread Swapan Golla
The error still persists even after I changed the
width to 1.

Swapan.


--- Keiron Liddle <[EMAIL PROTECTED]> wrote:
> 
> > 
> >  > stroke="#00" stroke-
> > width="0.5" />
> 
> IIRC It is probably an error caused by this line
> being 0.5 width. In PDF lines can 
> only be whole numbers and it might wrongly be
> inserting 0.5 in the PDF causing 
> the error.
> Try making it width 1.
> 
> If you need a 0.5 width line it can be scaled.
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Wrong operand type error in ASV 3.0

2003-02-27 Thread Swapan Golla
Hi All,
I have written a small svg document and embedding this
svg 
document in an FO document to covert to pdf. I guess
the FOP 
completely depends on batik for SVG2PDF conversion.
When I try to 
open the resulting pdf, it says wrong operand type.
Can anybody help ?

Thanks in advance,
Swapan.


http://www.w3.org/1999/XSL/Format";>










Embedding SVG examples


Page 







http://www.w3.org/2000/svg";>




ABC
Company


O


RGANIZATION








 





__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



HTML to FO

2003-02-26 Thread Swapan Golla
I am having a need to convert html ( or xhtml ) to fo
documents and then to pdf. Any suggestions on the best
ways to achieve this ? I should be able to use/call 
this from my java program.

Thanks in advance,
Swapan.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Re: XMLReader...

2003-02-26 Thread Swapan Golla
Any ways to instruct FOP to use a particular SAXParser
rather than setting as system property ? 

Swapan.

--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> Swapan Golla wrote:
> > [ERROR] Could not load external SVG: SAX2 driver
> class
> > weblogic.xml.jaxp.RegistryXMLReader loaded but
> cannot
> > be instantiated
> >  (no empty public constructor?)
> This is something you should complain to your
> WebLogic
> support.
> 
> > Is there a way I can instruct the SVG transcoder
> API
> > to use a specific xmlreader than the one used by
> > weblogic ? 
> It depends. The easiest way would be to put the jar
> with the parser you want to use in the classpath
> before
> the WebLogic jar. If you use JDK 1.4 , you can copy
> the
> jar to the JDK's lib/endorsed directory. Another
> possiblity
> is to set the java.xml.parsers.SAXParserFactory
> service
> to the class name of the factory you want to use.
> 
> J.Pietschmann
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



XMLReader...

2003-02-21 Thread Swapan Golla
I am trying to convert an svg document into pdf using
. It doesn't seem to work
properly on weblogic server. It gives the following
error:

[ERROR] Could not load external SVG: SAX2 driver class
weblogic.xml.jaxp.RegistryXMLReader loaded but cannot
be instantiated
 (no empty public constructor?)
[ERROR] Error while creating area : No ImageReader for
this type of image 
(http:///xxx//image.svg)

Is there a way I can instruct the SVG transcoder API
to use a specific xmlreader than the one used by
weblogic ? 


Thanks in advance,
Swapan.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Trademark and copyright symbols

2002-10-07 Thread Swapan Golla

Hi All,
   I have text node which has copyright (©) 
and trademark (™) symbols embedded in it. When
I produce pdf using FOP 0.20.4, I get © for copyright
symbols on windows 2000 platform and Â#© on linux
redhat 7.2 platform. I am using jdk 1.3.1_03. Anybody
know why this is occuring ?

Any help is appreciated.

Swapan.


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

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