drviewsf.cxx (1ff378ef) | drviewsf.cxx (cc69f169) |
---|---|
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 --- 63 unchanged lines hidden (view full) --- 72#include "FormShellManager.hxx" 73#include "cfgids.hxx" 74#include "anminfo.hxx" 75 76#include <editeng/lspcitem.hxx> 77#include <editeng/ulspitem.hxx> 78#include <editeng/lrspitem.hxx> 79#include <editeng/escpitem.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 --- 63 unchanged lines hidden (view full) --- 72#include "FormShellManager.hxx" 73#include "cfgids.hxx" 74#include "anminfo.hxx" 75 76#include <editeng/lspcitem.hxx> 77#include <editeng/ulspitem.hxx> 78#include <editeng/lrspitem.hxx> 79#include <editeng/escpitem.hxx> |
80#include <editeng/numitem.hxx> 81#include <svx/nbdtmgfact.hxx> 82#include <svx/nbdtmg.hxx> 83 84using namespace svx::sidebar; |
|
80using ::rtl::OUString; 81using namespace ::com::sun::star; 82 83namespace sd { 84 85/************************************************************************* 86|* 87|* Status von Controller-SfxSlots setzen --- 500 unchanged lines hidden (view full) --- 588 break; 589 //End 590 // Added by Li Hui for story 179. 591 case FN_NUM_BULLET_ON: 592 case FN_NUM_NUMBERING_ON: 593 { 594 sal_Bool bEnable = sal_False; 595 const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList(); | 85using ::rtl::OUString; 86using namespace ::com::sun::star; 87 88namespace sd { 89 90/************************************************************************* 91|* 92|* Status von Controller-SfxSlots setzen --- 500 unchanged lines hidden (view full) --- 593 break; 594 //End 595 // Added by Li Hui for story 179. 596 case FN_NUM_BULLET_ON: 597 case FN_NUM_NUMBERING_ON: 598 { 599 sal_Bool bEnable = sal_False; 600 const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList(); |
596 const ULONG nMarkCount = rMarkList.GetMarkCount(); 597 for (ULONG nIndex = 0; nIndex < nMarkCount; nIndex++) | 601 const sal_uInt32 nMarkCount = rMarkList.GetMarkCount(); 602 for (sal_uInt32 nIndex = 0; nIndex < nMarkCount; nIndex++) |
598 { 599 SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >(rMarkList.GetMark(nIndex)->GetMarkedSdrObj()); 600 if (pTextObj && pTextObj->GetObjInventor() == SdrInventor) 601 { 602 if (pTextObj->GetObjIdentifier() != OBJ_OLE2) 603 { 604 bEnable = sal_True; 605 break; --- 151 unchanged lines hidden --- | 603 { 604 SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >(rMarkList.GetMark(nIndex)->GetMarkedSdrObj()); 605 if (pTextObj && pTextObj->GetObjInventor() == SdrInventor) 606 { 607 if (pTextObj->GetObjIdentifier() != OBJ_OLE2) 608 { 609 bEnable = sal_True; 610 break; --- 151 unchanged lines hidden --- |