Hello,
All ppl who know what a basedir is and how to use it, pls ignore that
posting.
I needed some time to understand how i can use relative paths with fop
u need to set the baseDir: this allows u to configure FOP to start all
relative paths at a certain directory
for all ppl which have to set the baseDir
Heres an example method how to set the basedir:
public void setBaseDirUrl(File baseDir) {
try {
String baseDirPath = baseDir.toURL().toString();
org.apache.fop.configuration.Configuration.put("baseDir",
baseDirPath);
}
catch(MalformedURLException mue) {
mue.printStackTrace();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]