Class HSLFTabStopPropCollection

java.lang.Object
org.apache.poi.hslf.model.textproperties.TextProp
org.apache.poi.hslf.model.textproperties.HSLFTabStopPropCollection
All Implemented Interfaces:
Cloneable

@Internal public class HSLFTabStopPropCollection extends TextProp
Container for tabstop lists
  • Field Details

  • Constructor Details

    • HSLFTabStopPropCollection

      public HSLFTabStopPropCollection()
    • HSLFTabStopPropCollection

      public HSLFTabStopPropCollection(HSLFTabStopPropCollection copy)
  • Method Details

    • parseProperty

      public void parseProperty(byte[] data, int offset)
      Parses the tabstops from TxMasterStyle record
      Parameters:
      data - the data stream
      offset - the offset within the data
    • readTabStops

      public static List<HSLFTabStop> readTabStops(LittleEndianInput lei)
    • writeProperty

      public void writeProperty(OutputStream out)
    • writeTabStops

      public static void writeTabStops(LittleEndianOutput leo, List<HSLFTabStop> tabStops)
    • getValue

      public int getValue()
      Description copied from class: TextProp
      Fetch the value of the text property (meaning is specific to each different kind of text property)
      Overrides:
      getValue in class TextProp
    • getSize

      public int getSize()
      Description copied from class: TextProp
      Size of the data section of the text property (2 or 4 bytes)
      Overrides:
      getSize in class TextProp
    • getTabStops

      public List<HSLFTabStop> getTabStops()
    • clearTabs

      public void clearTabs()
    • addTabStop

      public void addTabStop(HSLFTabStop ts)
    • clone

      public HSLFTabStopPropCollection clone()
      Description copied from class: TextProp
      Clone, eg when you want to actually make use of one of these.
      Overrides:
      clone in class TextProp
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class TextProp
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class TextProp
    • toString

      public String toString()
      Overrides:
      toString in class TextProp