com.spire.doc.documents
Class SdtListItem

java.lang.Object
  extended by com.spire.doc.documents.SdtListItem

public class SdtListItem
extends java.lang.Object

This element specifies a single list item within a parent or structured document tag.


Constructor Summary
SdtListItem(java.lang.String value)
          Initializes a new instance of this class.
SdtListItem(java.lang.String displayText, java.lang.String value)
          Initializes a new instance of this class.
 
Method Summary
 java.lang.String getDisplayText()
          Gets the text to display in the run content in place of the attribute contents for this list item.
 java.lang.String getValue()
          Gets the value of this list item.
 void setDisplayText(java.lang.String value)
          Sets the text to display in the run content in place of the attribute contents for this list item.
 void setValue(java.lang.String value)
          Sets the value of this list item.
 

Constructor Detail

SdtListItem

public SdtListItem(java.lang.String displayText,
                   java.lang.String value)
Initializes a new instance of this class.


SdtListItem

public SdtListItem(java.lang.String value)
Initializes a new instance of this class.

Method Detail

getDisplayText

public java.lang.String getDisplayText()
Gets the text to display in the run content in place of the attribute contents for this list item. Cannot be null and cannot be an empty string.


setDisplayText

public void setDisplayText(java.lang.String value)
Sets the text to display in the run content in place of the attribute contents for this list item. Cannot be null and cannot be an empty string.


getValue

public java.lang.String getValue()
Gets the value of this list item. Cannot be null and cannot be an empty string.


setValue

public void setValue(java.lang.String value)
Sets the value of this list item. Cannot be null and cannot be an empty string.