Click or drag to resize
FontMappingSettings Class
FontMapping Settings implementation
Inheritance Hierarchy
SystemObject
  Sdl.FileTypeSupport.Framework.Core.SettingsFileTypeSettingsBase
    Sdl.FileTypeSupport.Framework.Core.SettingsFontMappingSettings

Namespace: Sdl.FileTypeSupport.Framework.Core.Settings
Assembly: Sdl.FileTypeSupport.Framework.Core.Settings (in Sdl.FileTypeSupport.Framework.Core.Settings.dll) Version: 1.0.0.0 (1.0.2551.2)
Syntax
public class FontMappingSettings : FileTypeSettingsBase

The FontMappingSettings type exposes the following members.

Constructors
  NameDescription
Public methodFontMappingSettings
Initializes a new instance of the FontMappingSettings class.
Top
Properties
  NameDescription
Public propertyStatic memberAllLanguages
Gets a collection of Culture IDs mapped to Culture short names (like en-US).
Public propertyCustomFontList
Gets the Custom font list
Public propertyEnableFontMapping
Gets or sets a value indicating whether usage of font mapping rules is enabled.
Public propertyFontMappingRules
Gets list that contains the FontMappingRule items that apply to the setting.
Top
Methods
  NameDescription
Public methodGetFontMappingRule
Returns the list of FontMappingRule items that corresponds to the lcid parameter
Protected methodGetSettingFromSettingsGroupT
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.)
Public methodGetSettingsInXml
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
Protected methodOnPropertyChanged
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.)
Public methodPopulateFromSettingsBundle
Populates a FontMappiongSettings from a SettingsBundle
(Overrides FileTypeSettingsBasePopulateFromSettingsBundle(ISettingsBundle, String).)
Public methodResetToDefaults
Reset font mapping settings to their default values
(Overrides FileTypeSettingsBaseResetToDefaults.)
Public methodSaveToSettingsBundle
Saves the FontMappingSettings into a SettingsBundle
(Overrides FileTypeSettingsBaseSaveToSettingsBundle(ISettingsBundle, String).)
Protected methodUpdateSettingInSettingsGroupT
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.)
Top
Events
  NameDescription
Public eventPropertyChanged
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.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments