JODF > Tutorial > Get header and footer text

The following example shows you how to get text from header and footer.