Class Template

java.lang.Object
com.independentsoft.office.word.fields.Field
com.independentsoft.office.word.fields.Template
All Implemented Interfaces:
IContentElement, IRunContent

public class Template extends Field
The Class Template.
  • Constructor Details

    • Template

      public Template()
      Instantiates a new template.
  • Method Details

    • clone

      public Template clone()
      Specified by:
      clone in interface IContentElement
      Specified by:
      clone in interface IRunContent
      Specified by:
      clone in class Field
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getValue

      public String getValue()
      Gets the value.
      Returns:
      the value
    • setValue

      public void setValue(String value)
      Sets the value.
      Parameters:
      value - the new value
    • isCaps

      public boolean isCaps()
      Checks if is caps.
      Returns:
      true, if is caps
    • setCaps

      public void setCaps(boolean isCaps)
      Sets the caps.
      Parameters:
      isCaps - the new caps
    • isFirstCap

      public boolean isFirstCap()
      Checks if is first cap.
      Returns:
      true, if is first cap
    • setFirstCap

      public void setFirstCap(boolean isFirstCap)
      Sets the first cap.
      Parameters:
      isFirstCap - the new first cap
    • isLower

      public boolean isLower()
      Checks if is lower.
      Returns:
      true, if is lower
    • setLower

      public void setLower(boolean isLower)
      Sets the lower.
      Parameters:
      isLower - the new lower
    • isUpper

      public boolean isUpper()
      Checks if is upper.
      Returns:
      true, if is upper
    • setUpper

      public void setUpper(boolean isUpper)
      Sets the upper.
      Parameters:
      isUpper - the new upper
    • showFullPath

      public boolean showFullPath()
      Show full path.
      Returns:
      true, if successful
    • setShowFullPath

      public void setShowFullPath(boolean showFullPath)
      Sets the show full path.
      Parameters:
      showFullPath - the new show full path