Northline Proposal
The NorthlineProposal preset on the structured proposal model — brand header, stacked title, glance card, goal cells, numbered scope, phase grid, investment table and signing card across two pages.
2 pages
(opens the PDF)
(opens the PDF)
Use this template
<dependency>
<groupId>io.github.demchaav</groupId>
<artifactId>graph-compose-bundle</artifactId>
<version>2.4.1</version>
</dependency>
implementation 'io.github.demchaav:graph-compose-bundle:2.4.1'
Why the aggregate this document is drawn in a bundled font, and those ship separately from the engine; the aggregate carries them along with the PDF backend and the templates, in one coordinate
Java 17 or newer
Preset com.demcha.compose.document.templates.proposal.presets.NorthlineProposal
Data model com.demcha.compose.document.templates.data.proposal.StructuredProposalDocumentSpec
import com.demcha.compose.document.templates.proposal.presets.NorthlineProposal;
DocumentTemplate<StructuredProposalDocumentSpec> template = NorthlineProposal.create();
try (DocumentSession document = GraphCompose.document(Path.of("proposal-northline-v2.pdf")).create()) {
template.compose(document, data); // data: StructuredProposalDocumentSpec
document.buildPdf();
}
./mvnw -f examples/pom.xml exec:java -Dexec.mainClass=com.demcha.examples.templates.proposal.v2.NorthlineProposalV2Example
Writes examples/target/generated-pdfs/templates/proposal/proposal-northline-v2.pdf