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.
|
_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, removeShapeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlaceholderdraw, getBackground, getFollowMasterGraphics, getPlaceholderDetails, getSlideShowaddShape, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTextBox, getShapes, removeShapepublic HSLFSlideMaster(MainMaster record, int sheetNo)
public java.util.List<java.util.List<HSLFTextParagraph>> getTextParagraphs()
getTextParagraphs in class HSLFSheetpublic HSLFMasterSheet getMasterSheet()
null since SlideMasters doen't have master sheet.getMasterSheet in interface Sheet<HSLFShape,HSLFTextParagraph>getMasterSheet in class HSLFSheetpublic 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 HSLFMasterSheettxtype - 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 HSLFSheetprotected void onAddTextShape(HSLFTextShape shape)
HSLFSheetonAddTextShape in class HSLFSheetpublic TxMasterStyleAtom[] getTxMasterStyleAtoms()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.