org.odftoolkit.simple.presentation
public static enum Slide.SlideLayout extends Enum<Slide.SlideLayout>
Enum Constant and Description |
---|
BLANK
Blank, a blank presentation
|
TITLE_LEFT_CHART_RIGHT_OUTLINE
title_three_objects, the presentation with title, chart and outline blocks.
|
TITLE_ONLY
Title_only, the presentation with title only
|
TITLE_OUTLINE
Title_outline, the presentation with outline
|
TITLE_PLUS_2_CHART
title_plus_two_chart, the presentation with title and two charts.
|
TITLE_PLUS_2_TEXT_BLOCK
title_two_text_block, the presentation with title and two text blocks
|
TITLE_PLUS_3_OBJECT
title_three_object, the presentation with title and three object blocks.
|
TITLE_PLUS_4_OBJECT
title_four_object, the presentation with title and four object blocks.
|
TITLE_PLUS_CHART
title_plus_chart, the presentation with title and chart.
|
TITLE_PLUS_TEXT
Title_text, the presentation with title and one text block
|
TITLE_SUBTITLE
title_subtitle, the presentation with title and subtitle.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
apply(DrawPageElement page)
Applies this layout on a slide page.
|
static Slide.SlideLayout |
enumValueOf(String aString)
Return a template slide type.
|
String |
toString()
Return the slide template type value.
|
static String |
toString(Slide.SlideLayout aEnum)
Return the name of the template slide type.
|
static Slide.SlideLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Slide.SlideLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Slide.SlideLayout BLANK
public static final Slide.SlideLayout TITLE_ONLY
public static final Slide.SlideLayout TITLE_SUBTITLE
public static final Slide.SlideLayout TITLE_OUTLINE
public static final Slide.SlideLayout TITLE_PLUS_TEXT
public static final Slide.SlideLayout TITLE_PLUS_2_TEXT_BLOCK
public static final Slide.SlideLayout TITLE_LEFT_CHART_RIGHT_OUTLINE
public static final Slide.SlideLayout TITLE_PLUS_CHART
public static final Slide.SlideLayout TITLE_PLUS_2_CHART
public static final Slide.SlideLayout TITLE_PLUS_3_OBJECT
public static final Slide.SlideLayout TITLE_PLUS_4_OBJECT
public static Slide.SlideLayout[] values()
for (Slide.SlideLayout c : Slide.SlideLayout.values()) System.out.println(c);
public static Slide.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 abstract void apply(DrawPageElement page)
page
- the slide element which this layout is applied on.public String toString()
toString
in class Enum<Slide.SlideLayout>
public static String toString(Slide.SlideLayout aEnum)
aEnum
- a SlideLayout
public static Slide.SlideLayout enumValueOf(String aString)
aString
- the name of the slide template typeSlideLayout
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.