Class DOCXParaRPr

  • All Implemented Interfaces:
    ICTElement, IDOCXRPr

    public class DOCXParaRPr
    extends java.lang.Object
    implements IDOCXRPr
    Internal Use Only.

    Run Properties under Paragraph Definition.

    Represents w:rPr in xml.

    Author:
    Jamson Chan
    • Constructor Summary

      Constructors 
      Constructor Description
      DOCXParaRPr​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTParaRPr rPr, DOCXPPr parent)
      Create a new ParagraphRunProperties by given CTParaRPr.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DOCXBorder getBdr()
      Returns the border of the text.
      org.openxmlformats.schemas.wordprocessingml.x2006.main.CTColor getColor()
      Returns the color of the text.
      org.openxmlformats.schemas.wordprocessingml.x2006.main.CTParaRPr getCT()
      Returns the CT object of current element.
      org.openxmlformats.schemas.wordprocessingml.x2006.main.STEm.Enum getEm()
      Returns the emphasis mark of the text.
      org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFitText getFitText()
      Returns the manual run width of the text.
      org.openxmlformats.schemas.wordprocessingml.x2006.main.STHighlightColor.Enum getHighlight()
      Returns the highlight color of the text.
      java.lang.Double getKern()
      Returns the kerning of the text.
      org.openxmlformats.schemas.wordprocessingml.x2006.main.CTLanguage getLang()
      Returns the language of the text.
      DOCXPPr getParent()
      Returns the parent paragraph properties.
      java.lang.Double getPosition()
      Returns the vertically raised or lowered text.
      org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFonts getRFonts()
      Returns the font of the text.
      java.lang.String getRStyle()
      Returns the run style of the text.
      org.openxmlformats.schemas.wordprocessingml.x2006.main.CTShd getShd()
      Returns the shading of the text.
      java.lang.Double getSpacing()
      Returns the spacing of the text.
      java.lang.Double getSz()
      Returns the font size of the text.
      java.lang.Double getSzCs()
      Returns the font size of the text in complex script.
      org.openxmlformats.schemas.wordprocessingml.x2006.main.CTUnderline getU()
      Returns the underline style of the text.
      org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STVerticalAlignRun.Enum getVertAlign()
      Returns the vertical alignment.
      java.lang.Integer getW()
      Returns the character scale.
      boolean isB()
      Returns whether the text is bold.
      boolean isBCs()
      Returns whether the text is bold in complex script.
      boolean isCaps()
      Returns whether the text is capitalized.
      boolean isCs()
      Returns whether the text is complex script.
      boolean isDstrike()
      Returns whether the text is double strike through.
      boolean isEmboss()
      Returns whether the text is embossed.
      boolean isI()
      Returns whether the text is italic.
      boolean isICs()
      Returns whether the text is italic in complex script.
      boolean isImprint()
      Returns whether the text is imprinted.
      boolean isNoProof()
      Returns whether the text is no proof.
      boolean isOMath()
      Returns whether the text is office math.
      boolean isOutline()
      Returns whether the text is outline.
      boolean isRtl()
      Returns whether the text is right to left.
      boolean isShadow()
      Returns whether the text is shadow.
      boolean isSmallCaps()
      Returns whether the text is small caps.
      boolean isSnapToGrid()
      Returns whether to use document grid settings for Inter-Character spacing.
      boolean isSpecVanish()
      Returns whether the text is spec vanish.
      boolean isStrike()
      Returns whether the text is strike through.
      boolean isVanish()
      Returns whether the text is vanished.
      boolean isWebHidden()
      Returns whether the text is web hidden.
      void setB​(boolean b)
      Sets whether the text is bold.
      void setBCs​(boolean bCs)
      Sets whether the text is bold in complex script.
      void setBdr​(DOCXBorder bdr)
      Sets the border of the text.
      void setCaps​(boolean caps)
      Sets whether the text is capitalized.
      void setColor​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTColor color)
      Sets the color of the text.
      void setCs​(boolean cs)
      Sets whether the text is complex script.
      void setDstrike​(boolean dstrike)
      Sets whether the text is double strike through.
      void setEm​(org.openxmlformats.schemas.wordprocessingml.x2006.main.STEm.Enum em)
      Sets the emphasis mark of the text.
      void setEmboss​(boolean emboss)
      Sets whether the text is embossed.
      void setFitText​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFitText fitText)
      Sets the manual run width of the text.
      void setHighlight​(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHighlightColor.Enum highlight)
      Sets the highlight color of the text.
      void setI​(boolean i)
      Sets whether the text is italic.
      void setICs​(boolean iCs)
      Sets whether the text is italic in complex script.
      void setImprint​(boolean imprint)
      Sets whether the text is imprinted.
      void setKern​(java.lang.Double kern)
      Sets the kerning of the text.
      void setLang​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTLanguage lang)
      Sets the language of the text.
      void setNoProof​(boolean noProof)
      Sets whether the text is no proof.
      void setOMath​(boolean oMath)
      Sets whether the text is office math.
      void setOutline​(boolean outline)
      Sets whether the text is outline.
      void setParent​(DOCXPPr parent)
      Sets the parent paragraph properties.
      void setPosition​(java.lang.Double position)
      Sets the vertically raised or lowered text.
      void setRFonts​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFonts rFonts)
      Sets the font of the text.
      void setRStyle​(java.lang.String rStyle)
      Sets the run style of the text.
      void setRtl​(boolean rtl)
      Sets whether the text is right to left.
      void setShadow​(boolean shadow)
      Sets whether the text is shadow.
      void setShd​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTShd shd)
      Sets the shading of the text.
      void setSmallCaps​(boolean smallCaps)
      Sets whether the text is small caps.
      void setSnapToGrid​(boolean snapToGrid)
      Sets whether to use document grid settings for Inter-Character spacing.
      void setSpacing​(java.lang.Double spacing)
      Sets the spacing of the text.
      void setSpecVanish​(boolean specVanish)
      Sets whether the text is spec vanish.
      void setStrike​(boolean strike)
      Sets whether the text is strike through.
      void setSz​(java.lang.Double sz)
      Sets the font size of the text.
      void setSzCs​(java.lang.Double szCs)
      Sets the font size of the text in complex script.
      void setU​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTUnderline u)
      Sets the underline style of the text.
      void setVanish​(boolean vanish)
      Sets whether the text is vanished.
      void setVertAlign​(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STVerticalAlignRun.Enum vertAlign)
      Sets the vertical alignment.
      void setW​(java.lang.Integer w)
      Sets the character scale.
      void setWebHidden​(boolean webHidden)
      Sets whether the text is web hidden.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DOCXParaRPr

        public DOCXParaRPr​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTParaRPr rPr,
                           DOCXPPr parent)
        Create a new ParagraphRunProperties by given CTParaRPr.
        Parameters:
        rPr - the CTParaRPr object.
        parent - the parent ParagraphProperties object.
    • Method Detail

      • getCT

        public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTParaRPr getCT()
        Description copied from interface: ICTElement
        Returns the CT object of current element.
        Specified by:
        getCT in interface ICTElement
      • getParent

        public DOCXPPr getParent()
        Returns the parent paragraph properties.
        Returns:
        the parent paragraph properties.
      • setParent

        public void setParent​(DOCXPPr parent)
        Sets the parent paragraph properties.
        Parameters:
        parent - the parent paragraph properties.
      • isB

        public boolean isB()
        Description copied from interface: IDOCXRPr
        Returns whether the text is bold.

        Represents the following element tag in the schema: w:b.

        Specified by:
        isB in interface IDOCXRPr
        Returns:
        whether the text is bold.
      • setB

        public void setB​(boolean b)
        Description copied from interface: IDOCXRPr
        Sets whether the text is bold.

        Represents the following element tag in the schema: w:b.

        Specified by:
        setB in interface IDOCXRPr
        Parameters:
        b - whether the text is bold.
      • isBCs

        public boolean isBCs()
        Description copied from interface: IDOCXRPr
        Returns whether the text is bold in complex script.

        Represents the following element tag in the schema: w:bCs.

        Specified by:
        isBCs in interface IDOCXRPr
        Returns:
        whether the text is bold in complex script.
      • setBCs

        public void setBCs​(boolean bCs)
        Description copied from interface: IDOCXRPr
        Sets whether the text is bold in complex script.

        Represents the following element tag in the schema: w:bCs.

        Specified by:
        setBCs in interface IDOCXRPr
        Parameters:
        bCs - whether the text is bold in complex script.
      • getBdr

        public DOCXBorder getBdr()
        Description copied from interface: IDOCXRPr
        Returns the border of the text.

        Represents the following element tag in the schema: w:bdr.

        Specified by:
        getBdr in interface IDOCXRPr
        Returns:
        the border of the text.
      • setBdr

        public void setBdr​(DOCXBorder bdr)
        Description copied from interface: IDOCXRPr
        Sets the border of the text.

        Represents the following element tag in the schema: w:bdr.

        Specified by:
        setBdr in interface IDOCXRPr
        Parameters:
        bdr - the border of the text.
      • isCaps

        public boolean isCaps()
        Description copied from interface: IDOCXRPr
        Returns whether the text is capitalized.

        Represents the following element tag in the schema: w:caps.

        Specified by:
        isCaps in interface IDOCXRPr
        Returns:
        whether the text is capitalized.
      • setCaps

        public void setCaps​(boolean caps)
        Description copied from interface: IDOCXRPr
        Sets whether the text is capitalized.

        Represents the following element tag in the schema: w:caps.

        Specified by:
        setCaps in interface IDOCXRPr
        Parameters:
        caps - whether the text is capitalized.
      • getColor

        public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTColor getColor()
        Description copied from interface: IDOCXRPr
        Returns the color of the text.

        Represents the following element tag in the schema: w:color.

        Specified by:
        getColor in interface IDOCXRPr
        Returns:
        the color of the text.
      • setColor

        public void setColor​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTColor color)
        Description copied from interface: IDOCXRPr
        Sets the color of the text.

        Represents the following element tag in the schema: w:color.

        Specified by:
        setColor in interface IDOCXRPr
        Parameters:
        color - the color of the text.
      • isCs

        public boolean isCs()
        Description copied from interface: IDOCXRPr
        Returns whether the text is complex script.

        Represents the following element tag in the schema: w:cs.

        Specified by:
        isCs in interface IDOCXRPr
        Returns:
        whether the text is complex script.
      • setCs

        public void setCs​(boolean cs)
        Description copied from interface: IDOCXRPr
        Sets whether the text is complex script.

        Represents the following element tag in the schema: w:cs.

        Specified by:
        setCs in interface IDOCXRPr
        Parameters:
        cs - whether the text is complex script.
      • isDstrike

        public boolean isDstrike()
        Description copied from interface: IDOCXRPr
        Returns whether the text is double strike through.

        Represents the following element tag in the schema: w:dstrike.

        Specified by:
        isDstrike in interface IDOCXRPr
        Returns:
        whether the text is double strike through.
      • setDstrike

        public void setDstrike​(boolean dstrike)
        Description copied from interface: IDOCXRPr
        Sets whether the text is double strike through.

        Represents the following element tag in the schema: w:dstrike.

        Specified by:
        setDstrike in interface IDOCXRPr
        Parameters:
        dstrike - whether the text is double strike through.
      • getEm

        public org.openxmlformats.schemas.wordprocessingml.x2006.main.STEm.Enum getEm()
        Description copied from interface: IDOCXRPr
        Returns the emphasis mark of the text.

        Represents the following element tag in the schema: w:em.

        Specified by:
        getEm in interface IDOCXRPr
        Returns:
        the emphasis mark of the text.
      • setEm

        public void setEm​(org.openxmlformats.schemas.wordprocessingml.x2006.main.STEm.Enum em)
        Description copied from interface: IDOCXRPr
        Sets the emphasis mark of the text.

        Represents the following element tag in the schema: w:em.

        Specified by:
        setEm in interface IDOCXRPr
        Parameters:
        em - the emphasis mark of the text.
      • isEmboss

        public boolean isEmboss()
        Description copied from interface: IDOCXRPr
        Returns whether the text is embossed.

        Represents the following element tag in the schema: w:emboss.

        Specified by:
        isEmboss in interface IDOCXRPr
        Returns:
        whether the text is embossed.
      • setEmboss

        public void setEmboss​(boolean emboss)
        Description copied from interface: IDOCXRPr
        Sets whether the text is embossed.

        Represents the following element tag in the schema: w:emboss.

        Specified by:
        setEmboss in interface IDOCXRPr
        Parameters:
        emboss - whether the text is embossed.
      • getFitText

        public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFitText getFitText()
        Description copied from interface: IDOCXRPr
        Returns the manual run width of the text.

        Represents the following element tag in the schema: w:fitText.

        Specified by:
        getFitText in interface IDOCXRPr
        Returns:
        the manual run width of the text.
      • setFitText

        public void setFitText​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFitText fitText)
        Description copied from interface: IDOCXRPr
        Sets the manual run width of the text.

        Represents the following element tag in the schema: w:fitText.

        Specified by:
        setFitText in interface IDOCXRPr
        Parameters:
        fitText - the manual run width of the text.
      • getHighlight

        public org.openxmlformats.schemas.wordprocessingml.x2006.main.STHighlightColor.Enum getHighlight()
        Description copied from interface: IDOCXRPr
        Returns the highlight color of the text.

        Represents the following element tag in the schema: w:highlight.

        Specified by:
        getHighlight in interface IDOCXRPr
        Returns:
        the highlight color of the text.
      • setHighlight

        public void setHighlight​(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHighlightColor.Enum highlight)
        Description copied from interface: IDOCXRPr
        Sets the highlight color of the text.

        Represents the following element tag in the schema: w:highlight.

        Specified by:
        setHighlight in interface IDOCXRPr
        Parameters:
        highlight - the highlight color of the text.
      • isI

        public boolean isI()
        Description copied from interface: IDOCXRPr
        Returns whether the text is italic.

        Represents the following element tag in the schema: w:i.

        Specified by:
        isI in interface IDOCXRPr
        Returns:
        whether the text is italic.
      • setI

        public void setI​(boolean i)
        Description copied from interface: IDOCXRPr
        Sets whether the text is italic.

        Represents the following element tag in the schema: w:i.

        Specified by:
        setI in interface IDOCXRPr
        Parameters:
        i - whether the text is italic.
      • isICs

        public boolean isICs()
        Description copied from interface: IDOCXRPr
        Returns whether the text is italic in complex script.

        Represents the following element tag in the schema: w:iCs.

        Specified by:
        isICs in interface IDOCXRPr
        Returns:
        whether the text is italic in complex script.
      • setICs

        public void setICs​(boolean iCs)
        Description copied from interface: IDOCXRPr
        Sets whether the text is italic in complex script.

        Represents the following element tag in the schema: w:iCs.

        Specified by:
        setICs in interface IDOCXRPr
        Parameters:
        iCs - whether the text is italic in complex script.
      • isImprint

        public boolean isImprint()
        Description copied from interface: IDOCXRPr
        Returns whether the text is imprinted.

        Represents the following element tag in the schema: w:imprint.

        Specified by:
        isImprint in interface IDOCXRPr
        Returns:
        whether the text is imprinted.
      • setImprint

        public void setImprint​(boolean imprint)
        Description copied from interface: IDOCXRPr
        Sets whether the text is imprinted.

        Represents the following element tag in the schema: w:imprint.

        Specified by:
        setImprint in interface IDOCXRPr
        Parameters:
        imprint - whether the text is imprinted.
      • getKern

        public java.lang.Double getKern()
        Description copied from interface: IDOCXRPr
        Returns the kerning of the text.

        Represents the following element tag in the schema: w:kern.

        Specified by:
        getKern in interface IDOCXRPr
        Returns:
        the kerning of the text.
      • setKern

        public void setKern​(java.lang.Double kern)
        Description copied from interface: IDOCXRPr
        Sets the kerning of the text.

        Represents the following element tag in the schema: w:kern.

        Specified by:
        setKern in interface IDOCXRPr
        Parameters:
        kern - the kerning of the text.
      • getLang

        public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTLanguage getLang()
        Description copied from interface: IDOCXRPr
        Returns the language of the text.

        Represents the following element tag in the schema: w:lang.

        Specified by:
        getLang in interface IDOCXRPr
        Returns:
        the language of the text.
      • setLang

        public void setLang​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTLanguage lang)
        Description copied from interface: IDOCXRPr
        Sets the language of the text.

        Represents the following element tag in the schema: w:lang.

        Specified by:
        setLang in interface IDOCXRPr
        Parameters:
        lang - the language of the text.
      • isNoProof

        public boolean isNoProof()
        Description copied from interface: IDOCXRPr
        Returns whether the text is no proof.

        Represents the following element tag in the schema: w:noProof.

        Specified by:
        isNoProof in interface IDOCXRPr
        Returns:
        whether the text is no proof.
      • setNoProof

        public void setNoProof​(boolean noProof)
        Description copied from interface: IDOCXRPr
        Sets whether the text is no proof.

        Represents the following element tag in the schema: w:noProof.

        Specified by:
        setNoProof in interface IDOCXRPr
        Parameters:
        noProof - whether the text is no proof.
      • isOMath

        public boolean isOMath()
        Description copied from interface: IDOCXRPr
        Returns whether the text is office math.

        Represents the following element tag in the schema: w:oMath.

        Specified by:
        isOMath in interface IDOCXRPr
        Returns:
        whether the text is office math.
      • setOMath

        public void setOMath​(boolean oMath)
        Description copied from interface: IDOCXRPr
        Sets whether the text is office math.

        Represents the following element tag in the schema: w:oMath.

        Specified by:
        setOMath in interface IDOCXRPr
        Parameters:
        oMath - whether the text is office math.
      • isOutline

        public boolean isOutline()
        Description copied from interface: IDOCXRPr
        Returns whether the text is outline.

        Represents the following element tag in the schema: w:outline.

        Specified by:
        isOutline in interface IDOCXRPr
        Returns:
        whether the text is outline.
      • setOutline

        public void setOutline​(boolean outline)
        Description copied from interface: IDOCXRPr
        Sets whether the text is outline.

        Represents the following element tag in the schema: w:outline.

        Specified by:
        setOutline in interface IDOCXRPr
        Parameters:
        outline - whether the text is outline.
      • getPosition

        public java.lang.Double getPosition()
        Description copied from interface: IDOCXRPr
        Returns the vertically raised or lowered text.

        Represents the following element tag in the schema: w:position.

        Specified by:
        getPosition in interface IDOCXRPr
        Returns:
        the vertically raised or lowered text.
      • setPosition

        public void setPosition​(java.lang.Double position)
        Description copied from interface: IDOCXRPr
        Sets the vertically raised or lowered text.

        Represents the following element tag in the schema: w:position.

        Specified by:
        setPosition in interface IDOCXRPr
        Parameters:
        position - the vertically raised or lowered text.
      • getRFonts

        public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFonts getRFonts()
        Description copied from interface: IDOCXRPr
        Returns the font of the text.

        Represents the following element tag in the schema: w:rFonts.

        Specified by:
        getRFonts in interface IDOCXRPr
        Returns:
        the font of the text.
      • setRFonts

        public void setRFonts​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFonts rFonts)
        Description copied from interface: IDOCXRPr
        Sets the font of the text.

        Represents the following element tag in the schema: w:rFonts.

        Specified by:
        setRFonts in interface IDOCXRPr
        Parameters:
        rFonts - the font of the text.
      • getRStyle

        public java.lang.String getRStyle()
        Description copied from interface: IDOCXRPr
        Returns the run style of the text.

        Represents the following element tag in the schema: w:rStyle.

        Specified by:
        getRStyle in interface IDOCXRPr
        Returns:
        the run style of the text.
      • setRStyle

        public void setRStyle​(java.lang.String rStyle)
        Description copied from interface: IDOCXRPr
        Sets the run style of the text.

        Represents the following element tag in the schema: w:rStyle.

        Specified by:
        setRStyle in interface IDOCXRPr
        Parameters:
        rStyle - the run style of the text.
      • isRtl

        public boolean isRtl()
        Description copied from interface: IDOCXRPr
        Returns whether the text is right to left.

        Represents the following element tag in the schema: w:rtl.

        Specified by:
        isRtl in interface IDOCXRPr
        Returns:
        whether the text is right to left.
      • setRtl

        public void setRtl​(boolean rtl)
        Description copied from interface: IDOCXRPr
        Sets whether the text is right to left.

        Represents the following element tag in the schema: w:rtl.

        Specified by:
        setRtl in interface IDOCXRPr
        Parameters:
        rtl - whether the text is right to left.
      • isShadow

        public boolean isShadow()
        Description copied from interface: IDOCXRPr
        Returns whether the text is shadow.

        Represents the following element tag in the schema: w:shadow.

        Specified by:
        isShadow in interface IDOCXRPr
        Returns:
        whether the text is shadow.
      • setShadow

        public void setShadow​(boolean shadow)
        Description copied from interface: IDOCXRPr
        Sets whether the text is shadow.

        Represents the following element tag in the schema: w:shadow.

        Specified by:
        setShadow in interface IDOCXRPr
        Parameters:
        shadow - whether the text is shadow.
      • getShd

        public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTShd getShd()
        Description copied from interface: IDOCXRPr
        Returns the shading of the text.

        Represents the following element tag in the schema: w:shd.

        Specified by:
        getShd in interface IDOCXRPr
        Returns:
        the shading of the text.
      • setShd

        public void setShd​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTShd shd)
        Description copied from interface: IDOCXRPr
        Sets the shading of the text.

        Represents the following element tag in the schema: w:shd.

        Specified by:
        setShd in interface IDOCXRPr
        Parameters:
        shd - the shading of the text.
      • isSmallCaps

        public boolean isSmallCaps()
        Description copied from interface: IDOCXRPr
        Returns whether the text is small caps.

        Represents the following element tag in the schema: w:smallCaps.

        Specified by:
        isSmallCaps in interface IDOCXRPr
        Returns:
        whether the text is small caps.
      • setSmallCaps

        public void setSmallCaps​(boolean smallCaps)
        Description copied from interface: IDOCXRPr
        Sets whether the text is small caps.

        Represents the following element tag in the schema: w:smallCaps.

        Specified by:
        setSmallCaps in interface IDOCXRPr
        Parameters:
        smallCaps - whether the text is small caps.
      • isSnapToGrid

        public boolean isSnapToGrid()
        Description copied from interface: IDOCXRPr
        Returns whether to use document grid settings for Inter-Character spacing.

        Represents the following element tag in the schema: w:snapToGrid.

        Specified by:
        isSnapToGrid in interface IDOCXRPr
        Returns:
        whether to use document grid settings for Inter-Character spacing.
      • setSnapToGrid

        public void setSnapToGrid​(boolean snapToGrid)
        Description copied from interface: IDOCXRPr
        Sets whether to use document grid settings for Inter-Character spacing.

        Represents the following element tag in the schema: w:snapToGrid.

        Specified by:
        setSnapToGrid in interface IDOCXRPr
        Parameters:
        snapToGrid - whether to use document grid settings for Inter-Character spacing.
      • getSpacing

        public java.lang.Double getSpacing()
        Description copied from interface: IDOCXRPr
        Returns the spacing of the text.

        Represents the following element tag in the schema: w:spacing.

        Specified by:
        getSpacing in interface IDOCXRPr
        Returns:
        the spacing of the text.
      • setSpacing

        public void setSpacing​(java.lang.Double spacing)
        Description copied from interface: IDOCXRPr
        Sets the spacing of the text.

        Represents the following element tag in the schema: w:spacing.

        Specified by:
        setSpacing in interface IDOCXRPr
        Parameters:
        spacing - the spacing of the text.
      • isSpecVanish

        public boolean isSpecVanish()
        Description copied from interface: IDOCXRPr
        Returns whether the text is spec vanish.

        Represents the following element tag in the schema: w:specVanish.

        Specified by:
        isSpecVanish in interface IDOCXRPr
        Returns:
        whether the text is spec vanish.
      • setSpecVanish

        public void setSpecVanish​(boolean specVanish)
        Description copied from interface: IDOCXRPr
        Sets whether the text is spec vanish.

        Represents the following element tag in the schema: w:specVanish.

        Specified by:
        setSpecVanish in interface IDOCXRPr
        Parameters:
        specVanish - whether the text is spec vanish.
      • isStrike

        public boolean isStrike()
        Description copied from interface: IDOCXRPr
        Returns whether the text is strike through.

        Represents the following element tag in the schema: w:strike.

        Specified by:
        isStrike in interface IDOCXRPr
        Returns:
        whether the text is strike through.
      • setStrike

        public void setStrike​(boolean strike)
        Description copied from interface: IDOCXRPr
        Sets whether the text is strike through.

        Represents the following element tag in the schema: w:strike.

        Specified by:
        setStrike in interface IDOCXRPr
        Parameters:
        strike - whether the text is strike through.
      • getSz

        public java.lang.Double getSz()
        Description copied from interface: IDOCXRPr
        Returns the font size of the text.

        Represents the following element tag in the schema: w:sz.

        Specified by:
        getSz in interface IDOCXRPr
        Returns:
        the font size of the text.
      • setSz

        public void setSz​(java.lang.Double sz)
        Description copied from interface: IDOCXRPr
        Sets the font size of the text.

        Represents the following element tag in the schema: w:sz.

        Specified by:
        setSz in interface IDOCXRPr
        Parameters:
        sz - the font size of the text.
      • getSzCs

        public java.lang.Double getSzCs()
        Description copied from interface: IDOCXRPr
        Returns the font size of the text in complex script.

        Represents the following element tag in the schema: w:szCs.

        Specified by:
        getSzCs in interface IDOCXRPr
        Returns:
        the font size of the text in complex script.
      • setSzCs

        public void setSzCs​(java.lang.Double szCs)
        Description copied from interface: IDOCXRPr
        Sets the font size of the text in complex script.

        Represents the following element tag in the schema: w:szCs.

        Specified by:
        setSzCs in interface IDOCXRPr
        Parameters:
        szCs - the font size of the text in complex script.
      • getU

        public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTUnderline getU()
        Description copied from interface: IDOCXRPr
        Returns the underline style of the text.

        Represents the following element tag in the schema: w:u.

        Specified by:
        getU in interface IDOCXRPr
        Returns:
        the underline style of the text.
      • setU

        public void setU​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTUnderline u)
        Description copied from interface: IDOCXRPr
        Sets the underline style of the text.

        Represents the following element tag in the schema: w:u.

        Specified by:
        setU in interface IDOCXRPr
        Parameters:
        u - the underline style of the text.
      • isVanish

        public boolean isVanish()
        Description copied from interface: IDOCXRPr
        Returns whether the text is vanished.

        Represents the following element tag in the schema: w:vanish.

        Specified by:
        isVanish in interface IDOCXRPr
        Returns:
        whether the text is vanished.
      • setVanish

        public void setVanish​(boolean vanish)
        Description copied from interface: IDOCXRPr
        Sets whether the text is vanished.

        Represents the following element tag in the schema: w:vanish.

        Specified by:
        setVanish in interface IDOCXRPr
        Parameters:
        vanish - whether the text is vanished.
      • getVertAlign

        public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STVerticalAlignRun.Enum getVertAlign()
        Description copied from interface: IDOCXRPr
        Returns the vertical alignment.

        Represents the following element tag in the schema: w:vertAlign.

        Specified by:
        getVertAlign in interface IDOCXRPr
        Returns:
        the vertical alignment.
      • setVertAlign

        public void setVertAlign​(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STVerticalAlignRun.Enum vertAlign)
        Description copied from interface: IDOCXRPr
        Sets the vertical alignment.

        Represents the following element tag in the schema: w:vertAlign.

        Specified by:
        setVertAlign in interface IDOCXRPr
        Parameters:
        vertAlign - the vertical alignment.
      • getW

        public java.lang.Integer getW()
        Description copied from interface: IDOCXRPr
        Returns the character scale.

        Represents the following element tag in the schema: w:w.

        Specified by:
        getW in interface IDOCXRPr
        Returns:
        the character scale.
      • setW

        public void setW​(java.lang.Integer w)
        Description copied from interface: IDOCXRPr
        Sets the character scale.

        Represents the following element tag in the schema: w:w.

        Specified by:
        setW in interface IDOCXRPr
        Parameters:
        w - the character scale.
      • isWebHidden

        public boolean isWebHidden()
        Description copied from interface: IDOCXRPr
        Returns whether the text is web hidden.

        Represents the following element tag in the schema: w:webHidden.

        Specified by:
        isWebHidden in interface IDOCXRPr
        Returns:
        whether the text is web hidden.
      • setWebHidden

        public void setWebHidden​(boolean webHidden)
        Description copied from interface: IDOCXRPr
        Sets whether the text is web hidden.

        Represents the following element tag in the schema: w:webHidden.

        Specified by:
        setWebHidden in interface IDOCXRPr
        Parameters:
        webHidden - whether the text is web hidden.