Class DrawImageMapElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • DrawImageMapElement

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

      • newDrawAreaPolygonElement

        public DrawAreaPolygonElement newDrawAreaPolygonElement​(String drawPointsValue,
                                                                String svgHeightValue,
                                                                int svgViewBoxValue,
                                                                String svgWidthValue,
                                                                String svgXValue,
                                                                String svgYValue)
        Create child element <draw:area-polygon>.
        Parameters:
        drawPointsValue - the String value of DrawPointsAttribute, see @draw:points at specification
        svgHeightValue - the String value of SvgHeightAttribute, see @svg:height at specification
        svgViewBoxValue - the Integer value of SvgViewBoxAttribute, see @svg:viewBox at specification
        svgWidthValue - the String value of SvgWidthAttribute, see @svg:width 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:area-polygon>
      • 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