Class DrawConnectorElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • DrawConnectorElement

        public DrawConnectorElement​(OdfFileDom ownerDoc)
        Create the instance of DrawConnectorElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • getDrawCaptionIdAttribute

        public String getDrawCaptionIdAttribute()
        Receives the value of the ODFDOM attribute representation DrawCaptionIdAttribute , See @draw:caption-id
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawCaptionIdAttribute

        public void setDrawCaptionIdAttribute​(String drawCaptionIdValue)
        Sets the value of ODFDOM attribute representation DrawCaptionIdAttribute , See @draw:caption-id
        Parameters:
        drawCaptionIdValue - The type is String
      • getDrawEndGluePointAttribute

        public Integer getDrawEndGluePointAttribute()
        Receives the value of the ODFDOM attribute representation DrawEndGluePointAttribute , See @draw:end-glue-point
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setDrawEndGluePointAttribute

        public void setDrawEndGluePointAttribute​(Integer drawEndGluePointValue)
        Sets the value of ODFDOM attribute representation DrawEndGluePointAttribute , See @draw:end-glue-point
        Parameters:
        drawEndGluePointValue - The type is Integer
      • getDrawEndShapeAttribute

        public String getDrawEndShapeAttribute()
        Receives the value of the ODFDOM attribute representation DrawEndShapeAttribute , See @draw:end-shape
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawEndShapeAttribute

        public void setDrawEndShapeAttribute​(String drawEndShapeValue)
        Sets the value of ODFDOM attribute representation DrawEndShapeAttribute , See @draw:end-shape
        Parameters:
        drawEndShapeValue - The type is String
      • getDrawLayerAttribute

        public String getDrawLayerAttribute()
        Receives the value of the ODFDOM attribute representation DrawLayerAttribute , See @draw:layer
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawLayerAttribute

        public void setDrawLayerAttribute​(String drawLayerValue)
        Sets the value of ODFDOM attribute representation DrawLayerAttribute , See @draw:layer
        Parameters:
        drawLayerValue - The type is String
      • getDrawLineSkewAttribute

        public String getDrawLineSkewAttribute()
        Receives the value of the ODFDOM attribute representation DrawLineSkewAttribute , See @draw:line-skew
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawLineSkewAttribute

        public void setDrawLineSkewAttribute​(String drawLineSkewValue)
        Sets the value of ODFDOM attribute representation DrawLineSkewAttribute , See @draw:line-skew
        Parameters:
        drawLineSkewValue - The type is String
      • getDrawStartGluePointAttribute

        public Integer getDrawStartGluePointAttribute()
        Receives the value of the ODFDOM attribute representation DrawStartGluePointAttribute , See @draw:start-glue-point
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setDrawStartGluePointAttribute

        public void setDrawStartGluePointAttribute​(Integer drawStartGluePointValue)
        Sets the value of ODFDOM attribute representation DrawStartGluePointAttribute , See @draw:start-glue-point
        Parameters:
        drawStartGluePointValue - The type is Integer
      • getDrawStartShapeAttribute

        public String getDrawStartShapeAttribute()
        Receives the value of the ODFDOM attribute representation DrawStartShapeAttribute , See @draw:start-shape
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawStartShapeAttribute

        public void setDrawStartShapeAttribute​(String drawStartShapeValue)
        Sets the value of ODFDOM attribute representation DrawStartShapeAttribute , See @draw:start-shape
        Parameters:
        drawStartShapeValue - The type is String
      • getDrawTextStyleNameAttribute

        public String getDrawTextStyleNameAttribute()
        Receives the value of the ODFDOM attribute representation DrawTextStyleNameAttribute , See @draw:text-style-name
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawTextStyleNameAttribute

        public void setDrawTextStyleNameAttribute​(String drawTextStyleNameValue)
        Sets the value of ODFDOM attribute representation DrawTextStyleNameAttribute , See @draw:text-style-name
        Parameters:
        drawTextStyleNameValue - The type is String
      • getDrawTransformAttribute

        public String getDrawTransformAttribute()
        Receives the value of the ODFDOM attribute representation DrawTransformAttribute , See @draw:transform
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawTransformAttribute

        public void setDrawTransformAttribute​(String drawTransformValue)
        Sets the value of ODFDOM attribute representation DrawTransformAttribute , See @draw:transform
        Parameters:
        drawTransformValue - The type is String
      • getDrawTypeAttribute

        public String getDrawTypeAttribute()
        Receives the value of the ODFDOM attribute representation DrawTypeAttribute , See @draw:type
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawTypeAttribute

        public void setDrawTypeAttribute​(String drawTypeValue)
        Sets the value of ODFDOM attribute representation DrawTypeAttribute , See @draw:type
        Parameters:
        drawTypeValue - The type is String
      • getSvgDAttribute

        public String getSvgDAttribute()
        Receives the value of the ODFDOM attribute representation SvgDAttribute , See @svg:d
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgDAttribute

        public void setSvgDAttribute​(String svgDValue)
        Sets the value of ODFDOM attribute representation SvgDAttribute , See @svg:d
        Parameters:
        svgDValue - The type is String
      • getSvgViewBoxAttribute

        public Integer getSvgViewBoxAttribute()
        Receives the value of the ODFDOM attribute representation SvgViewBoxAttribute , See @svg:viewBox

        Attribute is mandatory.

        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setSvgViewBoxAttribute

        public void setSvgViewBoxAttribute​(Integer svgViewBoxValue)
        Sets the value of ODFDOM attribute representation SvgViewBoxAttribute , See @svg:viewBox
        Parameters:
        svgViewBoxValue - The type is Integer
      • getSvgX1Attribute

        public String getSvgX1Attribute()
        Receives the value of the ODFDOM attribute representation SvgX1Attribute , See @svg:x1
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgX1Attribute

        public void setSvgX1Attribute​(String svgX1Value)
        Sets the value of ODFDOM attribute representation SvgX1Attribute , See @svg:x1
        Parameters:
        svgX1Value - The type is String
      • getSvgX2Attribute

        public String getSvgX2Attribute()
        Receives the value of the ODFDOM attribute representation SvgX2Attribute , See @svg:x2
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgX2Attribute

        public void setSvgX2Attribute​(String svgX2Value)
        Sets the value of ODFDOM attribute representation SvgX2Attribute , See @svg:x2
        Parameters:
        svgX2Value - The type is String
      • getSvgY1Attribute

        public String getSvgY1Attribute()
        Receives the value of the ODFDOM attribute representation SvgY1Attribute , See @svg:y1
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgY1Attribute

        public void setSvgY1Attribute​(String svgY1Value)
        Sets the value of ODFDOM attribute representation SvgY1Attribute , See @svg:y1
        Parameters:
        svgY1Value - The type is String
      • getSvgY2Attribute

        public String getSvgY2Attribute()
        Receives the value of the ODFDOM attribute representation SvgY2Attribute , See @svg:y2
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgY2Attribute

        public void setSvgY2Attribute​(String svgY2Value)
        Sets the value of ODFDOM attribute representation SvgY2Attribute , See @svg:y2
        Parameters:
        svgY2Value - The type is String
      • newDrawGluePointElement

        public DrawGluePointElement newDrawGluePointElement​(String drawEscapeDirectionValue,
                                                            String drawIdValue,
                                                            String svgXValue,
                                                            String svgYValue)
        Create child element <draw:glue-point>.
        Parameters:
        drawEscapeDirectionValue - the String value of DrawEscapeDirectionAttribute, see @draw:escape-direction at specification
        drawIdValue - the String value of DrawIdAttribute, see @draw:id at specification
        svgXValue - the String value of SvgXAttribute, see @svg:x at specification
        svgYValue - the String value of SvgYAttribute, see @svg:y at specification
        Returns:
        the element <draw:glue-point>
      • accept

        public void accept​(ElementVisitor visitor)
        Description copied from class: OdfElement
        Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
        Overrides:
        accept in class OdfElement
        Parameters:
        visitor - an instance of DefaultElementVisitor