OpenBoard-org / OpenBoard

OpenBoard is a cross-platform interactive whiteboard application intended for use in a classroom setting.
https://openboard.ch/
GNU General Public License v3.0
2.32k stars 418 forks source link

[Question]Problem with background and applications when saving file as .pdf #924

Open okropka opened 5 months ago

okropka commented 5 months ago

Hello, in the new version of OpenBoard, .pdf files do not save the background and some applications, for example the number line, ruler or set square. Students cannot see the full lesson notes. Best regards, Malgorzata Zmyslowska, mathematics teacher test 1.pdf test 1 oryginal.pdf

letsfindaway commented 5 months ago

At least for the axes this is an error. They have to be included in the export. Other tools like the Compass are intentionally omitted from the export. For the ruler one could argue for both, but I think here also was the intention to omit such supporting tools on export.

My proposal would be to remove this line: https://github.com/OpenBoard-org/OpenBoard/blob/aef2ab9776d8bd29125f78d3b4ee4b768d3ea6b5/src/domain/UBGraphicsScene.cpp#L2203

At least the axes should be treated as a normal item.

letsfindaway commented 5 months ago

... and for the background export: there is an option to enable this!

[PDF]
ExportBackgroundGrid=true
ExportBackgroundColor=true

The first setting enables export of the grid, the second export of the light or dark color.