Partager via


QueryTableRefresh Class

QueryTable Refresh Information.When the object is serialized out as xml, its qualified name is x:queryTableRefresh.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.QueryTableRefresh

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(SortState))> _
<ChildElementInfoAttribute(GetType(QueryTableDeletedFields))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(QueryTableFields))> _
Public Class QueryTableRefresh _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As QueryTableRefresh
[ChildElementInfoAttribute(typeof(SortState))]
[ChildElementInfoAttribute(typeof(QueryTableDeletedFields))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(QueryTableFields))]
public class QueryTableRefresh : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • QueryTableFields <x:queryTableFields>

  • QueryTableDeletedFields <x:queryTableDeletedFields>

  • SortState <x:sortState>

  • ExtensionList <x:extLst>

[ISO/IEC 29500-1 1st Edition]

18.12.6 queryTableRefresh (QueryTable Refresh Information)

This element contains information related to refreshing the query table.

Parent Elements

queryTable (§18.12.2)

Child Elements

Subclause

extLst (Future Feature Data Storage Area)

§18.2.10

queryTableDeletedFields (Deleted Fields)

§18.12.3

queryTableFields (Query table fields)

§18.12.5

sortState (Sort State)

§18.3.1.92

Attributes

Description

fieldIdWrapped (Next Field Id Wrapped)

Whether or not the idFieldNext value wrapped around.

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

headersInLastRefresh (Headers In Last Refresh)

Whether or not the Query Table had titles last refresh.

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

minimumVersion (Minimum Refresh Version)

For backward compatibility with legacy versions of spreadsheet applications, this attribute specifies the minimum version of the application that is expected to correctly refresh the data in the query table without any problems.

If this attribute is specified, an earlier version of a spreadsheet application should alert the user to the potential incompatibilities when a refresh is attempted.

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

nextId (Next field id)

Specifies the next unique queryTableField (§18.12.4) id number available for assignment.

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

preserveSortFilterLayout (Preserve Sort & Filter Layout)

Specifies whether sorting, autofilter, layout, and table block formatting should be preserved for this query table across data refresh operations.

If this attribute is set to false, the query table might be more or less recreated from scratch when data is refreshed. In this case, all user deleted or rearranged columns, user inserted columns that aren't bound to external data, and table column formatting are discarded.

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

unboundColumnsLeft (Columns Left)

Specifies the number of extra columns included at the left end of the field array that aren't bound to external data.

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

unboundColumnsRight (Columns Right)

Specifies the number of extra columns included at the right end of the Table that aren't bound to external data.

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_QueryTableRefresh) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

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

See Also

Reference

QueryTableRefresh Members

DocumentFormat.OpenXml.Spreadsheet Namespace