drawsh5.cxx (ee093554) | drawsh5.cxx (1e9c32af) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 32 unchanged lines hidden (view full) --- 41#include <svx/hlnkitem.hxx> 42#include <svx/fontwork.hxx> 43#include <svx/svdocapt.hxx> 44#include <svx/svdoole2.hxx> 45#include <svx/svdouno.hxx> 46#include <svx/svdpage.hxx> 47#include <svx/svdundo.hxx> 48#include <svx/xdef.hxx> | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 32 unchanged lines hidden (view full) --- 41#include <svx/hlnkitem.hxx> 42#include <svx/fontwork.hxx> 43#include <svx/svdocapt.hxx> 44#include <svx/svdoole2.hxx> 45#include <svx/svdouno.hxx> 46#include <svx/svdpage.hxx> 47#include <svx/svdundo.hxx> 48#include <svx/xdef.hxx> |
49#include <svx/xftsfit.hxx> | |
50#include <vcl/msgbox.hxx> 51#include <svx/extrusionbar.hxx> 52#include <svx/fontworkbar.hxx> 53#include <sfx2/docfile.hxx> 54 55#include <com/sun/star/form/FormButtonType.hpp> 56#include <com/sun/star/beans/XPropertySet.hpp> 57#include <com/sun/star/beans/XPropertySetInfo.hpp> --- 262 unchanged lines hidden (view full) --- 320 case SID_ENTER_GROUP: 321 pView->EnterMarkedGroup(); 322 break; 323 case SID_LEAVE_GROUP: 324 pView->LeaveOneGroup(); 325 break; 326 327 case SID_MIRROR_HORIZONTAL: | 49#include <vcl/msgbox.hxx> 50#include <svx/extrusionbar.hxx> 51#include <svx/fontworkbar.hxx> 52#include <sfx2/docfile.hxx> 53 54#include <com/sun/star/form/FormButtonType.hpp> 55#include <com/sun/star/beans/XPropertySet.hpp> 56#include <com/sun/star/beans/XPropertySetInfo.hpp> --- 262 unchanged lines hidden (view full) --- 319 case SID_ENTER_GROUP: 320 pView->EnterMarkedGroup(); 321 break; 322 case SID_LEAVE_GROUP: 323 pView->LeaveOneGroup(); 324 break; 325 326 case SID_MIRROR_HORIZONTAL: |
328 case SID_FLIP_HORIZONTAL: | |
329 pView->MirrorAllMarkedHorizontal(); | 327 pView->MirrorAllMarkedHorizontal(); |
330 rBindings.Invalidate( SID_ATTR_TRANSFORM_ANGLE ); | |
331 break; 332 case SID_MIRROR_VERTICAL: | 328 break; 329 case SID_MIRROR_VERTICAL: |
333 case SID_FLIP_VERTICAL: | |
334 pView->MirrorAllMarkedVertical(); | 330 pView->MirrorAllMarkedVertical(); |
335 rBindings.Invalidate( SID_ATTR_TRANSFORM_ANGLE ); | |
336 break; 337 338 case SID_OBJECT_ALIGN_LEFT: 339 case SID_ALIGN_ANY_LEFT: 340 if (pView->IsAlignPossible()) 341 pView->AlignMarkedObjects(SDRHALIGN_LEFT, SDRVALIGN_NONE); 342 break; 343 case SID_OBJECT_ALIGN_CENTER: --- 337 unchanged lines hidden (view full) --- 681 if ( rMarkList.GetMarkCount() == 1 && rReq.GetArgs() ) 682 { 683 const SfxItemSet& rSet = *rReq.GetArgs(); 684 const SfxPoolItem* pItem; 685 686 if ( pDrView->IsTextEdit() ) 687 pDrView->ScEndTextEdit(); 688 | 331 break; 332 333 case SID_OBJECT_ALIGN_LEFT: 334 case SID_ALIGN_ANY_LEFT: 335 if (pView->IsAlignPossible()) 336 pView->AlignMarkedObjects(SDRHALIGN_LEFT, SDRVALIGN_NONE); 337 break; 338 case SID_OBJECT_ALIGN_CENTER: --- 337 unchanged lines hidden (view full) --- 676 if ( rMarkList.GetMarkCount() == 1 && rReq.GetArgs() ) 677 { 678 const SfxItemSet& rSet = *rReq.GetArgs(); 679 const SfxPoolItem* pItem; 680 681 if ( pDrView->IsTextEdit() ) 682 pDrView->ScEndTextEdit(); 683 |
689 if ( SFX_ITEM_SET == 690 rSet.GetItemState(XATTR_FORMTXTSTDFORM, sal_True, &pItem) 691 && XFTFORM_NONE != 692 ((const XFormTextStdFormItem*) pItem)->GetValue() ) 693 { 694 695 sal_uInt16 nId = SvxFontWorkChildWindow::GetChildWindowId(); 696 SfxViewFrame* pViewFrm = pViewData->GetViewShell()->GetViewFrame(); 697 SvxFontWorkDialog* pDlg = (SvxFontWorkDialog*) 698 (pViewFrm-> 699 GetChildWindow(nId)->GetWindow()); 700 701 pDlg->CreateStdFormObj(*pDrView, *pDrView->GetSdrPageView(), 702 rSet, *rMarkList.GetMark(0)->GetMarkedSdrObj(), 703 ((const XFormTextStdFormItem*) pItem)-> 704 GetValue()); 705 } 706 else 707 pDrView->SetAttributes(rSet); | 684 pDrView->SetAttributes(rSet); |
708 } 709} 710 711//------------------------------------------------------------------ 712 713void ScDrawShell::ExecFormatPaintbrush( SfxRequest& rReq ) 714{ 715 ScViewFunc* pView = pViewData->GetView(); --- 42 unchanged lines hidden --- | 685 } 686} 687 688//------------------------------------------------------------------ 689 690void ScDrawShell::ExecFormatPaintbrush( SfxRequest& rReq ) 691{ 692 ScViewFunc* pView = pViewData->GetView(); --- 42 unchanged lines hidden --- |