Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public interface PdfLayout.PageDecorator

Draws the parts of a page outside the flow: running headers, footers, page numbers.

Methods

public abstract void decorate(PdfPage page, int number, int count)Decorates page, number number (from 1) of the count pages the layout produced.

Method details

decorate

public abstract void decorate(PdfPage page, int number, int count)
Decorates page, number number (from 1) of the count pages the layout produced. Called by PdfLayout.finish(), when the total is known.