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

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

 <simpleType name="ST_CompoundLine">
   <restriction base="{}token">
     <enumeration value="sng"/>
     <enumeration value="dbl"/>
     <enumeration value="thickThin"/>
     <enumeration value="thinThick"/>
     <enumeration value="tri"/>
 @XmlType(name = "ST_CompoundLine")
 public enum STCompoundLine {

Single Line

Double Lines

Thick Thin Double Lines

Thin Thick Double Lines

Thin Thick Thin Triple Lines
     private final String value;
     STCompoundLine(String v) {
          = v;
     public String value() {
         return ;
     public static STCompoundLine fromValue(String v) {
         for (STCompoundLine c: STCompoundLine.values()) {
             if (c.value.equals(v)) {
                 return c;
        throw new IllegalArgumentException(v);
New to GrepCode? Check out our FAQ X