public class PageBreakApplierUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addPageBreakElementAfter(ProcessorContext context, ITagWorker parentTagWorker, IElementNode childElement, ITagWorker childTagWorker)
Processes a page break "after" property.
|
static void |
addPageBreakElementBefore(ProcessorContext context, ITagWorker parentTagWorker, IElementNode childElement, ITagWorker childTagWorker)
Processes a page break "before" property.
|
static void |
applyPageBreakProperties(Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
Applies page break properties.
|
public static void applyPageBreakProperties(Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
cssProps
- the CSS properties
context
- the processor context
element
- the element
public static void addPageBreakElementBefore(ProcessorContext context, ITagWorker parentTagWorker, IElementNode childElement, ITagWorker childTagWorker)
context
- the processor context
parentTagWorker
- the parent tag worker
childElement
- the child element
childTagWorker
- the child tag worker
public static void addPageBreakElementAfter(ProcessorContext context, ITagWorker parentTagWorker, IElementNode childElement, ITagWorker childTagWorker)
context
- the processor context
parentTagWorker
- the parent tag worker
childElement
- the child element
childTagWorker
- the child tag worker
Copyright © 1998–2019 iText Group NV. All rights reserved.