Hi,
I'd like to ask if there is support for loading html content inside headers/footers.
Currently I'm reading the text content using the css3 ability string-set and then loading it with:
Where my "title" would look like:
Using the example above as the source of the 'document-reference', my header reads:
I am a title that contains Custom Element but the style (red color with border) of the custom element is of course missing.
Is there a way to do this in prince?
I'd like to ask if there is support for loading html content inside headers/footers.
Currently I'm reading the text content using the css3 ability string-set and then loading it with:
@top-left {
content: string(document-reference);
font-size: 9pt;
vertical-align: bottom;
padding-bottom: 20px;
}
.title {
string-set: document-reference content()
}
.customClass {
color: red;
border: 1px solid yellow;
}
Where my "title" would look like:
<h1 class='title'>I am a title that contains
<span class='customClass'>Custom Element</span>
</h1>
Using the example above as the source of the 'document-reference', my header reads:
I am a title that contains Custom Element but the style (red color with border) of the custom element is of course missing.
Is there a way to do this in prince?