Keep your templates. Keep your code.

A company with 400 templates will not rewrite them. brevier brings the templates you have and reads the classes you have.

The templates you have

Each importer reads a structured format and writes two files: an HTML template and the JSON Schema of its fields.

FromBecomesStatus
.jrxmlJasperReports report designHTML template + JSON SchemaStatus: In 1.0
.docxWord document with mail-merge fieldsHTML template + JSON SchemaStatus: In 1.0
.pdfPDF form filled by iTextHTML template + JSON SchemaStatus: In 1.0

Untagged and scanned PDFs are not imported. Rebuilding their layout would be guesswork.

The code you have

from-code reads your compiled Java classes or Python models. It changes nothing in them. It writes the schema, a starting template and sample data next to your code.

The command
brevier from-code com.muster.Rechnung --classpath build/classes
Your class, unchanged
public class Rechnung {
  private String nummer;
  private LocalDate datum;
  private List<Position> positionen;
  private BigDecimal summe;
  // getters, unchanged
}
The schema brevier writes
{
  "title": "Rechnung",
  "type": "object",
  "properties": {
    "nummer":     { "type": "string" },
    "datum":      { "type": "string", "format": "date" },
    "positionen": { "type": "array",
                    "items": { "$ref": "#/$defs/Position" } },
    "summe":      { "type": "number" }
  }
}

Status: Available