Skip to content

Commit

Permalink
Add support for non-rml header and footer statements
Browse files Browse the repository at this point in the history
This is to be able to support export to Open Document Format.
  • Loading branch information
regebro committed Oct 15, 2017
1 parent fd0a796 commit 5206896
Show file tree
Hide file tree
Showing 6 changed files with 196 additions and 128 deletions.
17 changes: 17 additions & 0 deletions RML-DIFFERENCES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,23 @@ Incompatibilies
it is supposed to do. Thus z3c.rml does not implement it.


Extensions
----------

z3c.rml implements ``<header>`` and ``<footer>`` directives. These go inside
``<pageTemplate>`` directives, and are equivalent to having
``<pageGraphics><place>`` and take the same arguments as ``<pageGraphics>``.

The purpose of these directives is to be able to handle headers and footers
differently then from other graphical elements when dealing with other
formats than PDF.

If you want one left aligned header or footer, and one right aligned, you
simply add multiple headers or footers.

See src/z3c/rml/tests/input/rml-examples-050-header-footer.rml for an example.


To be Done
----------

Expand Down
Binary file modified src/z3c/rml/rml-reference.pdf
Binary file not shown.
Loading

0 comments on commit 5206896

Please sign in to comment.