Vereinsmeisterschaften  22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
Loading...
Searching...
No Matches
IDocumentStrategy.cs
4
6{
10 public interface IDocumentStrategy
11 {
16
20 string TemplatePath { get; }
21
30
35 bool CreateMultiplePages { get; }
36
40 Type ItemType { get; }
41
46 object[] GetItems();
47
53
59
63 List<string> SupportedPlaceholderKeys { get; }
64
68 List<string> AlwaysSupportedPlaceholderKeys { get; }
69
75 List<int> PostfixNumbersSupported { get; }
76
83
90
94 Enum ItemOrdering { get; set; }
95
99 IEnumerable<Enum> AvailableItemOrderings { get; }
100
104 IEnumerable<Enum> AvailableItemFilters { get; }
105
109 Enum ItemFilter { get; set; }
110
114 object ItemFilterParameter { get; set; }
115 }
116}
Class to hold table placeholders and their list of values.
Interface for document strategies that define how to create and collect data for different types of d...
Type ItemType
Gets the type of items that this strategy will handle.
bool SupportTextPlaceholders
Indicating if DocXPlaceholderHelper.TextPlaceholders are supported.
bool SupportTablePlaceholders
Indicating if DocXPlaceholderHelper.TablePlaceholders are supported.
DocXPlaceholderHelper.TextPlaceholders ResolveTextPlaceholders(object item=null)
Resolve text placeholders for the given item.
IEnumerable< Enum > AvailableItemOrderings
Array with all available orderings for the items.
string TemplateFileNamePostfixReplaceStr
Use this string instead of the template file name postfix during document creation.
bool CreateMultiplePages
Gets a value indicating whether this strategy supports creating multiple pages in the document.
IEnumerable< Enum > AvailableItemFilters
Array with all available filters for the items.
List< string > SupportedPlaceholderKeys
List of placeholder keys that are supported by this strategy.
object ItemFilterParameter
Filter parameter that can be used together with ItemFiltering.
DocumentCreationTypes DocumentType
Gets the type of document this strategy creates.
DocXPlaceholderHelper.TablePlaceholders ResolveTablePlaceholders(object[] items)
Resolve table placeholders for the given items.
object[] GetItems()
Retrieves the items that will be used to create the document.
List< string > AlwaysSupportedPlaceholderKeys
List with placeholder keys that are always supported, no matter what the IDocumentPlaceholderResolver...
List< int > PostfixNumbersSupported
Number of postfix numbers that are supported for the placeholders.
string TemplatePath
Gets the path to the template used for creating the document.
DocumentCreationTypes
Different types of documents that can be created.