| FontMappingSettings Class |
Namespace: Sdl.FileTypeSupport.Framework.Core.Settings
The FontMappingSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| FontMappingSettings |
Initializes a new instance of the FontMappingSettings class.
|
| Name | Description | |
|---|---|---|
| AllLanguages |
Gets a collection of Culture IDs mapped to Culture short names (like en-US).
| |
| CustomFontList |
Gets the Custom font list
| |
| EnableFontMapping |
Gets or sets a value indicating whether usage of font mapping rules is enabled.
| |
| FontMappingRules |
Gets list that contains the FontMappingRule items that apply to the setting.
|
| Name | Description | |
|---|---|---|
| GetFontMappingRule |
Returns the list of FontMappingRule items that corresponds to the lcid parameter
| |
| GetSettingFromSettingsGroupT |
Checks whether the setting exists in the settings group, and retrieves its value (if it exists). If it does
not exist, the default value is returned instead.
(Inherited from FileTypeSettingsBase.) | |
| GetSettingsInXml |
Builds an xml (filters version 1) representation of the font settings
This is useful to be able to write the old represenation an be used by version 1 filters
| |
| OnPropertyChanged |
Fires the PropertyChanged event with the propertyName used as the event argument. This
needs to be called from the setter of every property when using binding (for example, in Silverlight/WPF UIs).
(Inherited from FileTypeSettingsBase.) | |
| PopulateFromSettingsBundle |
Populates a FontMappiongSettings from a SettingsBundle
(Overrides FileTypeSettingsBasePopulateFromSettingsBundle(ISettingsBundle, String).) | |
| ResetToDefaults |
Reset font mapping settings to their default values
(Overrides FileTypeSettingsBaseResetToDefaults.) | |
| SaveToSettingsBundle |
Saves the FontMappingSettings into a SettingsBundle
(Overrides FileTypeSettingsBaseSaveToSettingsBundle(ISettingsBundle, String).) | |
| UpdateSettingInSettingsGroupT |
Checks whether the setting exists in the settings group. If the setting does exist, then it
is updated with the new value; if it does not exist, a new setting is created, but only
if the value is not the same as the default value (in which case the call is effectively ignored).
(Inherited from FileTypeSettingsBase.) |
| Name | Description | |
|---|---|---|
| PropertyChanged |
All property setters must fire this event if data binding is to be used. The recommended approach is to use
OnPropertyChanged(String).
(Inherited from FileTypeSettingsBase.) |