Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.ExtLibs/HeuristicLab.EPPlus/4.0.3/EPPlus-4.0.3/ConditionalFormatting/Contracts/IExcelConditionalFormattingRule.cs

Last change on this file was 12074, checked in by sraggl, 10 years ago

#2341: Added EPPlus-4.0.3 to ExtLibs

File size: 3.5 KB
Line 
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    Conditional Formatting         2012-04-03
30 *******************************************************************************/
31using System;
32using System.Collections.Generic;
33using System.Linq;
34using System.Text;
35using System.Xml;
36using OfficeOpenXml.Style.Dxf;
37
38namespace OfficeOpenXml.ConditionalFormatting.Contracts
39{
40  /// <summary>
41  /// Interface for conditional formatting rule
42  /// </summary>
43  public interface IExcelConditionalFormattingRule
44  {
45    /// <summary>
46    /// The 'cfRule' XML node
47    /// </summary>
48    XmlNode Node { get; }
49
50    /// <summary>
51    /// Type of conditional formatting rule. ST_CfType §18.18.12.
52    /// </summary>
53    eExcelConditionalFormattingRuleType Type { get; }
54
55    /// <summary>
56    /// <para>Range over which these conditional formatting rules apply.</para>
57    /// <para>The possible values for this attribute are defined by the
58    /// ST_Sqref simple type (§18.18.76).</para>
59    /// </summary>
60    ExcelAddress Address { get; set; }
61
62    /// <summary>
63    /// The priority of this conditional formatting rule. This value is used to determine
64    /// which format should be evaluated and rendered. Lower numeric values are higher
65    /// priority than higher numeric values, where 1 is the highest priority.
66    /// </summary>
67    int Priority { get; set; }
68
69    /// <summary>
70    /// If this flag is 1, no rules with lower priority shall be applied over this rule,
71    /// when this rule evaluates to true.
72    /// </summary>
73    bool StopIfTrue { get; set; }
74
75    ///// <summary>
76    ///// <para>This is an index to a dxf element in the Styles Part indicating which cell
77    ///// formatting to apply when the conditional formatting rule criteria is met.</para>
78    ///// <para>The possible values for this attribute are defined by the ST_DxfId simple type
79    ///// (§18.18.25).</para>
80    ///// </summary>
81//    int DxfId { get; set; }
82    /// <summary>
83    /// Gives access to the differencial styling (DXF) for the rule.
84    /// </summary>
85    ExcelDxfStyleConditionalFormatting Style{ get; }
86  }
87}
Note: See TracBrowser for help on using the repository browser.