Skip to content

How to change the orientation from portrait to landscape and landscape to portrait when creating a PDF #7

Description

@TigerClawKnight

Good morning.

I need help with this situation to use orientations in the file PDF.

I understand to create PDF to need reportlab and rst2pdf.

I tryed with modificate the files in rst2pdf:

  • flowables.py
  • genelements.py
  • utils.py

But I don´t get good result.

Example to file rst:

.. raw:: pdf

landscape

Text in landscape

.. raw:: pdf

portrait

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions