| 37066 |
amit |
1 |
package com.spice.profitmandi.common.document.section;
|
|
|
2 |
|
|
|
3 |
import com.spice.profitmandi.common.document.PdfContext;
|
|
|
4 |
|
|
|
5 |
/**
|
|
|
6 |
* One band of a document page (header, parties, item table, summary, footer). Each section appends
|
|
|
7 |
* its content to the open iText {@code Document} held by the context. Sections are stateless and
|
|
|
8 |
* reusable across all document types; per-document differences come from the {@link PdfContext}'s
|
|
|
9 |
* {@code DocumentData}.
|
|
|
10 |
*/
|
|
|
11 |
public interface Section {
|
|
|
12 |
void render(PdfContext ctx) throws Exception;
|
|
|
13 |
}
|