docs: def _init_pdf(style_path, header=None, footer=FOOTER):
      """
      Initialize :class:`RstToPdf` class.
  
      Args:
          style_path (str): Path to the style for the PDF.
          header (str, default None): Header which will be rendered to each page.
          footer (str, default FOOTER): Footer, which will be rendered to each
                 page. See :attr:`FOOTER` for details.
  
      Returns:
          obj: Initialized object.
      """
      return RstToPdf(
          language="cs",
          font_path=[
              "/usr/share/fonts",
              "/usr/share/fonts/truetype/",
              '.',
              '/usr/local/lib/python2.7/dist-packages/rst2pdf/fonts'
          ],
          stylesheets=[
              style_path
          ],
          breaklevel=0,
          splittables=True,
          header=header,
          footer=footer
      )