mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
35 lines
1001 B
C#
35 lines
1001 B
C#
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using RainmeterStudio.Core.Model;
|
|||
|
|
|||
|
namespace RainmeterStudio.Core.Model
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Represents a document template
|
|||
|
/// </summary>
|
|||
|
public interface IDocumentTemplate
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Gets the document template name
|
|||
|
/// </summary>
|
|||
|
string Name { get; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Gets the default extension of this template
|
|||
|
/// </summary>
|
|||
|
string DefaultExtension { get; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Gets or sets the properties of this template
|
|||
|
/// </summary>
|
|||
|
/// <remarks>Properties are used to display a form dialog after the "New item" dialog closes.</remarks>
|
|||
|
IEnumerable<Property> Properties { get; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Creates a document using this template
|
|||
|
/// </summary>
|
|||
|
/// <returns>Created document.</returns>
|
|||
|
IDocument CreateDocument();
|
|||
|
}
|
|||
|
}
|