Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2010-2012, Plutext Pty Ltd.
   *   
   *  This file is part of pptx4j, a component 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.pptx4j.pml;
 

Java class for ST_SlideLayoutType.

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

 <simpleType name="ST_SlideLayoutType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="title"/>
     <enumeration value="tx"/>
     <enumeration value="twoColTx"/>
     <enumeration value="tbl"/>
     <enumeration value="txAndChart"/>
     <enumeration value="chartAndTx"/>
     <enumeration value="dgm"/>
     <enumeration value="chart"/>
     <enumeration value="txAndClipArt"/>
     <enumeration value="clipArtAndTx"/>
     <enumeration value="titleOnly"/>
     <enumeration value="blank"/>
     <enumeration value="txAndObj"/>
     <enumeration value="objAndTx"/>
     <enumeration value="objOnly"/>
     <enumeration value="obj"/>
     <enumeration value="txAndMedia"/>
     <enumeration value="mediaAndTx"/>
     <enumeration value="objOverTx"/>
     <enumeration value="txOverObj"/>
     <enumeration value="txAndTwoObj"/>
     <enumeration value="twoObjAndTx"/>
     <enumeration value="twoObjOverTx"/>
     <enumeration value="fourObj"/>
     <enumeration value="vertTx"/>
     <enumeration value="clipArtAndVertTx"/>
     <enumeration value="vertTitleAndTx"/>
     <enumeration value="vertTitleAndTxOverChart"/>
     <enumeration value="twoObj"/>
     <enumeration value="objAndTwoObj"/>
     <enumeration value="twoObjAndObj"/>
     <enumeration value="cust"/>
     <enumeration value="secHead"/>
     <enumeration value="twoTxTwoObj"/>
     <enumeration value="objTx"/>
     <enumeration value="picTx"/>
   </restriction>
 </simpleType>
 
 
 @XmlType(name = "ST_SlideLayoutType")
 public enum STSlideLayoutType {


    
Slide Layout Type Enumeration ( Title )
 
     @XmlEnumValue("title")
     TITLE("title"),

    
Slide Layout Type Enumeration ( Text )
 
     @XmlEnumValue("tx")
     TX("tx"),

    
Slide Layout Type Enumeration ( Two Column Text )
 
     @XmlEnumValue("twoColTx")
    TWO_COL_TX("twoColTx"),

    
Slide Layout Type Enumeration ( Table )
    @XmlEnumValue("tbl")
    TBL("tbl"),

    
Slide Layout Type Enumeration ( Text and Chart )
    @XmlEnumValue("txAndChart")
    TX_AND_CHART("txAndChart"),

    
Slide Layout Type Enumeration ( Chart and Text )
    @XmlEnumValue("chartAndTx")
    CHART_AND_TX("chartAndTx"),

    
Slide Layout Type Enumeration ( Diagram )
    @XmlEnumValue("dgm")
    DGM("dgm"),

    
Chart
    @XmlEnumValue("chart")
    CHART("chart"),

    
Text and Clip Art
    @XmlEnumValue("txAndClipArt")
    TX_AND_CLIP_ART("txAndClipArt"),

    
Clip Art and Text
    @XmlEnumValue("clipArtAndTx")
    CLIP_ART_AND_TX("clipArtAndTx"),

    
Slide Layout Type Enumeration ( Title Only )
    @XmlEnumValue("titleOnly")
    TITLE_ONLY("titleOnly"),

    
Slide Layout Type Enumeration ( Blank )
    @XmlEnumValue("blank")
    BLANK("blank"),

    
Slide Layout Type Enumeration ( Text and Object )
    @XmlEnumValue("txAndObj")
    TX_AND_OBJ("txAndObj"),

    
Slide Layout Type Enumeration ( Object and Text )
    @XmlEnumValue("objAndTx")
    OBJ_AND_TX("objAndTx"),

    
Object
    @XmlEnumValue("objOnly")
    OBJ_ONLY("objOnly"),

    
Title and Object
    @XmlEnumValue("obj")
    OBJ("obj"),

    
Slide Layout Type Enumeration ( Text and Media )
    @XmlEnumValue("txAndMedia")
    TX_AND_MEDIA("txAndMedia"),

    
Slide Layout Type Enumeration ( Media and Text )
    @XmlEnumValue("mediaAndTx")
    MEDIA_AND_TX("mediaAndTx"),

    
Slide Layout Type Enumeration ( Object over Text)
    @XmlEnumValue("objOverTx")
    OBJ_OVER_TX("objOverTx"),

    
Slide Layout Type Enumeration ( Text over Object)
    @XmlEnumValue("txOverObj")
    TX_OVER_OBJ("txOverObj"),

    
Text and Two Objects
    @XmlEnumValue("txAndTwoObj")
    TX_AND_TWO_OBJ("txAndTwoObj"),

    
Two Objects and Text
    @XmlEnumValue("twoObjAndTx")
    TWO_OBJ_AND_TX("twoObjAndTx"),

    
Two Objects over Text
    @XmlEnumValue("twoObjOverTx")
    TWO_OBJ_OVER_TX("twoObjOverTx"),

    
Four Objects
    @XmlEnumValue("fourObj")
    FOUR_OBJ("fourObj"),

    
Vertical Text
    @XmlEnumValue("vertTx")
    VERT_TX("vertTx"),

    
Clip Art and Vertical Text
    @XmlEnumValue("clipArtAndVertTx")
    CLIP_ART_AND_VERT_TX("clipArtAndVertTx"),

    
Vertical Title and Text
    @XmlEnumValue("vertTitleAndTx")
    VERT_TITLE_AND_TX("vertTitleAndTx"),

    
Vertical Title and Text Over Chart
    @XmlEnumValue("vertTitleAndTxOverChart")
    VERT_TITLE_AND_TX_OVER_CHART("vertTitleAndTxOverChart"),

    
Two Objects
    @XmlEnumValue("twoObj")
    TWO_OBJ("twoObj"),

    
Object and Two Object
    @XmlEnumValue("objAndTwoObj")
    OBJ_AND_TWO_OBJ("objAndTwoObj"),

    
Two Objects and Object
    @XmlEnumValue("twoObjAndObj")
    TWO_OBJ_AND_OBJ("twoObjAndObj"),

    
Slide Layout Type Enumeration ( Custom )
    @XmlEnumValue("cust")
    CUST("cust"),

    
Section Header
    @XmlEnumValue("secHead")
    SEC_HEAD("secHead"),

    
Two Text and Two Objects
    @XmlEnumValue("twoTxTwoObj")
    TWO_TX_TWO_OBJ("twoTxTwoObj"),

    
Title, Object, and Caption
    @XmlEnumValue("objTx")
    OBJ_TX("objTx"),

    
Picture and Caption
    @XmlEnumValue("picTx")
    PIC_TX("picTx");
    private final String value;
         = v;
    }
    public String value() {
        return ;
    }
    public static STSlideLayoutType fromValue(String v) {
        for (STSlideLayoutType c: STSlideLayoutType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
New to GrepCode? Check out our FAQ X