|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pz.platypus.plugin.rtf.Conversions
public class Conversions
Performs various conversions needed in the PDF plugin
Constructor Summary | |
---|---|
Conversions()
|
Method Summary | |
---|---|
static float |
convertParameterToPoints(CommandParameter cp,
RtfData rtd)
Utility function to convert units in command parameters to points |
static java.lang.String |
convertParameterUnitToString(CommandParameter cp,
GDD gdd)
Converts a parameter unit type to a descriptive string (for error messages) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Conversions()
Method Detail |
---|
public static float convertParameterToPoints(CommandParameter cp, RtfData rtd)
cp
- the command parameterrtd
- RTF Data, which is used in a few calculations
public static java.lang.String convertParameterUnitToString(CommandParameter cp, GDD gdd)
cp
- the parameter containing the unit typegdd
- the GDD, containing the table of literals
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |