Поделиться через


PictureBullet Class

Picture Bullet.When the object is serialized out as xml, its qualified name is a:buBlip.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.PictureBullet

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Blip <a:blip>

[ISO/IEC 29500-1 1st Edition]

21.1.2.4.2 buBlip (Picture Bullet)

This element specifies that a picture be applied to a set of bullets. This element allows for any standard picture format graphic to be used instead of the typical bullet characters. This opens up the possibility for bullets to be anything the generating application would seek to apply.

[Example: Consider the DrawingML shown below.

DocumentFormat.OpenXml.Drawing.PictureBullet-image

<p:txBody>
…
<a:p>
<a:pPr …>
<a:buBlip>
<a:blip r:embed="rId2"/>
</a:buBlip>
</a:pPr>
    …
<a:t>Bullet 1</a:t>
…
</a:p>
  <a:p>
<a:pPr lvl="1"…>
<a:buBlip>
<a:blip r:embed="rId2"/>
</a:buBlip>
</a:pPr>
…
<a:t>Bullet 2</a:t>
…
</a:p>
  <a:p>
<a:pPr …>
<a:buBlip>
<a:blip r:embed="rId2"/>
</a:buBlip>
</a:pPr>
…
<a:t>Bullet 3</a:t>
…
</a:p>
…
</p:txBody>

For the above text there are a total of three bullet points. Two of which are at lvl="0" and one at lvl="1". Because the same picture is specified for each bullet the levels do not stand out here. The only difference is the indentation as shown in the picture above. end example]

Parent Elements

defPPr (§21.1.2.2.2); lvl1pPr (§21.1.2.4.13); lvl2pPr (§21.1.2.4.14); lvl3pPr (§21.1.2.4.15); lvl4pPr (§21.1.2.4.16); lvl5pPr (§21.1.2.4.17); lvl6pPr (§21.1.2.4.18); lvl7pPr (§21.1.2.4.19); lvl8pPr (§21.1.2.4.20); lvl9pPr (§21.1.2.4.21); pPr (§21.1.2.2.7)

Child Elements

Subclause

blip (Blip)

§20.1.8.13

[Note: The W3C XML Schema definition of this element’s content model (CT_TextBlipBullet) is located in §A.4.1. 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

PictureBullet Members

DocumentFormat.OpenXml.Drawing Namespace