org.apache.fop.fo.expr
Interface Function
- AbsFunction, BodyStartFunction, FromParentFunction, FromTableColumnFunction, FunctionBase, InheritedPropFunction, LabelEndFunction, MaxFunction, MinFunction, NearestSpecPropFunction, PPColWidthFunction
public interface Function
Interface for managing XSL-FO Functions
eval
public Property eval(Property[] args,
PropertyInfo propInfo)
throws PropertyException
Evaluate the function
args
- an array of Properties that should be evaluatedpropInfo
- the PropertyInfo
- the Property satisfying the function
getPercentBase
public PercentBase getPercentBase()
- the basis for percentage calculations
nbArgs
public int nbArgs()
- the number of arguments that must be passed to this function. For
example, if the function should determine the minimum of two numbers, it
must be passed two arguments, one for each of the two values.
padArgsWithPropertyName
public boolean padArgsWithPropertyName()
- if it is allowed to fill up the property list with
the property name if only one arg is missing.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.