Schnittstelle ParagraphProperties

Alle bekannten Implementierungsklassen:
FieldElement, Paragraph

public interface ParagraphProperties
Interface for elements that displays lines of text.

This class is part of the RDC.
  • Feldübersicht

    Felder
    Modifikator und Typ
    Feld
    Beschreibung
    static final int
    Default value for all indents, meaning there is no indent.
    static final double
    Constant for line spacing, meaning there is no relative value for the line spacing but that it is determined by an absolute value
    static final int
    Constant for line spacing, meaning there is no absolute value for the line spacing but that it is determined in relation to the default line height of each line in the paragraph.
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    int
    Returns the value of the property 'first line indent'.
    Returns the formula whose return value determines the property 'first line indent'.
    int
    Returns the value of the property 'left indent'.
    Returns the formula whose return value determines the property 'left indent'.
    int
    Returns the absolute distance between baselines of the lines in this paragraph, measured in twips.
    Returns the formula whose return value determines the absolute distance between baselines of the lines in this paragraph, measured in twips.
    double
    Returns the factor by which the default line spacing is to be multiplied for this paragraph.
    Returns the formula whose return value determines the factor by which the default line spacing is to be multiplied for this paragraph.
    int
    Returns the value of the property 'rightIndent'.
    Returns the formula whose return value determines the property 'right indent'.
    void
    setFirstLineIndent(int firstLineIndent)
    Sets the value of the property 'first line indent'.
    void
    Sets the formula whose return value determines the property 'first line indent'.
    void
    setLeftIndent(int leftIndent)
    Sets the value of the property 'left indent'.
    void
    Sets the formula whose return value determines the property 'left indent'.
    void
    setLineSpacingAbsolute(int newValue)
    Sets the absolute distance between baselines of the lines in this paragraph, measured in twips.
    void
    Sets the formula whose return value determines the absolute distance between baselines of the lines in this paragraph, measured in twips.
    void
    setLineSpacingRelative(double newValue)
    Sets the factor by which the default line spacing is to be multiplied for this paragraph.
    void
    Sets the formula whose return value determines the factor by which the default line spacing is to be multiplied for this paragraph.
    void
    setRightIndent(int newValue)
    Sets the value of the property 'rightIndent'.
    void
    Sets the formula whose return value determines the property 'right indent'.
  • Felddetails

  • Methodendetails

    • getFirstLineIndent

      int getFirstLineIndent()
      Returns the value of the property 'first line indent'. This is the distance that the first line of the paragraph is indented from the left margin of the paragraph (in twips).
      Gibt zurück:
      The value of the property 'first line indent'.
      Seit:
      6.0
    • setFirstLineIndent

      void setFirstLineIndent(int firstLineIndent)
      Sets the value of the property 'first line indent'. This is the distance that the first line of the paragraph is indented from the left margin of the paragraph (in twips).
      Parameter:
      firstLineIndent - The new value of the property 'first line indent'. May be negative (which would cause the first line to be left of the left margin).
      Seit:
      6.0
    • getFirstLineIndentFormula

      FormulaField getFirstLineIndentFormula()
      Returns the formula whose return value determines the property 'first line indent'. This is the distance that the first line of the paragraph is indented from the left margin of the paragraph (in twips).
      Gibt zurück:
      The formula whose return value determines the property 'first line indent'.
      Seit:
      8.0
    • setFirstLineIndentFormula

      void setFirstLineIndentFormula(FormulaField formula)
      Sets the formula whose return value determines the property 'first line indent'. This is the distance that the first line of the paragraph is indented from the left margin of the paragraph (in twips).
      Parameter:
      formula - The formula whose return value determines the property 'first line indent'.
      Seit:
      8.0
    • getLeftIndent

      int getLeftIndent()
      Returns the value of the property 'left indent'. This is the distance that the the paragraph is indented from the left margin of the element (in twips).
      Gibt zurück:
      The value of the property 'left indent'.
      Seit:
      6.0
    • setLeftIndent

      void setLeftIndent(int leftIndent)
      Sets the value of the property 'left indent'. This is the distance that the the paragraph is indented from the left margin of the element (in twips).
      Parameter:
      leftIndent - The new value of the property 'left indent'.
      Löst aus:
      IllegalArgumentException - If a negative number is passed
      Seit:
      6.0
    • getLeftIndentFormula

      FormulaField getLeftIndentFormula()
      Returns the formula whose return value determines the property 'left indent'. This is the distance that the the paragraph is indented from the left margin of the element (in twips).
      Gibt zurück:
      The formula whose return value determines the property 'left indent'.
      Seit:
      8.0
    • setLeftIndentFormula

      void setLeftIndentFormula(FormulaField formula)
      Sets the formula whose return value determines the property 'left indent'. This is the distance that the the paragraph is indented from the left margin of the element (in twips).
      Parameter:
      formula - The formula whose return value determines the property 'left indent'.
      Seit:
      8.0
    • getRightIndent

      int getRightIndent()
      Returns the value of the property 'rightIndent'. This is the distance that the the paragraph is indented from the right margin of the element (in twips).
      Gibt zurück:
      The current value of the property 'rightIndent'. 
      Seit:
      6.0
    • setRightIndent

      void setRightIndent(int newValue)
      Sets the value of the property 'rightIndent'. This is the distance that the the paragraph is indented from the right margin of the element (in twips).
      Parameter:
      newValue - The new value of the property 'rightIndent'.
      Löst aus:
      IllegalArgumentException - If a negative number is passed
      Seit:
      6.0
    • getRightIndentFormula

      FormulaField getRightIndentFormula()
      Returns the formula whose return value determines the property 'right indent'. This is the distance that the the paragraph is indented from the right margin of the element (in twips).
      Gibt zurück:
      The formula whose return value determines the property 'right indent'.
      Seit:
      8.0
    • setRightIndentFormula

      void setRightIndentFormula(FormulaField formula)
      Sets the formula whose return value determines the property 'right indent'. This is the distance that the the paragraph is indented from the right margin of the element (in twips).
      Parameter:
      formula - The formula whose return value determines the property 'right indent'.
      Seit:
      8.0
    • getLineSpacingAbsolute

      int getLineSpacingAbsolute()
      Returns the absolute distance between baselines of the lines in this paragraph, measured in twips. If a relative factor has been set, this will return the constant LINE_SPACING_RELATIVE.
      Gibt zurück:
      Absolute distance between baselines in this paragraph, measured in twips, or LINE_SPACING_RELATIVE
      Seit:
      7.0
      Siehe auch:
    • setLineSpacingAbsolute

      void setLineSpacingAbsolute(int newValue)
      Sets the absolute distance between baselines of the lines in this paragraph, measured in twips. It is also possible to set LINE_SPACING_RELATIVE, which restores the default setting.
      Parameter:
      newValue - Absolute distance between baselines in this paragraph, measured in twips, or LINE_SPACING_RELATIVE in order to restore the default setting.
      Löst aus:
      IllegalArgumentException - If a negative number is passed which is not LINE_SPACING_RELATIVE.
      Seit:
      7.0
      Siehe auch:
    • getLineSpacingAbsoluteFormula

      FormulaField getLineSpacingAbsoluteFormula()
      Returns the formula whose return value determines the absolute distance between baselines of the lines in this paragraph, measured in twips.
      Gibt zurück:
      Absolute distance between baselines in this paragraph, measured in twips
      Seit:
      8.0
      Siehe auch:
    • setLineSpacingAbsoluteFormula

      void setLineSpacingAbsoluteFormula(FormulaField formula)
      Sets the formula whose return value determines the absolute distance between baselines of the lines in this paragraph, measured in twips.
      Parameter:
      formula - formula whose return value determines the absolute distance between baselines in this paragraph, measured in twips
      Seit:
      8.0
      Siehe auch:
    • getLineSpacingRelative

      double getLineSpacingRelative()
      Returns the factor by which the default line spacing is to be multiplied for this paragraph. The default line spacing is determined by font and font size, and is then multiplied by this number. If an absolute value has been set, this will return LINE_SPACING_ABSOLUTE instead.
      Gibt zurück:
      Factor by which the default line spacing is to be multiplied for this paragraph, or LINE_SPACING_ABSOLUTE if an absolute line spacing distance has been set.
      Seit:
      7.0
      Siehe auch:
    • setLineSpacingRelative

      void setLineSpacingRelative(double newValue)
      Sets the factor by which the default line spacing is to be multiplied for this paragraph. The default line spacing is determined by font and font size, and is then multiplied by this number. Setting LINE_SPACING_ABSOLUTE will cause the value to be reset to its default, which is "1".
      Parameter:
      newValue - Factor by which the default line spacing is to be multiplied for this paragraph, or LINE_SPACING_ABSOLUTE if the default value is to be set (equivalent to "1")
      Löst aus:
      IllegalArgumentException - If a negative number is passed which is not LINE_SPACING_ABSOLUTE
      Seit:
      7.0
      Siehe auch:
    • getLineSpacingRelativeFormula

      FormulaField getLineSpacingRelativeFormula()
      Returns the formula whose return value determines the factor by which the default line spacing is to be multiplied for this paragraph. The default line spacing is determined by font and font size, and is then multiplied by this formula's value.
      Gibt zurück:
      formula whose return value determines the factor by which the default line spacing is to be multiplied for this paragraph
      Seit:
      8.0
      Siehe auch:
    • setLineSpacingRelativeFormula

      void setLineSpacingRelativeFormula(FormulaField formula)
      Sets the formula whose return value determines the factor by which the default line spacing is to be multiplied for this paragraph. The default line spacing is determined by font and font size, and is then multiplied by this formula's value.
      Parameter:
      formula - formula whose return value determines the factor by which the default line spacing is to be multiplied for this paragraph
      Seit:
      8.0
      Siehe auch: