drawio icon indicating copy to clipboard operation
drawio copied to clipboard

PDF Export - Placeholders are not interpreted properly

Open SyrillBigler opened this issue 11 months ago • 2 comments

Preflight Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug The following placeholders are not interpreted properly after export to pdf: %page%, %pagenumber%. All exported pages have the same name and the same page number.

To Reproduce Steps to reproduce the behavior:

  1. Add placeholder to diagram
  2. Click on File → Export → PDF
  3. Open PDF and check

Expected behavior I expect the placeholders to be interpreted for each page specifically. So that I can have a proper page numbering and individual names for all pages.

draw.io version:

  • draw.io version 26.0.9

Desktop:

  • OS: Windows 11
  • Browser Firefox
  • Browser Version 134.0.2

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • Yes

SyrillBigler avatar Jan 31 '25 12:01 SyrillBigler

We have the same problem, same ticket as #4710 Thanks for taking the time for this issue report!

WindowPlaceBrain avatar Mar 18 '25 09:03 WindowPlaceBrain

If I follow steps as described it works. What does not work is if the placeholder is on a background page - see my post https://github.com/jgraph/drawio/issues/4851

The original problem with placeholders directly on page, which is what you seem to be describing, was fixed (see https://github.com/jgraph/drawio/issues/548)

OPSeqT avatar Jun 05 '25 14:06 OPSeqT