summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-03-14 02:07:36 +0900
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-14 10:05:48 -0400
commit467ac438a3864b3f10ca2f14ed7c5497cf75e4de (patch)
tree9c9faa8b0c05b35196afddb4ae39d9fb30464f6e /vcl
parent96d28ecffcc9b0e461d9fe10ca4dedd676f1f933 (diff)
add 'Japanese Postcard' paper size to both Paper format and Print dialog
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/print.cxx3
-rw-r--r--vcl/source/src/print.src1
2 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index e25aa3a92882..90e84035edfc 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1267,7 +1267,8 @@ rtl::OUString Printer::GetPaperName( Paper ePaper )
PAPER_ENV_DL, PAPER_SLIDE_DIA, PAPER_SCREEN, PAPER_C, PAPER_D, PAPER_E,
PAPER_EXECUTIVE, PAPER_FANFOLD_LEGAL_DE, PAPER_ENV_MONARCH, PAPER_ENV_PERSONAL,
PAPER_ENV_9, PAPER_ENV_10, PAPER_ENV_11, PAPER_ENV_12, PAPER_KAI16,
- PAPER_KAI32, PAPER_KAI32BIG, PAPER_B4_JIS, PAPER_B5_JIS, PAPER_B6_JIS
+ PAPER_KAI32, PAPER_KAI32BIG, PAPER_B4_JIS, PAPER_B5_JIS, PAPER_B6_JIS,
+ PAPER_POSTCARD_JP
};
OSL_ENSURE( sal_uInt32(SAL_N_ELEMENTS(PaperIndex)) == aPaperStrings.Count(), "localized paper name count wrong" );
for( int i = 0; i < int(SAL_N_ELEMENTS(PaperIndex)); i++ )
diff --git a/vcl/source/src/print.src b/vcl/source/src/print.src
index e1dab9679bda..986c381933f2 100644
--- a/vcl/source/src/print.src
+++ b/vcl/source/src/print.src
@@ -531,6 +531,7 @@ StringArray RID_STR_PAPERNAMES
< "B4 (JIS)"; >;
< "B5 (JIS)"; >;
< "B6 (JIS)"; >;
+ < "Japanese Postcard"; >;
};
};