ClosedXML
Base interface for an abstract repository.
Clear the repository;
Put the into the repository under the specified
if there is no such key present.
Key to identify the value.
Value to put into the repository if key does not exist.
Value stored in the repository under the specified . If key already existed
returned value may differ from the input one.
Check if the specified key is presented in the repository.
Key to look for.
Value from the repository stored under specified key or null if key does
not exist or the entry under this key has already bee GCed.
True if entry exists and alive, false otherwise.
Put the entity into the repository under the specified key if no other entity with
the same key is presented.
Key to identify the entity.
Entity to store.
Entity that is stored in the repository under the specified key
(it can be either the or another entity that has been added to
the repository before.)
Enumerate items in repository removing "dead" entries.
Base repository for elements.
CalcEngine parses strings and returns Expression objects that can
be evaluated.
This class has three extensibility points:
Use the DataContext property to add an object's properties to the engine scope.
Use the RegisterFunction method to define custom functions.
Override the GetExternalObject method to add arbitrary variables to the engine scope.
Parses a string into an .
String to parse.
An object that can be evaluated.
Evaluates a string.
Expression to evaluate.
The value of the expression.
If you are going to evaluate the same expression several times,
it is more efficient to parse it only once using the
method and then using the Expression.Evaluate method to evaluate
the parsed expression.
Gets or sets whether the calc engine should keep a cache with parsed
expressions.
Gets or sets whether the calc engine should optimize expressions when
they are parsed.
Gets or sets a string that specifies special characters that are valid for identifiers.
Identifiers must start with a letter or an underscore, which may be followed by
additional letters, underscores, or digits. This string allows you to specify
additional valid characters such as ':' or '!' (used in Excel range references
for example).
Registers a function that can be evaluated by this .
Function name.
Minimum parameter count.
Maximum parameter count.
Delegate that evaluates the function.
Registers a function that can be evaluated by this .
Function name.
Parameter count.
Delegate that evaluates the function.
Gets an external object based on an identifier.
This method is useful when the engine needs to create objects dynamically.
For example, a spreadsheet calc engine would use this method to dynamically create cell
range objects based on identifiers that cannot be enumerated at design time
(such as "AB12", "A1:AB12", etc.)
Gets or sets the DataContext for this .
Once a DataContext is set, all public properties of the object become available
to the CalcEngine, including sub-properties such as "Address.Street". These may
be used with expressions just like any other constant.
Gets the dictionary that contains function definitions.
Gets the dictionary that contains simple variables (not in the DataContext).
Gets or sets the to use when parsing numbers and dates.
Delegate that represents CalcEngine functions.
List of objects that represent the
parameters to be used in the function call.
The function result.
Get total count of cells in the specified range without initalizing them all
(which might cause serious performance issues on column-wide calculations).
Expression referring to the cell range.
Total number of cells in the range.
This error occurs when you delete a cell referred to in the
formula or if you paste cells over the ones referred to in the
formula.
Corresponds to the #REF! error in Excel
This error is most often the result of specifying a
mathematical operation with one or more cells that contain
text.
Corresponds to the #VALUE! error in Excel
The division operation in your formula refers to a cell that
contains the value 0 or is blank.
Corresponds to the #DIV/0! error in Excel
This error value appears when you incorrectly type the range
name, refer to a deleted range name, or forget to put quotation
marks around a text string in a formula.
Corresponds to the #NAME? error in Excel
Technically, this is not an error value but a special value
that you can manually enter into a cell to indicate that you
don’t yet have a necessary value.
Corresponds to the #N/A error in Excel.
Because a space indicates an intersection, this error will
occur if you insert a space instead of a comma(the union operator)
between ranges used in function arguments.
Corresponds to the #NULL! error in Excel
This error can be caused by an invalid argument in an Excel
function or a formula that produces a number too large or too small
to be represented in the worksheet.
Corresponds to the #NUM! error in Excel
Base class that represents parsed expressions.
For example:
Expression expr = scriptEngine.Parse(strExpression);
object val = expr.Evaluate();
Unary expression, e.g. +123
Binary expression, e.g. 1+2
Function call expression, e.g. sin(0.5)
Simple variable reference.
Expression that represents an external object.
Expression that represents an omitted parameter.
Interface supported by external objects that have to return a value
other than themselves (e.g. a cell range object should return the
cell content instead of the range itself).
Caches expressions based on their string representation.
This saves parsing time.
Uses weak references to avoid accumulating unused expressions.
The exception that is thrown when the strings to be parsed to an expression is invalid.
Initializes a new instance of the ExpressionParseException class with a
specified error message.
The message that describes the error.
Function definition class (keeps function name, parameter counts, and delegate).
Calculates number of business days, taking into account:
- weekends (Saturdays and Sundays)
- bank holidays in the middle of the week
First day in the time interval
Last day in the time interval
List of bank holidays excluding weekends
Number of business days during the 'span'
Represents a node in the expression tree.
Token types (used when building expressions, sequence defines operator priority)
Token ID (used when evaluating expressions)
Get a collection of cell ranges included into the expression. Order is not preserved.
Formula to parse.
Collection of ranges included into the expression.
Gets or sets the cell's value. To get or set a strongly typed value, use the GetValue<T> and SetValue methods.
ClosedXML will try to detect the data type through parsing. If it can't then the value will be left as a string.
If the object is an IEnumerable, ClosedXML will copy the collection's data into a table starting from this cell.
If the object is a range, ClosedXML will copy the range starting from this cell.
Setting the value to an object (not IEnumerable/range) will call the object's ToString() method.
The object containing the value(s) to set.
Gets this cell's address, relative to the worksheet.
The cell's address.
Returns the current region. The current region is a range bounded by any combination of blank rows and blank columns
The current region.
Gets or sets the type of this cell's data.
Changing the data type will cause ClosedXML to covert the current value to the new data type.
An exception will be thrown if the current value cannot be converted to the new data type.
The type of the cell's data.
Sets the type of this cell's data.
Changing the data type will cause ClosedXML to covert the current value to the new data type.
An exception will be thrown if the current value cannot be converted to the new data type.
Type of the data.
Sets the cell's value.
If the object is an IEnumerable ClosedXML will copy the collection's data into a table starting from this cell.
If the object is a range ClosedXML will copy the range starting from this cell.
Setting the value to an object (not IEnumerable/range) will call the object's ToString() method.
ClosedXML will try to translate it to the corresponding type, if it can't then the value will be left as a string.
The object containing the value(s) to set.
Gets the cell's value converted to the T type.
ClosedXML will try to covert the current value to the T type.
An exception will be thrown if the current value cannot be converted to the T type.
The return type.
Gets the cell's value converted to a String.
Gets the cell's value formatted depending on the cell's data type and style.
Gets the cell's value converted to Double.
ClosedXML will try to covert the current value to Double.
An exception will be thrown if the current value cannot be converted to Double.
Gets the cell's value converted to Boolean.
ClosedXML will try to covert the current value to Boolean.
An exception will be thrown if the current value cannot be converted to Boolean.
Gets the cell's value converted to DateTime.
ClosedXML will try to covert the current value to DateTime.
An exception will be thrown if the current value cannot be converted to DateTime.
Gets the cell's value converted to TimeSpan.
ClosedXML will try to covert the current value to TimeSpan.
An exception will be thrown if the current value cannot be converted to TimeSpan.
Clears the contents of this cell.
Specify what you want to clear.
Deletes the current cell and shifts the surrounding cells according to the shiftDeleteCells parameter.
How to shift the surrounding cells.
Gets or sets the cell's formula with A1 references.
The formula with A1 references.
Gets or sets the cell's formula with R1C1 references.
The formula with R1C1 references.
Returns this cell as an IXLRange.
Gets or sets the cell's style.
Gets or sets a value indicating whether this cell's text should be shared or not.
If false the cell's text will not be shared and stored as an inline value.
Inserts the IEnumerable data elements and returns the range it occupies.
The IEnumerable data.
Inserts the IEnumerable data elements and returns the range it occupies.
The IEnumerable data.
if set to true the data will be transposed before inserting.
Inserts the data of a data table.
The data table.
The range occupied by the inserted data
Inserts the IEnumerable data elements as a table and returns it.
The new table will receive a generic name: Table#
The table data.
Inserts the IEnumerable data elements as a table and returns it.
The new table will receive a generic name: Table#
The table data.
if set to true it will create an Excel table.
if set to false the table will be created in memory.
Creates an Excel table from the given IEnumerable data elements.
The table data.
Name of the table.
Inserts the IEnumerable data elements as a table and returns it.
The table data.
Name of the table.
if set to true it will create an Excel table.
if set to false the table will be created in memory.
Inserts the DataTable data elements as a table and returns it.
The new table will receive a generic name: Table#
The table data.
Inserts the DataTable data elements as a table and returns it.
The new table will receive a generic name: Table#
The table data.
if set to true it will create an Excel table.
if set to false the table will be created in memory.
Creates an Excel table from the given DataTable data elements.
The table data.
Name of the table.
Inserts the DataTable data elements as a table and returns it.
The table data.
Name of the table.
if set to true it will create an Excel table.
if set to false the table will be created in memory.
Creates a named range out of this cell.
If the named range exists, it will add this range to that named range.
The default scope for the named range is Workbook.
Name of the range.
Creates a named range out of this cell.
If the named range exists, it will add this range to that named range.
Name of the range.
The scope for the named range.
Creates a named range out of this cell.
If the named range exists, it will add this range to that named range.
Name of the range.
The scope for the named range.
The comments for the named range.
Textual representation of cell calculated value (as it is saved to a workbook or read from it)
Calculated value of cell formula. Is used for decreasing number of computations perfromed.
May hold invalid value when flag is True.
Flag indicating that previously calculated cell value may be not valid anymore and has to be re-evaluated.
Invalidate so the formula will be re-evaluated next time is accessed.
If cell does not contain formula nothing happens.
Sets the cells' value.
If the object is an IEnumerable ClosedXML will copy the collection's data into a table starting from each cell.
If the object is a range ClosedXML will copy the range starting from each cell.
Setting the value to an object (not IEnumerable/range) will call the object's ToString() method.
ClosedXML will try to translate it to the corresponding type, if it can't then the value will be left as a string.
The object containing the value(s) to set.
Sets the type of the cells' data.
Changing the data type will cause ClosedXML to covert the current value to the new data type.
An exception will be thrown if the current value cannot be converted to the new data type.
The type of the cell's data.
Clears the contents of these cells.
Specify what you want to clear.
Delete the comments of these cells.
Sets the cells' formula with A1 references.
The formula with A1 references.
Sets the cells' formula with R1C1 references.
The formula with R1C1 references.
Get the data validation rule containing current cell or create a new one if no rule was defined for cell.
Flag showing that the cell is in formula evaluation state.
Calculate a value of the specified formula.
Cell formula to evaluate.
Null if formula is empty or null, calculated value otherwise.
Perform an evaluation of cell formula. If cell does not contain formula nothing happens, if cell does not need
recalculation ( is False) nothing happens either, unless flag is specified.
Otherwise recalculation is perfomed, result value is preserved in and returned.
Flag indicating whether a recalculation must be performed even is cell does not need it.
Null if cell does not contain a formula. Calculated value otherwise.
Flag indicating that previously calculated cell value may be not valid anymore and has to be re-evaluated.
The value of that workbook had at the moment of cell last modification.
If this value is greater than then cell needs re-evaluation, as well as all dependent cells do.
The value of that workbook had at the moment of cell formula evaluation.
If this value equals to it indicates that stores
correct value and no re-evaluation has to be performed.
The value of that workbook had at the moment of determining whether the cell
needs re-evaluation (due to it has been edited or some of the affecting cells has). If thie value equals to
it indicates that stores correct value and no check has to be performed.
Get the data validation rule containing current cell.
The data validation rule applying to the current cell or null if there is no such rule.
Gets or sets the width of this column.
The width of this column.
Deletes this column and shifts the columns at the right of this one accordingly.
Gets this column's number
Gets this column's letter
Inserts X number of columns at the right of this one.
All columns at the right will be shifted accordingly.
The number of columns to insert.
Inserts X number of columns at the left of this one.
This column and all at the right will be shifted accordingly.
The number of columns to insert.
Gets the cell in the specified row.
The cell's row.
Returns the specified group of cells, separated by commas.
e.g. Cells("1"), Cells("1:5"), Cells("1,3:5")
The column cells to return.
Returns the specified group of cells.
The first row in the group of cells to return.
The last row in the group of cells to return.
Adjusts the width of the column based on its contents.
Adjusts the width of the column based on its contents, starting from the startRow.
The row to start calculating the column width.
Adjusts the width of the column based on its contents, starting from the startRow and ending at endRow.
The row to start calculating the column width.
The row to end calculating the column width.
Hides this column.
Unhides this column.
Gets a value indicating whether this column is hidden or not.
true if this column is hidden; otherwise, false.
Gets or sets the outline level of this column.
The outline level of this column.
Adds this column to the next outline level (Increments the outline level for this column by 1).
Adds this column to the next outline level (Increments the outline level for this column by 1).
If set to true the column will be shown collapsed.
Sets outline level for this column.
The outline level.
Sets outline level for this column.
The outline level.
If set to true the column will be shown collapsed.
Adds this column to the previous outline level (decrements the outline level for this column by 1).
Adds this column to the previous outline level (decrements the outline level for this column by 1).
If set to true it will remove this column from all outline levels.
Show this column as collapsed.
Expands this column (if it's collapsed).
Adds a vertical page break after this column.
Clears the contents of this column.
Specify what you want to clear.
Sets the width of all columns.
The width of all columns.
Deletes all columns and shifts the columns at the right of them accordingly.
Adjusts the width of all columns based on its contents.
Adjusts the width of all columns based on its contents, starting from the startRow.
The row to start calculating the column width.
Adjusts the width of all columns based on its contents, starting from the startRow and ending at endRow.
The row to start calculating the column width.
The row to end calculating the column width.
Hides all columns.
Unhides all columns.
Increments the outline level of all columns by 1.
Increments the outline level of all columns by 1.
If set to true the columns will be shown collapsed.
Sets outline level for all columns.
The outline level.
Sets outline level for all columns.
The outline level.
If set to true the columns will be shown collapsed.
Decrements the outline level of all columns by 1.
Decrements the outline level of all columns by 1.
If set to true it will remove the columns from all outline levels.
Show all columns as collapsed.
Expands all columns (if they're collapsed).
Returns the collection of cells.
Returns the collection of cells that have a value.
Returns the collection of cells that have a value.
if set to true will return all cells with a value or a style different than the default.
Adds a vertical page break after these columns.
Clears the contents of these columns.
Specify what you want to clear.
The direct contructor should only be used in .
Adds a vertical page break after this column.
Adds a vertical page break after this column.
Gets or sets this comment's author's name
Sets the name of the comment's author
Author's name
Adds a bolded line with the author's name
The first of the .
The method consolidate the same conditional formats, which are located in adjacent ranges.
Reorders the according to original priority. Done during load process
Create address without worksheet. For calculation only!
Initializes a new struct using a mixed notation. Attention: without worksheet for calculation only!
The row number of the cell address.
The column letter of the cell address.
Initializes a new struct using a mixed notation.
The row number of the cell address.
The column letter of the cell address.
Initializes a new struct using R1C1 notation. Attention: without worksheet for calculation only!
The row number of the cell address.
The column number of the cell address.
Initializes a new struct using R1C1 notation.
The row number of the cell address.
The column number of the cell address.
Gets the row number of this address.
Gets the column number of this address.
Gets the column letter(s) of this address.
Create a copy of the picture on a different worksheet.
The worksheet to which the picture will be copied.
A created copy of the picture.
Create a copy of the picture on the same worksheet.
A created copy of the picture.
Type of image. The supported formats are defined by OpenXML's ImagePartType.
Default value is "jpeg"
Deletes this picture.
Create a copy of the picture on a different worksheet.
The worksheet to which the picture will be copied.
A created copy of the picture.
Create a copy of the picture on the same worksheet.
A created copy of the picture.
Gets or sets the column after which the horizontal split should take place.
Gets or sets the row after which the vertical split should take place.
Window zoom magnification for current view representing percent values. Horizontal and vertical scale together.
Representing percent values ranging from 10 to 400.
Zoom magnification to use when in normal view. Horizontal and vertical scale together
Representing percent values ranging from 10 to 400.
Zoom magnification to use when in page layout view. Horizontal and vertical scale together.
Representing percent values ranging from 10 to 400.
Zoom magnification to use when in page break preview. Horizontal and vertical scale together.
Representing percent values ranging from 10 to 400.
Freezes the specified rows and columns.
The rows to freeze.
The columns to freeze.
Freezes the left X columns.
The columns to freeze.
Freezes the top X rows.
The rows to freeze.
Gets or sets the workbook's calculation mode.
Gets or sets the default column width for the workbook.
All new worksheets will use this column width.
Gets an object to manipulate this workbook's named ranges.
Gets or sets the default outline options for the workbook.
All new worksheets will use these outline options.
Gets or sets the default page options for the workbook.
All new worksheets will use these page options.
Gets or sets the workbook's properties.
Gets or sets the workbook's reference style.
Gets or sets the default row height for the workbook.
All new worksheets will use this row height.
Gets or sets the default style for the workbook.
All new worksheets will use this style.
Gets an object to manipulate this workbook's theme.
Gets an object to manipulate the worksheets.
Force recalculation of all cell formulas.
Saves the current workbook.
Saves the current workbook and optionally performs validation
Saves the current workbook to a file.
Saves the current workbook to a file and optionally validates it.
Saves the current workbook to a stream.
Saves the current workbook to a stream and optionally validates it.
Searches the cells' contents for a given piece of text
The search text.
The compare options.
if set to true search formulae instead of cell values.
Gets the workbook that contains this worksheet
Gets or sets the default column width for this worksheet.
Gets or sets the default row height for this worksheet.
Gets or sets the name (caption) of this worksheet.
Gets or sets the position of the sheet.
When setting the Position all other sheets' positions are shifted accordingly.
Gets an object to manipulate the sheet's print options.
Gets an object to manipulate the Outline levels.
Gets the first row of the worksheet.
Gets the first row of the worksheet that contains a cell with a value.
Formatted empty cells do not count.
Gets the first row of the worksheet that contains a cell with a value.
If set to true formatted empty cells will count as used.
Gets the last row of the worksheet.
Gets the last row of the worksheet that contains a cell with a value.
Gets the last row of the worksheet that contains a cell with a value.
If set to true formatted empty cells will count as used.
Gets the first column of the worksheet.
Gets the first column of the worksheet that contains a cell with a value.
Gets the first column of the worksheet that contains a cell with a value.
If set to true formatted empty cells will count as used.
Gets the last column of the worksheet.
Gets the last column of the worksheet that contains a cell with a value.
Gets the last column of the worksheet that contains a cell with a value.
If set to true formatted empty cells will count as used.
Gets a collection of all columns in this worksheet.
Gets a collection of the specified columns in this worksheet, separated by commas.
e.g. Columns("G:H"), Columns("10:11,13:14"), Columns("P:Q,S:T"), Columns("V")
The columns to return.
Gets a collection of the specified columns in this worksheet.
The first column to return.
The last column to return.
Gets a collection of the specified columns in this worksheet.
The first column to return.
The last column to return.
Gets a collection of all rows in this worksheet.
Gets a collection of the specified rows in this worksheet, separated by commas.
e.g. Rows("4:5"), Rows("7:8,10:11"), Rows("13")
The rows to return.
Gets a collection of the specified rows in this worksheet.
The first row to return.
The last row to return.
Gets the specified row of the worksheet.
The worksheet's row.
Gets the specified column of the worksheet.
The worksheet's column.
Gets the specified column of the worksheet.
The worksheet's column.
Gets the cell at the specified row and column.
The cell's row.
The cell's column.
Gets the cell at the specified address.
The cell address in the worksheet.
Gets the cell at the specified row and column.
The cell's row.
The cell's column.
Gets the cell at the specified address.
The cell address in the worksheet.
Returns the specified range.
The range boundaries.
Returns the specified range.
e.g. Range("A1"), Range("A1:C2")
The range boundaries.
Returns the specified range.
The first cell in the range.
The last cell in the range.
Returns the specified range.
The first cell address in the worksheet.
The last cell address in the worksheet.
Returns the specified range.
The first cell address in the worksheet.
The last cell address in the worksheet.
Returns a collection of ranges, separated by commas.
e.g. Ranges("A1"), Ranges("A1:C2"), Ranges("A1:B2,D1:D4")
The ranges to return.
Returns the specified range.
The first cell's row of the range to return.
The first cell's column of the range to return.
The last cell's row of the range to return.
The last cell's column of the range to return.
.
Gets the number of rows in this worksheet.
Gets the number of columns in this worksheet.
Collapses all outlined rows.
Collapses all outlined columns.
Expands all outlined rows.
Expands all outlined columns.
Collapses the outlined rows of the specified level.
The outline level.
Collapses the outlined columns of the specified level.
The outline level.
Expands the outlined rows of the specified level.
The outline level.
Expands the outlined columns of the specified level.
The outline level.
Deletes this worksheet.
Gets an object to manage this worksheet's named ranges.
Gets the specified named range.
Name of the range.
Gets an object to manage how the worksheet is going to displayed by Excel.
Gets the Excel table of the given index
Index of the table to return
Gets the Excel table of the given name
Name of the table to return
Gets an object to manage this worksheet's Excel tables
Copies the
Force recalculation of all cell formulas.
Gets or sets the comment for this named range.
The comment for this named range.
Checks if the named range contains invalid references (#REF!).
Gets or sets the name of the range.
The name of the range.
Gets the ranges associated with this named range.
Note: A named range can point to multiple ranges.
Gets the scope of this named range.
Gets or sets the visibility of this named range.
true if visible; otherwise, false.
Adds the specified range to this named range.
Note: A named range can point to multiple ranges.
Workbook containing the range
The range address to add.
Adds the specified range to this named range.
Note: A named range can point to multiple ranges.
The range to add.
Adds the specified ranges to this named range.
Note: A named range can point to multiple ranges.
The ranges to add.
Clears the list of ranges associated with this named range.
(it does not clear the cells)
Deletes this named range (not the cells).
Removes the specified range from this named range.
Note: A named range can point to multiple ranges.
The range address to remove.
Removes the specified range from this named range.
Note: A named range can point to multiple ranges.
The range to remove.
Removes the specified ranges from this named range.
Note: A named range can point to multiple ranges.
The ranges to remove.
Gets the specified named range.
Name of the range.
Adds a new named range.
Name of the range to add.
The range address to add.
Adds a new named range.
Name of the range to add.
The range to add.
Adds a new named range.
Name of the range to add.
The ranges to add.
Adds a new named range.
Name of the ranges to add.
The range address to add.
The comment for the new named range.
Adds a new named range.
Name of the ranges to add.
The range to add.
The comment for the new named range.
Adds a new named range.
Name of the ranges to add.
The ranges to add.
The comment for the new named range.
Deletes the specified named range (not the cells).
Name of the range to delete.
Deletes the specified named range's index (not the cells).
Index of the named range to delete.
Deletes all named ranges (not the cells).
Returns a subset of named ranges that do not have invalid references.
Returns a subset of named ranges that do have invalid references.
Checks if the named range contains invalid references (#REF!).
Adds the specified range name.
Name of the range.
The range address.
The comment.
if set to true range address will not be checked for validity. Necessary when loading files as is.
For named ranges in the workbook scope, specify the sheet name in the reference.
Returns a subset of named ranges that do not have invalid references.
Returns a subset of named ranges that do have invalid references.
Gets the left header/footer item.
Gets the middle header/footer item.
Gets the right header/footer item.
Gets the text of the specified header/footer occurrence.
The occurrence.
Gets the text of the specified header/footer occurrence.
The occurrence.
Adds the given predefined text to this header/footer item.
The predefined text to add to this header/footer item.
Adds the given text to this header/footer item.
The text to add to this header/footer item.
The occurrence for the text.
Adds the given predefined text to this header/footer item.
The predefined text to add to this header/footer item.
The occurrence for the predefined text.
Clears the text/formats of this header/footer item.
The occurrence to clear.
Gets or sets the Left margin.
The Left margin.
Gets or sets the Right margin.
The Right margin.
Gets or sets the Top margin.
The Top margin.
Gets or sets the Bottom margin.
The Bottom margin.
Gets or sets the Header margin.
The Header margin.
Gets or sets the Footer margin.
The Footer margin.
Gets an object to manage the print areas of the worksheet.
Gets the first row that will repeat on the top of the printed pages.
Use SetRowsToRepeatAtTop() to set the rows that will be repeated on the top of the printed pages.
Gets the last row that will repeat on the top of the printed pages.
Use SetRowsToRepeatAtTop() to set the rows that will be repeated on the top of the printed pages.
Sets the rows to repeat on the top of the printed pages.
The range of rows to repeat on the top of the printed pages.
Sets the rows to repeat on the top of the printed pages.
The first row to repeat at top.
The last row to repeat at top.
Gets the first column to repeat on the left of the printed pages.
The first column to repeat on the left of the printed pages.
Gets the last column to repeat on the left of the printed pages.
The last column to repeat on the left of the printed pages.
Sets the rows to repeat on the left of the printed pages.
The first column to repeat at left.
The last column to repeat at left.
Sets the rows to repeat on the left of the printed pages.
The range of rows to repeat on the left of the printed pages.
Gets or sets the page orientation for printing.
The page orientation.
Gets or sets the number of pages wide (horizontal) the worksheet will be printed on.
If you don't specify the PagesTall, Excel will adjust that value
based on the contents of the worksheet and the PagesWide number.
Setting this value will override the Scale value.
Gets or sets the number of pages tall (vertical) the worksheet will be printed on.
If you don't specify the PagesWide, Excel will adjust that value
based on the contents of the worksheet and the PagesTall number.
Setting this value will override the Scale value.
Gets or sets the scale at which the worksheet will be printed.
The worksheet will be printed on as many pages as necessary to print at the given scale.
Setting this value will override the PagesWide and PagesTall values.
Gets or sets the horizontal dpi for printing the worksheet.
Gets or sets the vertical dpi for printing the worksheet.
Gets or sets the page number that will begin the printout.
For example, the first page of your printout could be numbered page 5.
Gets or sets a value indicating whether the worksheet will be centered on the page horizontally.
true if the worksheet will be centered on the page horizontally; otherwise, false.
Gets or sets a value indicating whether the worksheet will be centered on the page vertically.
true if the worksheet will be centered on the page vartically; otherwise, false.
Sets the scale at which the worksheet will be printed. This is equivalent to setting the Scale property.
The worksheet will be printed on as many pages as necessary to print at the given scale.
Setting this value will override the PagesWide and PagesTall values.
The scale at which the worksheet will be printed.
Gets or sets the number of pages the worksheet will be printed on.
This is equivalent to setting both PagesWide and PagesTall properties.
Setting this value will override the Scale value.
The pages wide.
The pages tall.
Gets or sets the size of the paper to print the worksheet.
Gets an object to work with the page margins.
Gets an object to work with the page headers.
Gets an object to work with the page footers.
Gets or sets a value indicating whether Excel will automatically adjust the font size to the scale of the worksheet.
true if Excel will automatically adjust the font size to the scale of the worksheet; otherwise, false.
Gets or sets a value indicating whether the header and footer margins are aligned with the left and right margins of the worksheet.
true if the header and footer margins are aligned with the left and right margins of the worksheet; otherwise, false.
Gets or sets a value indicating whether the gridlines will be printed.
true if the gridlines will be printed; otherwise, false.
Gets or sets a value indicating whether to show row numbers and column letters/numbers.
true to show row numbers and column letters/numbers; otherwise, false.
Gets or sets a value indicating whether the worksheet will be printed in black and white.
true if the worksheet will be printed in black and white; otherwise, false.
Gets or sets a value indicating whether the worksheet will be printed in draft quality.
true if the worksheet will be printed in draft quality; otherwise, false.
Gets or sets the page order for printing.
Gets or sets how the comments will be printed.
Gets a list with the row breaks (for printing).
Gets a list with the column breaks (for printing).
Adds a horizontal page break after the given row.
The row to insert the break.
Adds a vertical page break after the given column.
The column to insert the break.
Gets or sets how error values will be printed.
Removes the print areas from the worksheet.
Adds a range to the print areas.
The first cell row.
The first cell column.
The last cell row.
The last cell column.
Adds a range to the print areas.
The range address to add.
Adds a range to the print areas.
The first cell address.
The last cell address.
Adds a range to the print areas.
The first cell address.
The last cell address.
Implementation of QuadTree adapted to Excel worksheet specifics. Differences with the classic implementation
are that the topmost level is split to 128 square parts (2 columns of 64 blocks, each 8192*8192 cells) and that splitting
the quadrand onto 4 smaller quadrants does not depent on the number of items in this quadrant. When the range is added to the
QuadTree it is placed on the bottommost level where it fits to a single quadrant. That means, row-wide and column-wide ranges
are always placed at the level 0, and the smaller the range is the deeper it goes down the tree. This approach eliminates
the need of trasferring ranges between levels.
Smaller quadrants which the current one is splitted to. Is NULL until ranges are added to child quadrants.
The level of current quadrant. Top most has level 0, child quadrants has levels (Level + 1).
Minimum column included in this quadrant.
Minimun row included in this quadrant.
Maximum column included in this quadrant.
Maximum row included in this quadrant.
Collection of ranges belonging to this quadrant (does not include ranges from child quadrants).
The number of current quadrant by horizontal axis.
The number of current quadrant by vertical axis.
Add a range to the quadrant or to one of the child quadrants (recursively).
True, if range was successfully added, false if it has been added before.
Get all ranges from the quadrant and all child quadrants (recursively).
Get all ranges from the quadrant and all child quadrants (recursively) that intersect the specified address.
Get all ranges from the quadrant and all child quadrants (recursively) that cover the specified address.
Remove the range from the quadrant or from child quadrants (recursively).
True if the range was removed, false if it does not exist in the QuadTree.
Remove all the ranges matching specified criteria from the quadrant and its child quadrants (recursively).
Don't use it for searching intersections as it would be much less efficient than .
Maximum depth of the QuadTree. Value 10 corresponds to the smallest quadrants having size 16*16 cells.
Collection of ranges belonging to the current quandrant (that cannot fit into child quadrants).
Add a range to the collection of quandrant's own ranges.
True if the range was succesfully added, false if it had been added before.
Check if the current quadrant fully covers the specified address.
Check if the current quadrant covers the specified address.
Check if the current quadrant intersects the specified address.
Create a collection of child quadrants dividing the current one.
Interface for the engine aimed to speed-up the search for the range intersections.
Implementation of internally using QuadTree.
Generic version of .
Creates a named range out of these ranges.
If the named range exists, it will add these ranges to that named range.
The default scope for the named range is Workbook.
Name of the range.
Creates a named range out of these ranges.
If the named range exists, it will add these ranges to that named range.
Name of the range.
The scope for the named range.
Creates a named range out of these ranges.
If the named range exists, it will add these ranges to that named range.
Name of the range.
The scope for the named range.
The comments for the named range.
Sets the cells' value.
If the object is an IEnumerable ClosedXML will copy the collection's data into a table starting from each cell.
If the object is a range ClosedXML will copy the range starting from each cell.
Setting the value to an object (not IEnumerable/range) will call the object's ToString() method.
ClosedXML will try to translate it to the corresponding type, if it can't then the value will be left as a string.
The object containing the value(s) to set.
Returns the collection of cells.
Returns the collection of cells that have a value.
Returns the collection of cells that have a value.
if set to true will return all cells with a value or a style different than the default.
Clears the contents of these ranges.
Specify what you want to clear.
Gets the cell at the specified row and column.
The cell address is relative to the parent range.
The cell's row.
The cell's column.
Gets the cell at the specified address.
The cell address is relative to the parent range.
The cell address in the parent range.
Gets the cell at the specified row and column.
The cell address is relative to the parent range.
The cell's row.
The cell's column.
Gets the cell at the specified address.
The cell address is relative to the parent range.
The cell address in the parent range.
Gets the specified column of the range.
The column number.
Gets the specified column of the range.
Column letter.
Gets the first column of the range.
Gets the first column of the range that contains a cell with a value.
Gets the last column of the range.
Gets the last column of the range that contains a cell with a value.
Gets a collection of all columns in this range.
Gets a collection of the specified columns in this range.
The first column to return.
The last column to return.
Gets a collection of the specified columns in this range.
The first column to return.
The last column to return.
Gets a collection of the specified columns in this range, separated by commas.
e.g. Columns("G:H"), Columns("10:11,13:14"), Columns("P:Q,S:T"), Columns("V")
The columns to return.
Returns the first row that matches the given predicate
Returns the first row that matches the given predicate
Gets the first row of the range.
Gets the first row of the range that contains a cell with a value.
Gets the last row of the range.
Gets the last row of the range that contains a cell with a value.
Gets the specified row of the range.
The range row.
Gets a collection of the specified rows in this range.
The first row to return.
The last row to return.
Gets a collection of the specified rows in this range, separated by commas.
e.g. Rows("4:5"), Rows("7:8,10:11"), Rows("13")
The rows to return.
Returns the specified range.
The range boundaries.
Returns the specified range.
e.g. Range("A1"), Range("A1:C2")
The range boundaries.
Returns the specified range.
The first cell in the range.
The last cell in the range.
Returns the specified range.
The first cell address in the range.
The last cell address in the range.
Returns the specified range.
The first cell address in the range.
The last cell address in the range.
Returns a collection of ranges, separated by commas.
e.g. Ranges("A1"), Ranges("A1:C2"), Ranges("A1:B2,D1:D4")
The ranges to return.
Returns the specified range.
The first cell's row of the range to return.
The first cell's column of the range to return.
The last cell's row of the range to return.
The last cell's column of the range to return.
.
Gets the number of rows in this range.
Gets the number of columns in this range.
Inserts X number of columns to the right of this range.
All cells to the right of this range will be shifted X number of columns.
Number of columns to insert.
Inserts X number of columns to the left of this range.
This range and all cells to the right of this range will be shifted X number of columns.
Number of columns to insert.
Inserts X number of rows on top of this range.
This range and all cells below this range will be shifted X number of rows.
Number of rows to insert.
Inserts X number of rows below this range.
All cells below this range will be shifted X number of rows.
Number of rows to insert.
Deletes this range and shifts the surrounding cells accordingly.
How to shift the surrounding cells.
Transposes the contents and styles of all cells in this range.
How to handle the surrounding cells when transposing the range.
Clears the contents of this range.
Specify what you want to clear.
Gets or sets the first address in the range.
The first address.
Gets or sets a value indicating whether this range is valid.
true if this instance is valid; otherwise, false.
Gets or sets the last address in the range.
The last address.
Gets an object with the boundaries of this range.
Sets a value to every cell in this range.
If the object is an IEnumerable ClosedXML will copy the collection's data into a table starting from each cell.
If the object is a range ClosedXML will copy the range starting from each cell.
Setting the value to an object (not IEnumerable/range) will call the object's ToString() method.
ClosedXML will try to translate it to the corresponding type, if it can't then the value will be left as a string.
The object containing the value(s) to set.
Sets the type of the cells' data.
Changing the data type will cause ClosedXML to covert the current value to the new data type.
An exception will be thrown if the current value cannot be converted to the new data type.
The type of the cell's data.
Sets the cells' formula with A1 references.
The formula with A1 references.
Sets the cells' formula with R1C1 references.
The formula with R1C1 references.
Gets or sets a value indicating whether this cell's text should be shared or not.
If false the cell's text will not be shared and stored as an inline value.
Returns the collection of cells.
Returns the collection of cells that have a value. Formats are ignored.
Returns the collection of cells that have a value.
if set to true will return all cells with a value or a style different than the default.
Searches the cells' contents for a given piece of text
The search text.
The compare options.
if set to true search formulae instead of cell values.
Returns the first cell of this range.
Returns the first cell with a value of this range. Formats are ignored.
The cell's address is going to be ([First Row with a value], [First Column with a value])
Returns the first cell with a value of this range.
The cell's address is going to be ([First Row with a value], [First Column with a value])
if set to true will return all cells with a value or a style different than the default.
Returns the last cell of this range.
Returns the last cell with a value of this range. Formats are ignored.
The cell's address is going to be ([Last Row with a value], [Last Column with a value])
Returns the last cell with a value of this range.
The cell's address is going to be ([Last Row with a value], [Last Column with a value])
if set to true will return all cells with a value or a style different than the default.
Determines whether this range contains the specified range (completely).
For partial matches use the range.Intersects method.
The range address.
true if this range contains the specified range; otherwise, false.
Determines whether this range contains the specified range (completely).
For partial matches use the range.Intersects method.
The range to match.
true if this range contains the specified range; otherwise, false.
Determines whether this range intersects the specified range.
For whole matches use the range.Contains method.
The range address.
true if this range intersects the specified range; otherwise, false.
Determines whether this range contains the specified range.
For whole matches use the range.Contains method.
The range to match.
true if this range intersects the specified range; otherwise, false.
Unmerges this range.
Merges this range.
The contents and style of the merged cells will be equal to the first cell.
Creates a named range out of this range.
If the named range exists, it will add this range to that named range.
The default scope for the named range is Workbook.
Name of the range.
Creates a named range out of this range.
If the named range exists, it will add this range to that named range.
Name of the range.
The scope for the named range.
Creates a named range out of this range.
If the named range exists, it will add this range to that named range.
Name of the range.
The scope for the named range.
The comments for the named range.
Clears the contents of this range.
Specify what you want to clear.
Deletes the cell comments from this range.
Converts this object to a range.
Grows this the current range by one cell to each side
Grows this the current range by the specified number of cells to each side.
The grow count.
Shrinks this current range by one cell.
Shrinks the current range by the specified number of cells from each side.
The shrink count.
Returns the intersection of this range with another range on the same worksheet.
The other range.
Predicate applied to this range's cells.
Predicate applied to the other range's cells.
Returns the set of cells surrounding the current range.
The predicate to apply on the resulting set of cells.
Calculates the union of two ranges on the same worksheet.
The other range.
Predicate applied to this range's cells.
Predicate applied to the other range's cells.
The union
Returns all cells in the current range that are not in the other range.
The other range.
Predicate applied to this range's cells.
Predicate applied to the other range's cells.
Gets the cell in the specified row.
The cell's row.
Returns the specified group of cells, separated by commas.
e.g. Cells("1"), Cells("1:5"), Cells("1:2,4:5")
The column cells to return.
Returns the specified group of cells.
The first row in the group of cells to return.
The last row in the group of cells to return.
Inserts X number of columns to the right of this range.
All cells to the right of this range will be shifted X number of columns.
Number of columns to insert.
Inserts X number of columns to the left of this range.
This range and all cells to the right of this range will be shifted X number of columns.
Number of columns to insert.
Inserts X number of cells on top of this column.
This column and all cells below it will be shifted X number of rows.
Number of cells to insert.
Inserts X number of cells below this range.
All cells below this column will be shifted X number of rows.
Number of cells to insert.
Deletes this range and shifts the cells at the right.
Deletes this range and shifts the surrounding cells accordingly.
How to shift the surrounding cells.
Gets this column's number in the range
Gets this column's letter in the range
Clears the contents of this column.
Specify what you want to clear.
Adds a column range to this group.
The column range to add.
Returns the collection of cells.
Returns the collection of cells that have a value.
Returns the collection of cells that have a value.
if set to true will return all cells with a value or a style different than the default.
Deletes all columns and shifts the columns at the right of them accordingly.
Clears the contents of these columns.
Specify what you want to clear.
Gets the cell in the specified column.
The cell's column.
Gets the cell in the specified column.
The cell's column.
Returns the specified group of cells, separated by commas.
e.g. Cells("1"), Cells("1:5"), Cells("1:2,4:5")
The row's cells to return.
Returns the specified group of cells.
The first column in the group of cells to return.
The last column in the group of cells to return.
Returns the specified group of cells.
The first column in the group of cells to return.
The last column in the group of cells to return.
Inserts X number of cells to the right of this row.
All cells to the right of this row will be shifted X number of columns.
Number of cells to insert.
Inserts X number of cells to the left of this row.
This row and all cells to the right of it will be shifted X number of columns.
Number of cells to insert.
Inserts X number of rows on top of this row.
This row and all cells below it will be shifted X number of rows.
Number of rows to insert.
Inserts X number of rows below this row.
All cells below this row will be shifted X number of rows.
Number of rows to insert.
Deletes this range and shifts the cells below.
Deletes this range and shifts the surrounding cells accordingly.
How to shift the surrounding cells.
Gets this row's number in the range
Clears the contents of this row.
Specify what you want to clear.
Adds a row range to this group.
The row range to add.
Returns the collection of cells.
Returns the collection of cells that have a value.
Returns the collection of cells that have a value.
if set to true will return all cells with a value or a style different than the default.
Deletes all rows and shifts the rows below them accordingly.
Clears the contents of these rows.
Specify what you want to clear.
Adds the specified range to this group.
The range to add to this group.
Removes the specified range from this group.
The range to remove from this group.
Removes ranges matching the criteria from the collection, optionally releasing their event handlers.
Criteria to filter ranges. Only those ranges that satisfy the criteria will be removed.
Null means the entire collection should be cleared.
Specify whether or not should removed ranges be unsubscribed from
row/column shifting events. Until ranges are unsubscribed they cannot be collected by GC.
Filter ranges from a collection that intersect the specified address. Is much more efficient
that using Linq expression .Where().
Filter ranges from a collection that intersect the specified address. Is much more efficient
that using Linq expression .Where().
Filter ranges from a collection that intersect the specified cell. Is much more efficient
that using Linq expression .Where().
Creates a named range out of these ranges.
If the named range exists, it will add these ranges to that named range.
The default scope for the named range is Workbook.
Name of the range.
Creates a named range out of these ranges.
If the named range exists, it will add these ranges to that named range.
Name of the range.
The scope for the named range.
Creates a named range out of these ranges.
If the named range exists, it will add these ranges to that named range.
Name of the range.
The scope for the named range.
The comments for the named range.
Sets the cells' value.
If the object is an IEnumerable ClosedXML will copy the collection's data into a table starting from each cell.
If the object is a range ClosedXML will copy the range starting from each cell.
Setting the value to an object (not IEnumerable/range) will call the object's ToString() method.
ClosedXML will try to translate it to the corresponding type, if it can't then the value will be left as a string.
The object containing the value(s) to set.
Returns the collection of cells.
Returns the collection of cells that have a value.
Returns the collection of cells that have a value.
if set to true will return all cells with a value or a style different than the default.
Clears the contents of these ranges.
Specify what you want to clear.
Create a new collection of ranges which are consolidated version of source ranges.
Lead a range address to a normal form - when points to the top-left address and
points to the bottom-right address.
Get the data validation rule containing current range or create a new one if no rule was defined for range.
Return the collection of cell values not initializing empty cells.
The direct contructor should only be used in .
Engine for ranges consolidation. Supports IXLRanges including ranges from either one or multiple worksheets.
Class representing the area covering ranges to be consolidated as a set of bit matrices. Does all the dirty job
of ranges consolidation.
Constructor.
Current worksheet.
Ranges to be consolidated. They are expected to belong to the current worksheet, no check is performed.
Get consolidated ranges equivalent to the input ones.
Indicates whether the current object is equal to another object of the same type.
true if the current object is equal to the parameter; otherwise, false.
An object to compare with this object.
Indicates whether this instance and a specified object are equal.
true if and this instance are the same type and represent the same value; otherwise, false.
Another object to compare to.
Returns the hash code for this instance.
A 32-bit signed integer that is the hash code for this instance.
The direct contructor should only be used in .
Normally, XLRanges collection includes ranges from a single worksheet, but not necessarily.
Removes ranges matching the criteria from the collection, optionally releasing their event handlers.
Criteria to filter ranges. Only those ranges that satisfy the criteria will be removed.
Null means the entire collection should be cleared.
Specify whether or not should removed ranges be unsubscribed from
row/column shifting events. Until ranges are unsubscribed they cannot be collected by GC.
Filter ranges from a collection that intersect the specified address. Is much more efficient
that using Linq expression .Where().
Filter ranges from a collection that intersect the specified address. Is much more efficient
that using Linq expression .Where().
Gets or sets the height of this row.
The width of this row.
Clears the height for the row and defaults it to the spreadsheet row height.
Deletes this row and shifts the rows below this one accordingly.
Gets this row's number
Inserts X number of rows below this one.
All rows below will be shifted accordingly.
The number of rows to insert.
Inserts X number of rows above this one.
This row and all below will be shifted accordingly.
The number of rows to insert.
Adjusts the height of the row based on its contents, starting from the startColumn.
The column to start calculating the row height.
Adjusts the height of the row based on its contents, starting from the startColumn and ending at endColumn.
The column to start calculating the row height.
The column to end calculating the row height.
Hides this row.
Unhides this row.
Gets a value indicating whether this row is hidden or not.
true if this row is hidden; otherwise, false.
Gets or sets the outline level of this row.
The outline level of this row.
Adds this row to the next outline level (Increments the outline level for this row by 1).
Adds this row to the next outline level (Increments the outline level for this row by 1).
If set to true the row will be shown collapsed.
Sets outline level for this row.
The outline level.
Sets outline level for this row.
The outline level.
If set to true the row will be shown collapsed.
Adds this row to the previous outline level (decrements the outline level for this row by 1).
Adds this row to the previous outline level (decrements the outline level for this row by 1).
If set to true it will remove this row from all outline levels.
Show this row as collapsed.
Gets the cell in the specified column.
The cell's column.
Gets the cell in the specified column.
The cell's column.
Returns the specified group of cells, separated by commas.
e.g. Cells("1"), Cells("1:5"), Cells("1,3:5")
The row's cells to return.
Returns the specified group of cells.
The first column in the group of cells to return.
The last column in the group of cells to return.
Returns the specified group of cells.
The first column in the group of cells to return.
The last column in the group of cells to return.
Expands this row (if it's collapsed).
Adds a horizontal page break after this row.
Clears the contents of this row.
Specify what you want to clear.
Sets the height of all rows.
The height of all rows.
Deletes all rows and shifts the rows below them accordingly.
Adjusts the height of all rows based on its contents.
Adjusts the height of all rows based on its contents, starting from the startColumn.
The column to start calculating the row height.
Adjusts the height of all rows based on its contents, starting from the startColumn and ending at endColumn.
The column to start calculating the row height.
The column to end calculating the row height.
Hides all rows.
Unhides all rows.
Increments the outline level of all rows by 1.
Increments the outline level of all rows by 1.
If set to true the rows will be shown collapsed.
Sets outline level for all rows.
The outline level.
Sets outline level for all rows.
The outline level.
If set to true the rows will be shown collapsed.
Decrements the outline level of all rows by 1.
Decrements the outline level of all rows by 1.
If set to true it will remove the rows from all outline levels.
Show all rows as collapsed.
Expands all rows (if they're collapsed).
Returns the collection of cells.
Returns the collection of cells that have a value.
Returns the collection of cells that have a value.
if set to true will return all cells with a value or a style different than the default.
Adds a horizontal page break after these rows.
Clears the contents of these rows.
Specify what you want to clear.
The direct contructor should only be used in .
Usually indexed colors are limited to max 63
Index 81 is some special case.
Some people claim it's the index for tooltip color.
We'll return normal black when index 81 is found.
Gets or sets the cell's horizontal alignment.
Gets or sets the cell's vertical alignment.
Gets or sets the cell's text indentation.
Gets or sets whether the cell's last line is justified or not.
Gets or sets the cell's reading order.
Gets or sets the cell's relative indent.
Gets or sets whether the cell's font size should decrease to fit the contents.
Gets or sets the cell's text rotation.
Gets or sets whether the cell's text should wrap if it doesn't fit.
Gets or sets wheter the cell's text should be displayed from to to bottom
(as opposed to the normal left to right).
ASCII character set.
System default character set.
Symbol character set.
Characters used by Macintosh.
Japanese character set.
Korean character set.
Another common spelling of the Korean character set.
Korean character set.
Chinese character set used in mainland China.
Chinese character set used mostly in Hong Kong SAR and Taiwan.
Greek character set.
Turkish character set.
Vietnamese character set.
Hebrew character set.
Arabic character set.
Baltic character set.
Russian character set.
Thai character set.
Eastern European character set.
Extended ASCII character set used with disk operating system (DOS) and some Microsoft Windows fonts.
Immutable style
Create an instance of XLAlignment initializing it with the specified value.
Style to attach the new instance to.
Style value to use.
Create an instance of XLBorder initializing it with the specified value.
Container the border is applied to.
Style to attach the new instance to.
Style value to use.
Create an instance of XLFill initializing it with the specified value.
Style to attach the new instance to.
Style value to use.
Create an instance of XLFont initializing it with the specified value.
Style to attach the new instance to.
Style value to use.
Create an instance of XLNumberFormat initializing it with the specified value.
Style to attach the new instance to.
Style value to use.
Reference point of date/number formats available.
See more at: https://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.numberingformat.aspx
General
General
0
0.00
#,##0
#,##0.00
0%
0.00%
0.00E+00
# ?/?
# ??/??
#,##0 ,(#,##0)
#,##0 ,[Red](#,##0)
#,##0.00,(#,##0.00)
#,##0.00,[Red](#,##0.00)
##0.0E+0
@
General
d/m/yyyy
d-mmm-yy
d-mmm
mmm-yy
h:mm tt
h:mm:ss tt
H:mm
H:mm:ss
m/d/yyyy H:mm
mm:ss
[h]:mm:ss
mmss.0
@
Create an instance of XLProtection initializing it with the specified value.
Style to attach the new instance to.
Style value to use.
To initialize XLStyle.Default only
Base class for any workbook element that has or may have a style.
Read-only style property.
Editable style of the workbook element. Modification of this property DOES affect styles of child objects as well - they will
be changed accordingly. Accessing this property causes a new instance generated so use this property
with caution. If you need only _read_ the style consider using property instead.
Editable style of the workbook element. Modification of this property DOES NOT affect styles of child objects.
Accessing this property causes a new instance generated so use this property with caution. If you need
only _read_ the style consider using property instead.
Get a collection of stylized entities which current entity's style changes should be propagated to.
Apply specified style to the container.
Style to apply.
Whether or not propagate the style to inner ranges.
Clears the contents of this table.
Specify what you want to clear.
Resizes the table to the specified range.
The new table range.
Resizes the table to the specified range address.
The range boundaries.
Resizes the table to the specified range address.
The range boundaries.
Resizes the table to the specified range.
The first cell in the range.
The last cell in the range.
Resizes the table to the specified range.
The first cell address in the worksheet.
The last cell address in the worksheet.
Resizes the table to the specified range.
The first cell address in the worksheet.
The last cell address in the worksheet.
Resizes the table to the specified range.
The first cell's row of the range to return.
The first cell's column of the range to return.
The last cell's row of the range to return.
The last cell's column of the range to return.
Converts the table to an enumerable of dynamic objects
Converts the table to a standard .NET System.Data.DataTable
Gets the corresponding column for this table field.
The column.
Gets the index of the column (0-based).
The index.
Gets or sets the name/header of this table field.
The corresponding header cell's value will change if you set this.
The name.
Gets the underlying table for this table field.
Gets or sets the totals row formula in A1 format.
The totals row formula a1.
Gets or sets the totals row formula in R1C1 format.
The totals row formula r1 c1.
Gets or sets the totals row function.
The totals row function.
Gets or sets the totals row label.
The totals row label.
Deletes this table field from the table.
Determines whether all cells this table field have a consistent data type.
Determines whether all cells this table field have a consistent formula.
Determines whether all cells this table field have a consistent style.
Clears the contents of this row.
Specify what you want to clear.
Adds a table row to this group.
The row table to add.
Returns the collection of cells.
Returns the collection of cells that have a value.
Returns the collection of cells that have a value.
if set to true will return all cells with a value or a style different than the default.
Clears the contents of these rows.
Specify what you want to clear.
Clears the contents of these tables.
Specify what you want to clear.
The direct contructor should only be used in .
Analyze input string and convert value. For avoid analyzing use escape symbol '
Direct set value. If value has unsupported type - value will be stored as string returned by
Behavior for
Counter increasing at workbook data change. Serves to determine if the cell formula
has to be recalculated.
Notify that workbook data has been changed which means that cached formula values
need to be re-evaluated.
Gets an object to manipulate the worksheets.
Gets an object to manipulate this workbook's named ranges.
Gets an object to manipulate this workbook's theme.
Gets or sets the default style for the workbook.
All new worksheets will use this style.
Gets or sets the default row height for the workbook.
All new worksheets will use this row height.
Gets or sets the default column width for the workbook.
All new worksheets will use this column width.
Gets or sets the default page options for the workbook.
All new worksheets will use these page options.
Gets or sets the default outline options for the workbook.
All new worksheets will use these outline options.
Gets or sets the workbook's properties.
Gets or sets the workbook's calculation mode.
Gets or sets the workbook's reference style.
Saves the current workbook.
Saves the current workbook and optionally performs validation
Saves the current workbook to a file.
Saves the current workbook to a file and optionally validates it.
Saves the current workbook to a stream.
Saves the current workbook to a stream and optionally validates it.
Searches the cells' contents for a given piece of text
The search text.
The compare options.
if set to true search formulae instead of cell values.
Creates a new Excel workbook.
Opens an existing workbook from a file.
The file to open.
Opens an existing workbook from a stream.
The stream to open.
Force recalculation of all cell formulas.
Parses the cell value for normal or rich text
Input element should either be a shared string or inline string
The element (either a shared string or inline string)
The cell.
Loads the conditional formatting.
Populates the differential formats that are currently in the file to the SaveContext
The workbook styles part.
The context.
Fake address to be used everywhere the invalid address is needed.
Force recalculation of all cell formulas.
Get a cell value not initializing it if it has not been initialized yet.
Row number
Column number
Current value of the specified cell. Empty string for non-initialized cells.
Get a range row from the shared repository or create a new one.
Address of range row.
Style to apply. If null the worksheet's style is applied.
Range row with the specified address.
Get a range column from the shared repository or create a new one.
Address of range column.
Style to apply. If null the worksheet's style is applied.
Range column with the specified address.
Common methods
Gets the column number of a given column letter.
The column letter to translate into a column number.
Gets the column letter of a given column number.
The column number to translate into a column letter.
if set to true the column letter will be restricted to the allowed range.
Help methods for work with files
Can check only .\dfdfd\dfdf\dfdf or ..\..\gfhfgh\fghfh
Gets data and time string stamp for file name
Gets data and time string stamp for file name
Safety delete file(with try block)
file name
Replace all not implemented symbols to '_'
input filename
ValidatePath file or diretory path
path type
ValidatePath file or diretory path
Checks if a character is not allowed to the XML Spec http://www.w3.org/TR/REC-xml/#charsets
Input Character
Returns false if the character is invalid according to the XML specification, and will not be
escaped by an XmlWriter.