summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorRob Snelders <programming@ertai.nl>2012-07-05 20:45:15 +0200
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-07-06 14:04:01 +0400
commitb8c5f6577911ebb15ad7eb7f60ad5bb9d8d37f0b (patch)
treed18a731c30a34975fc415a7d51c303538d142058 /i18nutil
parent5eb74b1fcad83c605cc00e377460e0ae313d7277 (diff)
fdo#42986 - UI wide screen format (16:10): Add Page size
Change-Id: Ie769c9a65e85f91395b3495fadb6f5e688cbe9af
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/inc/i18nutil/paper.hxx5
-rw-r--r--i18nutil/source/utility/paper.cxx3
2 files changed, 5 insertions, 3 deletions
diff --git a/i18nutil/inc/i18nutil/paper.hxx b/i18nutil/inc/i18nutil/paper.hxx
index 98b88bd6373d..65ebb3859c60 100644
--- a/i18nutil/inc/i18nutil/paper.hxx
+++ b/i18nutil/inc/i18nutil/paper.hxx
@@ -117,11 +117,12 @@ enum Paper
PAPER_ARCHC,
PAPER_ARCHD,
PAPER_ARCHE,
- PAPER_SCREEN_16_9
+ PAPER_SCREEN_16_9,
+ PAPER_SCREEN_16_10
};
// defined for 'equal size' test with the implementation array
-#define NUM_PAPER_ENTRIES (PAPER_SCREEN_16_9 - PAPER_A0 + 1)
+#define NUM_PAPER_ENTRIES (PAPER_SCREEN_16_10 - PAPER_A0 + 1)
// ---------
// - Paper -
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx
index 8f4fb919131e..e67cf7458109 100644
--- a/i18nutil/source/utility/paper.cxx
+++ b/i18nutil/source/utility/paper.cxx
@@ -154,7 +154,8 @@ static PageDesc aDinTab[] =
{ IN2MM100( 18 ), IN2MM100( 24 ), "ARCHC", NULL },
{ IN2MM100( 24 ), IN2MM100( 36 ), "ARCHD", NULL },
{ IN2MM100( 36 ), IN2MM100( 48 ), "ARCHE", NULL },
- { MM2MM100( 157.5), MM2MM100( 280 ), NULL, NULL } //Screen 16:9
+ { MM2MM100( 157.5), MM2MM100( 280 ), NULL, NULL }, //Screen 16:9
+ { MM2MM100( 175 ), MM2MM100( 280 ), NULL, NULL } //Screen 16:10
};