Output doesn't contains last page.

Output doesn't contains last page.

KB-20250822-01

Version

XFRX 22.6

Symptoms

  • Output doesn't contains last page.

  • If a report use _PAGETOTAL variable, then respect it (exam: "Page %no of %total).

Cause

  • Using XFRX#INIT

  • Using <TF>, <BB>, <RTF> and simply text without formating.

  • Simply text has blank line(s) on text end.

  • Blank line(s) owerflow to next page.

Blank line(s) on text end increase height of rendering rectangle. However, when processing overflow objects on a new page, blank line(s) are not represented object such as other line(s).

Because XFRX#INIT do not detect overflow objects  - XFRX#INIT ignore source text field using TEXT#FORMAT - then break creating new page.

Workaround

Remove blank line(s) on text end.