Age | Commit message (Collapse) | Author |
|
Change-Id: If532e379e947020988e2c7741cae4e9c3e594991
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179585
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Use filtered page sizes so that printing multiple pages per sheet
in LibreOffice's non-native print dialog uses the correct paper
size.
On macOS, the native pages per sheet setting in the native print
dialog adds margins and scales down the pages to fit. So the only
alternative is to have LibreOffice handle pages per sheet but
that is only available in LibreOffice's non-native print dialog.
Note: to enable LibreOffice's non-native print dialog, set
"UseSystemPrintDialog" to "false" in LibreOffice's Expert
Conguration dialog and restart.
Also, fix the following bugs when printing a Writer document with
different paper sizes on each page:
- Print jobs with different paper sizes are broken up into a
separate NSPrintOperation for each set of continguous pages
with the same size so the page number needs to be offset by the
current page start range.
- If the LibreOffice paper name is empty, fallback to setting the
paper size by width and height.
- When the last page has a page size change, one more loop still
needs to run so set the current page range count to zero.
- When using the native print dialog and one of the print dialogs
is cancelled, abort the entire print job.
Change-Id: I3450a11acefba5db6cb39a0111ce83da7546f6b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179508
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
|
|
Automatic rewrite (of loplugin:cstylecast and loplugin:unnecessaryparen) after
cab0427cadddb3aaf1349c66f2fa13a4234ba4b2 "Enable loplugin:cstylecast for some
more cases" and a409d32e7f6fc09e041079d6dbc3c927497adfed "More
loplugin:cstylecast"
Change-Id: Iff4877e8a42804c952c48c13332caf0a83c92870
Reviewed-on: https://gerrit.libreoffice.org/48216
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I4382a45dcffb32c7c001ee722ac1deccb2b01c2d
|
|
Change-Id: I311f7db622ce341527fe12a92b516f800b602f92
|
|
Change-Id: Icc7d7ad95d1ffbf55f1cd704148f3ceb58618e6c
Reviewed-on: https://gerrit.libreoffice.org/19432
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
(cherry picked from commit a8c471a7003fdac7d5e1c97e903f669da6bcf0c7)
Conflicts:
vcl/osx/salframe.cxx
vcl/osx/salframeview.mm
vcl/osx/salnsmenu.mm
vcl/osx/salobj.cxx
Change-Id: I379d80355d741dd28aad2e6119a8b82ac10159f5
|
|
Now with the ATSUI code gone is a good time for some
re-organisation. Get rid of "aqua" in file names and the separate
"coretext" folders. CoreText is all we use now for OS X (and has
always been so for iOS), so no need for a "coretext" folder, we can
keep the CoreText-using code under "quartz". Keep OS X -specific code
in "osx". Ditto for headers.
Keep "Aqua" as part of class names for now, though.
This is also preparation for planned further unification between OS X
and iOS code.
Change-Id: Ic60bd73fea4ab98183e7c8a09c7d3f66b9a34223
|