Package com.itextpdf.text.pdf
Class PdfPHeaderCell
- java.lang.Object
-
- com.itextpdf.text.Rectangle
-
- com.itextpdf.text.pdf.PdfPCell
-
- com.itextpdf.text.pdf.PdfPHeaderCell
-
- All Implemented Interfaces:
Element
,IAccessibleElement
public class PdfPHeaderCell extends PdfPCell
Created by IntelliJ IDEA. User: denis.koleda Date: 12/21/12 Time: 9:57 AM To change this template use File | Settings | File Templates.
-
-
Field Summary
Fields Modifier and Type Field Description static int
BOTH
this is a possible style.static int
COLUMN
this is a possible style.protected java.lang.String
name
static int
NONE
this is a possible style.static int
ROW
this is a possible style.protected int
scope
-
Fields inherited from class com.itextpdf.text.pdf.PdfPCell
accessibleAttributes, headers, id, phrase, role
-
Fields inherited from class com.itextpdf.text.Rectangle
backgroundColor, border, borderColor, borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderWidth, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop, BOTTOM, BOX, LEFT, llx, lly, NO_BORDER, RIGHT, TOP, UNDEFINED, urx, ury, useVariableBorders
-
Fields inherited from interface com.itextpdf.text.Element
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, BODY, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CHAPTER, CHUNK, CREATIONDATE, CREATOR, DIV, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LANGUAGE, LIST, LISTITEM, MARKED, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARK
-
-
Constructor Summary
Constructors Constructor Description PdfPHeaderCell()
PdfPHeaderCell(PdfPHeaderCell headerCell)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
PdfName
getRole()
Gets the role of the accessible element.int
getScope()
void
setName(java.lang.String name)
void
setRole(PdfName role)
Sets the role of the accessiblee element.void
setScope(int scope)
-
Methods inherited from class com.itextpdf.text.pdf.PdfPCell
addElement, addHeader, getAccessibleAttribute, getAccessibleAttributes, getArabicOptions, getCachedMaxHeight, getCalculatedHeight, getCellEvent, getColspan, getColumn, getCompositeElements, getEffectivePaddingBottom, getEffectivePaddingLeft, getEffectivePaddingRight, getEffectivePaddingTop, getExtraParagraphSpace, getFixedHeight, getFollowingIndent, getHeaders, getHorizontalAlignment, getId, getImage, getIndent, getLeading, getMaxHeight, getMinimumHeight, getMultipliedLeading, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPhrase, getRightIndent, getRotation, getRowspan, getRunDirection, getSpaceCharRatio, getTable, getVerticalAlignment, hasCachedMaxHeight, hasCalculatedHeight, hasFixedHeight, hasMinimumHeight, isInline, isNoWrap, isUseAscender, isUseBorderPadding, isUseDescender, setAccessibleAttribute, setArabicOptions, setCalculatedHeight, setCellEvent, setColspan, setColumn, setExtraParagraphSpace, setFixedHeight, setFollowingIndent, setHorizontalAlignment, setId, setImage, setIndent, setLeading, setMinimumHeight, setNoWrap, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPhrase, setRightIndent, setRotation, setRowspan, setRunDirection, setSpaceCharRatio, setTable, setUseAscender, setUseBorderPadding, setUseDescender, setVerticalAlignment
-
Methods inherited from class com.itextpdf.text.Rectangle
cloneNonPositionParameters, disableBorderSide, enableBorderSide, equals, getBackgroundColor, getBorder, getBorderColor, getBorderColorBottom, getBorderColorLeft, getBorderColorRight, getBorderColorTop, getBorderWidth, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getBottom, getBottom, getChunks, getGrayFill, getHeight, getLeft, getLeft, getRight, getRight, getTop, getTop, getWidth, hasBorder, hasBorders, isContent, isNestable, isUseVariableBorders, normalize, process, rectangle, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderWidth, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop, setBottom, setGrayFill, setLeft, setRight, setTop, setUseVariableBorders, softCloneNonPositionParameters, toString, type
-
-
-
-
Field Detail
-
NONE
public static final int NONE
this is a possible style.- See Also:
- Constant Field Values
-
ROW
public static final int ROW
this is a possible style.- See Also:
- Constant Field Values
-
COLUMN
public static final int COLUMN
this is a possible style.- See Also:
- Constant Field Values
-
BOTH
public static final int BOTH
this is a possible style.- See Also:
- Constant Field Values
-
scope
protected int scope
-
name
protected java.lang.String name
-
-
Constructor Detail
-
PdfPHeaderCell
public PdfPHeaderCell()
-
PdfPHeaderCell
public PdfPHeaderCell(PdfPHeaderCell headerCell)
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
-
getName
public java.lang.String getName()
-
getRole
public PdfName getRole()
Description copied from interface:IAccessibleElement
Gets the role of the accessible element.- Specified by:
getRole
in interfaceIAccessibleElement
- Overrides:
getRole
in classPdfPCell
- Returns:
-
setRole
public void setRole(PdfName role)
Description copied from interface:IAccessibleElement
Sets the role of the accessiblee element. Set role tonull
if you don't want to tag this element. Note that all child elements won't also be tagged.- Specified by:
setRole
in interfaceIAccessibleElement
- Overrides:
setRole
in classPdfPCell
-
setScope
public void setScope(int scope)
-
getScope
public int getScope()
-
-