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_ColorScheme complex type.

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

 <complexType name="CT_ColorScheme">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="dk1" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="lt1" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="dk2" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="lt2" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="accent1" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="accent2" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="accent3" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="accent4" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="accent5" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="accent6" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="hlink" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="folHlink" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Color"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_ColorScheme", propOrder = {
     "dk1",
     "lt1",
     "dk2",
     "lt2",
     "accent1",
     "accent2",
     "accent3",
     "accent4",
     "accent5",
     "accent6",
     "hlink",
     "folHlink",
     "extLst"
 })
 public class CTColorScheme {
 
     @XmlElement(required = true)
     protected CTColor dk1;
     @XmlElement(required = true)
     protected CTColor lt1;
     @XmlElement(required = true)
     protected CTColor dk2;
     @XmlElement(required = true)
     protected CTColor lt2;
     @XmlElement(required = true)
     protected CTColor accent1;
     @XmlElement(required = true)
     protected CTColor accent2;
     @XmlElement(required = true)
     protected CTColor accent3;
     @XmlElement(required = true)
     protected CTColor accent4;
     @XmlElement(required = true)
     protected CTColor accent5;
     @XmlElement(required = true)
    protected CTColor accent6;
    @XmlElement(required = true)
    protected CTColor hlink;
    @XmlElement(required = true)
    protected CTColor folHlink;
    protected CTOfficeArtExtensionList extLst;
    @XmlAttribute(required = true)
    protected String name;

    
Gets the value of the dk1 property.

Returns:
possible object is
    public CTColor getDk1() {
        return ;
    }

    
Sets the value of the dk1 property.

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

    
Gets the value of the lt1 property.

Returns:
possible object is
    public CTColor getLt1() {
        return ;
    }

    
Sets the value of the lt1 property.

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

    
Gets the value of the dk2 property.

Returns:
possible object is
    public CTColor getDk2() {
        return ;
    }

    
Sets the value of the dk2 property.

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

    
Gets the value of the lt2 property.

Returns:
possible object is
    public CTColor getLt2() {
        return ;
    }

    
Sets the value of the lt2 property.

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

    
Gets the value of the accent1 property.

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

    
Sets the value of the accent1 property.

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

    
Gets the value of the accent2 property.

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

    
Sets the value of the accent2 property.

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

    
Gets the value of the accent3 property.

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

    
Sets the value of the accent3 property.

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

    
Gets the value of the accent4 property.

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

    
Sets the value of the accent4 property.

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

    
Gets the value of the accent5 property.

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

    
Sets the value of the accent5 property.

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

    
Gets the value of the accent6 property.

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

    
Sets the value of the accent6 property.

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

    
Gets the value of the hlink property.

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

    
Sets the value of the hlink property.

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

    
Gets the value of the folHlink property.

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

    
Sets the value of the folHlink property.

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

    
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 name property.

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

    
Sets the value of the name property.

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