![]() |
NanoXLSX.Compatibility 3.2.0
|
Represents a link to an external workbook. More...
Public Member Functions | |
| ExternalLink (string absoluteUri) | |
| Constructor of an external workbook link with absolute URI. A valid file definition (e.g. 'workbook.xlsx') is mandatory in the path. | |
| ExternalLink (string absoluteUri, string relativeUri) | |
| Constructor of an external workbook link with absolute and relative URI. A valid file definition (e.g. 'workbook.xlsx') is mandatory in relative path. | |
| ExternalLinkBuilder | CreateBuilder () |
| Creates a builder for this external workbook link. | |
| void | AddDefinedName (string name, string refersTo) |
| Adds a defined name from the external workbook. | |
| void | AddDefinedName (ExternalDefinedName definedName) |
| Adds a defined name from the external workbook. | |
| ExternalWorksheet | GetWorksheet (string name) |
| Gets an external worksheet by name. | |
Properties | |
| string | AbsoluteUri [get] |
| Gets the absolute path or URI of the external workbook. | |
| string | RelativeUri [get] |
| Gets the optional relative path or URI of the external workbook. | |
| IReadOnlyList< ExternalWorksheet > | Worksheets [get] |
| Gets the worksheets declared for the external workbook. The worksheet index corresponds to the sheetId used in OOXML. | |
| IReadOnlyList< ExternalDefinedName > | DefinedNames [get] |
| Gets the defined names declared by the external workbook. | |
Represents a link to an external workbook.
Definition at line 17 of file ExternalLink.cs.
| NanoXLSX.ExternalLink.ExternalLink | ( | string | absoluteUri | ) |
Constructor of an external workbook link with absolute URI. A valid file definition (e.g. 'workbook.xlsx') is mandatory in the path.
| absoluteUri | Absolute path or URI of the external workbook. |
Definition at line 90 of file ExternalLink.cs.
| NanoXLSX.ExternalLink.ExternalLink | ( | string | absoluteUri, |
| string | relativeUri ) |
Constructor of an external workbook link with absolute and relative URI. A valid file definition (e.g. 'workbook.xlsx') is mandatory in relative path.
| absoluteUri | Absolute path or URI of the external workbook. |
| relativeUri | Relative path of the external workbook |
Definition at line 101 of file ExternalLink.cs.
| void NanoXLSX.ExternalLink.AddDefinedName | ( | ExternalDefinedName | definedName | ) |
Adds a defined name from the external workbook.
| definedName | Defined name object |
Definition at line 129 of file ExternalLink.cs.
| void NanoXLSX.ExternalLink.AddDefinedName | ( | string | name, |
| string | refersTo ) |
Adds a defined name from the external workbook.
| name | Name of the external defined name. |
| refersTo | Expression referenced by the defined name, for example ='Sheet1'!$B$1. |
Definition at line 120 of file ExternalLink.cs.
| ExternalLinkBuilder NanoXLSX.ExternalLink.CreateBuilder | ( | ) |
Creates a builder for this external workbook link.
Definition at line 110 of file ExternalLink.cs.
| ExternalWorksheet NanoXLSX.ExternalLink.GetWorksheet | ( | string | name | ) |
Gets an external worksheet by name.
| name | Name of the external defined name |
Definition at line 406 of file ExternalLink.cs.
|
get |
Gets the absolute path or URI of the external workbook.
Definition at line 24 of file ExternalLink.cs.
|
get |
Gets the defined names declared by the external workbook.
Definition at line 55 of file ExternalLink.cs.
|
get |
Gets the optional relative path or URI of the external workbook.
Definition at line 29 of file ExternalLink.cs.
|
get |
Gets the worksheets declared for the external workbook. The worksheet index corresponds to the sheetId used in OOXML.
Definition at line 50 of file ExternalLink.cs.