addFileset
public void addFileset(FileSet set)
Adds a set of XSL-FO files (nested fileset attribute).
execute
public void execute()
throws BuildException
getBasedir
public File getBasedir()
Gets the base directory.
getFilesets
public List getFilesets()
Returns the current list of filesets.
getFofile
public File getFofile()
Gets the input XSL-FO file.
getForce
public boolean getForce()
Gets the force attribute
getFormat
public String getFormat()
Gets the output format (MIME type).
getLogFiles
public boolean getLogFiles()
Returns True if the filename of each file processed should be logged.
- True if the filenames should be logged.
getMessageType
public int getMessageType()
Returns the message type corresponding to Project.MSG_*
representing the current message level.
org.apache.tools.ant.Project
getOutdir
public File getOutdir()
Gets the output directory.
getOutfile
public File getOutfile()
Gets the output file.
getRelativebase
public boolean getRelativebase()
Gets the relative base attribute
- the relative base attribute
getUserconfig
public File getUserconfig()
Returns the file for the userconfig.xml.
setBasedir
public void setBasedir(File baseDir)
Sets the base directory for single FO file (non-fileset) usage
baseDir
- File to use as a working directory
setFofile
public void setFofile(File foFile)
Sets the input XSL-FO file.
foFile
- input XSL-FO file
setForce
public void setForce(boolean force)
Set whether to check dependencies, or to always generate;
optional, default is false.
force
- true if always generate.
setFormat
public void setFormat(String format)
Sets output format (MIME type).
format
- the output format
setLogFiles
public void setLogFiles(boolean logFiles)
Controls whether the filenames of the files that are processed are logged
or not.
logFiles
- True if the feature should be enabled
setMessagelevel
public void setMessagelevel(String messageLevel)
Sets the message level to be used while processing.
messageLevel
- (error | warn| info | verbose | debug)
setOutdir
public void setOutdir(File outDir)
Sets the output directory.
outDir
- Directory to output to
setOutfile
public void setOutfile(File outFile)
Sets the output file.
outFile
- File to output to
setRelativebase
public void setRelativebase(boolean relbase)
Set whether to include files (external-graphics, instream-foreign-object)
from a path relative to the .fo file (true) or the working directory (false, default)
only useful for filesets
relbase
- true if paths are relative to file.
setUserconfig
public void setUserconfig(File userConfig)
Sets the filename for the userconfig.xml.
userConfig
- Configuration to use