Class TextParagraphElementBase

    • Constructor Detail

      • TextParagraphElementBase

        public TextParagraphElementBase​(OdfFileDom ownerDoc,
                                        OdfName elementName,
                                        OdfStyleFamily styleFamily,
                                        OdfName styleAttrName)
        Create the instance of TextParagraphElementBase
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • getTextClassNamesAttribute

        public String getTextClassNamesAttribute()
        Receives the value of the ODFDOM attribute representation TextClassNamesAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTextClassNamesAttribute

        public void setTextClassNamesAttribute​(String textClassNamesValue)
        Sets the value of ODFDOM attribute representation TextClassNamesAttribute , See {
        Parameters:
        textClassNamesValue - The type is String
      • getTextCondStyleNameAttribute

        public String getTextCondStyleNameAttribute()
        Receives the value of the ODFDOM attribute representation TextCondStyleNameAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTextCondStyleNameAttribute

        public void setTextCondStyleNameAttribute​(String textCondStyleNameValue)
        Sets the value of ODFDOM attribute representation TextCondStyleNameAttribute , See {
        Parameters:
        textCondStyleNameValue - The type is String
      • getTextIdAttribute

        public String getTextIdAttribute()
        Receives the value of the ODFDOM attribute representation TextIdAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTextIdAttribute

        public void setTextIdAttribute​(String textIdValue)
        Sets the value of ODFDOM attribute representation TextIdAttribute , See {
        Parameters:
        textIdValue - The type is String
      • getTextStyleNameAttribute

        public String getTextStyleNameAttribute()
        Receives the value of the ODFDOM attribute representation TextStyleNameAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTextStyleNameAttribute

        public void setTextStyleNameAttribute​(String textStyleNameValue)
        Sets the value of ODFDOM attribute representation TextStyleNameAttribute , See {
        Parameters:
        textStyleNameValue - The type is String
      • getXhtmlAboutAttribute

        public String getXhtmlAboutAttribute()
        Receives the value of the ODFDOM attribute representation XhtmlAboutAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setXhtmlAboutAttribute

        public void setXhtmlAboutAttribute​(String xhtmlAboutValue)
        Sets the value of ODFDOM attribute representation XhtmlAboutAttribute , See {
        Parameters:
        xhtmlAboutValue - The type is String
      • getXhtmlContentAttribute

        public String getXhtmlContentAttribute()
        Receives the value of the ODFDOM attribute representation XhtmlContentAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setXhtmlContentAttribute

        public void setXhtmlContentAttribute​(String xhtmlContentValue)
        Sets the value of ODFDOM attribute representation XhtmlContentAttribute , See {
        Parameters:
        xhtmlContentValue - The type is String
      • getXhtmlDatatypeAttribute

        public String getXhtmlDatatypeAttribute()
        Receives the value of the ODFDOM attribute representation XhtmlDatatypeAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setXhtmlDatatypeAttribute

        public void setXhtmlDatatypeAttribute​(String xhtmlDatatypeValue)
        Sets the value of ODFDOM attribute representation XhtmlDatatypeAttribute , See {
        Parameters:
        xhtmlDatatypeValue - The type is String
      • getXhtmlPropertyAttribute

        public String getXhtmlPropertyAttribute()
        Receives the value of the ODFDOM attribute representation XhtmlPropertyAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setXhtmlPropertyAttribute

        public void setXhtmlPropertyAttribute​(String xhtmlPropertyValue)
        Sets the value of ODFDOM attribute representation XhtmlPropertyAttribute , See {
        Parameters:
        xhtmlPropertyValue - The type is String
      • getXmlIdAttribute

        public String getXmlIdAttribute()
        Receives the value of the ODFDOM attribute representation XmlIdAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setXmlIdAttribute

        public void setXmlIdAttribute​(String xmlIdValue)
        Sets the value of ODFDOM attribute representation XmlIdAttribute , See {
        Parameters:
        xmlIdValue - The type is String
      • split

        public OdfElement split​(int posStart)
        Splitting the element at the given position into two halves

        If the paragraph does have an automatic style with a master-page, which results into a page break before the paragraph, this page break will be removed for the new second half. For paragraph containing template styles the follow-up style should be chosen.

        Overrides:
        split in class OdfElement
        Parameters:
        posStart - The logical position of the first character (or other paragraph child component) that will be moved to the beginning of the new paragraph.
        Returns:
        the new created second text container
      • setTextContent

        public void setTextContent​(String content)
        Set text content.Only elements which are allowed to have text content offer this method.
        Specified by:
        setTextContent in interface Node
        Overrides:
        setTextContent in class org.apache.xerces.dom.ParentNode
        Parameters:
        content - the parapgraph text content