Interface RunningMarginal
- All Known Implementing Classes:
PageNumberFooter
public interface RunningMarginal
Represents either a header or footer for a
Document
.-
Method Summary
Modifier and Type Method Description Paragraph
getParagraph(int pageNumber)
boolean
isValidForPageNumber(int pageNumber)
Verifies that this RunningMarginal is valid for the specified page.
-
Method Details
-
isValidForPageNumber
boolean isValidForPageNumber(int pageNumber)Verifies that this RunningMarginal is valid for the specified page.- Parameters:
pageNumber
- the page number to validate- Returns:
- true if this running marginal should be applied to the specified page
-
getParagraph
- Parameters:
pageNumber
- the page number theParagraph
will be applied to- Returns:
- the Paragraph to apply
-