summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-05-11 15:28:55 -0400
committerJustin Luth <jluth@mail.com>2023-05-12 02:00:56 +0200
commit99a88c9e55872214ce01d89447d18708e47e956b (patch)
tree6a3dc53d07f5d7c276eb7ad3911b2033a2838f14 /include/svx
parent6337348e9f51c6cf299ce0b9dc3eb221d8e07edb (diff)
tdf#134901: update print statistics on PDF export
From a modern point of view, a PDF export could be considered a print event. If one agrees with that point of view, then updating the print statistics whenever a PDF is generated makes sense. That is what the bug report requested, and what this patch does. That is what MS Word does also. Downsides: -there is no setting for a user to disagree with this bug's POV. -doesn't work for Send - Email a PDF -open a doc: export to PDF: close -> "Do you want to save changes?" -I tested on --headless --convert-to pdf -> no problems -a setting does exist to avoid modified status by printing. -that setting defaults to avoid modifying the status - YAY! -the print date is changed even if the export fails -NEEDS to be changed before export: time needed in PDF itself -didn't seem important enough to waste the time coding it. -for real printers the old print date is restored on failure. Change-Id: I0d1387c1c2c925f3be772c5bdad7187f9f6a4d7c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151682 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins Tested-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'include/svx')
0 files changed, 0 insertions, 0 deletions