|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.font.outlet.NullFontFactory
public class NullFontFactory
Constructor Summary | |
---|---|
NullFontFactory()
|
Method Summary | |
---|---|
PDFont |
getBoldFlavor(PDFont font)
A font based on font , but with "bold" style. |
PDFont |
getFont(IFontQuery query)
A font satisfying the conditions defined in query . |
PDFont |
getItalicFlavor(PDFont font)
A font based on font , but with "italic" style. |
PDFont |
getRegularFlavor(PDFont font)
A font based on font , but with "regular" style. |
void |
registerFont(PDFont font)
Register a new font available for public use. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullFontFactory()
Method Detail |
---|
public PDFont getBoldFlavor(PDFont font)
IFontFactory
font
, but with "bold" style.
The font returned may be either a new one or a font already in use in a
PDDocument
. This decision is up to the factory.Be careful when
changing the font returned!
getBoldFlavor
in interface IFontFactory
font
- The base font to be "bolded".
font
, but with "bold" style.public PDFont getFont(IFontQuery query)
IFontFactory
query
.
The font returned may be either a new one or a font already in use in a
PDDocument
. This decision is up to the factory. Be careful when
changing the font returned!
getFont
in interface IFontFactory
query
- A query defining the PDFont
to be looked up.
query
.public PDFont getItalicFlavor(PDFont font)
IFontFactory
font
, but with "italic" style.
The font returned may be either a new one or a font already in use in a
PDDocument
. This decision is up to the factory.Be careful when
changing the font returned!
getItalicFlavor
in interface IFontFactory
font
- The base font to be "italicized".
font
, but with "italic" style.public PDFont getRegularFlavor(PDFont font)
IFontFactory
font
, but with "regular" style.
The font returned may be either a new one or a font already in use in a
PDDocument
. This decision is up to the factory. Be careful when
changing the font returned!
getRegularFlavor
in interface IFontFactory
font
- The base font to be "regularized".
font
, but with "regular" style.public void registerFont(PDFont font)
IFontFactory
registerFont
in interface IFontFactory
font
- The new font available for clients .
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |