throwcode Posted March 17, 2008 Share Posted March 17, 2008 Hi, I would like to provide my users with the ability to define custom headers for predefined reports. Sending the headers as parameters is easy but I would also like to allow them to decide on font size, bold or italic. My problem is that I do not know how to set the font attributes (size, bold, and italic) dynamically. I can preset the textField property sheet | font tab to some default settings but have not figured out how to override these attributes in an expression statement. Any assistance would be greatly appreciated. TC Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted March 18, 2008 Share Posted March 18, 2008 Using JR < 2.0.5: Set the textfield text property "styled text" to true. This allows you to use simple html tags like: <u><b><i>. Using JR >= 2.0.5 There is a new markup attribute for textfields and static texts. This can be set to HTML to be able to format a text using pure HTML tags. Thanks giulio Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now