Cloud background image is now supplied by the image.

This commit is contained in:
Jorge L. Williams
2010-11-07 16:57:08 -06:00
parent fee684781b
commit 9164cfb839
2 changed files with 23 additions and 7 deletions

View File

@@ -61,5 +61,13 @@ public abstract class PDFMojo extends AbstractPdfMojo {
transformer.setParameter ("admon.graphics.path", imageDirectory.getAbsolutePath()+File.separator);
transformer.setParameter ("callout.graphics.path", calloutDirectory.getAbsolutePath()+File.separator);
//
// Background image file
//
File cloudSub = new File (imageDirectory, "cloud");
File coverImg = new File (cloudSub, "cover.svg");
transformer.setParameter ("cloud.api.background.image", coverImg.getAbsolutePath());
}
}