Interface SWordArt

All Known Implementing Classes:
WordArtImpl

public interface SWordArt
Represents a WordArt object placed on a sheet. WordArt uses preset text warp geometries to display stylized text.

Reference: ECMA-376 Part 1, Section 20.1.9.18 - prstTxWarp (Preset Text Warp)

Since:
7.0.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Preset text warp types as defined in ECMA-376 DrawingML.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the anchor that positions this WordArt on the sheet.
    Returns the fill color as an HTML color string (e.g., "#FF0000").
    Returns the font used for this WordArt.
    Returns the outline color as an HTML color string (e.g., "#000000").
    Returns the preset text warp type.
    Returns the display text.
    void
    Sets the display text.
  • Method Details

    • getPresetType

      SWordArt.PresetType getPresetType()
      Returns the preset text warp type.
      Returns:
      the preset type
    • getText

      String getText()
      Returns the display text.
      Returns:
      the text content
    • setText

      void setText(String text)
      Sets the display text.
      Parameters:
      text - the new text content
    • getFont

      SFont getFont()
      Returns the font used for this WordArt.
      Returns:
      the font
    • getFillColor

      String getFillColor()
      Returns the fill color as an HTML color string (e.g., "#FF0000").
      Returns:
      the fill color, or null if no fill
    • getOutlineColor

      String getOutlineColor()
      Returns the outline color as an HTML color string (e.g., "#000000").
      Returns:
      the outline color, or null if no outline
    • getAnchor

      ViewAnchor getAnchor()
      Returns the anchor that positions this WordArt on the sheet.
      Returns:
      the view anchor