1 | /*******************************************************************************
|
---|
2 | * You may amend and distribute as you like, but don't remove this header!
|
---|
3 | *
|
---|
4 | * EPPlus provides server-side generation of Excel 2007/2010 spreadsheets.
|
---|
5 | * See http://www.codeplex.com/EPPlus for details.
|
---|
6 | *
|
---|
7 | * Copyright (C) 2011 Jan Källman
|
---|
8 | *
|
---|
9 | * This library is free software; you can redistribute it and/or
|
---|
10 | * modify it under the terms of the GNU Lesser General Public
|
---|
11 | * License as published by the Free Software Foundation; either
|
---|
12 | * version 2.1 of the License, or (at your option) any later version.
|
---|
13 |
|
---|
14 | * This library is distributed in the hope that it will be useful,
|
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
---|
17 | * See the GNU Lesser General Public License for more details.
|
---|
18 | *
|
---|
19 | * The GNU Lesser General Public License can be viewed at http://www.opensource.org/licenses/lgpl-license.php
|
---|
20 | * If you unfamiliar with this license or have questions about it, here is an http://www.gnu.org/licenses/gpl-faq.html
|
---|
21 | *
|
---|
22 | * All code and executables are provided "as is" with no warranty either express or implied.
|
---|
23 | * The author accepts no liability for any damage or loss of business that this product may cause.
|
---|
24 | *
|
---|
25 | * Code change notes:
|
---|
26 | *
|
---|
27 | * Author Change Date
|
---|
28 | * ******************************************************************************
|
---|
29 | * Eyal Seagull Added 2012-04-03
|
---|
30 | *******************************************************************************/
|
---|
31 | using System;
|
---|
32 | using System.Collections.Generic;
|
---|
33 | using System.Linq;
|
---|
34 | using System.Text;
|
---|
35 | using System.Drawing;
|
---|
36 | using System.Xml;
|
---|
37 | using OfficeOpenXml.ConditionalFormatting.Contracts;
|
---|
38 |
|
---|
39 | namespace OfficeOpenXml.ConditionalFormatting
|
---|
40 | {
|
---|
41 | /// <summary>
|
---|
42 | /// ExcelConditionalFormattingAverageGroup
|
---|
43 | /// </summary>
|
---|
44 | public class ExcelConditionalFormattingAverageGroup
|
---|
45 | : ExcelConditionalFormattingRule,
|
---|
46 | IExcelConditionalFormattingAverageGroup
|
---|
47 | {
|
---|
48 | /****************************************************************************************/
|
---|
49 |
|
---|
50 | #region Constructors
|
---|
51 | /// <summary>
|
---|
52 | ///
|
---|
53 | /// </summary>
|
---|
54 | /// <param name="type"></param>
|
---|
55 | /// <param name="priority"></param>
|
---|
56 | /// <param name="address"></param>
|
---|
57 | /// <param name="worksheet"></param>
|
---|
58 | /// <param name="itemElementNode"></param>
|
---|
59 | /// <param name="namespaceManager"></param>
|
---|
60 | internal ExcelConditionalFormattingAverageGroup(
|
---|
61 | eExcelConditionalFormattingRuleType type,
|
---|
62 | ExcelAddress address,
|
---|
63 | int priority,
|
---|
64 | ExcelWorksheet worksheet,
|
---|
65 | XmlNode itemElementNode,
|
---|
66 | XmlNamespaceManager namespaceManager)
|
---|
67 | : base(
|
---|
68 | type,
|
---|
69 | address,
|
---|
70 | priority,
|
---|
71 | worksheet,
|
---|
72 | itemElementNode,
|
---|
73 | (namespaceManager == null) ? worksheet.NameSpaceManager : namespaceManager)
|
---|
74 | {
|
---|
75 | }
|
---|
76 |
|
---|
77 | /// <summary>
|
---|
78 | ///
|
---|
79 | /// </summary>
|
---|
80 | ///<param name="type"></param>
|
---|
81 | /// <param name="priority"></param>
|
---|
82 | /// <param name="address"></param>
|
---|
83 | /// <param name="worksheet"></param>
|
---|
84 | /// <param name="itemElementNode"></param>
|
---|
85 | internal ExcelConditionalFormattingAverageGroup(
|
---|
86 | eExcelConditionalFormattingRuleType type,
|
---|
87 | ExcelAddress address,
|
---|
88 | int priority,
|
---|
89 | ExcelWorksheet worksheet,
|
---|
90 | XmlNode itemElementNode)
|
---|
91 | : this(
|
---|
92 | type,
|
---|
93 | address,
|
---|
94 | priority,
|
---|
95 | worksheet,
|
---|
96 | itemElementNode,
|
---|
97 | null)
|
---|
98 | {
|
---|
99 | }
|
---|
100 |
|
---|
101 | /// <summary>
|
---|
102 | ///
|
---|
103 | /// </summary>
|
---|
104 | ///<param name="type"></param>
|
---|
105 | /// <param name="priority"></param>
|
---|
106 | /// <param name="address"></param>
|
---|
107 | /// <param name="worksheet"></param>
|
---|
108 | internal ExcelConditionalFormattingAverageGroup(
|
---|
109 | eExcelConditionalFormattingRuleType type,
|
---|
110 | ExcelAddress address,
|
---|
111 | int priority,
|
---|
112 | ExcelWorksheet worksheet)
|
---|
113 | : this(
|
---|
114 | type,
|
---|
115 | address,
|
---|
116 | priority,
|
---|
117 | worksheet,
|
---|
118 | null,
|
---|
119 | null)
|
---|
120 | {
|
---|
121 | }
|
---|
122 | #endregion Constructors
|
---|
123 |
|
---|
124 | /****************************************************************************************/
|
---|
125 | }
|
---|
126 | } |
---|