Package org.pptx4j.model
Class ResolvedLayout
java.lang.Object
org.pptx4j.model.ResolvedLayout
- All Implemented Interfaces:
Cloneable
The idea of this class is that it provides
an effective slide layout.
It can either represent:
- a slide layout (resolved so that no further reference to
the slide master is required), or
- a slide (resolved so that no further reference to a
slide layout is required)
It doesn't say anything about text fonts/styles, since
these are handled in TextStyles.
- Author:
- jharrop
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ResolvedLayoutclone()static GroupShapecreateEffectiveShapeTree(GroupShape shapeTree, Map<String, ShapeWrapper> placeholders) Resolve references to Slide Layouts, Master etc, in order to get the actual shapes we'll render.getBg()intstatic ResolvedLayoutresolveSlideLayout(SlideLayoutPart slideLayoutPart) Create a ResolvedLayout for a SlideLayoutPart.static ResolvedLayoutresolveSlideLayout(SlidePart slidePart) Create a ResolvedLayout for a SlidePart.voidsetBg(CTBackground bg) voidsetShapeTree(GroupShape shapeTree)
-
Field Details
-
log
protected static org.slf4j.Logger log -
relationships
-
-
Constructor Details
-
ResolvedLayout
public ResolvedLayout()
-
-
Method Details
-
getBg
- Returns:
- the bg
-
setBg
- Parameters:
bg- the bg to set
-
getShapeTree
- Returns:
- the shapeTree
-
setShapeTree
- Parameters:
shapeTree- the shapeTree to set
-
getMasterNumber
public int getMasterNumber() -
resolveSlideLayout
Create a ResolvedLayout for a SlideLayoutPart.- Parameters:
slideLayoutPart-- Returns:
-
resolveSlideLayout
Create a ResolvedLayout for a SlidePart.- Parameters:
slideLayoutPart-- Returns:
-
createEffectiveShapeTree
public static GroupShape createEffectiveShapeTree(GroupShape shapeTree, Map<String, ShapeWrapper> placeholders) Resolve references to Slide Layouts, Master etc, in order to get the actual shapes we'll render.- Returns:
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-