Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.common.document.section;

import com.spice.profitmandi.common.document.PdfContext;

/**
 * One band of a document page (header, parties, item table, summary, footer). Each section appends
 * its content to the open iText {@code Document} held by the context. Sections are stateless and
 * reusable across all document types; per-document differences come from the {@link PdfContext}'s
 * {@code DocumentData}.
 */
public interface Section {
    void render(PdfContext ctx) throws Exception;
}