Kaydet (Commit) 74a4ac33 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS perform07 (1.5.134); FILE MERGED

2005/11/08 07:59:24 mt 1.5.134.1: #i57181# #i57182# GetDefaultSvxPaper( nLanguage )
üst 38e35165
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: paperinf.cxx,v $ * $RCSfile: paperinf.cxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: rt $ $Date: 2005-09-08 23:38:32 $ * last change: $Author: rt $ $Date: 2006-05-04 15:08:58 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -264,6 +264,22 @@ SvxPaper SvxPaperInfo::GetSvxPaper( const Size &rSize, MapUnit eUnit, BOOL bSlop ...@@ -264,6 +264,22 @@ SvxPaper SvxPaperInfo::GetSvxPaper( const Size &rSize, MapUnit eUnit, BOOL bSlop
return GetPaper_Impl( rSize, eUnit, bSloppy ); return GetPaper_Impl( rSize, eUnit, bSloppy );
} }
SvxPaper SvxPaperInfo::GetDefaultSvxPaper( LanguageType eLanguage )
{
SvxPaper ePaper;
switch ( eLanguage )
{
case LANGUAGE_ENGLISH_US:
case LANGUAGE_ENGLISH_CAN:
case LANGUAGE_FRENCH_CANADIAN:
ePaper = SvxPaper( SVX_PAPER_LETTER );
break;
default:
ePaper = SvxPaper( SVX_PAPER_A4 );
}
return ePaper;
}
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
Paper SvxPaperInfo::GetSvPaper( const Size &rSize, MapUnit eUnit, Paper SvxPaperInfo::GetSvPaper( const Size &rSize, MapUnit eUnit,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment