Class ResolvedLayout

java.lang.Object
org.pptx4j.model.ResolvedLayout
All Implemented Interfaces:
Cloneable

public class ResolvedLayout extends Object implements 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 Details

    • log

      protected static org.slf4j.Logger log
    • relationships

      public RelationshipsPart relationships
  • Constructor Details

    • ResolvedLayout

      public ResolvedLayout()
  • Method Details

    • getBg

      public CTBackground getBg()
      Returns:
      the bg
    • setBg

      public void setBg(CTBackground bg)
      Parameters:
      bg - the bg to set
    • getShapeTree

      public GroupShape getShapeTree()
      Returns:
      the shapeTree
    • setShapeTree

      public void setShapeTree(GroupShape shapeTree)
      Parameters:
      shapeTree - the shapeTree to set
    • getMasterNumber

      public int getMasterNumber()
    • resolveSlideLayout

      public static ResolvedLayout resolveSlideLayout(SlideLayoutPart slideLayoutPart)
      Create a ResolvedLayout for a SlideLayoutPart.
      Parameters:
      slideLayoutPart -
      Returns:
    • resolveSlideLayout

      public static ResolvedLayout resolveSlideLayout(SlidePart slidePart)
      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

      protected ResolvedLayout clone() throws CloneNotSupportedException
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException