org.odftoolkit.odfdom.doc.presentation
public static enum OdfSlide.SlideLayout extends Enum<OdfSlide.SlideLayout>
Enum Constant and Description |
---|
BLANK
Blank, a blank presentation
|
TITLE_ONLY
Title_only, the presentation with title only
|
TITLE_OUTLINE
Title_outline, the presentation with outline
|
TITLE_PLUS_2_TEXT_BLOCK
title_two_text_block, the presentation with title and two text blocks
|
TITLE_PLUS_TEXT
Title_text, the presentation with title and one text block
|
Modifier and Type | Method and Description |
---|---|
static OdfSlide.SlideLayout |
enumValueOf(String aString)
Return a template slide type.
|
String |
toString()
Return the slide template type value.
|
static String |
toString(OdfSlide.SlideLayout aEnum)
Return the name of the template slide type.
|
static OdfSlide.SlideLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OdfSlide.SlideLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OdfSlide.SlideLayout BLANK
public static final OdfSlide.SlideLayout TITLE_ONLY
public static final OdfSlide.SlideLayout TITLE_OUTLINE
public static final OdfSlide.SlideLayout TITLE_PLUS_TEXT
public static final OdfSlide.SlideLayout TITLE_PLUS_2_TEXT_BLOCK
public static OdfSlide.SlideLayout[] values()
for (OdfSlide.SlideLayout c : OdfSlide.SlideLayout.values()) System.out.println(c);
public static OdfSlide.SlideLayout valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<OdfSlide.SlideLayout>
public static String toString(OdfSlide.SlideLayout aEnum)
aEnum
- a SlideLayout
public static OdfSlide.SlideLayout enumValueOf(String aString)
aString
- the name of the slide template typeSlideLayout
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.