Package com.itextpdf.layout.element
Class VerticalParagraph
java.lang.Object
com.itextpdf.commons.actions.sequence.AbstractIdentifiableElement
com.itextpdf.layout.ElementPropertyContainer
com.itextpdf.layout.element.AbstractElement
com.itextpdf.layout.element.BlockElement
com.itextpdf.layout.element.AbstractParagraph<VerticalParagraph>
com.itextpdf.layout.element.VerticalParagraph
- All Implemented Interfaces:
-
IAbstractElement,IBlockElement,IElement,IPropertyContainer,IAccessibleElement
A
Paragraph that is laid out vertically, with text flowing from top to bottom.
-
Field Summary
Fields inherited from class com.itextpdf.layout.element.AbstractParagraph
tagPropertiesFields inherited from class com.itextpdf.layout.element.AbstractElement
childElements, nextRenderer, stylesFields inherited from class com.itextpdf.layout.ElementPropertyContainer
properties -
Constructor Summary
ConstructorsConstructorDescriptionVerticalParagraph(boolean rightToLeftProgression) Creates a newVerticalParagraphinstance.VerticalParagraph(Text text, boolean rightToLeftProgression) Creates aVerticalParagraph, initialized with a piece of text.VerticalParagraph(String text, boolean rightToLeftProgression) Creates aVerticalParagraph, initialized with a piece of text. -
Method Summary
Methods inherited from class com.itextpdf.layout.element.AbstractParagraph
add, add, add, add, addAll, addTabStopsAsProperty, getAccessibilityProperties, getDefaultProperty, setFirstLineIndent, setOrphansControl, setWidowsControlMethods inherited from class com.itextpdf.layout.element.BlockElement
getHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getWidth, isKeepTogether, isKeepWithNext, setHeight, setHeight, setKeepTogether, setKeepWithNext, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setNeutralRole, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddings, setPaddingTop, setRotationAngle, setRotationAngle, setSpacingRatio, setTransform, setVerticalAlignment, setWidth, setWidthMethods inherited from class com.itextpdf.layout.element.AbstractElement
addStyle, addStyleIfAbsent, createRendererSubTree, getChildren, getProperty, getRenderer, getStyles, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumberMethods inherited from class com.itextpdf.layout.ElementPropertyContainer
deleteOwnProperty, getLineCapStyle, getLineJoinStyle, getMiterLimit, getOwnProperties, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, getTransparentStrokeColor, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDashPattern, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFontColor, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setLineCapStyle, setLineJoinStyle, setLineThrough, setMiterLimit, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeColor, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacing, simulateBold, simulateItalicMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.itextpdf.layout.element.IAbstractElement
getChildrenMethods inherited from interface com.itextpdf.layout.element.IElement
createRendererSubTree, getRenderer, setNextRendererMethods inherited from interface com.itextpdf.layout.IPropertyContainer
deleteOwnProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setProperty
-
Constructor Details
-
VerticalParagraph
public VerticalParagraph(boolean rightToLeftProgression) Creates a newVerticalParagraphinstance.- Parameters:
-
rightToLeftProgression-truefor vertical right-to-left lines writing progression (seeWritingMode.VERTICAL_RL), orfalsefor vertical left-to-right lines writing progression (seeWritingMode.VERTICAL_LR)
-
VerticalParagraph
Creates aVerticalParagraph, initialized with a piece of text.- Parameters:
-
text- the initial textual content, as aString -
rightToLeftProgression-truefor vertical right-to-left lines writing progression,falsefor vertical left-to-right lines writing progression
-
VerticalParagraph
Creates aVerticalParagraph, initialized with a piece of text.- Parameters:
-
text- the initial textual content, as aText -
rightToLeftProgression-truefor vertical right-to-left lines writing progression,falsefor vertical left-to-right lines writing progression
-
-
Method Details
-
makeNewRenderer
Creates a new renderer instance.- Specified by:
-
makeNewRendererin classAbstractElement<VerticalParagraph> - Returns:
-
new
IRenderer
-