anjumprevaiz Posted January 22, 2009 Share Posted January 22, 2009 hi buddies i want to apply style duynamically on some part of the text in a textField e.gtext in my TextField is "jasper reports is a great tool for reporting"i want to do this with this text "jasper reports is a great tool for reporting" i want somethng like thatAdvance thanks to All..... Link to comment Share on other sites More sharing options...
phantastes Posted January 22, 2009 Share Posted January 22, 2009 Hi,Would you be able to describe what you are trying to do a bit more? Do you know what the text will be or will there be a number of different strings? In these strings will there be a number of defined key words that will then change the text to be bold etc? Magnus Link to comment Share on other sites More sharing options...
hangman01 Posted January 22, 2009 Share Posted January 22, 2009 Use something like this:"This is normal text <style isBold="true" pdfFontName="Helvetica-Bold">for the bold portion</style> and back to normal text." Make sure that the isStyledText box is checked on the properties. If you are not using the output as a pdf you can leave off the pdfFontName. Link to comment Share on other sites More sharing options...
anjumprevaiz Posted January 23, 2009 Author Share Posted January 23, 2009 thanks hangman01 its working Link to comment Share on other sites More sharing options...
dnarce Posted October 7, 2011 Share Posted October 7, 2011 Hi, I have a problem.If I write : <style isBold="true">some text</style> it works!But if I write:<style hAlign="right">some text</style>That does not work! /tools/fckeditor/editor/images/smiley/msn/confused_smile.gifSomebody knows how I mut do this? (Right-aligned text) 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