diff options
Diffstat (limited to 'sw/source/ui/sidebar/PagePropertyPanel.cxx')
-rw-r--r-- | sw/source/ui/sidebar/PagePropertyPanel.cxx | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sw/source/ui/sidebar/PagePropertyPanel.cxx b/sw/source/ui/sidebar/PagePropertyPanel.cxx index 23d5a95066fc..156a1cb03429 100644 --- a/sw/source/ui/sidebar/PagePropertyPanel.cxx +++ b/sw/source/ui/sidebar/PagePropertyPanel.cxx @@ -77,7 +77,6 @@ namespace { } } - namespace sw { namespace sidebar { PagePropertyPanel* PagePropertyPanel::Create ( @@ -263,13 +262,11 @@ void PagePropertyPanel::Initialize() mpBindings->Update( SID_ATTR_PAGE_SIZE ); } - ::svx::sidebar::PopupControl* PagePropertyPanel::CreatePageOrientationControl( ::svx::sidebar::PopupContainer* pParent ) { return new PageOrientationControl( pParent, *this , mpPageItem->IsLandscape() ); } - IMPL_LINK( PagePropertyPanel, ClickOrientationHdl, ToolBox*, pToolBox ) { maOrientationPopup.Show( *pToolBox ); @@ -277,7 +274,6 @@ IMPL_LINK( PagePropertyPanel, ClickOrientationHdl, ToolBox*, pToolBox ) return 0L; } - void PagePropertyPanel::ExecuteOrientationChange( const sal_Bool bLandscape ) { StartUndo(); @@ -336,15 +332,11 @@ void PagePropertyPanel::ExecuteOrientationChange( const sal_Bool bLandscape ) EndUndo(); } - void PagePropertyPanel::ClosePageOrientationPopup() { maOrientationPopup.Hide(); } - - - ::svx::sidebar::PopupControl* PagePropertyPanel::CreatePageMarginControl( ::svx::sidebar::PopupContainer* pParent ) { return new PageMarginControl( @@ -359,7 +351,6 @@ void PagePropertyPanel::ClosePageOrientationPopup() meUnit ); } - void PagePropertyPanel::ExecuteMarginLRChange( const long nPageLeftMargin, const long nPageRightMargin ) @@ -378,14 +369,12 @@ void PagePropertyPanel::ExecuteMarginULChange( GetBindings()->GetDispatcher()->Execute( SID_ATTR_PAGE_ULSPACE, SFX_CALLMODE_RECORD, mpPageULMarginItem.get(), 0L ); } - void PagePropertyPanel::ExecutePageLayoutChange( const bool bMirrored ) { mpPageItem->SetPageUsage( bMirrored ? SVX_PAGE_MIRROR : SVX_PAGE_ALL ); GetBindings()->GetDispatcher()->Execute( SID_ATTR_PAGE, SFX_CALLMODE_RECORD, mpPageItem.get(), 0L ); } - IMPL_LINK( PagePropertyPanel, ClickMarginHdl, ToolBox*, pToolBox ) { maMarginPopup.Show( *pToolBox ); @@ -393,15 +382,11 @@ IMPL_LINK( PagePropertyPanel, ClickMarginHdl, ToolBox*, pToolBox ) return 0L; } - void PagePropertyPanel::ClosePageMarginPopup() { maMarginPopup.Hide(); } - - - ::svx::sidebar::PopupControl* PagePropertyPanel::CreatePageSizeControl( ::svx::sidebar::PopupContainer* pParent ) { return new PageSizeControl( @@ -412,7 +397,6 @@ void PagePropertyPanel::ClosePageMarginPopup() meFUnit ); } - void PagePropertyPanel::ExecuteSizeChange( const Paper ePaper ) { Size aPageSize = SvxPaperInfo::GetPaperSize( ePaper, (MapUnit)(meUnit) ); @@ -425,7 +409,6 @@ void PagePropertyPanel::ExecuteSizeChange( const Paper ePaper ) mpBindings->GetDispatcher()->Execute(SID_ATTR_PAGE_SIZE, SFX_CALLMODE_RECORD, mpPageSizeItem.get(), 0L ); } - IMPL_LINK( PagePropertyPanel, ClickSizeHdl, ToolBox*, pToolBox ) { maSizePopup.Show( *pToolBox ); @@ -433,15 +416,11 @@ IMPL_LINK( PagePropertyPanel, ClickSizeHdl, ToolBox*, pToolBox ) return 0L; } - void PagePropertyPanel::ClosePageSizePopup() { maSizePopup.Hide(); } - - - ::svx::sidebar::PopupControl* PagePropertyPanel::CreatePageColumnControl( ::svx::sidebar::PopupContainer* pParent ) { return new PageColumnControl( @@ -451,14 +430,12 @@ void PagePropertyPanel::ClosePageSizePopup() mpPageItem->IsLandscape() ); } - void PagePropertyPanel::ExecuteColumnChange( const sal_uInt16 nColumnType ) { mpPageColumnTypeItem->SetValue( nColumnType ); mpBindings->GetDispatcher()->Execute(SID_ATTR_PAGE_COLUMN, SFX_CALLMODE_RECORD, mpPageColumnTypeItem.get(), 0L ); } - IMPL_LINK( PagePropertyPanel, ClickColumnHdl, ToolBox*, pToolBox ) { maColumnPopup.Show( *pToolBox ); @@ -466,15 +443,11 @@ IMPL_LINK( PagePropertyPanel, ClickColumnHdl, ToolBox*, pToolBox ) return 0L; } - void PagePropertyPanel::ClosePageColumnPopup() { maColumnPopup.Hide(); } - - - void PagePropertyPanel::NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, @@ -551,7 +524,6 @@ void PagePropertyPanel::NotifyItemUpdate( } } - void PagePropertyPanel::MetricState( SfxItemState eState, const SfxPoolItem* pState ) { meFUnit = FUNIT_NONE; @@ -582,9 +554,6 @@ void PagePropertyPanel::MetricState( SfxItemState eState, const SfxPoolItem* pSt } } - - - void PagePropertyPanel::ChangeMarginImage() { if ( mpPageLRMarginItem.get() == 0 || @@ -629,7 +598,6 @@ void PagePropertyPanel::ChangeMarginImage() mpToolBoxMargin->SetItemImage( nIdMargin, mpPageItem->IsLandscape() ? mImgMarginCustom_L : mImgMarginCustom ); } - void PagePropertyPanel::ChangeSizeImage() { if ( mpPageSizeItem.get() == 0 || @@ -693,7 +661,6 @@ void PagePropertyPanel::ChangeSizeImage() } } - void PagePropertyPanel::ChangeColumnImage( const sal_uInt16 nColumnType ) { if ( mpPageItem.get() == 0 ) @@ -750,7 +717,6 @@ void PagePropertyPanel::ChangeColumnImage( const sal_uInt16 nColumnType ) } } - void PagePropertyPanel::StartUndo() { if ( mxUndoManager.is() ) @@ -759,7 +725,6 @@ void PagePropertyPanel::StartUndo() } } - void PagePropertyPanel::EndUndo() { if ( mxUndoManager.is() ) |