diff options
author | Jun NOGATA <nogajun@gmail.com> | 2021-05-29 18:07:12 +0900 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-13 13:05:34 +0200 |
commit | 6d4a1716624a8a045ff4e90bd221b563be44be11 (patch) | |
tree | a887011549aea1ed13df952d1909fd7b30cf4b98 /include | |
parent | f62b88e7ccc46c77364a489c981a1024118aed7a (diff) |
Add PowerPoint compatible screen size for Impress
I realized that Impress does not have the same screen
size as PowerPoint. tdf#142286, tdf#142288
When I load a PowerPoint slide into Impress,
it was a custom size, but when I add this screen size,
it shows up with the screen size name.
And when I load a slide with the added screen size
into PowerPoint, it also shows up with the PowerPoint
preset screen size name and not the custom size.
The screen sizes I have added are as follows
* Widescreen (Current PowerPoint default)
* On-scren Show (4:3)
* On-scren Show (16:9) (Google slide defualt)
* On-scren Show (16:10)
Change-Id: I33e2bbc36b2c92ecbb85c610c864f735bf540d03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116374
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/i18nutil/paper.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/i18nutil/paper.hxx b/include/i18nutil/paper.hxx index 7b99c0861e48..71ca22bb9486 100644 --- a/include/i18nutil/paper.hxx +++ b/include/i18nutil/paper.hxx @@ -115,11 +115,15 @@ enum Paper : unsigned PAPER_SCREEN_16_9, PAPER_SCREEN_16_10, PAPER_16K_195x270, - PAPER_16K_197x273 + PAPER_16K_197x273, + PAPER_WIDESCREEN, //PowerPoint Widescreen + PAPER_ONSCREENSHOW_4_3, //PowerPoint On-screen Show (4:3) + PAPER_ONSCREENSHOW_16_9, //PowerPoint On-screen Show (16:9) + PAPER_ONSCREENSHOW_16_10 //PowerPoint On-screen Show (16:10) }; // defined for 'equal size' test with the implementation array -#define NUM_PAPER_ENTRIES (PAPER_16K_197x273 - PAPER_A0 + 1) +#define NUM_PAPER_ENTRIES (PAPER_ONSCREENSHOW_16_10 - PAPER_A0 + 1) class I18NUTIL_DLLPUBLIC PaperInfo { |