Package com.itextpdf.layout.renderer
Class OrphansWidowsLayoutHelper
java.lang.Object
com.itextpdf.layout.renderer.OrphansWidowsLayoutHelper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static OrphansWidowsLayoutHelper.OrphansWidowsLayoutAttempt
attemptLayout
(ParagraphRenderer renderer, LayoutContext originalContext, LayoutArea attemptArea) private static LayoutResult
handleAttemptAsSuccessful
(OrphansWidowsLayoutHelper.OrphansWidowsLayoutAttempt attemptResult, LayoutContext originalContext) (package private) static LayoutResult
orphansWidowsAwareLayout
(ParagraphRenderer renderer, LayoutContext context, ParagraphOrphansControl orphansControl, ParagraphWidowsControl widowsControl)
-
Constructor Details
-
OrphansWidowsLayoutHelper
private OrphansWidowsLayoutHelper()
-
-
Method Details
-
orphansWidowsAwareLayout
static LayoutResult orphansWidowsAwareLayout(ParagraphRenderer renderer, LayoutContext context, ParagraphOrphansControl orphansControl, ParagraphWidowsControl widowsControl) -
attemptLayout
private static OrphansWidowsLayoutHelper.OrphansWidowsLayoutAttempt attemptLayout(ParagraphRenderer renderer, LayoutContext originalContext, LayoutArea attemptArea) -
handleAttemptAsSuccessful
private static LayoutResult handleAttemptAsSuccessful(OrphansWidowsLayoutHelper.OrphansWidowsLayoutAttempt attemptResult, LayoutContext originalContext)
-