Class PagedBoxCollector.PageFinder
- java.lang.Object
-
- com.openhtmltopdf.render.displaylist.PagedBoxCollector.PageFinder
-
- Enclosing class:
- PagedBoxCollector
public static class PagedBoxCollector.PageFinder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
lastRequested
private static int
PAGE_AFTER_END
private static int
PAGE_BEFORE_START
private java.util.List<PageBox>
pages
-
Constructor Summary
Constructors Constructor Description PageFinder(java.util.List<PageBox> pages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
findPage(CssContext c, int yOffset)
int
findPageAdjusted(CssContext c, int yOffset)
-
-
-
Field Detail
-
lastRequested
private int lastRequested
-
pages
private final java.util.List<PageBox> pages
-
PAGE_BEFORE_START
private static final int PAGE_BEFORE_START
- See Also:
- Constant Field Values
-
PAGE_AFTER_END
private static final int PAGE_AFTER_END
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PageFinder
public PageFinder(java.util.List<PageBox> pages)
-
-
Method Detail
-
findPageAdjusted
public int findPageAdjusted(CssContext c, int yOffset)
-
findPage
private int findPage(CssContext c, int yOffset)
-
-