public class org.apache.fop.fo.expr.ProportionalColumnWidthFunction extends org.apache.fop.fo.expr.FunctionBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.fop.fo.expr.ProportionalColumnWidthFunction
super_class: org.apache.fop.fo.expr.FunctionBase
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.fop.fo.expr.FunctionBase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/fop/fo/expr/ProportionalColumnWidthFunction;
public int getRequiredArgsCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/fop/fo/expr/ProportionalColumnWidthFunction;
public org.apache.fop.datatypes.PercentBase getPercentBase();
descriptor: ()Lorg/apache/fop/datatypes/PercentBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.apache.fop.fo.expr.ProportionalColumnWidthFunction$ProportionalColumnWidthPercentBase
dup
invokespecial org.apache.fop.fo.expr.ProportionalColumnWidthFunction$ProportionalColumnWidthPercentBase.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/fop/fo/expr/ProportionalColumnWidthFunction;
public org.apache.fop.fo.properties.Property eval(org.apache.fop.fo.properties.Property[], org.apache.fop.fo.expr.PropertyInfo);
descriptor: ([Lorg/apache/fop/fo/properties/Property;Lorg/apache/fop/fo/expr/PropertyInfo;)Lorg/apache/fop/fo/properties/Property;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iconst_0
aaload
invokevirtual org.apache.fop.fo.properties.Property.getNumber:()Ljava/lang/Number;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new org.apache.fop.fo.expr.PropertyException
dup
ldc "Non numeric operand to proportional-column-width() function."
invokespecial org.apache.fop.fo.expr.PropertyException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Number
StackMap stack:
aload 2
invokevirtual org.apache.fop.fo.expr.PropertyInfo.getPropertyList:()Lorg/apache/fop/fo/PropertyList;
astore 4
start local 4 4: ldc "fo:table-column"
aload 4
invokevirtual org.apache.fop.fo.PropertyList.getFObj:()Lorg/apache/fop/fo/FObj;
invokevirtual org.apache.fop.fo.FObj.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
5: new org.apache.fop.fo.expr.PropertyException
dup
ldc "proportional-column-width() function may only be used on fo:table-column."
invokespecial org.apache.fop.fo.expr.PropertyException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.apache.fop.fo.PropertyList
StackMap stack:
aload 4
invokevirtual org.apache.fop.fo.PropertyList.getParentFObj:()Lorg/apache/fop/fo/FObj;
checkcast org.apache.fop.fo.flow.table.Table
astore 5
start local 5 7: aload 5
invokevirtual org.apache.fop.fo.flow.table.Table.isAutoLayout:()Z
ifeq 9
8: new org.apache.fop.fo.expr.PropertyException
dup
ldc "proportional-column-width() function may only be used when fo:table has table-layout=\"fixed\"."
invokespecial org.apache.fop.fo.expr.PropertyException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: org.apache.fop.fo.flow.table.Table
StackMap stack:
new org.apache.fop.fo.properties.TableColLength
dup
aload 3
invokevirtual java.lang.Number.doubleValue:()D
aload 2
invokevirtual org.apache.fop.fo.expr.PropertyInfo.getFO:()Lorg/apache/fop/fo/FObj;
invokespecial org.apache.fop.fo.properties.TableColLength.<init>:(DLorg/apache/fop/fo/FObj;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/fop/fo/expr/ProportionalColumnWidthFunction;
0 10 1 args [Lorg/apache/fop/fo/properties/Property;
0 10 2 pInfo Lorg/apache/fop/fo/expr/PropertyInfo;
1 10 3 d Ljava/lang/Number;
4 10 4 pList Lorg/apache/fop/fo/PropertyList;
7 10 5 t Lorg/apache/fop/fo/flow/table/Table;
Exceptions:
throws org.apache.fop.fo.expr.PropertyException
MethodParameters:
Name Flags
args
pInfo
}
SourceFile: "ProportionalColumnWidthFunction.java"
NestMembers:
org.apache.fop.fo.expr.ProportionalColumnWidthFunction$ProportionalColumnWidthPercentBase
InnerClasses:
private ProportionalColumnWidthPercentBase = org.apache.fop.fo.expr.ProportionalColumnWidthFunction$ProportionalColumnWidthPercentBase of org.apache.fop.fo.expr.ProportionalColumnWidthFunction