View.hxx (766ce4d0) View.hxx (af89ca6e)
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

--- 177 unchanged lines hidden (view full) ---

186 virtual sal_uLong GetMarkablePointCount() const;
187 virtual sal_Bool HasMarkedPoints() const;
188 virtual sal_uLong GetMarkedPointCount() const;
189 virtual sal_Bool IsPointMarkable(const SdrHdl& rHdl) const;
190 virtual sal_Bool MarkPoint(SdrHdl& rHdl, sal_Bool bUnmark=sal_False);
191 virtual void CheckPossibilities();
192 virtual sal_Bool MarkPoints(const ::Rectangle* pRect, sal_Bool bUnmark);
193 using SdrMarkView::MarkPoints;
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

--- 177 unchanged lines hidden (view full) ---

186 virtual sal_uLong GetMarkablePointCount() const;
187 virtual sal_Bool HasMarkedPoints() const;
188 virtual sal_uLong GetMarkedPointCount() const;
189 virtual sal_Bool IsPointMarkable(const SdrHdl& rHdl) const;
190 virtual sal_Bool MarkPoint(SdrHdl& rHdl, sal_Bool bUnmark=sal_False);
191 virtual void CheckPossibilities();
192 virtual sal_Bool MarkPoints(const ::Rectangle* pRect, sal_Bool bUnmark);
193 using SdrMarkView::MarkPoints;
194 sal_Bool ShouldToggleOn(sal_Bool bBulletOnOffMode, sal_Bool bNormalBullet);
195 void ToggleMarkedObjectsBullets(sal_Bool bBulletOnOffMode, sal_Bool bNormalBullet, sal_Bool bMasterView, SvxNumRule* pNumRule = NULL, sal_Bool bForceBulletOnOff = false);
196
194
195 bool ShouldToggleOn(
196 const bool bBulletOnOffMode,
197 const bool bNormalBullet);
198
199 /** change the bullets/numbering of the marked objects
200
201 @param bToggle
202 true: just toggle the current bullets/numbering on --> off resp. off --> on
203
204 @param bHandleBullets
205 true: handle bullets
206 false: handle numbering
207
208 @param pNumRule
209 numbering rule which needs to be applied. can be 0.
210
211 @param bSwitchOff
212 true: switch off bullets/numbering
213 */
214 void ChangeMarkedObjectsBulletsNumbering(
215 const bool bToggle,
216 const bool bHandleBullets,
217 const SvxNumRule* pNumRule,
218 const bool bSwitchOff);
219
197 void SetPossibilitiesDirty() { bPossibilitiesDirty = true; }
198 void SetMoveAllowed( bool bSet ) { bMoveAllowed = bSet; }
199 void SetMoveProtected( bool bSet ) { bMoveProtect = bSet; }
200 void SetResizeFreeAllowed( bool bSet ) { bResizeFreeAllowed = bSet; }
201 void SetResizePropAllowed( bool bSet ) { bResizePropAllowed = bSet; }
202 void SetResizeProtected( bool bSet ) { bResizeProtect = bSet; }
203
204 void SetMarkedPointsSmoothPossible( bool bSet ) { bSetMarkedPointsSmoothPossible = bSet; }

--- 56 unchanged lines hidden ---
220 void SetPossibilitiesDirty() { bPossibilitiesDirty = true; }
221 void SetMoveAllowed( bool bSet ) { bMoveAllowed = bSet; }
222 void SetMoveProtected( bool bSet ) { bMoveProtect = bSet; }
223 void SetResizeFreeAllowed( bool bSet ) { bResizeFreeAllowed = bSet; }
224 void SetResizePropAllowed( bool bSet ) { bResizePropAllowed = bSet; }
225 void SetResizeProtected( bool bSet ) { bResizeProtect = bSet; }
226
227 void SetMarkedPointsSmoothPossible( bool bSet ) { bSetMarkedPointsSmoothPossible = bSet; }

--- 56 unchanged lines hidden ---