|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FontManager
Method Summary | |
---|---|
java.lang.String |
getCurrentFont()
|
void |
installFont(java.io.File font)
Deprecated. Since 2.8 |
void |
installFont(org.springframework.core.io.Resource fontResource)
Installs the specified font resource |
boolean |
isCustomFontInstalled()
|
void |
restoreDefaultFont()
Removes custom font if one has been installed and reconfigures FOP to use the default font |
Method Detail |
---|
void installFont(java.io.File font) throws java.io.IOException, org.apache.fop.apps.FOPException
java.io.IOException
- if there is an error copying the font file to the fonts folder in the Confluence home directory
org.apache.fop.apps.FOPException
- if there is an error registering this new font with FOPvoid installFont(org.springframework.core.io.Resource fontResource) throws java.io.IOException, org.apache.fop.apps.FOPException
java.io.IOException
- if there is an error copying the font file to the fonts folder in the Confluence home directory
org.apache.fop.apps.FOPException
- if there is an error registering this new font with FOPjava.lang.String getCurrentFont()
boolean isCustomFontInstalled()
void restoreDefaultFont() throws org.apache.fop.apps.FOPException
org.apache.fop.apps.FOPException
- if there is an error registering the default font with FOP
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |