Anonymous
03-19-2002, 04:24 PM
Great start with JFreeReport it will come in very handy.
I'm trying to create my own functions and I've run into a couple of problems.
1) The function I'm creating is a String Function. getValue is never called on it. I looked at your source and I see that getFormattedText is called for NumberFunctionElement which calls getValue on functions, but I don't see an equivalent for StringFunctionElement (for now I've set the function as a number function in the xml with and empty format).
2) Can I break on a group as the result of a function instead of a field?
3) Is there a way to create a function which will take more parameters than just the field name?
Thanks
I'm trying to create my own functions and I've run into a couple of problems.
1) The function I'm creating is a String Function. getValue is never called on it. I looked at your source and I see that getFormattedText is called for NumberFunctionElement which calls getValue on functions, but I don't see an equivalent for StringFunctionElement (for now I've set the function as a number function in the xml with and empty format).
2) Can I break on a group as the result of a function instead of a field?
3) Is there a way to create a function which will take more parameters than just the field name?
Thanks