|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.render.intermediate.IFUtil
Utility functions for the intermediate format.
| Constructor Summary | |
IFUtil()
|
|
| Method Summary | |
static java.lang.String |
getEffectiveMIMEType(IFDocumentHandler documentHandler)
Returns the MIME type of the output format that the given document handler is supposed to handle. |
static void |
setupFonts(IFDocumentHandler documentHandler)
Sets up the fonts on a document handler. |
static void |
setupFonts(IFDocumentHandler documentHandler,
FontInfo fontInfo)
Sets up the fonts on a document handler. |
static java.lang.String |
toString(java.awt.geom.AffineTransform transform)
Converts an AffineTransform instance to an SVG style transform method. |
static java.lang.String |
toString(java.awt.geom.AffineTransform[] transforms)
Converts an AffineTransform array to an SVG style transform method sequence. |
static java.lang.StringBuffer |
toString(java.awt.geom.AffineTransform[] transforms,
java.lang.StringBuffer sb)
Converts an AffineTransform array to an SVG style transform method sequence. |
static java.lang.StringBuffer |
toString(java.awt.geom.AffineTransform transform,
java.lang.StringBuffer sb)
Converts an AffineTransform instance to an SVG style transform method. |
static java.lang.String |
toString(int[] coordinates)
Converts an array of integer coordinates into a space-separated string. |
static java.lang.String |
toString(java.awt.Rectangle rect)
Converts a rectangle into a space-separated string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IFUtil()
| Method Detail |
public static java.lang.StringBuffer toString(java.awt.geom.AffineTransform transform,
java.lang.StringBuffer sb)
AffineTransform instance to an SVG style transform method.
transform - the transformation matrixsb - the StringBuffer to write the transform method to
public static java.lang.StringBuffer toString(java.awt.geom.AffineTransform[] transforms,
java.lang.StringBuffer sb)
AffineTransform array to an SVG style transform method sequence.
transforms - the transformation matrix arraysb - the StringBuffer to write the transform method sequence to
public static java.lang.String toString(java.awt.geom.AffineTransform[] transforms)
AffineTransform array to an SVG style transform method sequence.
transforms - the transformation matrix array
public static java.lang.String toString(java.awt.geom.AffineTransform transform)
AffineTransform instance to an SVG style transform method.
transform - the transformation matrix
public static java.lang.String toString(int[] coordinates)
coordinates - the coordinates
public static java.lang.String toString(java.awt.Rectangle rect)
rect - the rectangle
public static void setupFonts(IFDocumentHandler documentHandler,
FontInfo fontInfo)
throws FOPException
FopFactory will be used. Otherwise,
a default font configuration will be set up.
documentHandler - the document handlerfontInfo - the font info object (may be null)
FOPException - if an error occurs while setting up the fonts
public static void setupFonts(IFDocumentHandler documentHandler)
throws FOPException
FopFactory will be used. Otherwise,
a default font configuration will be set up.
documentHandler - the document handler
FOPException - if an error occurs while setting up the fontspublic static java.lang.String getEffectiveMIMEType(IFDocumentHandler documentHandler)
IFSerializer it returns the MIME type of the
document handler it is mimicking.
documentHandler - the document handler
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||