radha_m Posted September 11, 2008 Share Posted September 11, 2008 Hi All, Jasper reports gives a warning message on the console when a deprecated attribute is used. E.g. WARNING: The 'isStyledText' attribute is deprecated. Use the 'markup' attribute instead.Please let me know whether there is any way to suppress or avoid the warning message. Thanks & Regards,Radha Link to comment Share on other sites More sharing options...
radha_m Posted September 11, 2008 Author Share Posted September 11, 2008 I am using isStyledText attribute to apply the style for few words within a text field. See below: "I am " <style isBold="true" pdfFontName="Times-Bold">bolded text.</style> But this gives a warning while generating the pdf, as given below: WARNING: The 'isStyledText' attribute is deprecated. Use the 'markup' attribute instead. So i tried removed isStyledText="true" and used markup="html". But this does not seem to give the same result. All the text remains unbolded. Please can someone help me out to resolve this? Thanks, Radha Link to comment Share on other sites More sharing options...
radha_m Posted September 11, 2008 Author Share Posted September 11, 2008 I am using isStyledText attribute to apply the style for few words within a text field. See below: "I am " <style isBold="true" pdfFontName="Times-Bold">bolded text.</style> But this gives a warning while generating the pdf, as given below: WARNING: The 'isStyledText' attribute is deprecated. Use the 'markup' attribute instead. So i tried removed isStyledText="true" and used markup="html". But this does not seem to give the same result. All the text remains unbolded. Please can someone help me out to resolve this? Thanks, Radha Link to comment Share on other sites More sharing options...
radha_m Posted September 11, 2008 Author Share Posted September 11, 2008 I am using isStyledText attribute to apply the style for few words within a text field. See below: "I am " <style isBold="true" pdfFontName="Times-Bold">bolded text.</style> But this gives a warning while generating the pdf, as given below: WARNING: The 'isStyledText' attribute is deprecated. Use the 'markup' attribute instead. So i tried removed isStyledText="true" and used markup="html". But this does not seem to give the same result. All the text remains unbolded. Please can someone help me out to resolve this? Thanks, Radha 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