EPPlus
Collection of Richtext objects
Help class containing XML functions.
Can be Inherited
Create a complex node. Insert the node according to SchemaOrder
using the TopNode as the parent
Create a complex node. Insert the node according to the
using the as the parent
Creates complex XML nodes
1. "d:conditionalFormatting"
1.1. Creates/find the first "conditionalFormatting" node
2. "d:conditionalFormatting/@sqref"
2.1. Creates/find the first "conditionalFormatting" node
2.2. Creates (if not exists) the @sqref attribute
3. "d:conditionalFormatting/@id='7'/@sqref='A9:B99'"
3.1. Creates/find the first "conditionalFormatting" node
3.2. Creates/update its @id attribute to "7"
3.3. Creates/update its @sqref attribute to "A9:B99"
4. "d:conditionalFormatting[@id='7']/@sqref='X1:X5'"
4.1. Creates/find the first "conditionalFormatting" node with @id=7
4.2. Creates/update its @sqref attribute to "X1:X5"
5. "d:conditionalFormatting[@id='7']/@id='8'/@sqref='X1:X5'/d:cfRule/@id='AB'"
5.1. Creates/find the first "conditionalFormatting" node with @id=7
5.2. Set its @id attribute to "8"
5.2. Creates/update its @sqref attribute and set it to "X1:X5"
5.3. Creates/find the first "cfRule" node (inside the node)
5.4. Creates/update its @id attribute to "AB"
6. "d:cfRule/@id=''"
6.1. Creates/find the first "cfRule" node
6.1. Remove the @id attribute
The last node creates/found
return Prepend node
name of the node to check
Topnode to check children
Insert the new node before any of the nodes in the comma separeted list
Parent node
comma separated list containing nodes to insert after. Left to right order
The new node to be inserterd
Schema order list
Options to insert a node in the XmlDocument
Insert as first node of "topNode"
Insert as the last child of "topNode"
Insert after the "referenceNode"
Insert before the "referenceNode"
Use the Schema List to insert in the right order. If the Schema list
is null or empty, consider "Last" as the selected option
Add a rich text string
The text to add
Clear the collection
Removes an item at the specific index
Removes an item
Collection containing the richtext objects
Items in the list
The text
3D settings
Degree of perspective
Rotation X-axis
Rotation Y-axis
Right Angle Axes
Depth % of base
Height % of base
A charts plot area
Utility for validation
Indicates that the cache contains data that consolidates ranges.
Indicates that the cache contains data from an external data source.
Indicates that the cache contains a scenario summary report
Indicates that the cache contains worksheet data
Cache definition. This class defines the source data. Note that one cache definition can be shared between many pivot tables.
Reference to the internal package part
Provides access to the XML data representing the cache definition in the package.
The package internal URI to the pivottable cache definition Xml Document.
Referece to the PivoTable object
The source data range when the pivottable has a worksheet datasource.
The number of columns in the range must be intact if this property is changed.
The range must be in the same workbook as the pivottable.
Type of source data
Worksheet hidden enumeration
The worksheet is visible
The worksheet is hidden but can be shown by the user via the user interface
The worksheet is hidden and cannot be shown by the user via the user interface
Represents an Excel worksheet and provides access to its properties and methods
*
A worksheet
Namespacemanager
Package
Relationship ID
URI
Name of the sheet
Sheet id
Position
hide
Read until the node is found. If not found the xmlreader is reseted.
The reader
Text to search for
Alternative text to search for
Load Hyperlinks
The reader
Load cells
The reader
Load merged cells
Update merged cells
The writer
Reads a row from the XML reader
The reader
The row number
Provides access to an individual cell within the worksheet.
The row number in the worksheet
The column number in the worksheet
Provides access to an individual row within the worksheet so you can set its properties.
The row number in the worksheet
Provides access to an individual column within the worksheet so you can set its properties.
The column number in the worksheet
Returns the name of the worksheet
The name of the worksheet
Selects a range in the worksheet. The active cell is the topmost cell.
Make the current worksheet active.
An address range
Selects a range in the worksheet. The actice cell is the topmost cell.
A range of cells
Make the sheet active
Selects a range in the worksheet. The active cell is the topmost cell of the first address.
Make the current worksheet active.
An address range
Selects a range in the worksheet. The active cell is the topmost cell of the first address.
A range of cells
Make the sheet active
Inserts a new row into the spreadsheet. Existing rows below the position are
shifted down. All formula are updated to take account of the new row.
The position of the new row
Number of rows to insert
Inserts a new row into the spreadsheet. Existing rows below the position are
shifted down. All formula are updated to take account of the new row.
The position of the new row
Number of rows to insert.
Copy Styles from this row. Applied to all inserted rows
Adds a value to the row of merged cells to fix for inserts or deletes
Deletes the specified row from the worksheet.
The number of the start row to be deleted
Number of rows to delete
Deletes the specified row from the worksheet.
The number of the start row to be deleted
Number of rows to delete
Not used. Rows are always shifted
Get the cell value from thw worksheet
The row number
The row number
The value
Get a strongly typed cell value from the worksheet
The type
The row number
The row number
The value. If the value can't be converted to the specified type, the default value will be returned
Set the value of a cell
The row number
The column number
The value
Set the value of a cell
The Excel address
The value
Get MergeCell Index No
Saves the worksheet to the package.
Delete the printersettings relationship and part.
Save all table data
Inserts the cols collection into the XML document
Insert row and cells into the XML document
Update xml with hyperlinks
The stream
Create the hyperlinks node in the XML
Returns the style ID given a style name.
The style ID will be created if not found, but only if the style name exists!
Get the next ID from a shared formula or an Array formula
Sharedforumlas will have an id from 0-x. Array formula ids start from 0x4000001-.
If the formula is an array formula
The Uri to the worksheet within the package
The PackagePart for the worksheet within the package
The ID for the worksheet's relationship with the workbook in the package
The unique identifier for the worksheet.
The position of the worksheet.
The index in the worksheets collection
Address for autofilter
Returns a ExcelWorksheetView object that allows you to set the view state properties of the worksheet
The worksheet's display name as it appears on the tab
Provides access to named ranges
Indicates if the worksheet is hidden in the workbook
Get/set the default height of all rows in the worksheet
Get/set the default width of all rows in the worksheet
Summary rows below details
Summary rows to right of details
Automatic styles
Color of the sheet tab
The XML document holding the worksheet data.
All column, row, cell, pagebreak, merged cell and hyperlink-data are loaded into memory and removed from the document when loading the document.
Vml drawings. underlaying object for comments
Collection of comments
A reference to the header and footer class which allows you to
set the header and footer for all odd, even and first pages of the worksheet
To format the text you can use the following format
PrefixDescription
- &UUnderlined
- &EDouble Underline
- &K:xxxxxxColor. ex &K:FF0000 for red
- &"Font,Regular Bold Italic"Changes the font. Regular or Bold or Italic or Bold Italic can be used. ex &"Arial,Bold Italic"
- &nnChange font size. nn is an integer. ex &24
- &GPlaceholder for images. Images can not be added by the library, but its possible to use in a template.
Printer settings
Provides access to a range of cells
Provides access to the selected range of cells
Addresses to merged ranges
Dimension address for the worksheet.
Top left cell to Bottom right.
If the worksheet has no cells, null is returned
Access to sheet protection properties
Collection of drawing-objects like shapes, images and charts
Tables defined in the worksheet.
Pivottables defined in the worksheet.
ConditionalFormatting defined in the worksheet. Use the Add methods to create ConditionalFormatting and add them to the worksheet. Then
set the properties on the instance returned.
DataValidation defined in the worksheet. Use the Add methods to create DataValidations and add them to the worksheet. Then
set the properties on the instance returned.
An image displayed as the background of the worksheet.
The workbook object
Collection containing merged cell addresses
An image that fills the background of the worksheet.
The topnode of the worksheet
Worksheet reference
Set the picture from an image file.
The image file will be saved as a blob, so make sure Excel supports the image format.
The image file.
The background image of the worksheet.
The image will be saved internally as a jpg.
Operator for comparison between Formula and Formula2 in a validation.
This class represents a validation formula. Its value can be specified as a value of the specified datatype or as a formula.
Base class for a formula
Constructor
Namespacemanger of the worksheet
validation top node
xml path of the current formula
This value will be stored in the xml. Can be overridden by subclasses
Returns the value as a string. Must be implemented by subclasses
State of the validationformula, i.e. tells if value or formula is set
A formula which output must match the current validation type
Constructor
Namespacemanger of the worksheet
validation top node
xml path of the current formula
Typed value
Interface for a data validation formula of value
Interface for a formula with a value
Interface for a data validation formula
An excel formula
The value.
Data validation interface for custom validation.
Interface for data validation
Validates the state of the validation.
Address of data validation
Validation type
Controls how Excel will handle invalid values.
True if input message should be shown
True if input message should be shown
True if error message should be shown.
Title of error message box (see property ShowErrorMessage)
Error message box text (see property ShowErrorMessage)
Title of info box if input message should be shown (see property ShowInputMessage)
Info message text (see property ShowErrorMessage)
True if the current validation type allows operator.
Represents a validation with an operator
Operator type
ExcelConditionalFormattingNotContainsErrors
Interface for conditional formatting rule
The 'cfRule' XML node
Type of conditional formatting rule. ST_CfType §18.18.12.
Range over which these conditional formatting rules apply.
The possible values for this attribute are defined by the
ST_Sqref simple type (§18.18.76).
The priority of this conditional formatting rule. This value is used to determine
which format should be evaluated and rendered. Lower numeric values are higher
priority than higher numeric values, where 1 is the highest priority.
If this flag is 1, no rules with lower priority shall be applied over this rule,
when this rule evaluates to true.
Gives access to the differencial styling (DXF) for the rule.
Sinalize that we are in a Cnaging Priorities opeartion so that we won't enter
a recursive loop.
Initialize the
Used also as the cfRule unique key
Initialize the
Get the <cfRule> node
Address of the conditional formatting rule
The address is stores in a parent node called <conditionalFormatting> in the
@sqref attribute. Excel groups rules that have the same address inside one node.
Type of conditional formatting rule. ST_CfType §18.18.12.
The priority of this conditional formatting rule. This value is used to determine
which format should be evaluated and rendered. Lower numeric values are higher
priority than higher numeric values, where 1 is the highest priority.
If this flag is true, no rules with lower priority shall be applied over this rule,
when this rule evaluates to true.
DxfId Style Attribute
StdDev (zero is not allowed and will be converted to 1)
Rank (zero is not allowed and will be converted to 1)
AboveAverage
EqualAverage
Bottom attribute
Percent attribute
TimePeriod
Operator
Formula
Formula2
IExcelConditionalFormattingNotContainsErrors
ExcelConditionalFormattingGreaterThanOrEqual
IExcelConditionalFormattingGreaterThanOrEqual
IExcelConditionalFormattingWithFormula
Formula Attribute
ExcelConditionalFormattingBottomPercent
IExcelConditionalFormattingTopBottomGroup
IExcelConditionalFormattingWithRank
Rank Attribute
ExcelConditionalFormattingAboveOrEqualAverage
ExcelConditionalFormattingAverageGroup
IExcelConditionalFormattingAverageGroup
IExcelConditionalFormattingStdDevGroup
IExcelConditionalFormattingWithStdDev
StdDev Attribute
IExcelConditionalFormattingNotContainsBlanks
IExcelConditionalFormattingContainsBlanks
Base class containing cell address manipulating methods.
Get the sheet, row and column from the CellID
Get the cellID for the cell.
Translates a R1C1 to an absolut address/Formula
Address
Current row
Current column
The RC address
Translates a absolut address to R1C1 Format
R1C1 Address
Current row
Current column
The absolut address/Formula
Translates betweein R1C1 or absolut addresses
The addresss/function
The translating function
Translate to R1C1
the value to be translated
Translates to absolute address
Adds or subtracts a row or column to an address
Returns with brackets if the value is negative
The value
Get the offset value for RC format
Returns the character representation of the numbered column
The number of the column
The letter representing the column
Get the row/columns for a Cell-address
The address
Returns the to column
Returns the from column
Returns the to row
Returns the from row
Get the row/column for n Cell-address
The address
Returns Tthe row
Returns the column
true if valid
Get the row/column for a Cell-address
the address
returns the row
returns the column
throw exception if invalid, otherwise returns false
Returns the AlphaNumeric representation that Excel expects for a Cell Address
The number of the row
The number of the column in the worksheet
The cell address in the format A1
Returns the AlphaNumeric representation that Excel expects for a Cell Address
The number of the row
The number of the column in the worksheet
Absolute row
Absolute column
The cell address in the format A1
Returns the AlphaNumeric representation that Excel expects for a Cell Address
The number of the row
The number of the column in the worksheet
Get an absolute address ($A$1)
The cell address in the format A1
Returns the AlphaNumeric representation that Excel expects for a Cell Address
From row number
From column number
To row number
From column number
The cell address in the format A1
Returns the AlphaNumeric representation that Excel expects for a Cell Address
From row number
From column number
To row number
From column number
if true address is absolute (like $A$1)
The cell address in the format A1
Get the full address including the worksheet name
The name of the worksheet
The address
The full address
Checks that a cell address (e.g. A5) is valid.
The alphanumeric cell address
True if the cell address is valid
Updates the Excel formula so that all the cellAddresses are incremented by the row and column increments
if they fall after the afterRow and afterColumn.
Supports inserting rows and columns into existing templates.
The Excel formula
The amount to increment the cell reference by
The amount to increment the cell reference by
Only change rows after this row
Only change columns after this column
Datalabel properties
Datalabel on chart level.
This class is inherited by ExcelChartSerieDataLabel
Show the values
Show category names
Show series names
Show percent values
Show the leader lines
Bubble Size.
Separator string
Access fill properties
Access border properties
Access font properties
Position of the labels
Access fill properties
Access border properties
Access font properties
An Excel Cell Comment
Drawing object used for comments
Drawing object used for comments
Id from a cell, column or row.
This is the id for a cell, row or column.
The id is a composit of the SheetID, the row number and the column number.
Bit 1-14 SheetID, Bit 15-28 Column number (0 if entire column), Bit 29- Row number (0 if entire row).
Vertical alignment for text
Horizontal alignment for text
If the drawing object is visible.
Background color
Linestyle for border
Line color
Width of the border
Autofits the drawingobject
If the object is locked when the sheet is protected
Specifies that the object's text is locked
From position. For comments only when Visible=true.
To position. For comments only when Visible=true.
Author
The comment text
Sets the font of the first richtext item.
Richtext collection
A range address
Examples of addresses are "A1" "B1:C2" "A:A" "1:1" "A1:E2,G3:G5"
Creates an Address object
start row
start column
End row
End column
Creates an Address object
Examples of addresses are "A1" "B1:C2" "A:A" "1:1" "A1:E2,G3:G5"
The Excel Address
Address is an defined name
the name
Should always be true
Validate the address
Gets the row and column of the top left cell.
The start row column.
Gets the row and column of the bottom right cell.
The end row column.
The address for the range
If the address is a defined name
returns the first address if the address is a multi address.
A1:A2,B1:B2 returns A1:A2
Range address with the address property readonly
The address for the range
Examples of addresses are "A1" "B1:C2" "A:A" "1:1" "A1:E2,G3:G5"
Compression using a run length encoding algorithm.
See MS-OVBA Section 2.4
Byte array to decompress
Decompression using a run length encoding algorithm.
See MS-OVBA Section 2.4
Byte array to decompress
Read the stream and return it as a byte-array
Provides access to the properties bag of the package
Provides access to all the office document properties.
Gets the value of a custom property
The name of the property
The current value of the property
Allows you to set the value of a current custom property or create your own custom property.
The name of the property
The value of the property
Saves the document properties back to the package.
Provides access to the XML document that holds all the code
document properties.
Gets/sets the title property of the document (core property)
Gets/sets the subject property of the document (core property)
Gets/sets the author property of the document (core property)
Gets/sets the comments property of the document (core property)
Gets/sets the keywords property of the document (core property)
Gets/sets the lastModifiedBy property of the document (core property)
Gets/sets the lastPrinted property of the document (core property)
Gets/sets the category property of the document (core property)
Gets/sets the status property of the document (core property)
Provides access to the XML document that holds the extended properties of the document (app.xml)
Gets the Application property of the document (extended property)
Gets/sets the HyperlinkBase property of the document (extended property)
Gets the AppVersion property of the document (extended property)
Gets/sets the Company property of the document (extended property)
Gets/sets the Manager property of the document (extended property)
Provides access to the XML document which holds the document's custom properties
A pivo table data field
The field
The index of the datafield
The name of the datafield
Field index. Reference to the field collection
Specifies the index to the base item when the ShowDataAs calculation is in use
Number format id.
Number format for the data column
Type of aggregate function
Excel datavalidation
Constructor
worksheet that owns the validation
Xml top node (dataValidations)
Data validation type
address for data validation
Constructor
worksheet that owns the validation
Xml top node (dataValidations) when importing xml
Data validation type
address for data validation
Xml Namespace manager
This method will validate the state of the validation
If the state breaks the rules of the validation
True if the validation type allows operator to be set.
Address of data validation
Validation type
Operator for comparison between the entered value and Formula/Formulas.
Warning style
True if blanks should be allowed
True if input message should be shown
True if error message should be shown
Title of error message box
Error message box text
Formula 1
Formula 2
returns the next drawing id.
Indexer
Index
The VML Drawing Picture object
Interface for a data validation of list type
A list of value strings.
Conditional formatting helper
Check and fix an address (string address)
Convert a color code to Color Object
Color Code (Ex. "#FFB43C53" or "FFB43C53")
Encode to XML (special characteres: ' " > < &)
Decode from XML (special characteres: ' " > < &)
Collection of .
This class is providing the API for EPPlus conditional formatting.
The public methods of this class (Add[...]ConditionalFormatting) will create a ConditionalFormatting/CfRule entry in the worksheet. When this
Conditional Formatting has been created changes to the properties will affect the workbook immediately.
Each type of Conditional Formatting Rule has diferente set of properties.
// Add a Three Color Scale conditional formatting
var cf = worksheet.ConditionalFormatting.AddThreeColorScale(new ExcelAddress("A1:C10"));
// Set the conditional formatting properties
cf.LowValue.Type = ExcelConditionalFormattingValueObjectType.Min;
cf.LowValue.Color = Color.White;
cf.MiddleValue.Type = ExcelConditionalFormattingValueObjectType.Percent;
cf.MiddleValue.Value = 50;
cf.MiddleValue.Color = Color.Blue;
cf.HighValue.Type = ExcelConditionalFormattingValueObjectType.Max;
cf.HighValue.Color = Color.Black;
Initialize the
GetRootNode
Validates address - not empty (collisions are allowded)
Get the next priority sequencial number
Get the 'cfRule' enumerator
Get the 'cfRule' enumerator
Removes all 'cfRule' from the collection and from the XML.
This is the same as removing all the 'conditionalFormatting' nodes.
Remove a Conditional Formatting Rule by its object
Remove a Conditional Formatting Rule by its 0-based index
Remove a Conditional Formatting Rule by its priority
Get a rule by its priority
Add rule (internal)
F
Add AboveAverage Rule
Add AboveOrEqualAverage Rule
Add BelowAverage Rule
Add BelowOrEqualAverage Rule
Add AboveStdDev Rule
Add BelowStdDev Rule
Add Bottom Rule
Add BottomPercent Rule
Add Top Rule
Add TopPercent Rule
Add Last7Days Rule
Add LastMonth Rule
Add LastWeek Rule
Add NextMonth Rule
Add NextWeek Rule
Add ThisMonth Rule
Add ThisWeek Rule
Add Today Rule
Add Tomorrow Rule
Add Yesterday Rule
Add BeginsWith Rule
Add Between Rule
Add ContainsBlanks Rule
Add ContainsErrors Rule
Add ContainsText Rule
Add DuplicateValues Rule
Add EndsWith Rule
Add Equal Rule
Add Expression Rule
Add GreaterThan Rule
Add GreaterThanOrEqual Rule
Add LessThan Rule
Add LessThanOrEqual Rule
Add NotBetween Rule
Add NotContainsBlanks Rule
Add NotContainsErrors Rule
Add NotContainsText Rule
Add NotEqual Rule
Add Unique Rule
Add ThreeColorScale Rule
Add TwoColorScale Rule
Add ThreeIconSet Rule
The address
Type of iconset
Adds a FourIconSet rule
Adds a FiveIconSet rule
Adds a databar rule
Number of validations
Index operator, returns by 0-based index
18.3.1.11 cfvo (Conditional Format Value Object)
Describes the values of the interpolation points in a gradient scale.
Initialize the cfvo (§18.3.1.11) node
The cfvo (§18.3.1.11) node parent. Can be any of the following:
colorScale (§18.3.1.16); dataBar (§18.3.1.28); iconSet (§18.3.1.49)
Initialize the cfvo (§18.3.1.11) node
The cfvo (§18.3.1.11) node parent. Can be any of the following:
colorScale (§18.3.1.16); dataBar (§18.3.1.28); iconSet (§18.3.1.49)
Initialize the
Initialize the
Get/Set the 'cfvo' node @val attribute
Get/Set the Formula of the Object Value (uses the same attribute as the Value)
IExcelConditionalFormattingWithText
Text Attribute
Fill properties for drawing objects
Fill style
Fill color for solid fills
Transparancy in percent
Base collection class for styles.
The style type
Finds the key
the key to be found
The found object.
True if found
Find Index
ExcelConditionalFormattingNotEqual
IExcelConditionalFormattingNotEqual
ExcelConditionalFormattingBeginsWith
IExcelConditionalFormattingBeginsWith
The text to search in the beginning of the cell
ExcelConditionalFormattingThreeIconSet
ExcelConditionalFormattingThreeIconSet
IExcelConditionalFormattingThreeIconSet
IExcelConditionalFormattingIconSetGroup
Reverse
ShowValue
IconSet (3, 4 ou 5 IconSet)
Icon1 (part of the 3, 4 ou 5 Icon Set)
Icon2 (part of the 3, 4 ou 5 Icon Set)
Icon3 (part of the 3, 4 ou 5 Icon Set)
Settings for icon 1 in the iconset
Settings for icon 2 in the iconset
Settings for icon 2 in the iconset
Reverse the order of the icons
If the cell values are visible
Type of iconset
IExcelConditionalFormattingFiveIconSet
eExcelconditionalFormatting4IconsSetType
IExcelConditionalFormattingFourIconSet
Icon4 (part of the 4 ou 5 Icon Set)
Icon5 (part of the 5 Icon Set)
IExcelConditionalFormattingThreeColorScale
IExcelConditionalFormattingTwoColorScale
IExcelConditionalFormattingColorScaleGroup
Two Color Scale Low Value
Two Color Scale High Value
Three Color Scale Middle Value
Position of the axis.
Position of the Y-Axis
Position of the X-Axis
Axis orientaion
How the axis are crossed
Specifies the value axis shall cross the category axis between data markers
Specifies the value axis shall cross the category axis at the midpoint of a category.
Where the axis cross.
(Axis Crosses at Zero) The category axis crosses at the zero point of the valueaxis (if possible), or the minimum value (if theminimum is greater than zero) or the maximum (if the maximum is less than zero).
The axis crosses at the maximum value
(Axis crosses at the minimum value of the chart.
Tickmarks
Specifies the tick marks shall cross the axis.
Specifies the tick marks shall be inside the plot area.
Specifies there shall be no tick marks.
Specifies the tick marks shall be outside the plot area.
An axis for a chart
majorTickMark
This element specifies the major tick marks for the axis.
minorTickMark
This element specifies the minor tick marks for the axis.
Type of axis
Where the axis is located
Where the axis cross
How the axis are crossed
The value where the axis cross.
Null is automatic
Numberformat
Position of the labels
Access to fill properties
Access to border properties
Access to font properties
If the axis is deleted
Position of the Lables
Chart axis title
Minimum value for the axis.
Null is automatic
Max value for the axis.
Null is automatic
Major unit for the axis.
Null is automatic
Minor unit for the axis.
Null is automatic
The base for a logaritmic scale
Null for a normal scale
Type of axis
Value axis
Category axis
Date axis
Sheet protection
Sets a password for the sheet.
If the worksheet is protected.
Allow users to select locked cells
Allow users to select unlocked cells
Allow users to edit objects
Allow users to edit senarios
Allow users to format cells
Allow users to Format columns
Allow users to Format rows
Allow users to insert columns
Allow users to Format rows
Allow users to insert hyperlinks
Allow users to delete columns
Allow users to delete rows
Allow users to sort a range
Allow users to use autofilters
Allow users to use pivottables
A VBA reference
Constructor.
Defaults ReferenceRecordID to 0xD
A string representation of the object (the Name)
The reference record ID. See MS-OVBA documentation for more info.
The name of the reference
LibID
For more info check MS-OVBA 2.1.1.8 LibidReference and 2.3.4.2.2 PROJECTREFERENCES
A reference to a twiddled type library
Constructor.
Sets ReferenceRecordID to 0x2F
LibIdExternal
For more info check MS-OVBA 2.1.1.8 LibidReference and 2.3.4.2.2 PROJECTREFERENCES
LibIdTwiddled
For more info check MS-OVBA 2.1.1.8 LibidReference and 2.3.4.2.2 PROJECTREFERENCES
A GUID that specifies the Automation type library the extended type library was generated from.
A reference to an external VBA project
Constructor.
Sets ReferenceRecordID to 0x0E
LibIdRelative
For more info check MS-OVBA 2.1.1.8 LibidReference and 2.3.4.2.2 PROJECTREFERENCES
Major version of the referenced VBA project
Minor version of the referenced VBA project
Build-in table row functions
A table column
The column id
The position of the column
The name of the column
A string text in the total row
Build-in total row functions.
To set a custom Total row formula use the TotalsRowFormula property
Sets a custom Totals row Formula.
Be carefull with this property since it is not validated.
tbl.Columns[9].TotalsRowFormula = string.Format("SUM([{0}])",tbl.Columns[9].Name);
The named style for datacells in the column
Sets a calculated column Formula.
Be carefull with this property since it is not validated.
tbl.Columns[9].CalculatedColumnFormula = string.Format("SUM(MyDataTable[[#This Row],[{0}]])",tbl.Columns[9].Name);
Same as SetValue but will set first char to lower case.
Is this value allowed to be changed?
Type of VBA module
A Workbook or Worksheet objects
A Module
A Class
Designer, typically a user form
A VBA code module.
The name of the module
A description of the module
The code without any module level attributes.
Can contain function level attributes.
A reference to the helpfile
Module level attributes.
Type of module
If the module is readonly
If the module is private
A cell in the worksheet.
A reference to the worksheet
The row number
The column number
Returns the cell's value as a string.
The cell's value
Row number
Column number
The address
Returns true if the cell's contents are numeric.
Gets/sets the value of the cell.
If cell has inline formatting.
If the cell is merged with other cells
Merge Id
Datatype
TODO: remove
Optional named style for the cell
The style ID for the cell. Reference to the style collection
The cells cell's Hyperlink
The cell's formula.
The cell's formula using R1C1 style.
Id for the shared formula
A collection of trendlines.
Add a new trendline
The trendline
A trendline object
Type of Trendline
Name in the legend
Order for polynominal trendlines
Period for monthly average trendlines
Forcast forward periods
Forcast backwards periods
Specify the point where the trendline crosses the vertical axis
Display the R-squared value for a trendline
Display the trendline equation on the chart
Interface for a data validation with two formulas
Formula 2
Provides functionality for adding Conditional Formatting to a range ().
Each method will return a configurable condtional formatting type.
Adds a Above Average rule to the range
Adds a Above Or Equal Average rule to the range
Adds a Below Average rule to the range
Adds a Below Or Equal Average rule to the range
Adds a Above StdDev rule to the range
Adds a Below StdDev rule to the range
Adds a Bottom rule to the range
Adds a Bottom Percent rule to the range
Adds a Top rule to the range
Adds a Top Percent rule to the range
Adds a Last 7 Days rule to the range
Adds a Last Month rule to the range
Adds a Last Week rule to the range
Adds a Next Month rule to the range
Adds a Next Week rule to the range
Adds a This Month rule to the range
Adds a This Week rule to the range
Adds a Today rule to the range
Adds a Tomorrow rule to the range
Adds a Yesterday rule to the range
Adds a Begins With rule to the range
Adds a Between rule to the range
Adds a ContainsBlanks rule to the range
Adds a ContainsErrors rule to the range
Adds a ContainsText rule to the range
Adds a DuplicateValues rule to the range
Adds a EndsWith rule to the range
Adds a Equal rule to the range
Adds a Expression rule to the range
Adds a GreaterThan rule to the range
Adds a GreaterThanOrEqual rule to the range
Adds a LessThan rule to the range
Adds a LessThanOrEqual rule to the range
Adds a NotBetween rule to the range
Adds a NotContainsBlanks rule to the range
Adds a NotContainsErrors rule to the range
Adds a NotContainsText rule to the range
Adds a NotEqual rule to the range
Adds a UniqueValues rule to the range
Adds a to the range
Adds a to the range
Adds a to the range
Adds a to the range
Adds a to the range
Adds a to the range
ExcelConditionalFormattingThreeColorScale
Private Low Value
Private Middle Value
Private High Value
Low Value for Three Color Scale Object Value
Middle Value for Three Color Scale Object Value
High Value for Three Color Scale Object Value
Functions related to the
param name="attribute"
IExcelConditionalFormattingWithReverse
Reverse Attribute
A serie for a scatter chart
A chart serie
Default constructor
Parent collection
Namespacemanager
Topnode
Is pivotchart
Header for the serie.
Header address for the serie.
Set this to a valid address or the drawing will be invalid.
Set an address for the horisontal labels
Access to the trendline collection
Default constructor
Parent collection
Namespacemanager
Topnode
Is pivotchart
Datalabel
Smooth for scattercharts
Marker symbol
A collection of table columns
A reference to the table object
Number of items in the collection
The column Index. Base 0.
Indexer
The name of the table
The table column. Null if the table name is not found in the collection
Handles the EncryptionInfo stream
Encryption Header inside the EncryptionInfo stream
Encryption verifier inside the EncryptionInfo stream
Handels encrypted Excel documents
Read the package from the OLE document and decrypt it using the supplied password
The file
Read the package from the OLE document and decrypt it using the supplied password
The memory stream.
The encryption object from the Package
Encrypts a package
The package as a byte array
The encryption info from the workbook
Create an EncryptionInfo object to encrypt a workbook
The password
The Encryption key
Decrypt a document
The Encrypted data
Encryption Info object
The password
Validate the password
The encryption key
The encryption info extracted from the ENCRYPTIOINFO stream inside the OLE document
Read the stream and return it as a byte-array
Create the hash.
This method is written with the help of Lyquidity library, many thanks for this nice sample
The password
The encryption info extracted from the ENCRYPTIOINFO stream inside the OLE document
The hash to encrypt the document
Sets protection on the workbook level
Sets a password for the workbook. This does not encrypt the workbook.
The password.
Locks the structure,which prevents users from adding or deleting worksheets or from displaying hidden worksheets.
Locks the position of the workbook window.
Lock the workbook for revision
Represents an individual row in the spreadsheet.
Creates a new instance of the ExcelRow class.
For internal use only!
The parent worksheet
The row number
Copies the current row to a new worksheet
The worksheet where the copy will be created
Internal RowID.
Provides access to the node representing the row.
Allows the row to be hidden in the worksheet
Sets the height of the row
Set to true if You don't want the row to Autosize
Sets the style for the entire column using a style name.
Sets the style for the entire row using the style ID.
Rownumber
If outline level is set this tells that the row is collapsed
Outline level.
Show phonetic Information
The Style applied to the whole row. Only effekt cells with no individual style set.
Use ExcelRange object if you want to set specific styles.
Adds a manual page break after the row.
Horizontal Alingment
Vertical Alingment
Linestyle
Text anchoring
Vertical text type
How the drawing will be resized.
Specifies that the current start and end positions shall
be maintained with respect to the distances from the
absolute start point of the worksheet.
Specifies that the current drawing shall move with its
row and column (i.e. the object is anchored to the
actual from row and column), but that the size shall
remain absolute.
Specifies that the current drawing shall move and
resize to maintain its row and column anchors (i.e. the
object is anchored to the actual from and to row and column).
Base class for drawings.
Drawings are Charts, shapes and Pictures.
Add new Drawing types here
The drawing collection
Xml top node
The Drawing object
Set the top left corner of a drawing.
Note that resizing columns / rows after using this function will effect the position of the drawing
Top pixel
Left pixel
Set the top left corner of a drawing.
Note that resizing columns / rows after using this function will effect the position of the drawing
Start row
Offset in pixels
Start Column
Offset in pixels
Set size in Percent
Note that resizing columns / rows after using this function will effect the size of the drawing
Set size in pixels
Note that resizing columns / rows after using this function will effect the size of the drawing
Width in pixels
Height in pixels
The name of the drawing object
How Excel resize drawings when the column width is changed within Excel.
The width of drawings are currently NOT resized in EPPLus when the column width changes
Lock drawing
Print drawing with sheet
Top Left position
Bottom right position
Position of the a drawing.
Column Offset
EMU units 1cm = 1/360000
1US inch = 1/914400
1pixel = 1/9525
Row Offset
EMU units 1cm = 1/360000
1US inch = 1/914400
1pixel = 1/9525
Provides functionality for adding datavalidation to a range (). Each method will
return a configurable validation.
Adds a to the range
A that can be configured for integer data validation
Adds a to the range
A that can be configured for decimal data validation
Adds a to the range
A that can be configured for datetime data validation
Adds a to the range
A that can be configured for datetime data validation
Adds a regarding text length validation to the range.
Adds a to the range.
A that can be configured for time data validation
Adds a to the range.
A that can be configured for custom validation
Validation formula interface for
ExcelConditionalFormattingNextWeek
ExcelConditionalFormattingTimePeriodGroup
IExcelConditionalFormattingTimePeriod
ExcelConditionalFormattingExpression
IExcelConditionalFormattingExpression
ExcelConditionalFormattingContainsBlanks
ExcelConditionalFormattingBelowAverage
Linestyle
Type of font strike
Used by Rich-text and Paragraphs.
Set the font style from a font object
Cell border style
The line style of the border
The color of the border
Vba security properties
Password protect the VBA project.
An empty string or null will remove the password protection
The password
Specifies whether access to the VBA project was restricted by the user
Specifies whether access to the VBA project was restricted by the VBA host application
Specifies whether access to the VBA project was restricted by the VBA project editor
Specifies whether the VBA project is visible.
Xml access class for named styles
Xml helper class for cell style classes
Named style index
Style index
Name of the style
The style object
Encryption Algorithm
128-bit AES. Default
192-bit AES.
256-bit AES.
How and if the workbook is encrypted
Constructor
Constructor
Algorithm used to encrypt the package. Default is AES128
Is the package encrypted
The password used to encrypt the workbook.
Algorithm used for encrypting the package. Default is AES 128-bit
Drawing object used for header and footer pictures
Position ID
The width in points
The height in points
Margin Left in points
Margin top in points
The Title of the image
The image
Determines whether an image will be displayed in black and white
Determines whether a picture will be displayed in grayscale mode
Defines the intensity of all colors in an image
Default value is 1
Defines the amount of contrast for an image
Default value is 0;
Defines the intensity of black in an image
Default value is 0
Data validation for decimal values
A validation containing a formula
Constructor
Constructor
Worksheet that owns the validation
Xml top node (dataValidations)
Data validation type
address for data validation
Constructor
Worksheet that owns the validation
Xml top node (dataValidations)
Data validation type
address for data validation
for test purposes
Formula - Either a {T} value (except for custom validation) or a spreadsheet formula
Constructor
Constructor
Worksheet that owns the validation
Xml top node (dataValidations)
Data validation type
address for data validation
Constructor
Worksheet that owns the validation
Xml top node (dataValidations)
Data validation type
address for data validation
for test purposes
Formula - Either a {T} value or a spreadsheet formula
Data validation interface for decimal values
Constructor
Constructor
Constructor
For test purposes
Factory class for ExcelDataValidation.
Creates an instance of out of the given parameters.
ExcelConditionalFormattingLast7Days
IExcelConditionalFormattingGreaterThan
IExcelConditionalFormattingDuplicateValues
IExcelConditionalFormattingContainsText
Toplevel class for cell styling
Numberformat
Font styling
Fill Styling
Border
The horizontal alignment in the cell
The vertical alignment in the cell
Wrap the text
Readingorder
Shrink the text to fit
The margin between the border and the text
Text orientation in degrees. Values range from 0 to 180.
If true the cell is locked for editing when the sheet is protected
If true the formula is hidden when the sheet is protected.
The index in the style collection
The title of a chart
The text
A reference to the border properties
A reference to the fill properties
A reference to the font properties
Richtext
Show without overlaping the chart.
Specifies the centering of the text box.
The way it works fundamentally is to determine the smallest possible "bounds box" for the text and then to center that "bounds box" accordingly.
This is different than paragraph alignment, which aligns the text within the "bounds box" for the text.
This flag is compatible with all of the different kinds of anchoring.
If this attribute is omitted, then a value of 0 or false is implied.
Vertical text
Rotation in degrees (0-360)
Table style Enum
An Excel Table
Provides access to the XML data representing the table in the package.
The package internal URI to the Table Xml Document.
The name of the table object in Excel
The worksheet of the table
The address of the table
Collection of the columns in the table
The table style. If this property is cusom, the style from the StyleName propery is used.
If the header row is visible or not
If the header row has an autofilter
If the total row is visible or not
The style name for custum styles
Display special formatting for the first row
Display special formatting for the last row
Display banded rows
Display banded columns
Named style used for the total row
Named style used for the data cells
Named style used for the header row
Defines the axis for a PivotTable
None
Column axis
Page axis (Include Count Filter)
Row axis
Values axis
Build-in table row functions
Defines the data formats for a field in the PivotTable
Indicates the field is shown as the "difference from" a value.
Indicates the field is shown as the "index.
Indicates that the field is shown as its normal datatype.
/Indicates the field is show as the "percentage of" a value
Indicates the field is shown as the "percentage difference from" a value.
Indicates the field is shown as the percentage of column.
Indicates the field is shown as the percentage of row
Indicates the field is shown as percentage of total.
Indicates the field is shown as running total in the table.
Built-in subtotal functions
Data grouping
Sorting
A pivot table field.
Add numberic grouping to the field
Start value
End value
Interval
Add a date grouping on this field.
Group by
Add a date grouping on this field.
Group by
Fixed start date. Use DateTime.MinValue for auto
Fixed end date. Use DateTime.MaxValue for auto
Add a date grouping on this field.
Number of days when grouping on days
Fixed start date. Use DateTime.MinValue for auto
Fixed end date. Use DateTime.MaxValue for auto
Name of the field
Compact mode
A boolean that indicates whether the items in this field should be shown in Outline form
The custom text that is displayed for the subtotals label
A boolean that indicates whether to show all items for this field
The type of sort that is applied to this field
A boolean that indicates whether manual filter is in inclusive mode
Enumeration of the different subtotal operations that can be applied to page, row or column fields
Type of axis
If the field is a row field
If the field is a column field
If the field is a datafield
If the field is a page field.
Grouping settings.
Null if the field has no grouping otherwise ExcelPivotTableFieldNumericGroup or ExcelPivotTableFieldNumericGroup.
Pivottable field Items. Used for grouping.
To determine if the attribute uses double quotes around the value
A string
Not a string
The name of the attribute
The datatype. Determine if the attribute uses double quotes around the value.
The value of the attribute without any double quotes.
Shape style
Text alignment
Fillstyle.
An Excel shape.
Shape style
Fill
Border
Text inside the shape
Lock drawing
Richtext collection. Used to format specific parts of the text
Text Anchoring
Specifies the centering of the text box.
How the text is aligned
Indentation
Vertical text
returns the next drawing id.
warning style, controls how Excel will handle invalid changes.
warning style will be excluded
stop warning style, invalid changes will not be accepted
warning will be presented when an attempt to an invalid change is done, but the change will be accepted.
information warning style.
ExcelConditionalFormattingNextMonth
ExcelConditionalFormattingEqual
IExcelConditionalFormattingEqual
ExcelConditionalFormattingEndsWith
IExcelConditionalFormattingEndsWith
The text to search in the end of the cell
ExcelConditionalFormattingDuplicateValues
ExcelConditionalFormattingContainsText
The text to search inside the cell
IExcelConditionalFormattingDataBar
ShowValue
Databar Low Value
Databar High Value
The color of the databar
IExcelConditionalFormattingBetween
IExcelConditionalFormattingWithFormula2
Formula2 Attribute
A range of cells
Reference to the worksheet
We dont know the address yet. Set the delegate first time a property is set.
Set a single cell
Set a range
Set a multirange (A1:A2,C1:C2)
Set the property for an address
Handles shared formulas
The formula
The address of the formula
If the forumla is an array formula.
Set the column width from the content of the range. The minimum width is the value of the ExcelWorksheet.defaultColumnWidth property.
Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine.
Wrapped and merged cells are also ignored.
Set the column width from the content of the range.
Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine.
Wrapped and merged cells are also ignored.
This method will not work if you run in an environment that does not support GDI
Minimum column width
Set the column width from the content of the range.
Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine.
Wrapped and merged cells are also ignored.
Minimum column width
Maximum column width
Check if the range is partly merged
the starting value
the address
Set the merge flag for the range
Set the value without altering the richtext property
the value
Removes a shared formula
Load the data from the datatable starting from the top left cell of the range
The datatable to load
Print the column caption property (if set) or the columnname property if not, on first row
The table style to apply to the data
The filled range
Load the data from the datatable starting from the top left cell of the range
The datatable to load
Print the caption property (if set) or the columnname property if not, on first row
The filled range
Loads data from the collection of arrays of objects into the range, starting from
the top-left cell.
The data.
Load a collection into a the worksheet starting from the top left row of the range.
The datatype in the collection
The collection to load
The filled range
Load a collection of T into the worksheet starting from the top left row of the range.
Default option will load all public instance properties of T
The datatype in the collection
The collection to load
Print the property names on the first row
The filled range
Load a collection of T into the worksheet starting from the top left row of the range.
Default option will load all public instance properties of T
The datatype in the collection
The collection to load
Print the property names on the first row
Will create a table with this style. If set to TableStyles.None no table will be created
The filled range
Load a collection into the worksheet starting from the top left row of the range.
The datatype in the collection
The collection to load
Print the property names on the first row. Any underscore in the property name will be converted to a space.
Will create a table with this style. If set to TableStyles.None no table will be created
Property flags to use
The properties to output. Must be of type T
The filled range
Loads a CSV text into a range starting from the top left cell.
Default settings is Comma separation
The Text
The range containing the data
Loads a CSV text into a range starting from the top left cell.
The Text
Information how to load the text
The range containing the data
Loads a CSV text into a range starting from the top left cell.
The Text
Information how to load the text
Create a table with this style
Use the first row as header
Loads a CSV file into a range starting from the top left cell.
The Textfile
Loads a CSV file into a range starting from the top left cell.
The Textfile
Information how to load the text
Loads a CSV file into a range starting from the top left cell.
The Textfile
Information how to load the text
Create a table with this style
Use the first row as header
Get the strongly typed value of the cell.
The type
The value. If the value can't be converted to the specified type, the default value will be returned
Get a range with an offset from the top left cell.
The new range has the same dimensions as the current range
Row Offset
Column Offset
Get a range with an offset from the top left cell.
Row Offset
Column Offset
Number of rows. Minimum 1
Number of colums. Minimum 1
Adds a new comment for the range.
If this range contains more than one cell, the top left comment is returned by the method.
A reference comment of the top left cell
Copies the range of cells to an other range
The start cell where the range will be copied.
Clear all cells
Creates an array-formula.
The formula
The styleobject for the range.
The named style
The style ID.
It is not recomended to use this one. Use Named styles as an alternative.
If you do, make sure that you use the Style.UpdateXml() method to update any new styles added to the workbook.
Set the range to a specific value
Returns the formatted value.
Gets or sets a formula for a range.
Gets or Set a formula in R1C1 format.
Set the hyperlink property for a range of cells
If the cells in the range are merged.
Set an autofilter for the range
If the value is in richtext format.
Is the range a part of an Arrayformula
Cell value is richtext formated.
returns the comment object of the first cell in the range
WorkSheet object
Address including sheetname
Address including sheetname
Address including sheetname
Conditional Formatting for this range.
Data validation for this range.
The current range when enumerating
The current range when enumerating
Provides access to pie chart specific properties
Base class for Chart object.
Get the name of the chart node
The name
Add a secondary axis
Remove all axis that are not used any more
Reference to the worksheet
The chart xml document
Type of chart
Titel of the chart
Chart series
An array containg all axis of all Charttypes
The XAxis
The YAxis
If true the charttype will use the secondary axis.
The chart must contain a least one other charttype that uses the primary axis.
The build-in chart styles.
Show data in hidden rows and columns
Specifies the possible ways to display blanks
Plotarea
Legend
Border
Fill
3D-settings
If the chart has only one serie this varies the colors for each point.
Package internal URI
Access to datalabel properties
Chart type
Bar or column
How the series are grouped
Shape for bar charts
Smothe Lines or lines
Bar or pie
Position of the labels
Axis label position
Markerstyle
The build in style of the chart.
Type of Trendline for a chart
Specifies the trendline shall be an exponential curve in the form
Specifies the trendline shall be a logarithmic curve in the form , where log is the natural
Specifies the trendline shall be a logarithmic curve in the form , where log is the natural
Specifies the trendline shall be a moving average of period Period
Specifies the trendline shall be a polynomial curve of order Order in the form
Specifies the trendline shall be a power curve in the form
Specifies the possible ways to display blanks
Blank values shall be left as a gap
Blank values shall be spanned with a line (Line charts)
Blank values shall be treated as zero
ExcelConditionalFormattingNotContainsBlanks
ExcelConditionalFormattingBelowOrEqualAverage
ExcelConditionalFormattingAboveAverage
IExcelConditionalFormattingLessThan
Handels paragraph text
Text
Type of Line cap
Line style.
Border for drawings
Fill
Linestyle
Linecap
Width in pixels
Position of the legend
Chart ledger
Remove the legend
Add a legend to the chart
Position of the Legend
If the legend overlays other objects
Fill style
Border style
Font properties
A single cell address
Initializes a new instance of the ExcelCellAddress class.
The row.
The column.
Initializes a new instance of the ExcelCellAddress class.
The address
Row
Column
Celladdress
If the address is an invalid reference (#REF!)
Xml access class xfs records. This is the top level style object.
Style index
Numberformat properties
Font properties
Fill properties
Border style properties
Horizontal alignment
Vertical alignment
Wraped text
Text rotation angle
Locked when sheet is protected
Hide formulas when sheet is protected
Readingorder
Shrink to fit
Indentation
Base collection class for pivottable fields
Returns the date group field.
The type of grouping
The matching field. If none is found null is returned
Returns the numeric group field.
The matching field. If none is found null is returned
Indexer by name
Collection class for Row and column fields in a Pivottable
Add a new row/column field
The field
The new field
Insert a new row/column field
The field
The position to insert the field
The new field
Remove a field
Remove a field at a specific position
Collection class for data fields in a Pivottable
Add a new datafield
The field
The new datafield
Remove a datafield
Access to workbook view properties
Creates a new ExcelWorkbookView which provides access to all the
view states of the worksheet.
Set the window position in twips
Position of the upper left corner of the workbook window. In twips.
Position of the upper left corner of the workbook window. In twips.
Width of the workbook window. In twips.
Height of the workbook window. In twips.
If true the the workbook window is minimized.
Show the vertical scrollbar
Show the horizontal scrollbar
Show the sheet tabs
How a picture will be aligned in the header/footer
The picture will be added to the left aligned text
The picture will be added to the centered text
The picture will be added to the right aligned text
Print header and footer
Get/set the text to appear on the left hand side of the header (or footer) on the worksheet.
Get/set the text to appear in the center of the header (or footer) on the worksheet.
Get/set the text to appear on the right hand side of the header (or footer) on the worksheet.
Inserts a picture at the end of the text in the header or footer
The image object containing the Picture
Alignment. The image object will be inserted at the end of the Text.
Inserts a picture at the end of the text in the header or footer
The image object containing the Picture
Alignment. The image object will be inserted at the end of the Text.
Represents the Header and Footer on an Excel Worksheet
The code for "current page #"
The code for "total pages"
The code for "text font color"
RGB Color is specified as RRGGBB
Theme Color is specified as TTSNN where TT is the theme color Id, S is either "+" or "-" of the tint/shade value, NN is the tint/shade value.
The code for "sheet tab name"
The code for "this workbook's file path"
The code for "this workbook's file name"
The code for "date"
The code for "time"
The code for "picture as background"
The code for "outline style"
The code for "shadow style"
ExcelHeaderFooter Constructor
The worksheet
Saves the header and footer information to the worksheet XML
Gets/sets the alignWithMargins attribute
Gets/sets the flag that tells Excel to display different headers and footers on odd and even pages.
Gets/sets the flag that tells Excel to display different headers and footers on the first page of the worksheet.
Provides access to the header on odd numbered pages of the document.
If you want the same header on both odd and even pages, then only set values in this ExcelHeaderFooterText class.
Provides access to the footer on odd numbered pages of the document.
If you want the same footer on both odd and even pages, then only set values in this ExcelHeaderFooterText class.
Provides access to the header on even numbered pages of the document.
Provides access to the footer on even numbered pages of the document.
Provides access to the header on the first page of the document.
Provides access to the footer on the first page of the document.
Vml drawings. Underlaying object for Header footer images
Validation for times ().
Data validation interface for time validation.
Constructor
Constructor
Constructor
ExcelConditionalFormattingBetween
IExcelConditionalFormattingUniqueValues
Border line style
Horizontal text alignment
Vertical text alignment
Font-Vertical Align
Font-Underlinestyle for
Fill pattern
Type of gradient fill
No gradient fill.
This gradient fill is of linear gradient type. Linear gradient type means that the transition from one color to the next is along a line (e.g., horizontal, vertical,diagonal, etc.)
This gradient fill is of path gradient type. Path gradient type means the that the boundary of transition from one color to the next is a rectangle, defined by top,bottom, left, and right attributes on the gradientFill element.
The reading order
Reading order is determined by scanning the text for the first non-whitespace character: if it is a strong right-to-left character, the reading order is right-to-left; otherwise, the reading order left-to-right.
Left to Right
Right to Left
A named range.
A named range
The name
The sheet containing the name. null if its a global name
Sheet where the address points
The address
Name of the range
Is the named range local for the sheet
Is the name hidden
A comment for the Name
Xml access class for border items
Cell Border style
Border style
How the application should calculate formulas in the workbook
Indicates that calculations in the workbook are performed automatically when cell values change.
The application recalculates those cells that are dependent on other cells that contain changed values.
This mode of calculation helps to avoid unnecessary calculations.
Indicates tables be excluded during automatic calculation
Indicates that calculations in the workbook be triggered manually by the user.
Represents the Excel workbook and provides access to all the
document properties and worksheets within the workbook.
Creates a new instance of the ExcelWorkbook class.
The parent package
NamespaceManager
Read shared strings to list
Create an empty VBA project.
Create or read the XML for the workbook.
Saves the workbook and all its components to the package.
For internal use only!
Recreate the workbook part with a new contenttype
The new contenttype
Return true if preserve space attribute is set.
Is their any names in the workbook or in the sheets.
?
Provides access to all the worksheets in the workbook.
Provides access to named ranges
Max font width for the workbook
This method uses GDI. If you use Asure or another environment that does not support GDI, you have to set this value manually if you don't use the standard Calibri font
Access properties to protect or unprotect a workbook
Access to workbook view properties
A reference to the VBA project.
Null if no project exists.
User Workbook.CreateVBAProject to create a new VBA-Project
URI to the workbook inside the package
URI to the styles inside the package
URI to the shared strings inside the package
Returns a reference to the workbook's part within the package
Provides access to the XML data representing the workbook in the package.
Provides access to the XML data representing the styles in the package.
Package styles collection. Used internally to access style data.
The office document properties
Calculation mode for the workbook.
Discribes a column when reading a text using the ExcelRangeBase.LoadFromText method
Let the the import decide.
Always a string.
Try to convert it to a number. If it fails then add it as a string.
Try to convert it to a date. If it fails then add it as a string.
Try to convert it to a number and divide with 100.
Removes any tailing percent sign (%). If it fails then add it as a string.
Describes how to split a CSV text. Used by the ExcelRange.LoadFromText method
Describes how to split a CSV text
Default values
PropertyValue
- Delimiter,
- TextQualifierNone (\0)
- EOLCRLF
- CultureCultureInfo.InvariantCulture
- DataTypesEnd of line default CRLF
- SkipLinesBeginning0
- SkipLinesEnd0
- EncodingEncoding.ASCII
Delimiter character
Text qualifier character
End of line characters. Default CRLF
Datatypes list for each column (if column is not present Unknown is assumed)
Culture used when parsing. Default CultureInfo.InvariantCulture
Number of lines skiped in the begining of the file. Default 0.
Number of lines skiped at the end of the file. Default 0.
Only used when reading files from disk using a FileInfo object. Default AscII
Containts all shared cell styles for a workbook
Loads the style XML to memory
Handels changes of properties on the style objects
Handles property changes on Named styles.
A serie for a line chart
Default constructor
Parent collection
Namespacemanager
Topnode
Is pivotchart
Datalabels
Marker symbol
Smoth lines
Interface for a data validation formula of float value
Represents a time between 00:00:00 and 23:59:59
Max number of decimals when rounding.
Default constructor
Constructor
An existing time for initialization
If we are unlucky second might be rounded up to 60. This will have the minute to be raised and might affect the hour.
Returns the excel decimal representation of a time.
Returns the excel decimal representation of a time as a string.
Hour between 0 and 23
Minute between 0 and 59
Second between 0 and 59
ExcelConditionalFormattingBelowStdDev
IExcelConditionalFormattingWithShowValue
ShowValue Attribute
The background fill of a cell
The pattern for solid fills.
The color of the pattern
The background color
Access to properties for gradient fill.
Cell Border style
Set the border style around the range.
The border style
Set the border style around the range.
The border style
The color of the border
Left border style
Right border style
Top border style
Bottom border style
0Diagonal border style
A diagonal from the bottom left to top right of the cell
A diagonal from the top left to bottom right of the cell
An argument
Argument Type
Xml access class for number formats
Id for number format
Build in ID's
0 General
1 0
2 0.00
3 #,##0
4 #,##0.00
9 0%
10 0.00%
11 0.00E+00
12 # ?/?
13 # ??/??
14 mm-dd-yy
15 d-mmm-yy
16 d-mmm
17 mmm-yy
18 h:mm AM/PM
19 h:mm:ss AM/PM
20 h:mm
21 h:mm:ss
22 m/d/yy h:mm
37 #,##0 ;(#,##0)
38 #,##0 ;[Red](#,##0)
39 #,##0.00;(#,##0.00)
40 #,##0.00;[Red](#,##0.00)
45 mm:ss
46 [h]:mm:ss
47 mmss.0
48 ##0.0E+0
49 @
Xml access class for fonts
The name of the font
Font size
Font family
Text color
Font Scheme
If the font is bold
If the font is italic
If the font is striked out
If the font is underlined.
When set to true a the text is underlined with a single line
If the font is underlined
Vertical aligned
A page / report filter field
The Name of the field
Validation for .
Validation interface for datetime validations
Constructor
Constructor
Constructor
ExcelConditionalFormattingUniqueValues
ExcelConditionalFormattingTomorrow
ExcelConditionalFormattingGreaterThan
ExcelConditionalFormattingBottom
IExcelConditionalFormattingNotBetween
IExcelConditionalFormattingContainsErrors
Color for cellstyling
Set the color of the object
The color
The theme color
The tint value
The RGB value
The indexed color number.
Provides access to scatter chart specific properties
If the scatter has LineMarkers or SmoothMarkers
If the series has markers
Provides access to doughnut chart specific properties
Angle of the first slize
Size of the doubnut hole
The code signature properties of the project
The certificate to sign the VBA project.
This certificate must have a private key.
There is no validation that the certificate is valid for codesigning, so make sure it's valid to sign Excel files (Excel 2010 is more strict that prior versions).
The verifier
Extension methods for guarding
Throws an ArgumentNullException if argument is null
Argument type
Argument to check
parameter/argument name
Throws an if the string argument is null or empty
Argument to check
parameter/argument name
Throws an ArgumentOutOfRangeException if the value of the argument is out of the supplied range
Type implementing
The argument to check
Min value of the supplied range
Max value of the supplied range
parameter/argument name
A collection of table objects
Create a table on the supplied range
The range address including header and total row
The name of the table. Must be unique
The table object
Get the table object from a range.
The range
The table. Null if no range matches
Number of items in the collection
The table Index. Base 0.
Indexer
The name of the table
The table. Null if the table name is not found in the collection
An Excel Pivottable
Add a new pivottable
The worksheet
the address of the pivottable
The address of the Source data
Provides access to the XML data representing the pivottable in the package.
The package internal URI to the pivottable Xml Document.
Name of the pivottable object in Excel
Reference to the pivot table cache definition object
The worksheet where the pivottable is located
The location of the pivot table
If multiple datafields are displayed in the row area or the column area
if true apply legacy table autoformat number format properties.
If true apply legacy table autoformat border properties
If true apply legacy table autoformat font properties
If true apply legacy table autoformat pattern properties
If true apply legacy table autoformat width/height properties.
Show member property information
Show the drill indicators
If the user is prevented from drilling down on a PivotItem or aggregate value
Show the drill down buttons
If the tooltips should be displayed for PivotTable data cells.
If the row and column titles from the PivotTable should be printed.
If the row and column titles from the PivotTable should be printed.
If the grand totals should be displayed for the PivotTable columns
If the grand totals should be displayed for the PivotTable rows
If the drill indicators expand collapse buttons should be printed.
Indicates whether to show error messages in cells.
The string to be displayed in cells that contain errors.
Specifies the name of the value area field header in the PivotTable.
This caption is shown when the PivotTable when two or more fields are in the values area.
Show field headers
The number of page fields to display before starting another row or column
A boolean that indicates whether legacy auto formatting has been applied to the PivotTable view
A boolean that indicates whether the in-grid drop zones should be displayed at runtime, and whether classic layout is applied
Specifies the indentation increment for compact axis and can be used to set the Report Layout to Compact Form
A boolean that indicates whether data fields in the PivotTable should be displayed in outline form
a boolean that indicates whether new fields should have their outline flag set to true
A boolean that indicates whether the fields of a PivotTable can have multiple filters set on them
A boolean that indicates whether new fields should have their compact flag set to true
A boolean that indicates whether the field next to the data field in the PivotTable should be displayed in the same column of the spreadsheet
Specifies the string to be displayed for grand totals.
Specifies the string to be displayed in row header in compact mode.
Specifies the string to be displayed in cells with no value
Specifies the first row of the PivotTable header, relative to the top left cell in the ref value
Specifies the first column of the PivotTable data, relative to the top left cell in the ref value
Specifies the first column of the PivotTable data, relative to the top left cell in the ref value
The fields in the table
Row label fields
Column label fields
Value fields
Report filter fields
Pivot style name. Used for custom styles
The table style. If this property is cusom the style from the StyleName propery is used.
The collection of worksheets for the workbook
Foreach support
An enumerator
Adds a new blank worksheet.
The name of the workbook
Adds a copy of a worksheet
The name of the workbook
The worksheet to be copied
Validate the sheetname
The Name
True if valid
Creates the XML document representing a new empty worksheet
Deletes a worksheet from the collection
The position of the worksheet in the workbook
Deletes a worksheet from the collection
The name of the worksheet in the workbook
Delete a worksheet from the collection
The worksheet to delete
Copies the named worksheet and creates a new worksheet in the same workbook
The name of the existing worksheet
The name of the new worksheet to create
The new copy added to the end of the worksheets collection
Moves the source worksheet to the position before the target worksheet
The name of the source worksheet
The name of the target worksheet
Moves the source worksheet to the position before the target worksheet
The id of the source worksheet
The id of the target worksheet
Moves the source worksheet to the position after the target worksheet
The name of the source worksheet
The name of the target worksheet
Moves the source worksheet to the position after the target worksheet
The id of the source worksheet
The id of the target worksheet
Returns the number of worksheets in the workbook
Returns the worksheet at the specified position.
The position of the worksheet. 1-base
Returns the worksheet matching the specified name
The name of the worksheet
The background fill of a cell
Angle of the linear gradient
Linear or Path gradient
Specifies in percentage format(from the top to the bottom) the position of the top edge of the inner rectangle (color 1). For top, 0 means the top edge of the inner rectangle is on the top edge of the cell, and 1 means it is on the bottom edge of the cell. (applies to From Corner and From Center gradients).
Specifies in percentage format (from the top to the bottom) the position of the bottom edge of the inner rectangle (color 1). For bottom, 0 means the bottom edge of the inner rectangle is on the top edge of the cell, and 1 means it is on the bottom edge of the cell.
Specifies in percentage format (from the left to the right) the position of the left edge of the inner rectangle (color 1). For left, 0 means the left edge of the inner rectangle is on the left edge of the cell, and 1 means it is on the right edge of the cell. (applies to From Corner and From Center gradients).
Specifies in percentage format (from the left to the right) the position of the right edge of the inner rectangle (color 1). For right, 0 means the right edge of the inner rectangle is on the left edge of the cell, and 1 means it is on the right edge of the cell. (applies to From Corner and From Center gradients).
Gradient Color 1
Gradient Color 2
Enumerates charttypes
Add a new charttype to the chart
The type of the new chart
Returns a chart at the specific position.
The position of the chart. 0-base
This class represents an List data validation.
Constructor
Constructor
Constructor
Namespace manager, for test purposes
Enumeration representing the state of an
Value is set
Formula is set
ExcelConditionalFormattingLastMonth
18.3.1.11 cfvo (Conditional Format Value Object)
Describes the values of the interpolation points in a gradient scale.
Initialize the cfvo (§18.3.1.11) node
The cfvo (§18.3.1.11) node parent. Can be any of the following:
colorScale (§18.3.1.16); dataBar (§18.3.1.28); iconSet (§18.3.1.49)
Initialize the
Initialize the
Get the node order (1, 2 ou 3) according to the Position (Low, Middle and High)
and the Rule Type (TwoColorScale ou ThreeColorScale).
Create the 'cfvo'/'color' nodes in the right order. They should appear like this:
"cfvo" --> Low Value (value object)
"cfvo" --> Middle Value (value object)
"cfvo" --> High Value (value object)
"color" --> Low Value (color)
"color" --> Middle Value (color)
"color" --> High Value (color)
Get/Set the 'cfvo' node @val attribute
Get/Set the Formula of the Object Value (uses the same attribute as the Value)
Functions related to the
Factory class for ExcelConditionalFormatting.
ExcelConditionalFormattingThreeIconSet
IExcelConditionalFormattingNotContainsText
A serie for a pie chart
Default constructor
Parent collection
Namespacemanager
Topnode
Is pivotchart
Explosion for Piecharts
DataLabels
Class for handling translation between ExcelAddresses and sqref addresses.
Transforms an address to a valid sqRef address.
The address to transform
A valid SqRef address
Transforms an sqRef address into a excel address
The address to transform
A valid excel address
Xml access class for color
Theme color value
Tint
RGB value
Indexed color value
Font bold
Font Italic
Font-Strikeout
Collection for Drawing objects.
Creates the NamespaceManager.
Provides access to a namespace manager instance to allow XPath searching
Add a new chart to the worksheet.
Do not support Bubble-, Radar-, Stock- or Surface charts.
Type of chart
The pivottable source for a pivotchart
The chart
Add a new chart to the worksheet.
Do not support Bubble-, Radar-, Stock- or Surface charts.
Type of chart
The chart
Add a picure to the worksheet
An image. Allways saved in then JPeg format
Add a picure to the worksheet
An image. Allways saved in then JPeg format
Picture Hyperlink
Add a picure to the worksheet
The image file
Add a picure to the worksheet
The image file
Picture Hyperlink
Add a new shape to the worksheet
Name
Shape style
The shape object
Removes a drawing.
The index of the drawing
Removes a drawing.
The drawing
Removes a drawing.
The name of the drawing
Removes all drawings from the collection
A reference to the drawing xml document
Returns the drawing at the specified position.
The position of the drawing. 0-base
Returns the drawing matching the specified name
The name of the worksheet
Represents one or more columns within the worksheet
Creates a new instance of the ExcelColumn class.
For internal use only!
Allows the column to be hidden in the worksheet
Returns the range of columns covered by the column definition.
A string describing the range of columns covered by the column definition.
Set the column width from the content of the range. The minimum width is the value of the ExcelWorksheet.defaultColumnWidth property.
Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine.
Wrapped and merged cells are also ignored.
Set the column width from the content.
Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine.
Wrapped and merged cells are also ignored.
Minimum column width
Set the column width from the content.
Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine.
Wrapped and merged cells are also ignored.
Minimum column width
Maximum column width
Get the internal RangeID
Sheet no
Column
Copies the current column to a new worksheet
The worksheet where the copy will be created
Sets the first column the definition refers to.
Sets the last column the definition refers to.
Internal range id for the column
Sets the width of the column in the worksheet
If set to true a column automaticlly resize(grow wider) when a user inputs numbers in a cell.
If the column is collapsed in outline mode
Outline level. Zero if no outline
Phonetic
The Style applied to the whole column. Only effects cells with no individual style set.
Use Range object if you want to set specific styles.
Sets the style for the entire column using a style name.
Sets the style for the entire column using the style ID.
Adds a manual page break after the column.
Enum for available data validation types
Integer value
Decimal values
List of values
Text length validation
DateTime validation
Time validation
Custom validation
Types of datavalidation
Returns a validation type by
Overridden Equals, compares on internal validation type
Overrides GetHashCode()
Integer values
List of allowed values
Validation type
This type allows operator to be set
Collection of . This class is providing the API for EPPlus data validation.
The public methods of this class (Add[...]Validation) will create a datavalidation entry in the worksheet. When this
validation has been created changes to the properties will affect the workbook immediately.
Each type of validation has either a formula or a typed value/values, except for custom validation which has a formula only.
// Add a date time validation
var validation = worksheet.DataValidation.AddDateTimeValidation("A1");
// set validation properties
validation.ShowErrorMessage = true;
validation.ErrorTitle = "An invalid date was entered";
validation.Error = "The date must be between 2011-01-31 and 2011-12-31";
validation.Prompt = "Enter date here";
validation.Formula.Value = DateTime.Parse("2011-01-01");
validation.Formula2.Value = DateTime.Parse("2011-12-31");
validation.Operator = ExcelDataValidationOperator.between;
Constructor
Validates address - not empty, collisions
Validates all data validations.
Adds an to the worksheet. Whole means that the only accepted values
are integer values.
the range/address to validate
Addes an to the worksheet. The only accepted values are
decimal values.
The range/address to validate
Adds an to the worksheet. The accepted values are defined
in a list.
The range/address to validate
Adds an regarding text length to the worksheet.
The range/address to validate
Adds an to the worksheet.
The range/address to validate
Adds a to the worksheet.
The range/address to validate
Removes an from the collection.
The item to remove
True if remove succeeds, otherwise false
if is null
Returns all validations that matches the supplied predicate .
predicate to filter out matching validations
Returns the first matching validation.
Removes all validations from the collection.
Removes the validations that matches the predicate
Number of validations
Index operator, returns by 0-based index
Index operator, returns a data validation which address partly or exactly matches the searched address.
A cell address or range
A or null if no match
Custom validation, i.e. a formula.
Constructor
Constructor
Constructor
Functions related to the ExcelConditionalFormattingRule
Get the "colorScale" rule type according to the number of "cfvo" and "color" nodes.
If we have excatly 2 "cfvo" and "color" childs, then we return "twoColorScale"
TwoColorScale or ThreeColorScale
Get the "aboveAverage" rule type according to the follwoing attributes:
"AboveAverage", "EqualAverage" and "StdDev".
@StdDev greater than "0" == AboveStdDev
@StdDev less than "0" == BelowStdDev
@AboveAverage = "1"/null and @EqualAverage = "0"/null == AboveAverage
@AboveAverage = "1"/null and @EqualAverage = "1" == AboveOrEqualAverage
@AboveAverage = "0" and @EqualAverage = "0"/null == BelowAverage
@AboveAverage = "0" and @EqualAverage = "1" == BelowOrEqualAverage
///
AboveAverage, AboveOrEqualAverage, BelowAverage or BelowOrEqualAverage
Get the "top10" rule type according to the follwoing attributes:
"Bottom" and "Percent"
@Bottom = "1" and @Percent = "0"/null == Bottom
@Bottom = "1" and @Percent = "1" == BottomPercent
@Bottom = "0"/null and @Percent = "0"/null == Top
@Bottom = "0"/null and @Percent = "1" == TopPercent
///
Top, TopPercent, Bottom or BottomPercent
Get the "timePeriod" rule type according to "TimePeriod" attribute.
///
Last7Days, LastMonth etc.
Return cfvo §18.3.1.11 parent according to the rule type
ExcelConditionalFormattingNotContainsText
The text to search inside the cell
The conditional formatting constants
Databar
The numberformat of the cell
The numeric index fror the format
The numberformat
If the numeric format is a build-in from.
HyperlinkClass
A new hyperlink with the specified URI
The URI
A new hyperlink with the specified URI. This syntax is obsolete
The URI
A new hyperlink with the specified URI and kind
The URI
Kind (absolute/relative or indeterminate)
Sheet internal reference
Address
Displayed text
The Excel address for internal links.
Displayed text
Tooltip
If the hyperlink spans multiple columns
If the hyperlink spans multiple rows
Used to handle non absolute URI's.
Is used if IsAblsoluteUri is true. The base URI will have a dummy value of xl://nonAbsolute.
This is the store for all Rows, Columns and Cells.
It is a Dictionary implementation that allows you to change the Key (the RowID, ColumnID or CellID )
Creates a new collection
The Cells. This list must be sorted
Insert a number of rows in the collecion but dont update the cell only the index
Index of first rangeItem
Insert a number of rows in the collecion
Index of first rangeItem
Delete rows from the collecion
Update range id's on cells
Init the size starting from 128 items. Double the size until the list fits.
Check the size and double the size if out of bound
Return the item with the RangeID
Return specified index from the sorted list
Compares an IndexItem
Collection of Excelcomment objects
Adds a comment to the top left cell of the range
The cell
The comment text
Author
The comment
Removes the comment
The comment to remove
Removes the comment at the specified position
The index
Access to the comment xml document
A reference to the worksheet object
Number of comments in the collection
Indexer for the comments collection
The index
The comment
Indexer for the comments collection
The cell
The comment
Xml access class for fills
Cell fill pattern style
Pattern color
Cell background color
Represents the VBA project part of the package
2.4.3.3 Decryption
Byte hex string
The decrypted value
2.4.3.2 Encryption
Byte hex string
MS-OVBA 2.3.4.1
MS-OVBA 2.3.4.1
Create a new VBA Project
Remove the project from the package
System kind. Default Win32.
Name of the project
A description of the project
A helpfile
Secondary helpfile
Context if refering the helpfile
Conditional compilation constants
Codepage for encoding. Default is current regional setting.
Project references
Code Modules (Modules, classes, designer code)
The digital signature
VBA protection
Type of system where the VBA project was created.
Represents an Excel 2007/2010 XLSX file package.
This is the top-level object to access all parts of the document.
FileInfo newFile = new FileInfo(outputDir.FullName + @"\sample1.xlsx");
if (newFile.Exists)
{
newFile.Delete(); // ensures we create a new workbook
newFile = new FileInfo(outputDir.FullName + @"\sample1.xlsx");
}
using (ExcelPackage package = new ExcelPackage(newFile))
{
// add a new worksheet to the empty workbook
ExcelWorksheet worksheet = package.Workbook.Worksheets.Add("Inventory");
//Add the headers
worksheet.Cells[1, 1].Value = "ID";
worksheet.Cells[1, 2].Value = "Product";
worksheet.Cells[1, 3].Value = "Quantity";
worksheet.Cells[1, 4].Value = "Price";
worksheet.Cells[1, 5].Value = "Value";
//Add some items...
worksheet.Cells["A2"].Value = "12001";
worksheet.Cells["B2"].Value = "Nails";
worksheet.Cells["C2"].Value = 37;
worksheet.Cells["D2"].Value = 3.99;
worksheet.Cells["A3"].Value = "12002";
worksheet.Cells["B3"].Value = "Hammer";
worksheet.Cells["C3"].Value = 5;
worksheet.Cells["D3"].Value = 12.10;
worksheet.Cells["A4"].Value = "12003";
worksheet.Cells["B4"].Value = "Saw";
worksheet.Cells["C4"].Value = 12;
worksheet.Cells["D4"].Value = 15.37;
//Add a formula for the value-column
worksheet.Cells["E2:E4"].Formula = "C2*D2";
//Ok now format the values;
using (var range = worksheet.Cells[1, 1, 1, 5])
{
range.Style.Font.Bold = true;
range.Style.Fill.PatternType = ExcelFillStyle.Solid;
range.Style.Fill.BackgroundColor.SetColor(Color.DarkBlue);
range.Style.Font.Color.SetColor(Color.White);
}
worksheet.Cells["A5:E5"].Style.Border.Top.Style = ExcelBorderStyle.Thin;
worksheet.Cells["A5:E5"].Style.Font.Bold = true;
worksheet.Cells[5, 3, 5, 5].Formula = string.Format("SUBTOTAL(9,{0})", new ExcelAddress(2,3,4,3).Address);
worksheet.Cells["C2:C5"].Style.Numberformat.Format = "#,##0";
worksheet.Cells["D2:E5"].Style.Numberformat.Format = "#,##0.00";
//Create an autofilter for the range
worksheet.Cells["A1:E4"].AutoFilter = true;
worksheet.Cells["A1:E5"].AutoFitColumns(0);
// lets set the header text
worksheet.HeaderFooter.oddHeader.CenteredText = "&24&U&\"Arial,Regular Bold\" Inventory";
// add the page number to the footer plus the total number of pages
worksheet.HeaderFooter.oddFooter.RightAlignedText =
string.Format("Page {0} of {1}", ExcelHeaderFooter.PageNumber, ExcelHeaderFooter.NumberOfPages);
// add the sheet name to the footer
worksheet.HeaderFooter.oddFooter.CenteredText = ExcelHeaderFooter.SheetName;
// add the file path to the footer
worksheet.HeaderFooter.oddFooter.LeftAlignedText = ExcelHeaderFooter.FilePath + ExcelHeaderFooter.FileName;
worksheet.PrinterSettings.RepeatRows = worksheet.Cells["1:2"];
worksheet.PrinterSettings.RepeatColumns = worksheet.Cells["A:G"];
// Change the sheet view to show it in page layout mode
worksheet.View.PageLayoutView = true;
// set some document properties
package.Workbook.Properties.Title = "Invertory";
package.Workbook.Properties.Author = "Jan Källman";
package.Workbook.Properties.Comments = "This sample demonstrates how to create an Excel 2007 workbook using EPPlus";
// set some extended property values
package.Workbook.Properties.Company = "AdventureWorks Inc.";
// set some custom property values
package.Workbook.Properties.SetCustomPropertyValue("Checked by", "Jan Källman");
package.Workbook.Properties.SetCustomPropertyValue("AssemblyName", "EPPlus");
// save our new workbook and we are done!
package.Save();
}
return newFile.FullName;
More samples can be found at http://epplus.codeplex.com/
Main Xml schema name
Relationship schema name
Maximum number of columns in a worksheet (16384).
Maximum number of rows in a worksheet (1048576).
Create a new instance of the ExcelPackage. Output is accessed through the Stream property.
Create a new instance of the ExcelPackage class based on a existing file or creates a new file.
If newFile exists, it is opened. Otherwise it is created from scratch.
Create a new instance of the ExcelPackage class based on a existing file or creates a new file.
If newFile exists, it is opened. Otherwise it is created from scratch.
Password for an encrypted package
Create a new instance of the ExcelPackage class based on a existing template.
If newFile exists, it will be overwritten when the Save method is called
The name of the Excel file to be created
The name of the Excel template to use as the basis of the new Excel file
Create a new instance of the ExcelPackage class based on a existing template.
If newFile exists, it will be overwritten when the Save method is called
The name of the Excel file to be created
The name of the Excel template to use as the basis of the new Excel file
Password to decrypted the template
Create a new instance of the ExcelPackage class based on a existing template.
The name of the Excel template to use as the basis of the new Excel file
if true use a stream. If false create a file in the temp dir with a random name
Create a new instance of the ExcelPackage class based on a existing template.
The name of the Excel template to use as the basis of the new Excel file
if true use a stream. If false create a file in the temp dir with a random name
Password to decrypted the template
Create a new instance of the ExcelPackage class based on a stream
The stream object can be empty or contain a package. The stream must be Read/Write
Create a new instance of the ExcelPackage class based on a stream
The stream object can be empty or contain a package. The stream must be Read/Write
The password to decrypt the document
Create a new instance of the ExcelPackage class based on a stream
The output stream. Must be an empty read/write stream.
This stream is copied to the output stream at load
Create a new instance of the ExcelPackage class based on a stream
The output stream. Must be an empty read/write stream.
This stream is copied to the output stream at load
Password to decrypted the template
Init values here
Create a new file from a template
An existing xlsx file to use as a template
The password to decrypt the package.
Saves the XmlDocument into the package at the specified Uri.
The Uri of the component
The XmlDocument to save
Saves the XmlDocument into the package at the specified Uri.
The Uri of the component
The XmlDocument to save
Closes the package.
Saves all the components back into the package.
This method recursively calls the Save method on all sub-components.
We close the package after the save is done.
Saves all the components back into the package.
This method recursively calls the Save method on all sub-components.
The package is closed after it has been saved
The password to encrypt the workbook with.
This parameter overrides the Workbook.Encryption.Password.
Saves the workbook to a new file
The package is closed after it has been saved
Saves the workbook to a new file
The package is closed after it has been saved
The file
The password to encrypt the workbook with.
This parameter overrides the Encryption.Password.
Copies the Package to the Outstream
The package is closed after it has been saved
The stream to copy the package to
Copies the Package to the Outstream
The package is closed after it has been saved
The stream to copy the package to
The password to encrypt the workbook with.
This parameter overrides the Encryption.Password.
Get the XmlDocument from an URI
The Uri to the part
The XmlDocument
Saves and returns the Excel files as a bytearray.
Note that the package is closed upon save
Example how to return a document from a Webserver...
ExcelPackage package=new ExcelPackage();
/**** ... Create the document ****/
Byte[] bin = package.GetAsByteArray();
Response.ContentType = "Application/vnd.ms-Excel";
Response.AddHeader("content-disposition", "attachment; filename=TheFile.xlsx");
Response.BinaryWrite(bin);
Saves and returns the Excel files as a bytearray
Note that the package is closed upon save
Example how to return a document from a Webserver...
ExcelPackage package=new ExcelPackage();
/**** ... Create the document ****/
Byte[] bin = package.GetAsByteArray();
Response.ContentType = "Application/vnd.ms-Excel";
Response.AddHeader("content-disposition", "attachment; filename=TheFile.xlsx");
Response.BinaryWrite(bin);
The password to encrypt the workbook with.
This parameter overrides the Encryption.Password.
Loads the specified package data from a stream.
The input.
Loads the specified package data from a stream.
The input.
The password to decrypt the document
Copies the input stream to the output stream.
The input stream.
The output stream.
Returns a reference to the package
Information how and if the package is encrypted
Returns a reference to the workbook component within the package.
All worksheets and cells can be accessed through the workbook.
Automaticlly adjust drawing size when column width/row height are adjusted, depending on the drawings editBy property.
Default True
The output file. Null if no file is used
The output stream. This stream is the not the encrypted package.
To get the encrypted package use the SaveAs(stream) method.
Compression option for the package
ExcelConditionalFormattingYesterday
ExcelConditionalFormattingTop
ExcelConditionalFormattingLastWeek
A richtext part
The text
Preserves whitespace. Default true
Bold text
Italic text
Strike-out text
Underlined text
Vertical Alignment
Font size
Name of the font
Text color
Collection for named ranges
Add a new named range
The name
The range
Add a defined name referencing value
Add a defined name referencing a formula -- the method name contains a typo.
This method is obsolete and will be removed in the future.
Use
Add a defined name referencing a formula
Remove a defined name from the collection
The name
Checks collection for the presence of a key
key to search for
true if the key is in the collection
Implement interface method IEnumerator<ExcelNamedRange> GetEnumerator()
Implement interface method IEnumeratable GetEnumerator()
The current number of items in the collection
Name indexer
The name (key) for a Named range
a reference to the range
Throws a KeyNotFoundException if the key is not in the collection.
Provides access to ofpie-chart specific properties
Type, pie or bar
A field Item. Used for grouping
The text. Unique values only
Id for number format
Build in ID's
0 General
1 0
2 0.00
3 #,##0
4 #,##0.00
9 0%
10 0.00%
11 0.00E+00
12 # ?/?
13 # ??/??
14 mm-dd-yy
15 d-mmm-yy
16 d-mmm
17 mmm-yy
18 h:mm AM/PM
19 h:mm:ss AM/PM
20 h:mm
21 h:mm:ss
22 m/d/yy h:mm
37 #,##0 ;(#,##0)
38 #,##0 ;[Red](#,##0)
39 #,##0.00;(#,##0.00)
40 #,##0.00;[Red](#,##0.00)
45 mm:ss
46 [h]:mm:ss
47 mmss.0
48 ##0.0E+0
49 @
A range of cells.
Access the range using an address
The address
A range object
Access a single cell
The row
The column
A range object
Access a range of cells
Start row
Start column
End Row
End Column
ExcelConditionalFormattingToday
ExcelConditionalFormattingLessThan
ExcelConditionalFormattingContainsErrors
ExcelConditionalFormattingAboveStdDev
IExcelConditionalFormattingGreaterThanOrEqual
Cell style Font
Set the font from a Font object
The name of the font
The Size of the font
Font family
Cell color
Scheme
Font-bold
Font-italic
Font-Strikeout
Font-Underline
Font-Vertical Align
A collection of Paragraph objects
Add a rich text string
The text to add
Printer orientation
Portrait orientation
Landscape orientation
Papersize
Letter paper (8.5 in. by 11 in.)
Letter small paper (8.5 in. by 11 in.)
// Tabloid paper (11 in. by 17 in.)
Ledger paper (17 in. by 11 in.)
Legal paper (8.5 in. by 14 in.)
Statement paper (5.5 in. by 8.5 in.)
Executive paper (7.25 in. by 10.5 in.)
A3 paper (297 mm by 420 mm)
A4 paper (210 mm by 297 mm)
A4 small paper (210 mm by 297 mm)
A5 paper (148 mm by 210 mm)
B4 paper (250 mm by 353 mm)
B5 paper (176 mm by 250 mm)
Folio paper (8.5 in. by 13 in.)
Quarto paper (215 mm by 275 mm)
Standard paper (10 in. by 14 in.)
Standard paper (11 in. by 17 in.)
Note paper (8.5 in. by 11 in.)
#9 envelope (3.875 in. by 8.875 in.)
#10 envelope (4.125 in. by 9.5 in.)
#11 envelope (4.5 in. by 10.375 in.)
#12 envelope (4.75 in. by 11 in.)
#14 envelope (5 in. by 11.5 in.)
C paper (17 in. by 22 in.)
D paper (22 in. by 34 in.)
E paper (34 in. by 44 in.)
DL envelope (110 mm by 220 mm)
C5 envelope (162 mm by 229 mm)
C3 envelope (324 mm by 458 mm)
C4 envelope (229 mm by 324 mm)
C6 envelope (114 mm by 162 mm)
C65 envelope (114 mm by 229 mm)
B4 envelope (250 mm by 353 mm)
B5 envelope (176 mm by 250 mm)
B6 envelope (176 mm by 125 mm)
Italy envelope (110 mm by 230 mm)
Monarch envelope (3.875 in. by 7.5 in.).
6 3/4 envelope (3.625 in. by 6.5 in.)
US standard fanfold (14.875 in. by 11 in.)
German standard fanfold (8.5 in. by 12 in.)
German legal fanfold (8.5 in. by 13 in.)
ISO B4 (250 mm by 353 mm)
Japanese double postcard (200 mm by 148 mm)
Standard paper (9 in. by 11 in.)
Standard paper (10 in. by 11 in.)
Standard paper (15 in. by 11 in.)
Invite envelope (220 mm by 220 mm)
Letter extra paper (9.275 in. by 12 in.)
Legal extra paper (9.275 in. by 15 in.)
Tabloid extra paper (11.69 in. by 18 in.)
A4 extra paper (236 mm by 322 mm)
Letter transverse paper (8.275 in. by 11 in.)
A4 transverse paper (210 mm by 297 mm)
Letter extra transverse paper (9.275 in. by 12 in.)
SuperA/SuperA/A4 paper (227 mm by 356 mm)
SuperB/SuperB/A3 paper (305 mm by 487 mm)
Letter plus paper (8.5 in. by 12.69 in.)
A4 plus paper (210 mm by 330 mm)
A5 transverse paper (148 mm by 210 mm)
JIS B5 transverse paper (182 mm by 257 mm)
A3 extra paper (322 mm by 445 mm)
A5 extra paper (174 mm by 235 mm)
ISO B5 extra paper (201 mm by 276 mm)
A2 paper (420 mm by 594 mm)
A3 transverse paper (297 mm by 420 mm)
A3 extra transverse paper (322 mm by 445 mm*/
Specifies printed page order
Order pages vertically first, then move horizontally.
Order pages horizontally first, then move vertically
Printer settings
All or none of the margin attributes must exist. Create all att ones.
Left margin in inches
Right margin in inches
Top margin in inches
Bottom margin in inches
Header margin in inches
Footer margin in inches
Orientation
Portrait or Landscape
Fit to Width in pages.
Set FitToPage to true when using this one.
0 is automatic
Fit to height in pages.
Set FitToPage to true when using this one.
0 is automatic
Print scale
Fit To Page.
Print headings (column letter and row numbers)
Print titles
Rows to be repeated after each pagebreak.
The address must be a full row address (ex. 1:1)
Print titles
Columns to be repeated after each pagebreak.
The address must be a full column address (ex. A:A)
The printarea.
Null if no print area is set.
Print gridlines
Horizontal centered when printing
w
Vertical centered when printing
Specifies printed page order
Print black and white
Print a draft
Paper size
Collection class for chart series
Delete the chart at the specific position
Zero based
Add a new serie to the chart. Do not apply to pivotcharts.
The Y-Axis range
The X-Axis range
Add a new serie to the chart.Do not apply to pivotcharts.
The Y-Axis range
The X-Axis range
Returns the serie at the specified position.
The position of the series.
A reference to the chart object
Provides access to line chart specific properties
If the series has markers
If the series has smooth lines
Access to datalabel properties
A collection of pivottable objects
Create a pivottable on the supplied range
The range address including header and total row
The Source data range address
The name of the table. Must be unique
The pivottable object
The pivottable Index. Base 0.
Pivottabes accesed by name
The name of the pivottable
The Pivotable. Null if the no match is found
Xml access class for border top level
Left border style properties
Right border style properties
Top border style properties
Bottom border style properties
Diagonal border style properties
Diagonal up border
Diagonal down border
Xml access class for gradient fillsde
Type of gradient fill.
Angle of the linear gradient
Gradient color 1
Gradient color 2
Percentage format bottom
Percentage format top
Percentage format left
Percentage format right
The color of the pattern
The background color
Left border style
Right border style
Top border style
Bottom border style
Base class for VBA collections
If a specific name exists in the collection
The name
True if the name exists
Removes the item
Removes the item at the specified index
THe index
Indexer
Name
Indexer
Position
Number of items in the collection
Collection class for VBA modules
Adds a new VBA Module
The name of the module
The module object
Adds a new VBA class
The name of the class
Private or Public not createble
The class object
A collection of the vba projects references
Adds a new reference
The reference object
A collection of the module level attributes
Data validation for integer values.
Constructor
Constructor
Constructor
For test purposes
ExcelConditionalFormattingThisWeek
ExcelConditionalFormattingThisMonth
ExcelConditionalFormattingNotBetween
ExcelConditionalFormattingLessThanOrEqual
Functions related to the
Get the sequencial order of a cfvo/color by its position.
1, 2 or 3
Get the CFVO type by its @type attribute
Get the cfvo (§18.3.1.11) node parent by the rule type. Can be any of the following:
"colorScale" (§18.3.1.16); "dataBar" (§18.3.1.28); "iconSet" (§18.3.1.49)
Bar chart
Direction, Bar or columns
The shape of the bar/columns
Access to datalabel properties
The position of a VML drawing. Used for comments
Row. Zero based
Row offset in pixels. Zero based
Column. Zero based
Column offset. Zero based
Base class for pivot table field groups
A date group
How to group the date field
Auto detect start date
Auto detect end date
A pivot table field numeric grouping
Start value
End value
Interval
Represents the different view states of the worksheet
Creates a new ExcelWorksheetView which provides access to all the view states of the worksheet.
Freeze the columns/rows to left and above the cell
Unlock all rows and columns to scroll freely
///
Returns a reference to the sheetView element
The active cell.
Selected Cells in the worksheet.Used in combination with ActiveCell
Indicates if the worksheet is selected within the workbook
Sets the view mode of the worksheet to pagelayout
Sets the view mode of the worksheet to pagebreak
Show gridlines in the worksheet
Show the Column/Row headers (containg column letters and row numbers)
Window zoom magnification for current view representing percent values.
Flag indicating whether the sheet is in 'right to left' display mode. When in this mode,Column A is on the far right, Column B ;is one column left of Column A, and so on. Also,information in cells is displayed in the Right to Left format.
Reference to the panes
The worksheet panes after a freeze or split.
Set the active cell. Must be set within the SelectedRange.
Selected Cells.Used in combination with ActiveCell
An image object
Set the size of the image in percent from the orginal size
Note that resizing columns / rows after using this function will effect the size of the picture
Percent
The Image
Image format
If the picture is created from an Image this type is always Jpeg
Fill
Border
Hyperlink
Add AboveOrEqualAverage Conditional Formatting
Add AboveOrEqualAverage Conditional Formatting
Add BelowOrEqualAverage Conditional Formatting
Add BelowOrEqualAverage Conditional Formatting
Add AboveStdDev Conditional Formatting
Add BelowStdDev Conditional Formatting
Add Bottom Conditional Formatting
Add BottomPercent Conditional Formatting
Add Top Conditional Formatting
Add TopPercent Conditional Formatting
Add Last7Days Conditional Formatting
Add LastMonth Conditional Formatting
Add LastWeek Conditional Formatting
Add NextMonth Conditional Formatting
Add NextWeek Conditional Formatting
Add ThisMonth Conditional Formatting
Add ThisWeek Conditional Formatting
Add Today Conditional Formatting
Add Tomorrow Conditional Formatting
Add Yesterday Conditional Formatting
Add BeginsWith Conditional Formatting
Add Between Conditional Formatting
Add ContainsBlanks Conditional Formatting
Add ContainsErrors Conditional Formatting
Add ContainsText Conditional Formatting
Add DuplicateValues Conditional Formatting
Add EndsWith Conditional Formatting
Add Equal Conditional Formatting
Add Expression Conditional Formatting
Add GreaterThan Conditional Formatting
Add GreaterThanOrEqual Conditional Formatting
Add LessThan Conditional Formatting
Add LessThanOrEqual Conditional Formatting
Add NotBetween Conditional Formatting
Add NotContainsBlanks Conditional Formatting
Add NotContainsErrors Conditional Formatting
Add NotContainsText Conditional Formatting
Add NotEqual Conditional Formatting
Add UniqueValues Conditional Formatting
Add ThreeColorScale Conditional Formatting
Add TwoColorScale Conditional Formatting
Adds a ThreeIconSet rule
Adds a FourIconSet rule
Adds a FiveIconSet rule
Adds a Databar rule
The color of the databar
ExcelConditionalFormattingTwoColorScale
Private Low Value
Private High Value
Low Value for Two Color Scale Object Value
High Value for Two Color Scale Object Value
ExcelConditionalFormattingTopPercent
Enum for Conditional Format Type ST_CfType §18.18.12. With some changes.
This conditional formatting rule highlights cells that are above the average
for all values in the range.
AboveAverage Excel CF Rule Type
This conditional formatting rule highlights cells that are above or equal
the average for all values in the range.
AboveAverage Excel CF Rule Type
This conditional formatting rule highlights cells that are below the average
for all values in the range.
AboveAverage Excel CF Rule Type
This conditional formatting rule highlights cells that are below or equal
the average for all values in the range.
AboveAverage Excel CF Rule Type
This conditional formatting rule highlights cells that are above the standard
deviationa for all values in the range.
AboveAverage Excel CF Rule Type
This conditional formatting rule highlights cells that are below the standard
deviationa for all values in the range.
AboveAverage Excel CF Rule Type
This conditional formatting rule highlights cells whose values fall in the
bottom N bracket as specified.
Top10 Excel CF Rule Type
This conditional formatting rule highlights cells whose values fall in the
bottom N percent as specified.
Top10 Excel CF Rule Type
This conditional formatting rule highlights cells whose values fall in the
top N bracket as specified.
Top10 Excel CF Rule Type
This conditional formatting rule highlights cells whose values fall in the
top N percent as specified.
Top10 Excel CF Rule Type
This conditional formatting rule highlights cells containing dates in the
last 7 days.
TimePeriod Excel CF Rule Type
This conditional formatting rule highlights cells containing dates in the
last month.
TimePeriod Excel CF Rule Type
This conditional formatting rule highlights cells containing dates in the
last week.
TimePeriod Excel CF Rule Type
This conditional formatting rule highlights cells containing dates in the
next month.
TimePeriod Excel CF Rule Type
This conditional formatting rule highlights cells containing dates in the
next week.
TimePeriod Excel CF Rule Type
This conditional formatting rule highlights cells containing dates in this
month.
TimePeriod Excel CF Rule Type
This conditional formatting rule highlights cells containing dates in this
week.
TimePeriod Excel CF Rule Type
This conditional formatting rule highlights cells containing today dates.
TimePeriod Excel CF Rule Type
This conditional formatting rule highlights cells containing tomorrow dates.
TimePeriod Excel CF Rule Type
This conditional formatting rule highlights cells containing yesterday dates.
TimePeriod Excel CF Rule Type
This conditional formatting rule highlights cells in the range that begin with
the given text.
Equivalent to using the LEFT() sheet function and comparing values.
BeginsWith Excel CF Rule Type
This conditional formatting rule highlights cells in the range between the
given two formulas.
CellIs Excel CF Rule Type
This conditional formatting rule highlights cells that are completely blank.
Equivalent of using LEN(TRIM()). This means that if the cell contains only
characters that TRIM() would remove, then it is considered blank. An empty cell
is also considered blank.
ContainsBlanks Excel CF Rule Type
This conditional formatting rule highlights cells with formula errors.
Equivalent to using ISERROR() sheet function to determine if there is
a formula error.
ContainsErrors Excel CF Rule Type
This conditional formatting rule highlights cells in the range that begin with
the given text.
Equivalent to using the LEFT() sheet function and comparing values.
ContainsText Excel CF Rule Type
This conditional formatting rule highlights duplicated values.
DuplicateValues Excel CF Rule Type
This conditional formatting rule highlights cells ending with given text.
Equivalent to using the RIGHT() sheet function and comparing values.
EndsWith Excel CF Rule Type
This conditional formatting rule highlights cells equals to with given formula.
CellIs Excel CF Rule Type
This conditional formatting rule contains a formula to evaluate. When the
formula result is true, the cell is highlighted.
Expression Excel CF Rule Type
This conditional formatting rule highlights cells greater than the given formula.
CellIs Excel CF Rule Type
This conditional formatting rule highlights cells greater than or equal the
given formula.
CellIs Excel CF Rule Type
This conditional formatting rule highlights cells less than the given formula.
CellIs Excel CF Rule Type
This conditional formatting rule highlights cells less than or equal the
given formula.
CellIs Excel CF Rule Type
This conditional formatting rule highlights cells outside the range in
given two formulas.
CellIs Excel CF Rule Type
This conditional formatting rule highlights cells that does not contains the
given formula.
CellIs Excel CF Rule Type
This conditional formatting rule highlights cells that are not blank.
Equivalent of using LEN(TRIM()). This means that if the cell contains only
characters that TRIM() would remove, then it is considered blank. An empty cell
is also considered blank.
NotContainsBlanks Excel CF Rule Type
This conditional formatting rule highlights cells without formula errors.
Equivalent to using ISERROR() sheet function to determine if there is a
formula error.
NotContainsErrors Excel CF Rule Type
This conditional formatting rule highlights cells that do not contain
the given text.
Equivalent to using the SEARCH() sheet function.
NotContainsText Excel CF Rule Type
This conditional formatting rule highlights cells not equals to with
given formula.
CellIs Excel CF Rule Type
This conditional formatting rule highlights unique values in the range.
UniqueValues Excel CF Rule Type
Three Color Scale (Low, Middle and High Color Scale)
ColorScale Excel CF Rule Type
Two Color Scale (Low and High Color Scale)
ColorScale Excel CF Rule Type
This conditional formatting rule applies a 3 set icons to cells according
to their values.
IconSet Excel CF Rule Type
This conditional formatting rule applies a 4 set icons to cells according
to their values.
IconSet Excel CF Rule Type
This conditional formatting rule applies a 5 set icons to cells according
to their values.
IconSet Excel CF Rule Type
This conditional formatting rule displays a gradated data bar in the range of cells.
DataBar Excel CF Rule Type
Enum for Conditional Format Value Object Type ST_CfvoType §18.18.13
Formula
Maximum Value
Minimum Value
Number Value
Percent
Percentile
Enum for Conditional Formatting Value Object Position
The lower position for both TwoColorScale and ThreeColorScale
The middle position only for ThreeColorScale
The highest position for both TwoColorScale and ThreeColorScale
Enum for Conditional Formatting Value Object Node Type
'cfvo' node
'color' node
Enum for Conditional Formatting Operartor Type ST_ConditionalFormattingOperator §18.18.15
Begins With. 'Begins with' operator
Between. 'Between' operator
Contains. 'Contains' operator
Ends With. 'Ends with' operator
Equal. 'Equal to' operator
Greater Than. 'Greater than' operator
Greater Than Or Equal. 'Greater than or equal to' operator
Less Than. 'Less than' operator
Less Than Or Equal. 'Less than or equal to' operator
Not Between. 'Not between' operator
Does Not Contain. 'Does not contain' operator
Not Equal. 'Not equal to' operator
Enum for Conditional Formatting Time Period Type ST_TimePeriod §18.18.82
Last 7 Days. A date in the last seven days.
Last Month. A date occuring in the last calendar month.
Last Week. A date occuring last week.
Next Month. A date occuring in the next calendar month.
Next Week. A date occuring next week.
This Month. A date occuring in this calendar month.
This Week. A date occuring this week.
Today. Today's date.
Tomorrow. Tomorrow's date.
Yesterday. Yesterday's date.
18.18.42 ST_IconSetType (Icon Set Type) - Only 3 icons
(3 Arrows) 3 arrows icon set.
(3 Arrows (Gray)) 3 gray arrows icon set.
(3 Flags) 3 flags icon set.
(3 Signs) 3 signs icon set.
(3 Symbols Circled) 3 symbols icon set.
(3 Symbols) 3 Symbols icon set.
(3 Traffic Lights) 3 traffic lights icon set (#1).
(3 Traffic Lights Black) 3 traffic lights icon set with thick black border.
18.18.42 ST_IconSetType (Icon Set Type) - Only 4 icons
(4 Arrows) 4 arrows icon set.
(4 Arrows (Gray)) 4 gray arrows icon set.
(4 Ratings) 4 ratings icon set.
(4 Red To Black) 4 'red to black' icon set.
(4 Traffic Lights) 4 traffic lights icon set.
18.18.42 ST_IconSetType (Icon Set Type) - Only 5 icons
(5 Arrows) 5 arrows icon set.
(5 Arrows (Gray)) 5 gray arrows icon set.
(5 Quarters) 5 quarters icon set.
(5 Ratings Icon Set) 5 rating icon set.