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.
(查找给定 txtype/level/name 的主集合。)
|
_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/level/name 的主集合。这是返回默认样式属性的“主力”。如果 name = "*" 返回当前集合,否则如果在当前选择的 txtype/level/name 中没有找到该名称,则先尝试较低级别然后尝试父类型,如果没有找到则返回 null。)
txtype
- the
TextHeaderAtom
type
(txtype - TextHeaderAtom 类型)
level
- the indent level of the paragraph, if the level is not defined for the found collection, the highest existing level will be used
(level - 段落的缩进级别,如果没有为找到的集合定义级别,将使用现有的最高级别)
name
- the property name,
(name - 属性名称,)
isCharacter
- if
true
use character styles, otherwise use paragraph styles
(isCharacter - 如果 true 使用字符样式,否则使用段落样式)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.