| FormattingItemFactory Class |
Default implementation of the
IFormattingItemFactory interface.
Supports all formatting items that are defined in this assembly.
Inheritance HierarchySystemObject Sdl.FileTypeSupport.Framework.Core.Utilities.FormattingFormattingItemFactory
Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.FormattingAssembly: Sdl.FileTypeSupport.Framework.Core.Utilities (in Sdl.FileTypeSupport.Framework.Core.Utilities.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntaxpublic class FormattingItemFactory : IFormattingItemFactory
Public Class FormattingItemFactory
Implements IFormattingItemFactory
public ref class FormattingItemFactory : IFormattingItemFactory
type FormattingItemFactory =
class
interface IFormattingItemFactory
endThe FormattingItemFactory type exposes the following members.
Constructors
Methods|
| Name | Description |
|---|
 | CreateFormatting |
Creates a new, empty formatting item collection.
|
 | CreateFormattingItem |
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
Comments