Examples of DrawFillImageElement


Examples of org.odftoolkit.odfdom.dom.element.draw.DrawFillImageElement

   * @param xlinkHrefValue  the <code>String</code> value of <code>XlinkHrefAttribute</code>, see {@odf.attribute  xlink:href} at specification
   * @param xlinkTypeValue  the <code>String</code> value of <code>XlinkTypeAttribute</code>, see {@odf.attribute  xlink:type} at specification
   * @return the element {@odf.element draw:fill-image}
   */
   public DrawFillImageElement newDrawFillImageElement(String drawNameValue, String xlinkHrefValue, String xlinkTypeValue) {
    DrawFillImageElement drawFillImage = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawFillImageElement.class);
    drawFillImage.setDrawNameAttribute(drawNameValue);
    drawFillImage.setXlinkHrefAttribute(xlinkHrefValue);
    drawFillImage.setXlinkTypeAttribute(xlinkTypeValue);
    this.appendChild(drawFillImage);
    return drawFillImage;
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.draw.DrawFillImageElement

                mHatches = new HashMap<String, DrawHatchElement>();
            }

            mHatches.put(hatch.getDrawNameAttribute(), hatch);
        } else if (node instanceof DrawFillImageElement) {
            DrawFillImageElement fillImage = (DrawFillImageElement) node;

            if (mFillImages == null) {
                mFillImages = new HashMap<String, DrawFillImageElement>();
            }

            mFillImages.put(fillImage.getDrawNameAttribute(), fillImage);
        } else if (node instanceof OdfTextOutlineStyle) {
            mOutlineStyle = (OdfTextOutlineStyle) node;
        } else {
            mStylesBaseImpl.onOdfNodeInserted(node, refNode);
        }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.draw.DrawFillImageElement

                DrawHatchElement hatch = (DrawHatchElement) node;
                mHatches.remove(hatch.getDrawNameAttribute());
            }
        } else if (node instanceof DrawFillImageElement) {
            if (mFillImages != null) {
                DrawFillImageElement fillImage = (DrawFillImageElement) node;
                mFillImages.remove(fillImage.getDrawNameAttribute());
            }
        } else if (node instanceof OdfTextOutlineStyle) {
            if (mOutlineStyle == (OdfTextOutlineStyle) node) {
                mOutlineStyle = null;
            }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.draw.DrawFillImageElement

   * @param xlinkHrefValue  the <code>String</code> value of <code>XlinkHrefAttribute</code>, see {@odf.attribute  xlink:href} at specification
   * @param xlinkTypeValue  the <code>String</code> value of <code>XlinkTypeAttribute</code>, see {@odf.attribute  xlink:type} at specification
   * @return the element {@odf.element draw:fill-image}
   */
   public DrawFillImageElement newDrawFillImageElement(String drawNameValue, String xlinkHrefValue, String xlinkTypeValue) {
    DrawFillImageElement drawFillImage = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawFillImageElement.class);
    drawFillImage.setDrawNameAttribute(drawNameValue);
    drawFillImage.setXlinkHrefAttribute(xlinkHrefValue);
    drawFillImage.setXlinkTypeAttribute(xlinkTypeValue);
    this.appendChild(drawFillImage);
    return drawFillImage;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.