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

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

 <complexType name="CT_PhotoAlbum">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="extLst" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_ExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="bw" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="showCaptions" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="layout" type="{http://schemas.openxmlformats.org/presentationml/2006/main}ST_PhotoAlbumLayout" default="fitToSlide" />
       <attribute name="frame" type="{http://schemas.openxmlformats.org/presentationml/2006/main}ST_PhotoAlbumFrameShape" default="frameStyle1" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_PhotoAlbum", propOrder = {
     "extLst"
 })
 public class CTPhotoAlbum {
 
     protected CTExtensionList extLst;
     @XmlAttribute(name = "bw")
     protected Boolean bw;
     @XmlAttribute(name = "showCaptions")
     protected Boolean showCaptions;
     @XmlAttribute(name = "layout")
     protected String layout;
     @XmlAttribute(name = "frame")
     protected STPhotoAlbumFrameShape frame;

    
Gets the value of the extLst property.

Returns:
possible object is
 
     public CTExtensionList getExtLst() {
         return ;
     }

    
Sets the value of the extLst property.

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

    
Gets the value of the bw property.

Returns:
possible object is
    public boolean isBw() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the bw property.

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

    
Gets the value of the showCaptions property.

Returns:
possible object is
    public boolean isShowCaptions() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the showCaptions property.

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

    
Gets the value of the layout property.

Returns:
possible object is
    public String getLayout() {
        if ( == null) {
            return "fitToSlide";
        } else {
            return ;
        }
    }

    
Sets the value of the layout property.

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

    
Gets the value of the frame property.

Returns:
possible object is
    public STPhotoAlbumFrameShape getFrame() {
        if ( == null) {
            return .;
        } else {
            return ;
        }
    }

    
Sets the value of the frame property.

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