COSObjectable
PDExportFormatAttributeObject
public class PDLayoutAttributeObject extends PDStandardAttributeObject
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
BLOCK_ALIGN_AFTER |
BlockAlign: After: After edge of the last child's allocation rectangle
aligned with that of the table cell's content rectangle.
|
static java.lang.String |
BLOCK_ALIGN_BEFORE |
BlockAlign: Before: Before edge of the first child's allocation rectangle
aligned with that of the table cell's content rectangle.
|
static java.lang.String |
BLOCK_ALIGN_JUSTIFY |
BlockAlign: Justify: Children aligned with both the before and after
edges of the table cell's content rectangle.
|
static java.lang.String |
BLOCK_ALIGN_MIDDLE |
BlockAlign: Middle: Children centered within the table cell.
|
static java.lang.String |
BORDER_STYLE_DASHED |
BorderStyle: Dashed: The border is a series of short line segments.
|
static java.lang.String |
BORDER_STYLE_DOTTED |
BorderStyle: Dotted: The border is a series of dots.
|
static java.lang.String |
BORDER_STYLE_DOUBLE |
BorderStyle: Double: The border is two solid lines.
|
static java.lang.String |
BORDER_STYLE_GROOVE |
BorderStyle: Groove: The border looks as though it were carved into the
canvas.
|
static java.lang.String |
BORDER_STYLE_HIDDEN |
BorderStyle: Hidden: Same as
BORDER_STYLE_NONE , except in terms
of border conflict resolution for table elements. |
static java.lang.String |
BORDER_STYLE_INSET |
BorderStyle: Inset: The border makes the entire box look as though it
were embedded in the canvas.
|
static java.lang.String |
BORDER_STYLE_NONE |
BorderStyle: None: No border.
|
static java.lang.String |
BORDER_STYLE_OUTSET |
BorderStyle: Outset: The border makes the entire box look as though it
were coming out of the canvas (the opposite of
BORDER_STYLE_INSET . |
static java.lang.String |
BORDER_STYLE_RIDGE |
BorderStyle: Ridge: The border looks as though it were coming out of the
canvas (the opposite of
BORDER_STYLE_GROOVE ). |
static java.lang.String |
BORDER_STYLE_SOLID |
BorderStyle: Solid: The border is a single line segment.
|
static java.lang.String |
GLYPH_ORIENTATION_VERTICAL_180_DEGREES |
GlyphOrientationVertical: 180 degrees
|
static java.lang.String |
GLYPH_ORIENTATION_VERTICAL_270_DEGREES |
GlyphOrientationVertical: 270 degrees
|
static java.lang.String |
GLYPH_ORIENTATION_VERTICAL_360_DEGREES |
GlyphOrientationVertical: 360 degrees
|
static java.lang.String |
GLYPH_ORIENTATION_VERTICAL_90_DEGREES |
GlyphOrientationVertical: 90 degrees
|
static java.lang.String |
GLYPH_ORIENTATION_VERTICAL_AUTO |
GlyphOrientationVertical: Auto
|
static java.lang.String |
GLYPH_ORIENTATION_VERTICAL_MINUS_180_DEGREES |
GlyphOrientationVertical: -180 degrees
|
static java.lang.String |
GLYPH_ORIENTATION_VERTICAL_MINUS_90_DEGREES |
GlyphOrientationVertical: -90 degrees
|
static java.lang.String |
GLYPH_ORIENTATION_VERTICAL_ZERO_DEGREES |
GlyphOrientationVertical: 0 degrees
|
static java.lang.String |
HEIGHT_AUTO |
Height: Auto
|
static java.lang.String |
INLINE_ALIGN_CENTER |
InlineAlign: Center: Each child centered within the table cell.
|
static java.lang.String |
INLINE_ALIGN_END |
InlineAlign: End: End edge of each child's allocation rectangle aligned
with that of the table cell's content rectangle.
|
static java.lang.String |
INLINE_ALIGN_START |
InlineAlign: Start: Start edge of each child's allocation rectangle
aligned with that of the table cell's content rectangle.
|
static java.lang.String |
LINE_HEIGHT_AUTO |
LineHeight: Auto: Adjustment for the value of BaselineShift shall not be
made.
|
static java.lang.String |
LINE_HEIGHT_NORMAL |
LineHeight: NormalAdjust the line height to include any nonzero value
specified for BaselineShift.
|
static java.lang.String |
OWNER_LAYOUT |
standard attribute owner: Layout
|
static java.lang.String |
PLACEMENT_BEFORE |
Placement: Before: Placed so that the before edge of the element's
allocation rectangle coincides with that of the nearest enclosing
reference area.
|
static java.lang.String |
PLACEMENT_BLOCK |
Placement: Block: Stacked in the block-progression direction within an
enclosing reference area or parent BLSE.
|
static java.lang.String |
PLACEMENT_END |
Placement: End: Placed so that the end edge of the element's allocation
rectangle coincides with that of the nearest enclosing reference area.
|
static java.lang.String |
PLACEMENT_INLINE |
Placement: Inline: Packed in the inline-progression direction within an
enclosing BLSE.
|
static java.lang.String |
PLACEMENT_START |
Placement: Start: Placed so that the start edge of the element's
allocation rectangle coincides with that of the nearest enclosing
reference area.
|
static java.lang.String |
RUBY_ALIGN_CENTER |
RubyAlign: Center: The content shall be centered in the
inline-progression direction.
|
static java.lang.String |
RUBY_ALIGN_DISTRIBUTE |
RubyAlign: Distribute: The content shall be expanded to fill the
available width in the inline-progression direction.
|
static java.lang.String |
RUBY_ALIGN_END |
RubyAlign: End: The content shall be aligned on the end edge in the
inline-progression direction.
|
static java.lang.String |
RUBY_ALIGN_JUSTIFY |
RubyAlign: Justify: The content shall be expanded to fill the available
width in the inline-progression direction.
|
static java.lang.String |
RUBY_ALIGN_START |
RubyAlign: Start: The content shall be aligned on the start edge in the
inline-progression direction.
|
static java.lang.String |
RUBY_POSITION_AFTER |
RubyPosition: After: The RT content shall be aligned along the after edge
of the element.
|
static java.lang.String |
RUBY_POSITION_BEFORE |
RubyPosition: Before: The RT content shall be aligned along the before
edge of the element.
|
static java.lang.String |
RUBY_POSITION_INLINE |
RubyPosition: Inline: The RT and associated RP elements shall be
formatted as a parenthesis comment, following the RB element.
|
static java.lang.String |
RUBY_POSITION_WARICHU |
RubyPosition: Warichu: The RT and associated RP elements shall be
formatted as a warichu, following the RB element.
|
static java.lang.String |
TEXT_ALIGN_CENTER |
TextAlign: Center: Centered between the start and end edges.
|
static java.lang.String |
TEXT_ALIGN_END |
TextAlign: End: Aligned with the end edge.
|
static java.lang.String |
TEXT_ALIGN_JUSTIFY |
TextAlign: Justify: Aligned with both the start and end edges, with
internal spacing within each line expanded, if necessary, to achieve such
alignment.
|
static java.lang.String |
TEXT_ALIGN_START |
TextAlign: Start: Aligned with the start edge.
|
static java.lang.String |
TEXT_DECORATION_TYPE_LINE_THROUGH |
TextDecorationType: LineThrough: A line through the middle of the text
|
static java.lang.String |
TEXT_DECORATION_TYPE_NONE |
TextDecorationType: None: No text decoration
|
static java.lang.String |
TEXT_DECORATION_TYPE_OVERLINE |
TextDecorationType: Overline: A line above the text
|
static java.lang.String |
TEXT_DECORATION_TYPE_UNDERLINE |
TextDecorationType: Underline: A line below the text
|
static java.lang.String |
WIDTH_AUTO |
Width: Auto
|
static java.lang.String |
WRITING_MODE_LRTB |
WritingMode: LrTb: Inline progression from left to right; block
progression from top to bottom.
|
static java.lang.String |
WRITING_MODE_RLTB |
WritingMode: RlTb: Inline progression from right to left; block
progression from top to bottom.
|
static java.lang.String |
WRITING_MODE_TBRL |
WritingMode: TbRl: Inline progression from top to bottom; block
progression from right to left.
|
UNSPECIFIED
Constructor | Description |
---|---|
PDLayoutAttributeObject() |
Default constructor.
|
PDLayoutAttributeObject(COSDictionary dictionary) |
Creates a new Layout attribute object with a given dictionary.
|
Modifier and Type | Method | Description |
---|---|---|
PDGamma |
getBackgroundColor() |
Gets the background colour (BackgroundColor).
|
float |
getBaselineShift() |
Gets the distance by which the element's baseline shall be shifted
relative to that of its parent element (BaselineShift).
|
PDRectangle |
getBBox() |
Gets the bounding box.
|
java.lang.String |
getBlockAlign() |
Gets the alignment, in the block-progression direction, of content within
the table cell (BlockAlign).
|
java.lang.Object |
getBorderColors() |
Gets the border colour (BorderColor).
|
java.lang.Object |
getBorderStyle() |
Gets the border style (BorderStyle).
|
java.lang.Object |
getBorderThickness() |
Gets the border thickness (BorderThickness).
|
PDGamma |
getColor() |
Gets the color to be used for drawing text and the default value for the
colour of table borders and text decorations (Color).
|
int |
getColumnCount() |
Gets the number of columns in the content of the grouping element
(ColumnCount).
|
java.lang.Object |
getColumnGap() |
Gets the desired space between adjacent columns in the inline-progression
direction (ColumnGap).
|
java.lang.Object |
getColumnWidths() |
Gets the desired width of the columns, measured in default user space
units in the inline-progression direction (ColumnWidths).
|
float |
getEndIndent() |
Gets the distance from the end edge of the BLSE to that of the reference
area in the inline-progression direction (EndIndent).
|
java.lang.String |
getGlyphOrientationVertical() |
Gets the orientation of glyphs when the inline-progression direction is
top to bottom or bottom to top (GlyphOrientationVertical).
|
java.lang.Object |
getHeight() |
Gets the height of the element's content rectangle in the
block-progression direction (Height).
|
java.lang.String |
getInlineAlign() |
Gets the alignment, in the inline-progression direction, of content
within the table cell (InlineAlign).
|
java.lang.Object |
getLineHeight() |
Gets the element's preferred height in the block-progression direction
(LineHeight).
|
java.lang.Object |
getPadding() |
Gets the padding (Padding).
|
java.lang.String |
getPlacement() |
Gets the positioning of the element with respect to the enclosing
reference area and other content (Placement).
|
java.lang.String |
getRubyAlign() |
Gets the justification of the lines within a ruby assembly (RubyAlign).
|
java.lang.String |
getRubyPosition() |
Gets the placement of the RT structure element relative to the RB element
in a ruby assembly (RubyPosition).
|
float |
getSpaceAfter() |
Gets the amount of extra space following the after edge of the BLSE in
the block-progression direction (SpaceAfter).
|
float |
getSpaceBefore() |
Gets the amount of extra space preceding the before edge of the BLSE in
the block-progression direction (SpaceBefore).
|
float |
getStartIndent() |
Gets the distance from the start edge of the reference area to that of
the BLSE in the inline-progression direction (StartIndent).
|
java.lang.Object |
getTBorderStyle() |
Gets the style of the border drawn on each edge of a table cell
(TBorderStyle).
|
java.lang.String |
getTextAlign() |
Gets the alignment, in the inline-progression direction, of text and
other content within lines of the BLSE (TextAlign).
|
PDGamma |
getTextDecorationColor() |
Gets the colour to be used for drawing text decorations
(TextDecorationColor).
|
float |
getTextDecorationThickness() |
Gets the thickness of each line drawn as part of the text decoration
(TextDecorationThickness).
|
java.lang.String |
getTextDecorationType() |
Gets the type of text decoration (TextDecorationType).
|
float |
getTextIndent() |
Gets the additional distance in the inline-progression direction from the
start edge of the BLSE, as specified by StartIndent, to that of the first
line of text (TextIndent).
|
java.lang.Object |
getTPadding() |
Gets the offset to account for the separation between the table cell's
content rectangle and the surrounding border (TPadding).
|
java.lang.Object |
getWidth() |
Gets the width of the element's content rectangle in the
inline-progression direction (Width).
|
java.lang.String |
getWritingMode() |
Gets the writing mode (WritingMode).
|
void |
setAllBorderColors(PDGamma borderColor) |
Sets the same border colour for all four sides (BorderColor).
|
void |
setAllBorderStyles(java.lang.String borderStyle) |
Sets the same border style for all four sides (BorderStyle).
|
void |
setAllBorderThicknesses(float borderThickness) |
Sets the same border thickness for all four sides (BorderThickness).
|
void |
setAllBorderThicknesses(int borderThickness) |
Sets the same border thickness for all four sides (BorderThickness).
|
void |
setAllColumnWidths(float columnWidth) |
Sets the same column width for all columns (ColumnWidths).
|
void |
setAllColumnWidths(int columnWidth) |
Sets the same column width for all columns (ColumnWidths).
|
void |
setAllPaddings(float padding) |
Sets the same padding for all four sides (Padding).
|
void |
setAllPaddings(int padding) |
Sets the same padding for all four sides (Padding).
|
void |
setAllTBorderStyles(java.lang.String tBorderStyle) |
Sets the same table border style for all four sides (TBorderStyle).
|
void |
setAllTPaddings(float tPadding) |
Sets the same table padding for all four sides (TPadding).
|
void |
setAllTPaddings(int tPadding) |
Sets the same table padding for all four sides (TPadding).
|
void |
setBackgroundColor(PDGamma backgroundColor) |
Sets the background colour (BackgroundColor).
|
void |
setBaselineShift(float baselineShift) |
Sets the distance by which the element's baseline shall be shifted
relative to that of its parent element (BaselineShift).
|
void |
setBaselineShift(int baselineShift) |
Sets the distance by which the element's baseline shall be shifted
relative to that of its parent element (BaselineShift).
|
void |
setBBox(PDRectangle bbox) |
Sets the bounding box.
|
void |
setBlockAlign(java.lang.String blockAlign) |
Sets the alignment, in the block-progression direction, of content within
the table cell (BlockAlign).
|
void |
setBorderColors(PDFourColours borderColors) |
Sets the border colours for four sides separately (BorderColor).
|
void |
setBorderStyles(java.lang.String[] borderStyles) |
Sets the border styles for four sides separately (BorderStyle).
|
void |
setBorderThicknesses(float[] borderThicknesses) |
Sets the border thicknesses for four sides separately (BorderThickness).
|
void |
setColor(PDGamma color) |
Sets the color to be used for drawing text and the default value for the
colour of table borders and text decorations (Color).
|
void |
setColumnCount(int columnCount) |
Sets the number of columns in the content of the grouping element
(ColumnCount).
|
void |
setColumnGap(float columnGap) |
Sets the desired space between all columns in the inline-progression
direction (ColumnGap).
|
void |
setColumnGap(int columnGap) |
Sets the desired space between all columns in the inline-progression
direction (ColumnGap).
|
void |
setColumnGaps(float[] columnGaps) |
Sets the desired space between adjacent columns in the inline-progression
direction (ColumnGap), the first element specifying the space between the
first and second columns, the second specifying the space between the
second and third columns, and so on.
|
void |
setColumnWidths(float[] columnWidths) |
Sets the column widths for the columns separately (ColumnWidths).
|
void |
setEndIndent(float endIndent) |
Sets the distance from the end edge of the BLSE to that of the reference
area in the inline-progression direction (EndIndent).
|
void |
setEndIndent(int endIndent) |
Sets the distance from the end edge of the BLSE to that of the reference
area in the inline-progression direction (EndIndent).
|
void |
setGlyphOrientationVertical(java.lang.String glyphOrientationVertical) |
Sets the orientation of glyphs when the inline-progression direction is
top to bottom or bottom to top (GlyphOrientationVertical).
|
void |
setHeight(float height) |
Sets the height of the element's content rectangle in the
block-progression direction (Height).
|
void |
setHeight(int height) |
Sets the height of the element's content rectangle in the
block-progression direction (Height).
|
void |
setHeightAuto() |
Sets the height of the element's content rectangle in the
block-progression direction (Height) to
HEIGHT_AUTO . |
void |
setInlineAlign(java.lang.String inlineAlign) |
Sets the alignment, in the inline-progression direction, of content
within the table cell (InlineAlign).
|
void |
setLineHeight(float lineHeight) |
Sets the element's preferred height in the block-progression direction
(LineHeight).
|
void |
setLineHeight(int lineHeight) |
Sets the element's preferred height in the block-progression direction
(LineHeight).
|
void |
setLineHeightAuto() |
Sets the element's preferred height in the block-progression direction
(LineHeight) to
LINE_HEIGHT_AUTO . |
void |
setLineHeightNormal() |
Sets the element's preferred height in the block-progression direction
(LineHeight) to
LINE_HEIGHT_NORMAL . |
void |
setPaddings(float[] paddings) |
Sets the paddings for four sides separately (Padding).
|
void |
setPlacement(java.lang.String placement) |
Sets the positioning of the element with respect to the enclosing
reference area and other content (Placement).
|
void |
setRubyAlign(java.lang.String rubyAlign) |
Sets the justification of the lines within a ruby assembly (RubyAlign).
|
void |
setRubyPosition(java.lang.String rubyPosition) |
Sets the placement of the RT structure element relative to the RB element
in a ruby assembly (RubyPosition).
|
void |
setSpaceAfter(float spaceAfter) |
Sets the amount of extra space following the after edge of the BLSE in
the block-progression direction (SpaceAfter).
|
void |
setSpaceAfter(int spaceAfter) |
Sets the amount of extra space following the after edge of the BLSE in
the block-progression direction (SpaceAfter).
|
void |
setSpaceBefore(float spaceBefore) |
Sets the amount of extra space preceding the before edge of the BLSE in
the block-progression direction (SpaceBefore).
|
void |
setSpaceBefore(int spaceBefore) |
Sets the amount of extra space preceding the before edge of the BLSE in
the block-progression direction (SpaceBefore).
|
void |
setStartIndent(float startIndent) |
Sets the distance from the start edge of the reference area to that of
the BLSE in the inline-progression direction (StartIndent).
|
void |
setStartIndent(int startIndent) |
Sets the distance from the start edge of the reference area to that of
the BLSE in the inline-progression direction (StartIndent).
|
void |
setTBorderStyles(java.lang.String[] tBorderStyles) |
Sets the style of the border drawn on each edge of a table cell
(TBorderStyle).
|
void |
setTextAlign(java.lang.String textIndent) |
Sets the alignment, in the inline-progression direction, of text and
other content within lines of the BLSE (TextAlign).
|
void |
setTextDecorationColor(PDGamma textDecorationColor) |
Sets the colour to be used for drawing text decorations
(TextDecorationColor).
|
void |
setTextDecorationThickness(float textDecorationThickness) |
Sets the thickness of each line drawn as part of the text decoration
(TextDecorationThickness).
|
void |
setTextDecorationThickness(int textDecorationThickness) |
Sets the thickness of each line drawn as part of the text decoration
(TextDecorationThickness).
|
void |
setTextDecorationType(java.lang.String textDecorationType) |
Sets the type of text decoration (TextDecorationType).
|
void |
setTextIndent(float textIndent) |
Sets the additional distance in the inline-progression direction from the
start edge of the BLSE, as specified by StartIndent, to that of the first
line of text (TextIndent).
|
void |
setTextIndent(int textIndent) |
Sets the additional distance in the inline-progression direction from the
start edge of the BLSE, as specified by StartIndent, to that of the first
line of text (TextIndent).
|
void |
setTPaddings(float[] tPaddings) |
Sets the table paddings for four sides separately (TPadding).
|
void |
setWidth(float width) |
Sets the width of the element's content rectangle in the
inline-progression direction (Width).
|
void |
setWidth(int width) |
Sets the width of the element's content rectangle in the
inline-progression direction (Width).
|
void |
setWidthAuto() |
Sets the width of the element's content rectangle in the
inline-progression direction (Width) to
WIDTH_AUTO . |
void |
setWritingMode(java.lang.String writingMode) |
Sets the writing mode (WritingMode).
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
arrayToString, arrayToString, create, getOwner, isEmpty, notifyChanged, potentiallyNotifyChanged, setOwner, setStructureElement
equals, getCOSDictionary, getCOSObject, hashCode
getArrayOfString, getColor, getColorOrFourColors, getInteger, getName, getName, getNameOrArrayOfName, getNumber, getNumber, getNumberOrArrayOfNumber, getNumberOrName, getString, isSpecified, setArrayOfName, setArrayOfNumber, setArrayOfString, setColor, setFourColors, setInteger, setName, setNumber, setNumber, setString
public static final java.lang.String OWNER_LAYOUT
public static final java.lang.String PLACEMENT_BLOCK
public static final java.lang.String PLACEMENT_INLINE
public static final java.lang.String PLACEMENT_BEFORE
public static final java.lang.String PLACEMENT_START
public static final java.lang.String PLACEMENT_END
public static final java.lang.String WRITING_MODE_LRTB
public static final java.lang.String WRITING_MODE_RLTB
public static final java.lang.String WRITING_MODE_TBRL
public static final java.lang.String BORDER_STYLE_NONE
public static final java.lang.String BORDER_STYLE_HIDDEN
BORDER_STYLE_NONE
, except in terms
of border conflict resolution for table elements.public static final java.lang.String BORDER_STYLE_DOTTED
public static final java.lang.String BORDER_STYLE_DASHED
public static final java.lang.String BORDER_STYLE_SOLID
public static final java.lang.String BORDER_STYLE_DOUBLE
public static final java.lang.String BORDER_STYLE_GROOVE
public static final java.lang.String BORDER_STYLE_RIDGE
BORDER_STYLE_GROOVE
).public static final java.lang.String BORDER_STYLE_INSET
public static final java.lang.String BORDER_STYLE_OUTSET
BORDER_STYLE_INSET
.public static final java.lang.String TEXT_ALIGN_START
public static final java.lang.String TEXT_ALIGN_CENTER
public static final java.lang.String TEXT_ALIGN_END
public static final java.lang.String TEXT_ALIGN_JUSTIFY
public static final java.lang.String WIDTH_AUTO
public static final java.lang.String HEIGHT_AUTO
public static final java.lang.String BLOCK_ALIGN_BEFORE
public static final java.lang.String BLOCK_ALIGN_MIDDLE
public static final java.lang.String BLOCK_ALIGN_AFTER
public static final java.lang.String BLOCK_ALIGN_JUSTIFY
BLOCK_ALIGN_BEFORE
and the last child as
described for BLOCK_ALIGN_AFTER
, with equal spacing between the
children. If there is only one child, it shall be aligned with the before
edge only, as for BLOCK_ALIGN_BEFORE
.public static final java.lang.String INLINE_ALIGN_START
public static final java.lang.String INLINE_ALIGN_CENTER
public static final java.lang.String INLINE_ALIGN_END
public static final java.lang.String LINE_HEIGHT_NORMAL
public static final java.lang.String LINE_HEIGHT_AUTO
public static final java.lang.String TEXT_DECORATION_TYPE_NONE
public static final java.lang.String TEXT_DECORATION_TYPE_UNDERLINE
public static final java.lang.String TEXT_DECORATION_TYPE_OVERLINE
public static final java.lang.String TEXT_DECORATION_TYPE_LINE_THROUGH
public static final java.lang.String RUBY_ALIGN_START
public static final java.lang.String RUBY_ALIGN_CENTER
public static final java.lang.String RUBY_ALIGN_END
public static final java.lang.String RUBY_ALIGN_JUSTIFY
public static final java.lang.String RUBY_ALIGN_DISTRIBUTE
public static final java.lang.String RUBY_POSITION_BEFORE
public static final java.lang.String RUBY_POSITION_AFTER
public static final java.lang.String RUBY_POSITION_WARICHU
public static final java.lang.String RUBY_POSITION_INLINE
public static final java.lang.String GLYPH_ORIENTATION_VERTICAL_AUTO
public static final java.lang.String GLYPH_ORIENTATION_VERTICAL_MINUS_180_DEGREES
public static final java.lang.String GLYPH_ORIENTATION_VERTICAL_MINUS_90_DEGREES
public static final java.lang.String GLYPH_ORIENTATION_VERTICAL_ZERO_DEGREES
public static final java.lang.String GLYPH_ORIENTATION_VERTICAL_90_DEGREES
public static final java.lang.String GLYPH_ORIENTATION_VERTICAL_180_DEGREES
public static final java.lang.String GLYPH_ORIENTATION_VERTICAL_270_DEGREES
public static final java.lang.String GLYPH_ORIENTATION_VERTICAL_360_DEGREES
public PDLayoutAttributeObject()
public PDLayoutAttributeObject(COSDictionary dictionary)
dictionary
- the dictionarypublic java.lang.String getPlacement()
PLACEMENT_INLINE
.public void setPlacement(java.lang.String placement)
placement
- the placementpublic java.lang.String getWritingMode()
WRITING_MODE_LRTB
.public void setWritingMode(java.lang.String writingMode)
writingMode
- the writing modepublic PDGamma getBackgroundColor()
public void setBackgroundColor(PDGamma backgroundColor)
backgroundColor
- the background colourpublic java.lang.Object getBorderColors()
PDGamma
) or four border colours
(PDFourColours
)public void setAllBorderColors(PDGamma borderColor)
borderColor
- the border colourpublic void setBorderColors(PDFourColours borderColors)
borderColors
- the border colourspublic java.lang.Object getBorderStyle()
BORDER_STYLE_NONE
.public void setAllBorderStyles(java.lang.String borderStyle)
borderStyle
- the border stylepublic void setBorderStyles(java.lang.String[] borderStyles)
borderStyles
- the border styles (an array of four Strings)public java.lang.Object getBorderThickness()
public void setAllBorderThicknesses(float borderThickness)
borderThickness
- the border thicknesspublic void setAllBorderThicknesses(int borderThickness)
borderThickness
- the border thicknesspublic void setBorderThicknesses(float[] borderThicknesses)
borderThicknesses
- the border thickness (an array of four floats)public java.lang.Object getPadding()
public void setAllPaddings(float padding)
padding
- the paddingpublic void setAllPaddings(int padding)
padding
- the paddingpublic void setPaddings(float[] paddings)
paddings
- the paddings (an array of four floats)public PDGamma getColor()
public void setColor(PDGamma color)
color
- the colourpublic float getSpaceBefore()
public void setSpaceBefore(float spaceBefore)
spaceBefore
- the space beforepublic void setSpaceBefore(int spaceBefore)
spaceBefore
- the space beforepublic float getSpaceAfter()
public void setSpaceAfter(float spaceAfter)
spaceAfter
- the space afterpublic void setSpaceAfter(int spaceAfter)
spaceAfter
- the space afterpublic float getStartIndent()
public void setStartIndent(float startIndent)
startIndent
- the start indentpublic void setStartIndent(int startIndent)
startIndent
- the start indentpublic float getEndIndent()
public void setEndIndent(float endIndent)
endIndent
- the end indentpublic void setEndIndent(int endIndent)
endIndent
- the end indentpublic float getTextIndent()
public void setTextIndent(float textIndent)
textIndent
- the text indentpublic void setTextIndent(int textIndent)
textIndent
- the text indentpublic java.lang.String getTextAlign()
TEXT_ALIGN_START
.public void setTextAlign(java.lang.String textIndent)
textIndent
- the text alignmentpublic PDRectangle getBBox()
public void setBBox(PDRectangle bbox)
bbox
- the bounding boxpublic java.lang.Object getWidth()
WIDTH_AUTO
.public void setWidthAuto()
WIDTH_AUTO
.public void setWidth(float width)
width
- the widthpublic void setWidth(int width)
width
- the widthpublic java.lang.Object getHeight()
HEIGHT_AUTO
.public void setHeightAuto()
HEIGHT_AUTO
.public void setHeight(float height)
height
- the heightpublic void setHeight(int height)
height
- the heightpublic java.lang.String getBlockAlign()
BLOCK_ALIGN_BEFORE
.public void setBlockAlign(java.lang.String blockAlign)
blockAlign
- the block alignmentpublic java.lang.String getInlineAlign()
INLINE_ALIGN_START
.public void setInlineAlign(java.lang.String inlineAlign)
inlineAlign
- the inline alignmentpublic java.lang.Object getTBorderStyle()
public void setAllTBorderStyles(java.lang.String tBorderStyle)
tBorderStyle
- the table border stylepublic void setTBorderStyles(java.lang.String[] tBorderStyles)
tBorderStyles
- public java.lang.Object getTPadding()
public void setAllTPaddings(float tPadding)
tPadding
- the table paddingpublic void setAllTPaddings(int tPadding)
tPadding
- the table paddingpublic void setTPaddings(float[] tPaddings)
tPaddings
- the table paddings (an array of four floats)public float getBaselineShift()
public void setBaselineShift(float baselineShift)
baselineShift
- the baseline shiftpublic void setBaselineShift(int baselineShift)
baselineShift
- the baseline shiftpublic java.lang.Object getLineHeight()
LINE_HEIGHT_NORMAL
.public void setLineHeightNormal()
LINE_HEIGHT_NORMAL
.public void setLineHeightAuto()
LINE_HEIGHT_AUTO
.public void setLineHeight(float lineHeight)
lineHeight
- the line heightpublic void setLineHeight(int lineHeight)
lineHeight
- the line heightpublic PDGamma getTextDecorationColor()
public void setTextDecorationColor(PDGamma textDecorationColor)
textDecorationColor
- the text decoration colourpublic float getTextDecorationThickness()
public void setTextDecorationThickness(float textDecorationThickness)
textDecorationThickness
- the text decoration thicknesspublic void setTextDecorationThickness(int textDecorationThickness)
textDecorationThickness
- the text decoration thicknesspublic java.lang.String getTextDecorationType()
TEXT_DECORATION_TYPE_NONE
.public void setTextDecorationType(java.lang.String textDecorationType)
textDecorationType
- the type of text decorationpublic java.lang.String getRubyAlign()
RUBY_ALIGN_DISTRIBUTE
.public void setRubyAlign(java.lang.String rubyAlign)
rubyAlign
- the ruby alignmentpublic java.lang.String getRubyPosition()
RUBY_POSITION_BEFORE
.public void setRubyPosition(java.lang.String rubyPosition)
rubyPosition
- the ruby positionpublic java.lang.String getGlyphOrientationVertical()
GLYPH_ORIENTATION_VERTICAL_AUTO
.public void setGlyphOrientationVertical(java.lang.String glyphOrientationVertical)
GLYPH_ORIENTATION_VERTICAL_AUTO
,GLYPH_ORIENTATION_VERTICAL_MINUS_180_DEGREES
,GLYPH_ORIENTATION_VERTICAL_MINUS_90_DEGREES
,GLYPH_ORIENTATION_VERTICAL_ZERO_DEGREES
,GLYPH_ORIENTATION_VERTICAL_90_DEGREES
,GLYPH_ORIENTATION_VERTICAL_180_DEGREES
,GLYPH_ORIENTATION_VERTICAL_270_DEGREES
,GLYPH_ORIENTATION_VERTICAL_360_DEGREES
.glyphOrientationVertical
- the vertical glyph orientationpublic int getColumnCount()
public void setColumnCount(int columnCount)
columnCount
- the column countpublic java.lang.Object getColumnGap()
public void setColumnGap(float columnGap)
columnGap
- the column gappublic void setColumnGap(int columnGap)
columnGap
- the column gappublic void setColumnGaps(float[] columnGaps)
columnGaps
- the column gapspublic java.lang.Object getColumnWidths()
public void setAllColumnWidths(float columnWidth)
columnWidth
- the column widthpublic void setAllColumnWidths(int columnWidth)
columnWidth
- the column widthpublic void setColumnWidths(float[] columnWidths)
columnWidths
- the column widthspublic java.lang.String toString()
toString
in class PDAttributeObject