Aspose::Cells::Worksheet::GetAreasOfXmlMapQuery method
Worksheet::GetAreasOfXmlMapQuery(const U16String&, const XmlMap&) method
Query cell areas that mapped/linked to the specific path of xml map.
Vector<CellArea> Aspose::Cells::Worksheet::GetAreasOfXmlMapQuery(const U16String &path, const XmlMap &xmlMap)
| Parameter | Type | Description |
|---|---|---|
| path | const U16String& | xml element path |
| xmlMap | const XmlMap& | Specify an xml map if you want to query for the specific path within a specific map |
ReturnValue
CellArea list that mapped/linked to the specific path of xml map, an empty list is returned if nothing is mapped/linked.
Remarks
e.g. A xml map element structure: -RootElement |-Attribute1 |-SubElement |-Attribute2 |-Attribute3 To query “Attribute1”, path is “/RootElement/@Attribute1” To query “Attribute2”, path is “/RootElement/SubElement/@Attribute2” To query whole “SubElement”, path is “/RootElement/SubElement”
See Also
- Class Vector
- Class CellArea
- Class U16String
- Class XmlMap
- Class Worksheet
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Worksheet::GetAreasOfXmlMapQuery(const char16_t*, const XmlMap&) method
Query cell areas that mapped/linked to the specific path of xml map.
Vector<CellArea> Aspose::Cells::Worksheet::GetAreasOfXmlMapQuery(const char16_t *path, const XmlMap &xmlMap)
| Parameter | Type | Description |
|---|---|---|
| path | const char16_t* | xml element path |
| xmlMap | const XmlMap& | Specify an xml map if you want to query for the specific path within a specific map |
ReturnValue
CellArea list that mapped/linked to the specific path of xml map, an empty list is returned if nothing is mapped/linked.
Remarks
e.g. A xml map element structure: -RootElement |-Attribute1 |-SubElement |-Attribute2 |-Attribute3 To query “Attribute1”, path is “/RootElement/@Attribute1” To query “Attribute2”, path is “/RootElement/SubElement/@Attribute2” To query whole “SubElement”, path is “/RootElement/SubElement”
See Also
- Class Vector
- Class CellArea
- Class XmlMap
- Class Worksheet
- Namespace Aspose::Cells
- Library Aspose.Cells for C++