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)
ParameterTypeDescription
pathconst U16String&xml element path
xmlMapconst 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

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)
ParameterTypeDescription
pathconst char16_t*xml element path
xmlMapconst 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