.. SPDX-License-Identifier: BSD-2-Clause
   Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org

.. _ex_headers_footers:

Example: Adding Headers and Footers to Worksheets
=================================================

This program is an example of adding headers and footers to worksheets.
See the :func:`set_header` and :func:`set_footer` methods for more details.

.. image:: _images/header_image.png

.. literalinclude:: ../../../examples/headers_footers.py

