Certificate Suite
Three certificates — Excellence, Membership, and Completion — issued from a single document, where each one is a self-contained section with its own page background and its own decorative frame. The frame itself is authored once as a reusable deco-frame component (a double rule, corner brackets, and diamond lozenges drawn in canvas); each section then recolors it — gold, burgundy, forest — by stamping a style onto the use, never redrawing the geometry.
The mechanism is per-section watermarks. A section break carries its own pageSetup (the background) and its own watermarks array (the frame). A watermark whose content is a canvas can use a reusable component just like flow content can — so the same deco-frame is the page border on all three pages, tinted to match each certificate.
{ "break": "section",
"pageSetup": { "backgroundColor": "#FBF1F0" },
"watermarks": [
{ "content": { "viewBox": [560, 800],
"shapes": [ { "use": { "name": "deco-frame", "x": 0, "y": 0, "width": 560, "height": 800, "style": "frameBurgundy" } } ] },
"repeat": false }
]
}
Per-section watermarks override the document-level set for that section only: omit the field to inherit the document watermarks, pass [] to suppress them, or supply your own to replace them. Recipient names are set in a script font for the calligraphic look.
Features used: Composition, Watermarks, Canvas, Breaks, Page Setup, Custom Fonts, Styles
- Output
- Template
- Data