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.dml;
 

Java class for CT_ColorMapping complex type.

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

 <complexType name="CT_ColorMapping">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="bg1" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="tx1" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="bg2" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="tx2" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent1" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent2" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent3" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent4" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent5" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="accent6" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="hlink" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
       <attribute name="folHlink" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_ColorSchemeIndex" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_ColorMapping", propOrder = {
     "extLst"
 })
 public class CTColorMapping {
 
     protected CTOfficeArtExtensionList extLst;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex bg1;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex tx1;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex bg2;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex tx2;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex accent1;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex accent2;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex accent3;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex accent4;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex accent5;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex accent6;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex hlink;
     @XmlAttribute(required = true)
     protected STColorSchemeIndex folHlink;

    
Gets the value of the extLst property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the extLst property.

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

    
Gets the value of the bg1 property.

Returns:
possible object is
    public STColorSchemeIndex getBg1() {
        return ;
    }

    
Sets the value of the bg1 property.

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

    
Gets the value of the tx1 property.

Returns:
possible object is
    public STColorSchemeIndex getTx1() {
        return ;
    }

    
Sets the value of the tx1 property.

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

    
Gets the value of the bg2 property.

Returns:
possible object is
    public STColorSchemeIndex getBg2() {
        return ;
    }

    
Sets the value of the bg2 property.

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

    
Gets the value of the tx2 property.

Returns:
possible object is
    public STColorSchemeIndex getTx2() {
        return ;
    }

    
Sets the value of the tx2 property.

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

    
Gets the value of the accent1 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent1() {
        return ;
    }

    
Sets the value of the accent1 property.

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

    
Gets the value of the accent2 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent2() {
        return ;
    }

    
Sets the value of the accent2 property.

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

    
Gets the value of the accent3 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent3() {
        return ;
    }

    
Sets the value of the accent3 property.

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

    
Gets the value of the accent4 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent4() {
        return ;
    }

    
Sets the value of the accent4 property.

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

    
Gets the value of the accent5 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent5() {
        return ;
    }

    
Sets the value of the accent5 property.

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

    
Gets the value of the accent6 property.

Returns:
possible object is
    public STColorSchemeIndex getAccent6() {
        return ;
    }

    
Sets the value of the accent6 property.

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

    
Gets the value of the hlink property.

Returns:
possible object is
    public STColorSchemeIndex getHlink() {
        return ;
    }

    
Sets the value of the hlink property.

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

    
Gets the value of the folHlink property.

Returns:
possible object is
    public STColorSchemeIndex getFolHlink() {
        return ;
    }

    
Sets the value of the folHlink property.

Parameters:
value allowed object is
    public void setFolHlink(STColorSchemeIndex value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X