< Day Day Up > |
Applying a Color SchemeInfoPath 2003 provides a Color Schemes task pane, shown in Figure 6.10. If you don't need to create form templates in particular corporate colors, the Color Schemes task pane can be useful. Figure 6.10. The Color Schemes task pane.
To apply a color scheme to a view, click the desired color scheme from the choices offered in the Color Schemes task pane. In InfoPath 2003, the color scheme is applied only to the Table with Title layout table and to the Custom Table layout table. For all practical purposes, this means that if you want to be able to easily change the color scheme of a view, you must confine yourself to only those two types of layout table! The relatively easy-to-use functionality that lets you split and merge cells makes it pretty easy to create useful designs using only those two layout tables, but it is puzzling why the other layout tables are unaffected by color scheme selections.
Clicking on a color scheme in the Color Schemes task pane has no effect on the background color, text color, or outline of other layout tables. For simple color styling, the Color Schemes task pane is easy to use, but it lacks several facilities that I would have expected it to have. Gaps in InfoPath Styling CapabilitiesIf you are using InfoPath form templates throughout an organization, you might expect that you could use the InfoPath user interface to create corporate-wide styling of form templates. Unfortunately, at least in its first version, InfoPath fails to provide support via its user interface for such corporate-wide styling. No Support for External CSSIn InfoPath 2003, there is no way to create or modify an external CSS style sheet using the user interface. In fact, the presence of multiple style elements in the head of the HTML files produced by InfoPath's XSLT stylesheets means that any external CSS rules would be overridden by rules in the style elements. In a corporate tool, it would have been very useful to include an easy way to specify an external CSS style sheet for a form template. This would allow corporate colors to be easily applied to a form template or set of form templates. Equally, if a change of corporate styling is imposed, it would have been easy to change an external CSS style sheet. In InfoPath 2003, any change of styling in a set of InfoPath form templates would be a fairly major, tedious undertaking. No Support for Custom Color SchemesThe Color Schemes task pane provides 17 color schemes, plus an option to specify no color scheme. A notable omission from the Color Schemes task pane is any way to create a custom color scheme in your corporate colors. In addition, there is no way to find out what colors are being applied from the InfoPath user interface. You can hand edit XSLT and add a style element after the built-in style elements and use the CSS !important directive to add custom style information.
|
< Day Day Up > |