Class HFImageParser
This class is used for header/footer images parsing.
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: Syncfusion.XlsIO.Implementation.XmlReaders.Shapes
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class HFImageParser : ShapeParser
Constructors
HFImageParser()
Declaration
public HFImageParser()
Methods
ParseShape(XmlReader, ShapeImpl, RelationCollection, String)
Parses shape and adds it to all necessary shapes collections.
Declaration
public override bool ParseShape(XmlReader reader, ShapeImpl defaultShape, RelationCollection relations, string parentItemPath)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | XmlReader to get shape from. |
ShapeImpl | defaultShape | Default shape that must be cloned to get resulting shape. |
RelationCollection | relations | Corresponding relations collection. |
System.String | parentItemPath | Path to the parent item (item which holds all these xml tags). |
Returns
Type |
---|
System.Boolean |
Overrides
ParseShapeType(XmlReader, ShapeCollectionBase)
Extracts shape type settings from the reader and creates shape with default settings.
Declaration
public override ShapeImpl ParseShapeType(XmlReader reader, ShapeCollectionBase shapes)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | XmlReader to get general shape settings from. |
ShapeCollectionBase | shapes |
Returns
Type | Description |
---|---|
ShapeImpl | Shape with default settings without adding it to any collection |
Overrides
ParseStyle(BitmapShapeImpl, Dictionary<String, String>)
Parses style properties.
Declaration
protected virtual void ParseStyle(BitmapShapeImpl result, Dictionary<string, string> styleProperties)
Parameters
Type | Name | Description |
---|---|---|
BitmapShapeImpl | result | |
System.Collections.Generic.Dictionary<System.String, System.String> | styleProperties | String representation of the style properties (key - property name, value - property value). |