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

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

 <complexType name="CT_FontReference">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_ColorChoice" minOccurs="0"/>
       </sequence>
       <attribute name="idx" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FontCollectionIndex" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_FontReference", propOrder = {
     "scrgbClr",
     "srgbClr",
     "hslClr",
     "sysClr",
     "schemeClr",
     "prstClr"
 })
 public class CTFontReference {
 
     protected CTScRgbColor scrgbClr;
     protected CTSRgbColor srgbClr;
     protected CTHslColor hslClr;
     protected CTSystemColor sysClr;
     protected CTSchemeColor schemeClr;
     protected CTPresetColor prstClr;
     @XmlAttribute(required = true)
     protected STFontCollectionIndex idx;

    
Gets the value of the scrgbClr property.

Returns:
possible object is
 
     public CTScRgbColor getScrgbClr() {
         return ;
     }

    
Sets the value of the scrgbClr property.

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

    
Gets the value of the srgbClr property.

Returns:
possible object is
    public CTSRgbColor getSrgbClr() {
        return ;
    }

    
Sets the value of the srgbClr property.

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

    
Gets the value of the hslClr property.

Returns:
possible object is
    public CTHslColor getHslClr() {
        return ;
    }

    
Sets the value of the hslClr property.

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

    
Gets the value of the sysClr property.

Returns:
possible object is
    public CTSystemColor getSysClr() {
        return ;
    }

    
Sets the value of the sysClr property.

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

    
Gets the value of the schemeClr property.

Returns:
possible object is
    public CTSchemeColor getSchemeClr() {
        return ;
    }

    
Sets the value of the schemeClr property.

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

    
Gets the value of the prstClr property.

Returns:
possible object is
    public CTPresetColor getPrstClr() {
        return ;
    }

    
Sets the value of the prstClr property.

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

    
Gets the value of the idx property.

Returns:
possible object is
    public STFontCollectionIndex getIdx() {
        return ;
    }

    
Sets the value of the idx property.

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