Compartir a través de


BlockQuote Class

Data for HTML blockquote Element.When the object is serialized out as xml, its qualified name is w:blockQuote.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.BlockQuote

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

Syntax

'Declaración
Public Class BlockQuote _
    Inherits OnOffType
'Uso
Dim instance As BlockQuote
public class BlockQuote : OnOffType

Remarks

[ISO/IEC 29500-1 1ª edición]

17.15.2.2 blockQuote (Data for HTML blockquote Element)

This element specifies that the current div element does not represent an HTML div element, but rather represents an HTML blockquote element. This element shall specify that this container shall be written out using the blockquote element if this document is subsequently saved as HTML.

If this element is omitted, then the current div element does not represent an HTML blockquote element. If both this element and the bodyDiv element (§17.15.2.3) are specified, then this element shall take precedence in all cases.

[Example: Consider a simple HTML document defined as follows:

<html>
<body style="margin-left:200px;margin-top:50px">
<p>Paragraph one.</p>
<blockquote style="border: 5px solid #00FFFF">
<p>Paragraph in a blockquote.</p>
</blockquote>
<p>Paragraph two.</p>
</body>
</html>

When this document is saved in the WordprocessingML format, the information stored on the div, blockquote, and body elements is stored in the web setting part as follows:

<w:divs>
<w:div w:id="1626542603">
…
<w:divsChild>
<w:div w:id="313534916">
<w:blockQuote w:val="true" />
…
</w:div>
</w:divsChild>
</w:div>
</w:divs>

The blockQuote element has a val attribute value of true, which specifies that the nested div element actually represents a nested HTML blockquote when this document is resaved as HTML. end example]

Parent Elements

div (§17.15.2.6)

This element's content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

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

BlockQuote Members

DocumentFormat.OpenXml.Wordprocessing Namespace