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 
     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 ST_PresetShadowVal.

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

 <simpleType name="ST_PresetShadowVal">
   <restriction base="{}token">
     <enumeration value="shdw1"/>
     <enumeration value="shdw2"/>
     <enumeration value="shdw3"/>
     <enumeration value="shdw4"/>
     <enumeration value="shdw5"/>
     <enumeration value="shdw6"/>
     <enumeration value="shdw7"/>
     <enumeration value="shdw8"/>
     <enumeration value="shdw9"/>
     <enumeration value="shdw10"/>
     <enumeration value="shdw11"/>
     <enumeration value="shdw12"/>
     <enumeration value="shdw13"/>
     <enumeration value="shdw14"/>
     <enumeration value="shdw15"/>
     <enumeration value="shdw16"/>
     <enumeration value="shdw17"/>
     <enumeration value="shdw18"/>
     <enumeration value="shdw19"/>
     <enumeration value="shdw20"/>
 @XmlType(name = "ST_PresetShadowVal")
 public enum STPresetShadowVal {

Top Left Drop Shadow

Top Right Drop Shadow

Back Left Perspective Shadow

Back Right Perspective Shadow

Bottom Left Drop Shadow

Bottom Right Drop Shadow

Front Left Perspective Shadow

Front Right Perspective Shadow

Top Left Small Drop Shadow

Top Left Large Drop Shadow

Back Left Long Perspective Shadow

Back Right Long Perspective Shadow

Top Left Double Drop Shadow

Bottom Right Small Drop Shadow

Front Left Long Perspective Shadow

Front Right LongPerspective Shadow

3D Outer Box Shadow

3D Inner Box Shadow

Back Center Perspective Shadow

Front Bottom Shadow
    private final String value;
         = v;
    public String value() {
        return ;
    public static STPresetShadowVal fromValue(String v) {
        for (STPresetShadowVal c: STPresetShadowVal.values()) {
            if (c.value.equals(v)) {
                return c;
        throw new IllegalArgumentException(v);
New to GrepCode? Check out our FAQ X