public class WaitingInlineElementsHelper extends Object
Constructor and Description |
---|
WaitingInlineElementsHelper(String whiteSpace, String textTransform)
Creates a new WaitingInlineElementsHelper instance.
|
Modifier and Type | Method and Description |
---|---|
void |
add(com.itextpdf.layout.element.IBlockElement element) |
void |
add(com.itextpdf.layout.element.ILeafElement element)
Adds a leaf element to the waiting leaves.
|
void |
add(String text)
Adds text to the waiting leaves.
|
void |
addAll(Collection
Adds a collecton of leaf elements to the waiting leaves.
|
void |
clearWaitingLeaves()
Clears the waiting leaves.
|
com.itextpdf.layout.element.Paragraph |
createParagraphContainer()
Creates a paragraph container.
|
void |
flushHangingLeaves(com.itextpdf.layout.IPropertyContainer container)
Flush hanging leaves.
|
List |
getSanitizedWaitingLeaves()
Gets the sanitized waiting leaves.
|
Collection |
getWaitingLeaves()
Gets the waiting leaves.
|
public WaitingInlineElementsHelper(String whiteSpace, String textTransform)
WaitingInlineElementsHelper
instance.
whiteSpace
- we'll check if this value equals "pre" or "pre-wrap"
textTransform
- will define the transformation that needs to be applied to the text
public void add(String text)
text
- the text
public void add(com.itextpdf.layout.element.ILeafElement element)
element
- the element
public void add(com.itextpdf.layout.element.IBlockElement element)
public void addAll(Collectioncollection)
collection
- the collection
public void flushHangingLeaves(com.itextpdf.layout.IPropertyContainer container)
container
- a container element
public CollectiongetWaitingLeaves()
public ListgetSanitizedWaitingLeaves()
public void clearWaitingLeaves()
public com.itextpdf.layout.element.Paragraph createParagraphContainer()
Copyright © 1998–2019 iText Group NV. All rights reserved.