fop 0.93

org.apache.fop.fo.expr
Class PPColWidthFunction

java.lang.Object
  extended byorg.apache.fop.fo.expr.FunctionBase
      extended byorg.apache.fop.fo.expr.PPColWidthFunction
All Implemented Interfaces:
Function

public class PPColWidthFunction
extends FunctionBase

Class modelling the proportional-column-width function. See Sec. 5.10.4 of the XSL-FO standard.


Constructor Summary
PPColWidthFunction()
           
 
Method Summary
 Property eval(Property[] args, PropertyInfo pInfo)
          Evaluate the function
 int nbArgs()
           
 
Methods inherited from class org.apache.fop.fo.expr.FunctionBase
getPercentBase, padArgsWithPropertyName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PPColWidthFunction

public PPColWidthFunction()
Method Detail

nbArgs

public int nbArgs()
Returns:
1 (the number of arguments for the proportional-column-width function)

eval

public Property eval(Property[] args,
                     PropertyInfo pInfo)
              throws PropertyException
Description copied from interface: Function
Evaluate the function

Parameters:
args - array of arguments for this function
pInfo - PropertyInfo for this function
Returns:
numeric Property containing the units of proportional measure for this column
Throws:
PropertyException - for non-numeric operand, or if the parent element is not a table-column

fop 0.93

Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.