jgraph/drawio-desktop

the export pdf file not match set setting pages

iysheng opened this issue · 6 comments

Preflight Checklist

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

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug
I try to export pdf file with pages 3 to 7.
But I get the pdf with more pages than I choose.
I add the drawio file and my exported pdf file.
xxxx.pdf
xxxx.zip

To Reproduce
Steps to reproduce the behavior:

  1. unzip xxxx.zip
  2. open xxxx.drawio
  3. export pdf with pages 3 to 7
  4. See the pdf

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version v24.4.0

Desktop (please complete the following information):

  • OS: Windows
    Additional context
    Add any other context about the problem here.

What settings did you use in the export pdf dialog?

image

like this

Check "Crop".

Check "Crop".

still wrong.
xxxx.drawio.pdf
image

This is what the different options will do:

  • Page View will paginate based on the selected paper size in the diagram.
  • Crop will create a single page per diagram that matches the diagram size.
  • Fit to will create the given number of pages per diagram with the selected paper size.

What is the expected result?

This is what the different options will do:

* _Page View_ will paginate based on the selected paper size in the diagram.

* _Crop_ will create a single page per diagram that matches the diagram size.

* _Fit to_ will create the given number of pages per diagram with the selected paper size.

What is the expected result?

I just want to export a pdf with 5 pages with sheet 3,4,5,6,7。Rather I choose page view or choose crop, the exported pdf is not what I want .