org.eclipse.mylyn.wikitext.core.util.anttask
Class MarkupToXslfoTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.eclipse.mylyn.wikitext.core.util.anttask.MarkupTask
org.eclipse.mylyn.wikitext.core.util.anttask.MarkupToXslfoTask
- All Implemented Interfaces:
- Cloneable
public class MarkupToXslfoTask
- extends MarkupTask
- Since:
- 1.1
- Author:
- David Green
Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Methods inherited from class org.eclipse.mylyn.wikitext.core.util.anttask.MarkupTask |
addConfiguredMarkupLanguageConfiguration, createMarkupLanguage, getInternalLinkPattern, getMarkupLanguage, getMarkupLanguageConfiguration, getSourceEncoding, isFailOnValidationError, isFailOnValidationWarning, isValidate, performValidation, readFully, setFailOnValidationError, setFailOnValidationWarning, setInternalLinkPattern, setMarkupLanguage, setMarkupLanguageConfiguration, setSourceEncoding, setValidate |
Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
xslfoFilenameFormat
protected String xslfoFilenameFormat
overwrite
protected boolean overwrite
file
protected File file
targetdir
protected File targetdir
MarkupToXslfoTask
public MarkupToXslfoTask()
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Overrides:
execute
in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
processFile
protected String processFile(MarkupLanguage markupLanguage,
File baseDir,
File source)
throws org.apache.tools.ant.BuildException
- process the file
- Parameters:
baseDir
- source
-
- Returns:
-
- Throws:
org.apache.tools.ant.BuildException
computeXslfoFile
protected File computeXslfoFile(File source,
String name)
getXslfoFilenameFormat
public String getXslfoFilenameFormat()
- See Also:
setXslfoFilenameFormat(String)
setXslfoFilenameFormat
public void setXslfoFilenameFormat(String filenameFormat)
- The format of the XSL-FO output file. Consists of a pattern where the '$1' is replaced with the filename of the
input file. Default value is
$1.fo
getFile
public File getFile()
- the file to process
setFile
public void setFile(File file)
- the file to process
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet set)
- Adds a set of files to process.
getTargetdir
public File getTargetdir()
setTargetdir
public void setTargetdir(File targetdir)
getAuthor
public String getAuthor()
getCopyright
public String getCopyright()
getDate
public String getDate()
getFontSize
public float getFontSize()
getFontSizeMultipliers
public float[] getFontSizeMultipliers()
getPageHeight
public float getPageHeight()
getPageMargin
public float getPageMargin()
getPageWidth
public float getPageWidth()
getSubTitle
public String getSubTitle()
getTitle
public String getTitle()
getVersion
public String getVersion()
isPageBreakOnHeading1
public boolean isPageBreakOnHeading1()
isPageNumbering
public boolean isPageNumbering()
isPanelText
public boolean isPanelText()
isShowExternalLinks
public boolean isShowExternalLinks()
isUnderlineLinks
public boolean isUnderlineLinks()
setAuthor
public void setAuthor(String author)
setCopyright
public void setCopyright(String copyright)
setDate
public void setDate(String date)
setFontSize
public void setFontSize(float fontSize)
setFontSizeMultipliers
public void setFontSizeMultipliers(float[] fontSizeMultipliers)
setPageBreakOnHeading1
public void setPageBreakOnHeading1(boolean pageBreakOnHeading1)
setPageHeight
public void setPageHeight(float pageHeight)
setPageMargin
public void setPageMargin(float pageMargin)
setPageNumbering
public void setPageNumbering(boolean pageNumbering)
setPageWidth
public void setPageWidth(float pageWidth)
setPanelText
public void setPanelText(boolean panelText)
setShowExternalLinks
public void setShowExternalLinks(boolean showExternalLinks)
setSubTitle
public void setSubTitle(String subTitle)
setTitle
public void setTitle(String title)
setUnderlineLinks
public void setUnderlineLinks(boolean underlineLinks)
setVersion
public void setVersion(String version)
Copyright © 2011 FuseSource, Corp.. All Rights Reserved.