Skip to content

Setting last_page_flag with Close() function fails on page covered fully #816

@RoTak00

Description

@RoTak00

Sadly I cannot share examples.

In cases of a PDF with a header and a footer, where the content (in my case, a table) fully covers the last page from top to bottom, so there is no space at all, the last_page_flag does not get set appropriately, the Close() function being called only after the last page is written.

public function Close() {
        $this->last_page_flag = true;
        parent::Close();
    }

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