public abstract class HSLFMasterSheet extends HSLFSheet implements MasterSheet<HSLFShape,HSLFTextParagraph>
Constructor and Description |
---|
HSLFMasterSheet(SheetContainer container,
int sheetNo) |
Modifier and Type | Method and Description |
---|---|
abstract TextPropCollection |
getPropCollection(int txtype,
int level,
java.lang.String name,
boolean isCharacter)
Find the master collection for the given txtype/level/name.
|
static boolean |
isPlaceholder(HSLFShape shape)
Deprecated.
|
_getSheetNumber, _getSheetRefId, addShape, allocateShapeId, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTextBox, draw, getBackground, getColorScheme, getFollowMasterGraphics, getHeadersFooters, getMasterSheet, getPlaceholder, getPlaceholderByTextType, getPlaceholderDetails, getPPDrawing, getProgrammableTag, getShapes, getSheetContainer, getSlideShow, getTextParagraphs, iterator, onAddTextShape, onCreate, removeShape, setSlideShow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlaceholder
draw, getBackground, getFollowMasterGraphics, getMasterSheet, getPlaceholderDetails, getSlideShow
addShape, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTextBox, getShapes, removeShape
public HSLFMasterSheet(SheetContainer container, int sheetNo)
public abstract 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
.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@Deprecated @Removal(version="4.1.0") public static boolean isPlaceholder(HSLFShape shape)
SimpleShape.isPlaceholder()
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.