|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.tools.fontlist.FontListGenerator
public class FontListGenerator
Generates a list of available fonts.
Constructor Summary | |
---|---|
FontListGenerator()
|
Method Summary | |
---|---|
java.util.SortedMap |
listFonts(FopFactory fopFactory,
java.lang.String mime,
FontEventListener listener)
List all fonts configured for a particular output format (identified by MIME type). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontListGenerator()
Method Detail |
---|
public java.util.SortedMap listFonts(FopFactory fopFactory, java.lang.String mime, FontEventListener listener) throws FOPException
SortedMap<String/font-family, List<FontSpec
>>
fopFactory
- the FOP factory (already configured)mime
- the MIME type identified the selected output formatlistener
- a font event listener to catch any font-related errors while listing fonts
FOPException
- if an error occurs setting up the fonts
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |