Tag
public class PageBreakTag extends BaseTag
A PageBreakTag
turns on or turns off whether a column or a
row has a page break on it. It must be bodiless.
BaseTag
.String
RichTextString
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ATTR_DISPLAY |
Attribute that specifies the display value of the cell after this tag
has been processed, if any.
|
static java.lang.String |
ATTR_TYPE |
Attribute that specifies which page breaks to clear and/or set at the
bottom and to the right of the current cell.
|
static java.lang.String |
TYPE_BOTH |
Attribute value that specifies to set a row break below the
current cell and a column break to the right of the current cell.
|
static java.lang.String |
TYPE_COLS |
Attribute value that specifies to clear any row break below the
current cell and set a column break to the right of the current cell.
|
static java.lang.String |
TYPE_NONE |
Attribute value that specifies to clear both any row break below the
current cell and any column break to the right of the current cell.
|
static java.lang.String |
TYPE_ROWS |
Attribute value that specifies to set a row break below the
current cell and clear any column break to the right of the current cell.
|
ATTR_ON_PROCESSED, SPEC_SEP
Constructor | Description |
---|---|
PageBreakTag() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getName() |
Returns this
Tag's name. |
protected java.util.List<java.lang.String> |
getOptionalAttributes() |
Returns a
List of optional attribute names. |
protected java.util.List<java.lang.String> |
getRequiredAttributes() |
Returns a
List of required attribute names. |
boolean |
process() |
Sets the given variable name to the given value.
|
void |
validateAttributes() |
Validates the attributes for this
Tag . |
checkAttributes, clearBlock, deleteBlock, getAttributes, getContext, getLocation, getParentTag, getWorkbookContext, isBodiless, processTag, removeBlock, setAttributes, setBodiless, setContext, setParentTag, setWorkbookContext
public static final java.lang.String ATTR_TYPE
public static final java.lang.String ATTR_DISPLAY
public static final java.lang.String TYPE_NONE
public static final java.lang.String TYPE_ROWS
public static final java.lang.String TYPE_COLS
public static final java.lang.String TYPE_BOTH
public java.lang.String getName()
Tag's
name.Tag's
name.protected java.util.List<java.lang.String> getRequiredAttributes()
List
of required attribute names.getRequiredAttributes
in class BaseTag
List
of required attribute names.protected java.util.List<java.lang.String> getOptionalAttributes()
List
of optional attribute names.getOptionalAttributes
in class BaseTag
List
of optional attribute names.public void validateAttributes() throws TagParseException
Tag
. The "type"
attribute must be present.validateAttributes
in class BaseTag
TagParseException
- If the attribute values are illegal or
unacceptable.Copyright © 2012–2018 Jett Team. All rights reserved.