public final class HSLFSlideMaster extends HSLFMasterSheet
Constructor and Description |
---|
HSLFSlideMaster(MainMaster record,
int sheetNo)
Constructs a SlideMaster from the MainMaster record,
|
Modifier and Type | Method and Description |
---|---|
HSLFMasterSheet |
getMasterSheet()
Returns
null since SlideMasters doen't have master sheet. |
TextPropCollection |
getPropCollection(int txtype,
int level,
java.lang.String name,
boolean isCharacter)
Find the master collection for the given txtype/level/name.
|
java.util.List<java.util.List<HSLFTextParagraph>> |
getTextParagraphs()
Returns an array of all the TextRuns found
|
TxMasterStyleAtom[] |
getTxMasterStyleAtoms() |
protected void |
onAddTextShape(HSLFTextShape shape)
Subclasses should call this method and update the array of text runs
when a text shape is added
|
protected void |
setSlideShow(HSLFSlideShow ss)
Assign SlideShow for this slide master.
|
isPlaceholder
_getSheetNumber, _getSheetRefId, addShape, allocateShapeId, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTextBox, draw, getBackground, getColorScheme, getFollowMasterGraphics, getHeadersFooters, getPlaceholder, getPlaceholderByTextType, getPlaceholderDetails, getPPDrawing, getProgrammableTag, getShapes, getSheetContainer, getSlideShow, iterator, onCreate, removeShape
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlaceholder
draw, getBackground, getFollowMasterGraphics, getPlaceholderDetails, getSlideShow
addShape, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTextBox, getShapes, removeShape
public HSLFSlideMaster(MainMaster record, int sheetNo)
public java.util.List<java.util.List<HSLFTextParagraph>> getTextParagraphs()
getTextParagraphs
in class HSLFSheet
public HSLFMasterSheet getMasterSheet()
null
since SlideMasters doen't have master sheet.getMasterSheet
in interface Sheet<HSLFShape,HSLFTextParagraph>
getMasterSheet
in class HSLFSheet
public TextPropCollection getPropCollection(int txtype, int level, java.lang.String name, boolean isCharacter)
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
.getPropCollection
in class HSLFMasterSheet
txtype
- the TextHeaderAtom
typelevel
- the indent level of the paragraph, if the level is not defined for the found
collection, the highest existing level will be usedname
- the property name,isCharacter
- if true
use character styles, otherwise use paragraph styles@Internal protected void setSlideShow(HSLFSlideShow ss)
setSlideShow
in class HSLFSheet
protected void onAddTextShape(HSLFTextShape shape)
HSLFSheet
onAddTextShape
in class HSLFSheet
public TxMasterStyleAtom[] getTxMasterStyleAtoms()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.