Skip to content
This repository was archived by the owner on Feb 11, 2024. It is now read-only.
This repository was archived by the owner on Feb 11, 2024. It is now read-only.

Which is the correct way to add a break page ? #14

Description

@danieltellez

This is how I am doing:

    stylename = str(uuid.uuid1())
    break_style = odf_create_style('text', stylename, break_before='page')
    break_style.set_properties(page_break_before='page', area="paragraph")
    self.report.insert_style(break_style)
    breakp = odf_create_paragraph('', stylename)
    body = self.report.get_body()
    body.append(breakp)

And it is not working. I've also tried with a paragraph with some text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions