How to Add Text to the Cover Page

If you need to add arbitrary text to the cover page, you can use the <oxy:front-page-title> element as an anchor and add as many blocks of text as you need after it, and style them differently.

In your customization css, add the following:

front-page-title:after(1) {
    display:block;
    content: "DRAFT VERSION";
    font-size: large;
    color: red;
    text-align:center;
}

front-page-title:after(2) {
    display:block;
    content: "DO NOT DISTRIBUTE WITHOUT PERMISSION";
    font-size: large;
    color: red;
    text-align:center;
    font-style: italic;
}

The result is:

To use content from the document, you can use the oxy_xpath function in the content property. For a more complex example, including the generation of a new page for the synthetic :after elements, see: How to Show Metadata in the Cover Page.