AndyShaw Posted May 16, 2012 Share Posted May 16, 2012 All: Is there any way to use a javascript rule to control the color for the fill or border of a container in a data-driven fashion? By "data-driven" I mean being able to use a color specified in the data rather than picking from an already-existing color that was defined in the template. Context -- we have clients who are doing mailings on behalf of partner companies. They would like to be able to specify, in data, a corporate color that would be used for some text and for some graphic backgrounds. I can see how to use a rule to define a text color on the fly, but it appears that a rule can only set the fill and border color to a pre-defined color (i.e. referencing it by name) and cannot set a fill or border color to a CMYK value. Any ideas? Thanks, Andy Shaw Quote Link to comment Share on other sites More sharing options...
ThomasLewis Posted May 17, 2012 Share Posted May 17, 2012 You can use a solid block character for the fill color as Dan describes here: http://forums.pti.com/showthread.php?t=2303 For text color you can use the function listed here for converting to CMYK colors on the fly: http://forums.printable.com/showthread.php?p=9698 I am not aware of any method to do outlines. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.