Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exporter does not allow all pages into 1 pdf #17

Open
fatehks opened this issue Apr 4, 2022 · 1 comment
Open

exporter does not allow all pages into 1 pdf #17

fatehks opened this issue Apr 4, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@fatehks
Copy link

fatehks commented Apr 4, 2022

When i use the exporter, i get 3 separate PDF files, one for each page in my diagram.

Ex:

docker run -it -v $(pwd):/data rlespinasse/drawio-export -s .99 -f pdf 3-page-drawing.drawio 
+ export file : 
++ export page 1 : Page One
+++ generate pdf file
++ export page 2 : Page Two
+++ generate pdf file
++ export page 3 : Page Three
+++ generate pdf file

I can use the headless docker image to create a single PDF file with 3 pages.

Ex:

docker run -it -w /data -v $(pwd):/data rlespinasse/drawio-desktop-headless -s .95 -x -f pdf -o 3-page-pdf.pdf 3-page-drawing.drawio 

Here is the version that I am using:

$ docker run -it -v $(pwd):/data rlespinasse/drawio-export --version
drawio-exporter 1.1.0

Can the drawio-exporter export all tabs to a single PDF?

@rlespinasse rlespinasse added the enhancement New feature or request label Apr 5, 2022
@rlespinasse
Copy link
Owner

rlespinasse commented Apr 5, 2022

This will be a new feature to implement like --split-mode

- per_page (default)
- none (your usecase)

Will implement --all-pages option from drawio-desktop cli, which indicate to generate all pages into one PDF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants