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

(-)sw/inc/poolfmt.hrc (+1 lines)
Lines 256-261 Link Here
256
#define STR_POOLPAGE_HTML				(RC_POOLPAGEDESC_BEGIN+  6)
256
#define STR_POOLPAGE_HTML				(RC_POOLPAGEDESC_BEGIN+  6)
257
#define STR_POOLPAGE_FOOTNOTE			(RC_POOLPAGEDESC_BEGIN+  7)
257
#define STR_POOLPAGE_FOOTNOTE			(RC_POOLPAGEDESC_BEGIN+  7)
258
#define STR_POOLPAGE_ENDNOTE			(RC_POOLPAGEDESC_BEGIN+  8)
258
#define STR_POOLPAGE_ENDNOTE			(RC_POOLPAGEDESC_BEGIN+  8)
259
#define STR_POOLPAGE_LANDSCAPE			(RC_POOLPAGEDESC_BEGIN+  9)
259
260
260
//-----------------
261
//-----------------
261
// Numbering styles
262
// Numbering styles
(-)sw/inc/poolfmt.hxx (+1 lines)
Lines 196-201 Link Here
196
RES_POOLPAGE_HTML,									// HTML
196
RES_POOLPAGE_HTML,									// HTML
197
RES_POOLPAGE_FOOTNOTE,								// Fussnote bei Dokumentende
197
RES_POOLPAGE_FOOTNOTE,								// Fussnote bei Dokumentende
198
RES_POOLPAGE_ENDNOTE,								// Endnotensseite
198
RES_POOLPAGE_ENDNOTE,								// Endnotensseite
199
RES_POOLPAGE_LANDSCAPE,								// Landscape Page Style
199
200
200
RES_POOLPAGE_END
201
RES_POOLPAGE_END
201
};
202
};
(-)sw/source/core/doc/poolfmt.cxx (+18 lines)
Lines 1605-1610 Link Here
1605
			pNewPgDsc->SetFtnInfo( aInf );
1605
			pNewPgDsc->SetFtnInfo( aInf );
1606
		}
1606
		}
1607
		break;
1607
		break;
1608
	case RES_POOLPAGE_LANDSCAPE:
1609
		{
1610
	        SwPageDesc* pStdPgDsc = this->GetPageDescFromPool( RES_POOLPAGE_STANDARD );
1611
        	SwFmtFrmSize aFrmSz( pStdPgDsc->GetMaster().GetFrmSize() );
1612
		    SwTwips nTmp = aFrmSz.GetHeight();
1613
    		aFrmSz.SetHeight( aFrmSz.GetWidth() );
1614
	    	aFrmSz.SetWidth( nTmp );
1615
			aSet.Put( aFrmSz );
1616
			aSet.Put( aLR );
1617
			aSet.Put( aUL );
1618
			if( pNewPgDsc )
1619
			{
1620
				pNewPgDsc->SetUseOn( nsUseOnPage::PD_ALL );
1621
				pNewPgDsc->SetLandscape( TRUE );
1622
			}
1623
		}
1624
		break;
1625
1608
	}
1626
	}
1609
1627
1610
	if( aSet.Count() )
1628
	if( aSet.Count() )
(-)sw/source/core/unocore/unoobj.cxx (-1 / +1 lines)
Lines 764-770 Link Here
764
	}
764
	}
765
	if(!pRet)
765
	if(!pRet)
766
	{
766
	{
767
		for(i = RC_POOLPAGEDESC_BEGIN; i <= STR_POOLPAGE_ENDNOTE; ++i)
767
		for(i = RC_POOLPAGEDESC_BEGIN; i <= STR_POOLPAGE_LANDSCAPE; ++i)
768
		{
768
		{
769
			const String aFmtName(SW_RES(i));
769
			const String aFmtName(SW_RES(i));
770
			if(aFmtName == rName)
770
			if(aFmtName == rName)
(-)sw/source/core/unocore/unostyle.cxx (-1 / +1 lines)
Lines 1732-1738 Link Here
1732
        }
1732
        }
1733
        if(!pOldPageDesc)
1733
        if(!pOldPageDesc)
1734
        {
1734
        {
1735
            for(i = RC_POOLPAGEDESC_BEGIN; i <= STR_POOLPAGE_ENDNOTE; ++i)
1735
            for(i = RC_POOLPAGEDESC_BEGIN; i <= STR_POOLPAGE_LANDSCAPE; ++i)
1736
            {
1736
            {
1737
                const String aFmtName(SW_RES(i));
1737
                const String aFmtName(SW_RES(i));
1738
                if(aFmtName == rStyleName)
1738
                if(aFmtName == rStyleName)
(-)sw/source/ui/utlui/poolfmt.src (-2 / +6 lines)
Lines 739-744 Link Here
739
{
739
{
740
	Text [ en-US ] = "Endnote" ;
740
	Text [ en-US ] = "Endnote" ;
741
};
741
};
742
String STR_POOLPAGE_LANDSCAPE
743
{
744
	Text [ en-US ] = "Landscape" ;
745
};
742
/*
746
/*
743
 Numerierungs Regeln
747
 Numerierungs Regeln
744
*/
748
*/
745
-- sw/source/ui/misc/docfnote.cxx      2008-09-05 09:05:45 +0000
749
++ sw/source/ui/misc/docfnote.cxx      2008-09-05 11:23:43 +0000
Lines 268-274 Link Here
268
       }
268
       }
269
               // Seite
269
               // Seite
270
       for( i = RES_POOLPAGE_BEGIN; i <= RES_POOLPAGE_ENDNOTE; ++i )
270
       for( i = RES_POOLPAGE_BEGIN; i <= RES_POOLPAGE_LANDSCAPE; ++i )
271
               aPageTemplBox.InsertEntry(SwStyleNameMapper::GetUIName( i, aEmptyStr ));
271
               aPageTemplBox.InsertEntry(SwStyleNameMapper::GetUIName( i, aEmptyStr ));
272
       USHORT nCount = pSh->GetPageDescCnt();
272
       USHORT nCount = pSh->GetPageDescCnt();
(-)sw/source/core/doc/SwStyleNameMapper.cxx (+1 lines)
Lines 301-306 Link Here
301
	ENTRY( "HTML" ),
301
	ENTRY( "HTML" ),
302
	ENTRY( "Footnote" ),
302
	ENTRY( "Footnote" ),
303
	ENTRY( "Endnote" ), // STR_POOLPAGE_PRGM_ENDNOTE
303
	ENTRY( "Endnote" ), // STR_POOLPAGE_PRGM_ENDNOTE
304
	ENTRY( "Landscape" ),
304
	{ 0, NULL }
305
	{ 0, NULL }
305
};
306
};
306
307

Return to issue 65295