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 /i18nutil | |
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 'i18nutil')
-rw-r--r-- | i18nutil/source/utility/paper.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx index 995f60ce8c3e..97dbb2938c25 100644 --- a/i18nutil/source/utility/paper.cxx +++ b/i18nutil/source/utility/paper.cxx @@ -156,7 +156,11 @@ const PageDesc aDinTab[] = { MM2MM100( 157.5), MM2MM100( 280 ), nullptr, nullptr }, //Screen 16:9 { MM2MM100( 175 ), MM2MM100( 280 ), nullptr, nullptr }, //Screen 16:10 { MM2MM100( 195 ), MM2MM100( 270 ), nullptr, nullptr }, // 16k - { MM2MM100( 197 ), MM2MM100( 273 ), nullptr, nullptr } // 16k + { MM2MM100( 197 ), MM2MM100( 273 ), nullptr, nullptr }, // 16k + { IN2MM100( 7.5 ), IN2MM100( 13.333 ), nullptr, nullptr }, //PowerPoint Widescreen + { IN2MM100( 7.5 ), IN2MM100( 10 ), nullptr, nullptr }, //PowerPoint On-screen Show (4:3) + { IN2MM100( 5.625 ), IN2MM100( 10 ), nullptr, nullptr }, //PowerPoint On-screen Show (16:9) + { IN2MM100( 6.25 ), IN2MM100( 10 ), nullptr, nullptr } //PowerPoint On-screen Show (16:10) }; |