Class XmlHelper
Abstract helper class containing functionality to work with XML inside the package.
Inheritance
System.Object
XmlHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public abstract class XmlHelper
Methods
AddSchemaNodeOrder(String[], String[])
Adds a new array to the end of SchemaNodeOrder
Declaration
protected void AddSchemaNodeOrder(string[] schemaNodeOrder, string[] newItems)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | schemaNodeOrder | The order to start from |
System.String[] | newItems | The new items |
AddSchemaNodeOrder(String[], String[], Int32[])
Adds a new array to the end of SchemaNodeOrder
Declaration
protected void AddSchemaNodeOrder(string[] schemaNodeOrder, string[] newItems, int[] levels)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | schemaNodeOrder | The order to start from |
System.String[] | newItems | The new items |
System.Int32[] | levels | Positions that defines levels in the xpath |
CreatespPrNode(String, Boolean)
Declaration
protected void CreatespPrNode(string nodePath = "c:spPr", bool withLine = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | nodePath | |
System.Boolean | withLine |
GetBoolFromString(String)
Declaration
protected static bool GetBoolFromString(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s |
Returns
Type | Description |
---|---|
System.Boolean |