Class ResolvedLayout

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

public class ResolvedLayout
extends java.lang.Object
implements java.lang.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, java.util.Map<java.lang.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 java.lang.CloneNotSupportedException
      Overrides:
      clone in class java.lang.Object
      Throws:
      java.lang.CloneNotSupportedException