Click or drag to resize
FormattingItemFactory Class
Default implementation of the IFormattingItemFactory interface. Supports all formatting items that are defined in this assembly.
Inheritance Hierarchy
SystemObject
  Sdl.FileTypeSupport.Framework.Core.Utilities.FormattingFormattingItemFactory

Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.Formatting
Assembly: Sdl.FileTypeSupport.Framework.Core.Utilities (in Sdl.FileTypeSupport.Framework.Core.Utilities.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public class FormattingItemFactory : IFormattingItemFactory

The FormattingItemFactory type exposes the following members.

Constructors
  NameDescription
Public methodFormattingItemFactory
Initializes a new instance of the FormattingItemFactory class
Top
Methods
  NameDescription
Public methodCreateFormatting
Creates a new, empty formatting item collection.
Public methodCreateFormattingItem
Default implementation, which compares the name against all known formatting types, instantiates a corresponding object, and sets its value from the string.
Top
Remarks
If you are extending the formatting items with more known types, you can derive a new factory from this class to ensure that those types get instantiated as appropriate.
See Also
Community
Edit

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