.pcf (Profile Configuration File)
A profile configuration file (.pcf) is an XML document specifying profile values that can be applied to any elements (or a limited number of elements) in a document type. A document type's .dcf file specifies the .pcf file to use for the document type's profiling configuration. Several document types can use the same .pcf file for their profiling configurations.
A .pcf file has the following structure:
• A top-level <Profiles> element contains all of the <ProfileClasses> elements in the configuration file.
• <ProfileClasses> elements define the profile classes of related individual profiles and groups of individual profiles for applying at editing time and setting at publishing time. <ProfileClasses> elements contain the <Profile>, <ApplyProfileGroup>, and <SetProfileGroup> elements.
If you are working with profile shading, you can set a value for the conflictShadingBackground attribute for a <ProfileClasses> element to provide a conflict color. This color will be applied to an element in a document if it has been assigned multiple profile values, each configured with different shading colors.
|
Although it is possible to specify a conflict color on any <ProfileClasses> element in the profile configuration file (.pcf), the color must be defined on the first <ProfileClasses> element to be effective.
|
• <Profile> elements define individual profiles that authors can apply to elements at editing time and select to produce profiled output. With the <Profile> element, you can specify:
◦ The specific elements to which the profile is restricted
◦ The specific elements from which the profile is restricted
◦ Sub classes, or folders, of related profiles
◦ Allowed values for the profile
◦ That the profile is restricted to one and only one profile value
◦ Shading colors
Set the shadingBackground attribute for the whole profile (Profile element), a profile sub-category (ProfileFolder child element), or a profile’s individual values (Allowed child element)
• <ApplyProfileGroup> elements specify groupings of individual profiles the author can apply to elements at editing time.
• <SetProfileGroup> elements specify groupings of individual profiles the author can set at publishing time. Individual profiles can be included and excluded using logical expressions.