You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Kelvin Zheng <kz...@diCarta.com> on 2000/10/27 23:51:33 UTC

How to show underline text with FOP?

I try to generate a PDF document that contains underline text. From the FOP
DTD spec, I couldn't find any way to do that.

Can anybody help me on that?

Thank you very much in advance.


Kelvin Zheng
diCarta, Inc.
600 Allerton Street 
Second Floor 
Redwood City, CA 94063 
http://www.dicarta.com
(650) 474-3862
(650) 474-3888 Fax 
mailto:kzheng@dicarta.com


Compile Error

Posted by Rafizan Baharum <ud...@umich.edu>.
hi..
i have problem compiling fop..
here what i got...
Fop Build System
----------------
Building with classpath
C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2\lib\classes.zip;lib\ant.jar;lib\w3c.jar;lib

Starting Ant...

Buildfile: build.xml
taskdef class Xslt cannot be found
        at org.apache.tools.ant.taskdefs.Taskdef.init(Taskdef.java:86)
        at
org.apache.tools.ant.ProjectHelper$TaskHandler.init(ProjectHelper.java,
Compiled Code)
        at
org.apache.tools.ant.ProjectHelper$TargetHandler.startElement(ProjectHelper.java,
Compiled Code)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
        at com.sun.xml.parser.Parser.parse(Parser.java:284)
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:102)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:107)

BUILD FAILED

build.xml:277: Could not create task of type: xslt because I can't find it in
the list of task class definitions

i believe its looking for Xslt.class but it IS in my lib/ plus i put it in
jdk/jre/lib/ext
Helpp!!

.uda



Re: How to show underline text with FOP?

Posted by Fotis Jannidis <fo...@lrz.uni-muenchen.de>.
From:           	Kelvin Zheng <kz...@diCarta.com>

> I try to generate a PDF document that contains underline text. From the FOP
> DTD spec, I couldn't find any way to do that.
 
<fo:inline text-decoration="underline">underline</fo:inline>

this works only with the latest cvs version, because it has been 
contributed to Fop quite lately

Fotis