Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2007-2008, Plutext Pty Ltd.
   *   
   *  This file is part of docx4j.
  
      docx4j is licensed under the Apache License, Version 2.0 (the "License"); 
      you may not use this file except in compliance with the License. 
  
      You may obtain a copy of the License at 
 
         http://www.apache.org/licenses/LICENSE-2.0 
 
     Unless required by applicable law or agreed to in writing, software 
     distributed under the License is distributed on an "AS IS" BASIS, 
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
     See the License for the specific language governing permissions and 
     limitations under the License.
 
  */
 
 
 package org.docx4j.vml;
 

Java class for CT_ImageData complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_ImageData">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Id"/>
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_ImageAttributes"/>
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Chromakey"/>
       <attribute name="embosscolor" type="{urn:schemas-microsoft-com:vml}ST_ColorType" />
       <attribute name="recolortarget" type="{urn:schemas-microsoft-com:vml}ST_ColorType" />
       <attribute ref="{urn:schemas-microsoft-com:office:office}href"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}althref"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}title"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}oleid"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}detectmouseclick"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}movie"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}relid"/>
       <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
       <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}pict"/>
       <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}href"/>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_ImageData")
 public class CTImageData implements Child
 {
 
     @XmlAttribute(name = "embosscolor")
     protected String embosscolor;
     @XmlAttribute(name = "recolortarget")
     protected String recolortarget;
     @XmlAttribute(name = "href", namespace = "urn:schemas-microsoft-com:office:office")
     protected String ohref;
     @XmlAttribute(name = "althref", namespace = "urn:schemas-microsoft-com:office:office")
     protected String althref;
     @XmlAttribute(name = "title", namespace = "urn:schemas-microsoft-com:office:office")
     protected String title;
     @XmlAttribute(name = "oleid", namespace = "urn:schemas-microsoft-com:office:office")
     protected Float oleid;
     @XmlAttribute(name = "detectmouseclick", namespace = "urn:schemas-microsoft-com:office:office")
     @XmlAttribute(name = "movie", namespace = "urn:schemas-microsoft-com:office:office")
     protected Float movie;
     @XmlAttribute(name = "relid", namespace = "urn:schemas-microsoft-com:office:office")
     protected String relid;
     @XmlAttribute(name = "id", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
     protected String id;
     @XmlAttribute(name = "pict", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
     protected String pict;
     @XmlAttribute(name = "href", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
     protected String href;
     @XmlAttribute(name = "id")
     protected String vmlId;
     @XmlAttribute(name = "src")
     protected String src;
     @XmlAttribute(name = "cropleft")
     protected String cropleft;
     @XmlAttribute(name = "croptop")
    protected String croptop;
    @XmlAttribute(name = "cropright")
    protected String cropright;
    @XmlAttribute(name = "cropbottom")
    protected String cropbottom;
    @XmlAttribute(name = "gain")
    protected String gain;
    @XmlAttribute(name = "blacklevel")
    protected String blacklevel;
    @XmlAttribute(name = "gamma")
    protected String gamma;
    @XmlAttribute(name = "grayscale")
    protected org.docx4j.vml.STTrueFalse grayscale;
    @XmlAttribute(name = "bilevel")
    protected org.docx4j.vml.STTrueFalse bilevel;
    @XmlAttribute(name = "chromakey")
    protected String chromakey;
    private Object parent;

    
Gets the value of the embosscolor property.

Returns:
possible object is
    public String getEmbosscolor() {
        return ;
    }

    
Sets the value of the embosscolor property.

Parameters:
value allowed object is
    public void setEmbosscolor(String value) {
        this. = value;
    }

    
Gets the value of the recolortarget property.

Returns:
possible object is
    public String getRecolortarget() {
        return ;
    }

    
Sets the value of the recolortarget property.

Parameters:
value allowed object is
    public void setRecolortarget(String value) {
        this. = value;
    }

    
Original Image Reference

Returns:
possible object is
    public String getOhref() {
        return ;
    }

    
Sets the value of the ohref property.

Parameters:
value allowed object is
    public void setOhref(String value) {
        this. = value;
    }

    
Alternate Image Reference

Returns:
possible object is
    public String getAlthref() {
        return ;
    }

    
Sets the value of the althref property.

Parameters:
value allowed object is
    public void setAlthref(String value) {
        this. = value;
    }

    
Image Data Title

Returns:
possible object is
    public String getTitle() {
        return ;
    }

    
Sets the value of the title property.

Parameters:
value allowed object is
    public void setTitle(String value) {
        this. = value;
    }

    
Image Embedded Object ID

Returns:
possible object is
    public Float getOleid() {
        return ;
    }

    
Sets the value of the oleid property.

Parameters:
value allowed object is
    public void setOleid(Float value) {
        this. = value;
    }

    
Detect Mouse Click

Returns:
possible object is
        return ;
    }

    
Sets the value of the detectmouseclick property.

Parameters:
value allowed object is
        this. = value;
    }

    
Movie Reference

Returns:
possible object is
    public Float getMovie() {
        return ;
    }

    
Sets the value of the movie property.

Parameters:
value allowed object is
    public void setMovie(Float value) {
        this. = value;
    }

    
Relationship to Part

Returns:
possible object is
    public String getRelid() {
        return ;
    }

    
Sets the value of the relid property.

Parameters:
value allowed object is
    public void setRelid(String value) {
        this. = value;
    }

    
Explicit Relationship to Image Data

Returns:
possible object is
    public String getId() {
        return ;
    }

    
Sets the value of the id property.

Parameters:
value allowed object is
    public void setId(String value) {
        this. = value;
    }

    
Explicit Relationship to Alternate Image Data

Returns:
possible object is
    public String getPict() {
        return ;
    }

    
Sets the value of the pict property.

Parameters:
value allowed object is
    public void setPict(String value) {
        this. = value;
    }

    
Explicit Relationship to Hyperlink Target

Returns:
possible object is
    public String getHref() {
        return ;
    }

    
Sets the value of the href property.

Parameters:
value allowed object is
    public void setHref(String value) {
        this. = value;
    }

    
Gets the value of the vmlId property.

Returns:
possible object is
    public String getVmlId() {
        return ;
    }

    
Sets the value of the vmlId property.

Parameters:
value allowed object is
    public void setVmlId(String value) {
        this. = value;
    }

    
Gets the value of the src property.

Returns:
possible object is
    public String getSrc() {
        return ;
    }

    
Sets the value of the src property.

Parameters:
value allowed object is
    public void setSrc(String value) {
        this. = value;
    }

    
Gets the value of the cropleft property.

Returns:
possible object is
    public String getCropleft() {
        return ;
    }

    
Sets the value of the cropleft property.

Parameters:
value allowed object is
    public void setCropleft(String value) {
        this. = value;
    }

    
Gets the value of the croptop property.

Returns:
possible object is
    public String getCroptop() {
        return ;
    }

    
Sets the value of the croptop property.

Parameters:
value allowed object is
    public void setCroptop(String value) {
        this. = value;
    }

    
Gets the value of the cropright property.

Returns:
possible object is
    public String getCropright() {
        return ;
    }

    
Sets the value of the cropright property.

Parameters:
value allowed object is
    public void setCropright(String value) {
        this. = value;
    }

    
Gets the value of the cropbottom property.

Returns:
possible object is
    public String getCropbottom() {
        return ;
    }

    
Sets the value of the cropbottom property.

Parameters:
value allowed object is
    public void setCropbottom(String value) {
        this. = value;
    }

    
Gets the value of the gain property.

Returns:
possible object is
    public String getGain() {
        return ;
    }

    
Sets the value of the gain property.

Parameters:
value allowed object is
    public void setGain(String value) {
        this. = value;
    }

    
Gets the value of the blacklevel property.

Returns:
possible object is
    public String getBlacklevel() {
        return ;
    }

    
Sets the value of the blacklevel property.

Parameters:
value allowed object is
    public void setBlacklevel(String value) {
        this. = value;
    }

    
Gets the value of the gamma property.

Returns:
possible object is
    public String getGamma() {
        return ;
    }

    
Sets the value of the gamma property.

Parameters:
value allowed object is
    public void setGamma(String value) {
        this. = value;
    }

    
Gets the value of the grayscale property.

Returns:
possible object is
    public org.docx4j.vml.STTrueFalse getGrayscale() {
        return ;
    }

    
Sets the value of the grayscale property.

Parameters:
value allowed object is
    public void setGrayscale(org.docx4j.vml.STTrueFalse value) {
        this. = value;
    }

    
Gets the value of the bilevel property.

Returns:
possible object is
    public org.docx4j.vml.STTrueFalse getBilevel() {
        return ;
    }

    
Sets the value of the bilevel property.

Parameters:
value allowed object is
    public void setBilevel(org.docx4j.vml.STTrueFalse value) {
        this. = value;
    }

    
Gets the value of the chromakey property.

Returns:
possible object is
    public String getChromakey() {
        return ;
    }

    
Sets the value of the chromakey property.

Parameters:
value allowed object is
    public void setChromakey(String value) {
        this. = value;
    }

    
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
    public Object getParent() {
        return this.;
    }
    public void setParent(Object parent) {
        this. = parent;
    }

    
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.

Parameters:
parent The parent object in the object tree.
unmarshaller The unmarshaller that generated the instance.
    public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
        setParent(parent);
    }
New to GrepCode? Check out our FAQ X