|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for all output formats. This interface is sufficient for output
targets that are really converters, i.e. that need no layout, that read
directly from the FOTree. For output targets that require layout, i.e. that
read from the AreaTree, see Renderer
.
Method Summary | |
int[] |
getFontSources()
Indicates which font sources can be used by this OutputTarget. |
boolean |
outputStreamRequired()
Indicates whether an OutputStream is required by this target. |
void |
setApplicationName(java.lang.String applicationName)
Sets the application name meta-information item. |
void |
setApplicationNameShort(java.lang.String applicationNameShort)
Sets a short version of the application name meta-information item. |
void |
setApplicationVersion(java.lang.String applicationVersion)
Sets the application version meta-information item. |
void |
setDeveloperURLShort(java.lang.String developerURLShort)
Sets a short version of the developer's URL meta-information item. |
void |
setFontConsumer(FontConsumer fontConsumer)
Sets the FontConsumer to be used for this output. |
void |
setOutputStream(java.io.OutputStream stream)
Sets the OutputStream, if any, to which the output should be written. |
void |
setStrokeSVGText(boolean stroke)
Sets whether SVG Text should be stroked. |
void |
startOutput()
Hook allowing the OutputTarget to initialize itself and prepare to render pages. |
void |
stopOutput()
Hook allowing the OutputTarget to clean up. |
Method Detail |
public boolean outputStreamRequired()
public int[] getFontSources()
FontConsumer.FONT_SOURCE_FREE_STANDING
and
FontConsumer.FONT_SOURCE_SYSTEM
.
The order of the array signifies the order of preference for selection
purposes.
For example, if both system fonts and free-standing fonts can be used,
but free-standing fonts are preferred, the array should contain
{ FONT_SOURCE_FREE_STANDING, FONT_SOURCE_SYSTEM };public void setOutputStream(java.io.OutputStream stream)
stream
- The OutputStream to which the output should be written.public void setApplicationName(java.lang.String applicationName)
applicationName
- The application name to set.public void setApplicationNameShort(java.lang.String applicationNameShort)
applicationNameShort
- The short application name to set.public void setApplicationVersion(java.lang.String applicationVersion)
applicationVersion
- The application version to set.public void setDeveloperURLShort(java.lang.String developerURLShort)
developerURLShort
- The short developer URL to set.public void setStrokeSVGText(boolean stroke)
stroke
- Set to true for stroked text.public void setFontConsumer(FontConsumer fontConsumer)
fontConsumer
- The FontConsumer to set.public void startOutput() throws java.io.IOException
java.io.IOException
- For problems writing the output.public void stopOutput() throws java.io.IOException
java.io.IOException
- For problems writing the output.
|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.