Skip to main content
Container for Word shapes and drawing objects. Preserves shape formatting and positioning from Word documents.

OOXML Structure

<w:pict>
  <v:shape style="width:100pt;height:50pt" 
           fillcolor="#f3f4f6">
    <v:textbox>
      <w:txbxContent>
        <!-- Content here -->
      </w:txbxContent>
    </v:textbox>
  </v:shape>
</w:pict>

Use Case

  • Callout boxes - Highlight important information
  • Diagrams - Preserve complex Word drawings
  • Text boxes - Floating or anchored content
  • Decorative elements - Shapes and backgrounds
  • Layout control - Position content precisely

Options

Configure the extension behavior:
htmlAttributes
Object
HTML attributes for shape container elements

Attributes

Node attributes that can be set and retrieved:
fillcolor
string
Background color for the shape
style
string
CSS style string

Source Code

I