Vertical AutoLayouts
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: drawdoc.cxx,v $
|
* $RCSfile: drawdoc.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.24 $
|
* $Revision: 1.25 $
|
||||||
*
|
*
|
||||||
* last change: $Author: dl $ $Date: 2001-02-09 13:01:31 $
|
* last change: $Author: dl $ $Date: 2001-02-26 10:28:07 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -1271,7 +1271,7 @@ void SdDrawDocument::NewOrLoadCompleted(DocCreationMode eMode)
|
|||||||
if ( GetMasterSdPageCount(PK_STANDARD) > 1 )
|
if ( GetMasterSdPageCount(PK_STANDARD) > 1 )
|
||||||
RemoveUnnessesaryMasterPages( NULL, TRUE, FALSE );
|
RemoveUnnessesaryMasterPages( NULL, TRUE, FALSE );
|
||||||
|
|
||||||
for ( ULONG i = 0; i < GetPageCount(); i++ )
|
for ( USHORT i = 0; i < GetPageCount(); i++ )
|
||||||
{
|
{
|
||||||
// Check for correct layout names
|
// Check for correct layout names
|
||||||
SdPage* pPage = (SdPage*) GetPage( i );
|
SdPage* pPage = (SdPage*) GetPage( i );
|
||||||
@@ -1287,7 +1287,7 @@ void SdDrawDocument::NewOrLoadCompleted(DocCreationMode eMode)
|
|||||||
// previous version may moved other shapes behind the background
|
// previous version may moved other shapes behind the background
|
||||||
// shape. For performance reason this has to be fixed because
|
// shape. For performance reason this has to be fixed because
|
||||||
// the background shape should always have position 0
|
// the background shape should always have position 0
|
||||||
for ( ULONG nPage = 0; nPage < GetMasterSdPageCount( PK_STANDARD ); nPage++)
|
for ( USHORT nPage = 0; nPage < GetMasterSdPageCount( PK_STANDARD ); nPage++)
|
||||||
{
|
{
|
||||||
SdPage* pPage = GetMasterSdPage( nPage, PK_STANDARD );
|
SdPage* pPage = GetMasterSdPage( nPage, PK_STANDARD );
|
||||||
SdrObject* pPresObj = pPage->GetPresObj( PRESOBJ_BACKGROUND ) ;
|
SdrObject* pPresObj = pPage->GetPresObj( PRESOBJ_BACKGROUND ) ;
|
||||||
|
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: fuinsfil.cxx,v $
|
* $RCSfile: fuinsfil.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.7 $
|
* $Revision: 1.8 $
|
||||||
*
|
*
|
||||||
* last change: $Author: ka $ $Date: 2001-02-21 13:14:54 $
|
* last change: $Author: dl $ $Date: 2001-02-26 10:26:02 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: fupage.cxx,v $
|
* $RCSfile: fupage.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.3 $
|
* $Revision: 1.4 $
|
||||||
*
|
*
|
||||||
* last change: $Author: hr $ $Date: 2000-11-14 16:26:16 $
|
* last change: $Author: dl $ $Date: 2001-02-26 10:26:21 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -224,8 +224,7 @@ FuPage::FuPage( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
|
|||||||
SfxPrinter* pPrinter = ( (SdDrawDocShell*) pViewSh->GetViewFrame()->GetObjectShell() )->GetPrinter(TRUE);
|
SfxPrinter* pPrinter = ( (SdDrawDocShell*) pViewSh->GetViewFrame()->GetObjectShell() )->GetPrinter(TRUE);
|
||||||
|
|
||||||
// paperbin
|
// paperbin
|
||||||
USHORT nPaperBin = (USHORT) pPage->GetPaperBin();
|
SvxPaperBinItem aPaperBinItem( SID_ATTR_PAGE_PAPERBIN, pPage->GetPaperBin() );
|
||||||
SvxPaperBinItem aPaperBinItem( SID_ATTR_PAGE_PAPERBIN, nPaperBin );
|
|
||||||
aNewAttr.Put( aPaperBinItem );
|
aNewAttr.Put( aPaperBinItem );
|
||||||
|
|
||||||
// Raender, Umrandung und das andere Zeug
|
// Raender, Umrandung und das andere Zeug
|
||||||
|
Reference in New Issue
Block a user