View | Details | Raw Unified | Return to issue 98176
Collapse All | Expand All

(-)sc/source/core/data/stlpool.cxx (+17 lines)
Lines 40-47 Link Here
40
#include <editeng/fontitem.hxx>
40
#include <editeng/fontitem.hxx>
41
#include <svx/pageitem.hxx>
41
#include <svx/pageitem.hxx>
42
#include <editeng/postitem.hxx>
42
#include <editeng/postitem.hxx>
43
#include <editeng/sizeitem.hxx>
43
#include <editeng/udlnitem.hxx>
44
#include <editeng/udlnitem.hxx>
44
#include <editeng/wghtitem.hxx>
45
#include <editeng/wghtitem.hxx>
46
#include <editeng/paperinf.hxx>
45
#include <svl/itemset.hxx>
47
#include <svl/itemset.hxx>
46
#include <svl/zforlist.hxx>
48
#include <svl/zforlist.hxx>
47
#include <unotools/charclass.hxx>
49
#include <unotools/charclass.hxx>
Lines 496-501 Link Here
496
	pSet->Put( *pFooterItem );
498
	pSet->Put( *pFooterItem );
497
	DELETEZ( pTxtObj );
499
	DELETEZ( pTxtObj );
498
500
501
    // Landscape
502
    pSheet = (ScStyleSheet*) &Make( SCSTR( STR_STYLENAME_LANDSCAPE ), 
503
                                    SFX_STYLE_FAMILY_PAGE, 
504
                                    SCSTYLEBIT_STANDARD );
505
    pSheet->SetParent( aStrStandard );
506
    pSet = &pSheet->GetItemSet();
507
    pSheet->SetHelpId( aHelpFile, HID_SC_SHEET_PAGE_LANDSCAPE );
508
    
509
    SvxPageItem aPageItem( (const SvxPageItem&)pSet->Get( ATTR_PAGE ) );
510
    aPageItem.SetLandscape( sal_True );
511
    pSet->Put( aPageItem );
512
    Size aSize( SvxPaperInfo::GetDefaultPaperSize() );
513
    LandscapeSwap( aSize );
514
    pSet->Put( SvxSizeItem( ATTR_PAGE_SIZE, aSize ) );
515
499
	//----------------------------------------------------
516
	//----------------------------------------------------
500
	DELETEZ( pEmptyTxtObj );
517
	DELETEZ( pEmptyTxtObj );
501
	DELETEZ( pHeaderItem );
518
	DELETEZ( pHeaderItem );
(-)sc/source/ui/src/globstr.src (+4 lines)
Lines 1083-1088 Link Here
1083
	{
1083
	{
1084
		Text [ en-US ] = "Report1" ;
1084
		Text [ en-US ] = "Report1" ;
1085
	};
1085
	};
1086
	String STR_STYLENAME_LANDSCAPE
1087
	{
1088
		Text [ en-US ] = "Landscape" ;
1089
	};
1086
	String STR_IMPORT_EXCEL_WARNING
1090
	String STR_IMPORT_EXCEL_WARNING
1087
	{
1091
	{
1088
		Text [ en-US ] = "is not available for spellchecking\nPlease check your installation and install \nthe desired language if necessary" ;
1092
		Text [ en-US ] = "is not available for spellchecking\nPlease check your installation and install \nthe desired language if necessary" ;
(-)sc/inc/globstr.hrc (-1 / +3 lines)
Lines 581-587 Link Here
581
#define STR_DPFIELD_GROUP_BY_QUARTERS    445
581
#define STR_DPFIELD_GROUP_BY_QUARTERS    445
582
#define STR_DPFIELD_GROUP_BY_YEARS       446
582
#define STR_DPFIELD_GROUP_BY_YEARS       446
583
583
584
#define STR_COUNT                        447
584
#define STR_STYLENAME_LANDSCAPE          447
585
585
586
#define STR_COUNT                        448
587
586
#endif
588
#endif
587
589
(-)sc/source/ui/unoobj/styleuno.cxx (-1 / +5 lines)
Lines 407-412 Link Here
407
#define SC_STYLE_PROG_HEADLINE		"Heading"
407
#define SC_STYLE_PROG_HEADLINE		"Heading"
408
#define SC_STYLE_PROG_HEADLINE1		"Heading1"
408
#define SC_STYLE_PROG_HEADLINE1		"Heading1"
409
#define SC_STYLE_PROG_REPORT		"Report"
409
#define SC_STYLE_PROG_REPORT		"Report"
410
#define SC_STYLE_PROG_LANDSCAPE		"Landscape"
410
411
411
struct ScDisplayNameMap
412
struct ScDisplayNameMap
412
{
413
{
Lines 446-452 Link Here
446
	else if ( nType == SFX_STYLE_FAMILY_PAGE )
447
	else if ( nType == SFX_STYLE_FAMILY_PAGE )
447
	{
448
	{
448
		static sal_Bool bPageMapFilled = sal_False;
449
		static sal_Bool bPageMapFilled = sal_False;
449
		static ScDisplayNameMap aPageMap[3];
450
		static ScDisplayNameMap aPageMap[4];
450
		if ( !bPageMapFilled )
451
		if ( !bPageMapFilled )
451
		{
452
		{
452
			aPageMap[0].aDispName = ScGlobal::GetRscString( STR_STYLENAME_STANDARD );
453
			aPageMap[0].aDispName = ScGlobal::GetRscString( STR_STYLENAME_STANDARD );
Lines 455-460 Link Here
455
			aPageMap[1].aDispName = ScGlobal::GetRscString( STR_STYLENAME_REPORT );
456
			aPageMap[1].aDispName = ScGlobal::GetRscString( STR_STYLENAME_REPORT );
456
			aPageMap[1].aProgName = String::CreateFromAscii( SC_STYLE_PROG_REPORT );
457
			aPageMap[1].aProgName = String::CreateFromAscii( SC_STYLE_PROG_REPORT );
457
458
459
			aPageMap[2].aDispName = ScGlobal::GetRscString( STR_STYLENAME_LANDSCAPE );
460
			aPageMap[2].aProgName = String::CreateFromAscii( SC_STYLE_PROG_LANDSCAPE );
461
458
			//	last entry remains empty
462
			//	last entry remains empty
459
463
460
			bPageMapFilled = sal_True;
464
			bPageMapFilled = sal_True;
(-)sc/inc/sc.hrc (+1 lines)
Lines 76-81 Link Here
76
#define HID_SC_SHEET_CELL_UEB1	(HID_SC_SHEET_START +4 )
76
#define HID_SC_SHEET_CELL_UEB1	(HID_SC_SHEET_START +4 )
77
#define HID_SC_SHEET_PAGE_STD	(HID_SC_SHEET_START +10 )
77
#define HID_SC_SHEET_PAGE_STD	(HID_SC_SHEET_START +10 )
78
#define HID_SC_SHEET_PAGE_REP	(HID_SC_SHEET_START +11 )
78
#define HID_SC_SHEET_PAGE_REP	(HID_SC_SHEET_START +11 )
79
#define HID_SC_SHEET_PAGE_LANDSCAPE  (HID_SC_SHEET_START +12 )
79
80
80
// Hilfe IDs fuer Shells (Helferlein) (max.20) -------------------------------
81
// Hilfe IDs fuer Shells (Helferlein) (max.20) -------------------------------
81
#define HID_SCSHELL_APP			(HID_SC_SHELL_START +0 )
82
#define HID_SCSHELL_APP			(HID_SC_SHELL_START +0 )

Return to issue 98176