GroupLevels class

Office 2013 and later

Defines the GroupLevels Class. When the object is serialized out as xml, its qualified name is x:groupLevels.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

groupLevels (OLAP Grouping Levels)

Represents the collection of OLAP grouping levels.

[Example:

<groupLevels count="5">
  <groupLevel uniqueName="[Product].[Product Categories].[(All)]"    caption="(All)"/>
  <groupLevel uniqueName="[Product].[Product Categories].[Product Categories1]"    caption="Product Categories1" user="1"/>
  <groupLevel uniqueName="[Product].[Product Categories].[Category]"    caption="Category">
    <groups count="1">
      <group name="CategoryXl_Grp_1" uniqueName="[Product].[Product Categories].        [Product Categories1].[GROUPMEMBER.[CategoryXl_Grp_1]].        [Product]].[Product Categories]].[All Products]]]" caption="Group1"        uniqueParent="[Product].[Product Categories].[All Products]" id="1">
        <groupMembers count="2">
          <groupMember             uniqueName="[Product].[Product Categories].[Category].&amp;[4]"/>
          <groupMember            uniqueName="[Product].[Product Categories].[Category].&amp;[1]"/>
        </groupMembers>
      </group>
    </groups>
  </groupLevel>
  <groupLevel uniqueName="[Product].[Product Categories].[Subcategory]"    caption="Subcategory"/>
  <groupLevel uniqueName="[Product].[Product Categories].[Product]"    caption="Product"/>
</groupLevels>

end example]

Parent Elements

cacheHierarchy (§18.10.1.6)

Child Elements

Subclause

groupLevel (OLAP Grouping Levels)

§18.10.1.39

Attributes

Description

count (Grouping Level Count)

Specifies the number of grouping levels.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_GroupLevels) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: