Class HSLFSlideMaster

All Implemented Interfaces:
Iterable<HSLFShape>, HSLFShapeContainer, MasterSheet<HSLFShape,HSLFTextParagraph>, ShapeContainer<HSLFShape,HSLFTextParagraph>, Sheet<HSLFShape,HSLFTextParagraph>

public final class HSLFSlideMaster extends HSLFMasterSheet
SlideMaster determines the graphics, layout, and formatting for all the slides in a given presentation. It stores information about default font styles, placeholder sizes and positions, background design, and color schemes.
  • Constructor Details

    • HSLFSlideMaster

      public HSLFSlideMaster(MainMaster record, int sheetNo)
      Constructs a SlideMaster from the MainMaster record,
  • Method Details

    • getTextParagraphs

      public List<List<HSLFTextParagraph>> getTextParagraphs()
      Returns an array of all the TextRuns found
      Specified by:
      getTextParagraphs in class HSLFSheet
    • getMasterSheet

      public HSLFMasterSheet getMasterSheet()
      Returns null since SlideMasters doen't have master sheet.
      Specified by:
      getMasterSheet in interface Sheet<HSLFShape,HSLFTextParagraph>
      Specified by:
      getMasterSheet in class HSLFSheet
    • getPropCollection

      public TextPropCollection getPropCollection(int txtype, int level, String name, boolean isCharacter)
      Find the master collection for the given txtype/level/name. This is the "workhorse" which returns the default style attributes. If name = "*" return the current collection, otherwise if the name is not found in the current selection of txtype/level/name, first try lower levels then try parent types, if it wasn't found there return null.
      Specified by:
      getPropCollection in class HSLFMasterSheet
      Parameters:
      txtype - the TextHeaderAtom type
      level - the indent level of the paragraph, if the level is not defined for the found collection, the highest existing level will be used
      name - the property name,
      isCharacter - if true use character styles, otherwise use paragraph styles
    • getTxMasterStyleAtoms

      public TxMasterStyleAtom[] getTxMasterStyleAtoms()