WebPublishItems Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(WebPublishItem))> _
Public Class WebPublishItems _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As WebPublishItems
[ChildElementInfoAttribute(typeof(WebPublishItem))]
public class WebPublishItems : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • WebPublishItem <x:webPublishItem>

[ISO/IEC 29500-1 1st Edition]

18.3.1.98 webPublishItems (Web Publishing Items)

This represents a listing of individual objects in this workbook that have been published (to HTML).

When one of these objects is selected to be published, just the object is published to HTML, not the entire workbook contents.

[Example:This example shows two items which have been previously selected for publishing. One is a range (A6:C6), the other is a chart, named "Chart 1".

<webPublishItems count="2">
<webPublishItem id="11289" divId="Views_11289" sourceType="range"
sourceRef="A6:C6" destinationFile="D:\Publish.htm" published="0"/>
  <webPublishItem id="6433" divId="Views_6433" sourceType="chart"
sourceObject="Chart 1" destinationFile="D:\Publish.mht" published="0"/>
</webPublishItems>

end example]

Parent Elements

chartsheet (§18.3.1.12); worksheet (§18.3.1.99)

Child Elements

Subclause

webPublishItem (Web Publishing Item)

§18.3.1.97

Attributes

Description

count (Web Publishing Items Count)

Number of items.

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_WebPublishItems) 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

WebPublishItems Members

DocumentFormat.OpenXml.Spreadsheet Namespace