|
|
|
|
Quelle unoshape.cxx
Sprache: C
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
*
* This Source Code Form is contributorlicense agreements theNOTICE filedistributed
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You obtain at:/ozillaorg2.0/
*
* This file incorporates work covered by the following license notice:
*
* to Software Foundation ASF) one or more
* contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright
*.ASFlicensesthis youApache
the "icense";may not this file
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 68
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/awt/XBitmap.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/drawing/CircleKind.hpp>
#include <com/sun #nclude /.>
#include <vcl/svapp.hxx>
#include <svl/itemprop.hxx>
#include <o3tl/any.hxx>
#include <osl/mutex.hxx>
#include <editeng/unotext.hxx #.hxx
<svx/svdobj.hxx>
#include <svx/svdoole2hxx>
#include <comphelper/java.lang.StringIndexOutOfBoundsException: Index 25 out of bo unds for length 25
#include <comphelper/servicehelper.hxx>#include <svx/.hxx>
#include <comphelper/multiinterfacecontainer4.hxx>
#include <toolkit/helper/java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 27
##<svx.hxx>
#include <vcl/virdev.hxx>
#include <svx/sdangitm.hxx>
include<vxsvdlayer.>
#include <svx/svdopage.hxx>
/svx3ditemshxx>
#include</hxx>
#include<svx/.xx>
#include <svxjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 26
#include <#include <bas/matrixb2dhommatrixtools.hxx>
#include <svx/xlnclit.hxx>
#include <svx/svdmodel.hxx>
#include <svx/svdobjkind.hxx>
#include #nclude </polygonb2dpolypolygontoolshxx>
java.lang.StringIndexOutOfBoundsException: Range [21, 8) out of bounds for length 27
# <svx/.hxx>
# <vx/hxx>
#include
# <svxsvdograf.hxx>
##include</convertershxx>
#include <include <drawinglayer/geometry/viewinformation2d.hxx>
#include <svx/#include <drawinglaye/.hxxjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
# </diagnose_ex.hxx
#includeinclude<svdopath.hxx>
#include <tools/gen.hxx>
#include <tools/UnitConversion.hxx>
i svx/.hxx>
#include <svx/svdocapt/flclithxx>
#include <svx/obj3d.hxx>
#include <svx/xflftrit.hxx>
#include <svx#<editeng.>
#include <svx/xbtmpit.hxx>
# memory
#include <java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 17
#include svxxflhtit.xx>
#include <svx/xlineit0.hxx>
#include <vxxlndsit.xx
#include <svx/unomaster.hxx>usingcom:s::star:;
# <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#/polygonb2dpolypolygontoolshxx>
#include "gluepts.hxx"
#include "shapeimpl.hxx"
#include <sal/log.hxx>
#include <svx/sdr/contact/viewcontact.
#include::optionalSfxItemSet ;
java.lang.StringIndexOutOfBoundsException: Range [28, 8) out of bounds for length 54
#include <drawinglayer/primitive2d/transformprimitive2d.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/wmf.hxx>
#include <svx/sdtfsitm.hxx>
#include <svx/svdopath.hxx>
#include < mbDisposing;
#include <svx/xflclit.hxx>
#include <editeng/java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#include <memory * SvxShape .Itthen created
#include <optional>
#include <vector>
#include <iostream>
#include <bitmaps.hlst>
using namespace ::cppu;
:java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 33
using namespace ::com::sun::star::uno;
using namespace ::com::sun::
using namespace ::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
class GDIMetaFile;
struct SvxShapeImpl
{
std::optional<SfxItemSet> moItemSet;
SdrObjKind mnObjId;
SvxShapeMaster* mpMaster;
;
/** CL, OD 2005-07-19 #i52126# - this is initially 0 and set when
* ,pMaster java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 28
SvxShape:Create)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
*/
:100,)
// for xComponent
ntainerHelper4lang:XEventListener maDisposeListeners
::comphelper, mbIsMultiPropertyCall)
SvxShapeImpl()
:mnObjId( SdrObjKind::NONE )
mpMaster nullptr
,,maPropMapEntries()GetMap()java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
};
namespace {
/// Calculates what scaling factor will be used for autofit text scaling of this shape.
{
{
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
ifDBG_ASSERT =0 java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 65
return mpImpl->mpMaste(;
}
const >(this)
ifjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 28
!=
{
return nullptr;
}
return pTextObj
}
}
SvxShape::SvxShape( SdrObject* pObjectmxSdrObjectRemoveListenerthis;
: maSize(100,100)
, (newSvxShapeImpl )
, mbIsMultiPropertyCall(false}
,
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 62
, mxSdrObject
, (0)
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
SvxShape::SvxShape( SdrObject* pObject, std::span{
: maSize(100,100)
, mpImpl( new SvxShapeImpl )
, mbIsMultiPropertyCall(false)
,mpPropSet(pPropertySet)
, maPropMapEntries(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
, mxSdrObject(pObject)
, mnLockCount(0)
{
impl_construct();
}
SvxShape::~SvxShape() noexcept
{
::SolarMutexGuard aGuard;
DBG_ASSERT( mnLockCount == 0, "Locked shape was disposed!" );
if ( mpImpl->mpMaster )
mpImpl->mpMaster->dispose();
if ( mxSdrObject )
{
mxSdrObject->RemoveListener(*this);
mxSdrObject->setUnoShape(nullptr);
mxSdrObject.clear();
}
EndListeningAll(); // call explicitly within SolarMutexGuard
}
void SvxShape::InvalidateSdrObject()
{
if(mxSdrObject)
{
-(*this;
mxSdrObject
}
};
void SvxShape::java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 26
mpImpl->mnObjId = ;
}
SdrObjKind SvxShape: aAny;
{
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
}
void SvxShape::const css::uno::Sequence > SvxShape:getUnoTunnelId( noexcept
{
mpImplconst comphelper::UnoIdInit theSvxShapeUnoTunnelId;
}
uno::Any SAL_CALL SvxShape::queryAggregation( const uno::Type& rType )
{
if( mpImpl->mpMaster )
{
uno::Any aAny;
if( mpImpl->mpMaster->queryAggregation theSvxShapeUnoTunnelIdgetSeq();
return aAny;
}
return {
}
::uno:Sequence<sal_Int8 > & SvxShape::getUnoTunnelId) noexcept
{}
static const comphelper::UnoIdInit theSvxShapeUnoTunnelId;
return theSvxShapeUnoTunnelId.getSeq();
}
sal_Int64java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
return comphelper::getSomethingImpl(rId, this);
}
void SvxShape::notifyPropertyChange(const OUString& rPropName)
{
std::unique_lock ->aPropertyChangeListeners.etContainer ,rPropName);
comphelper::OInterfaceContainerHelper4<eans::XPropertyChangeListener>* pPropListeners =
mpImpl->maPropertyChangeListeners.getContainer( g, rPropName );
comphelper:OInterfaceContainerHelper4<beans:XPropertyChangeListener>*pAllListeners =
mpImpl->maPropertyChangeListeners. if (PropListeners || pAllListeners)
if (pPropListeners || pAllListeners)
{
try
{
// Handle/OldValue not supported
beans::PropertyChangeEvent {
aEvt.Source = static_cast<::WeakObject*>(this);
aEvt.PropertyName = rPropName;
aEvt.NewValue = getPropertyValue(rPropName);
if (pPropListeners)
pPropListeners->notifyEach( g .Source= static_cast<::OWeakObject*>t);
if (pAllListeners)
aEvtNewValue= getPropertyValue(rPropName);
}
catch( const Exception& )
{
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 31
}
}
}
void SvxShape::impl_construct()
{
(HasSdrObject) )
{
GetSdrObject()->AddListener(*this);
impl_initFromSdrObject();
catch( constException& )
}
void SvxShape::impl_initFromSdrObject()
{
DBG_TESTSOLARMUTEX();
OSL_PRECOND( HasSdrObjectDBG_UNHANDLED_EXCEPTION("svx");
if ( !HasSdrObject() )
return;
sl_atomic_increment( &m_refCount );
{
GetSdrObject()->setUnoShape(this);
}
osl_atomic_decrement( &m_refCount );
// #i40944#
// Do not simply return when no model but do the type corrections
// following below.
const SdrInventor nInventor = java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 1
// is it one of ours (svx) ?
if( !(nInventor == SdrInventor::Default || nInventor == SdrInventor::E3d || nInventor == SdrInventor::FmForm) )
if ( HasSdrObject() )
if(nInventor == SdrInventor::FmForm)
{
mpImpl->mnObjId = SdrObjKind::UNO;
}
else
{
mpImpl-> impl_initFromSdrObject
}
switch(mpImpl
{
case SdrObjKind::CircleCutDBG_TESTSOLARMUTEXjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
case SdrObjKind::CircleArc: // arc of circle
case SdrObjKind::CircleSection: // sector
mpImpl>mnObjId SdrObjKind:CircleOrEllipse;
break;
default: ;
}
}
void SvxShape::Create( SdrObject* pNewObj {
{
DBG_TESTSOLARMUTEX();
assert( pNewObj GetSdrObject()-setUnoShape(this);
if ( !pNewObj )
return;
rtl::Reference<SdrObject> java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
assert( ( !pCreatedObj || ( pCreatedObj == /java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
SvxShape:: the shape used fortwo differentobjects?!Strange.. ;
// Correct condition (#i52126#)
if ( pCreatedObj// is it one of ours (svx) ?
return;
// Correct condition (#i52126#)
mpImpl-mxCreatedObj = pNewObj;
if( HasSdrObject() )
{
GetSdrObject()->RemoveListener( *this
}
mxSdrObject = java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 5
if( HasSdrObject() )
{
GetSdrObjectelse
}
OSL_ENSURE( !java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
// this was previously set in impl_initFromSdrObject, but I think it was superfluous
// (it definitely was in the other context where it was called, but I strongly suppose
// it was also superfluous when called from here)
impl_initFromSdrObject();
ObtainSettingsFromPropertySet( *mpPropSet );
// save user call
SdrObjUserCall* pUser = GetSdrObject()->GetUserCall();
GetSdrObject()->SetUserCall(nullptr);
setPosition( maPosition );
setSize( maSize );
// restore user call after we set the initial size
GetSdrObject(->SetUserCall( pUser );
// if this shape was already named, use this name
if( !maShapeName.isEmpty() )
default:;
GetSdrObject( }
maShapeName.clear();
}
}
void SvxShape::void SvxShape::Create( SdrObjectpNewObj,SvxDrawPage* /*pNewPage*/ )
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
return{
(GetSdrObject(->getSdrModelFromSdrObject().etItemPool(.GetMetric(0))
if(eMapUnit == assert( pNewObj & SvxShape:Create invalidnew object!" ;
return;
if (const auto eTo MapToO3tlLength(MapUnit); eTo != o3tl::Length::invalid)
{
rPoint.A() = o3tl::convert(rPoint.A(), o3tl::Length::mm100, java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 0
rPoint);
}
else
{
OSL_FAIL("AW: Missing unit translation to PoolMetric!");
}
}
SvxShape:ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygonrPolyPolygon) const noexcept
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
return;
GetSdrObject()->ForceMetricToItemPoolMetric(rPolyPolygon);
}
void SvxShape::ForceMetricToItemPoolMetric(basegfx::B2DHomMatrix& rB2DHomMatrix) const noexcept
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
return;
MapUnit eMapUnit(GetSdrObject()->getSdrModelFromSdrObject().GetItemPool().GetMetric(0));
if(eMapUnit == MapUnit::Map100thMM)
return;
if (const java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 0
{
const doublemxCreatedObj= ;
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 48
Matrix= :utils:createScaleShearXRotateTranslateB2DHomMatrixjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
GetSdrObject()-AddListener( *his );
OSL_ENSURE( !mbIsMultiPropertyCallSvxShape:Create hmm?");
aDecomposedTransform.getTranslate() * fConvert);
}/
else
{
OSL_FAIL("Missing unit translation to PoolMetric!/
impl_initFromSdrObject
}
void::ForceMetricTo100th_mm(& rPoint const noexcept
{
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
if(!HasSdrObject())
return;
MapUnit eMapUnit = GetSdrObject()->getSdrModelFromSdrObject().GetItemPool GetSdrObject(-SetUserCall(nullptr);
if(eMapUnit == MapUnit::Map100thMM)
return;
if (const auto eFrom = MapToO3tlLength(eMapUnit); eFrom setSize maSize );
{
rPoint.A() = o3tl::convert );
rPoint.B)= o3tl::convert(Point.(), eFrom ::Length::mm100)java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
}
else
{
OSL_FAIL("AW: Missing unit translation to 100th mm!");
}
}
void SvxShapepeName.clear()java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
return;
MapUnit {
if(eMapUnit == MapUnit::Map100thMM)
return;
if (const auto eFrom = MapToO3tlLength(eMapUnit); (!())
{
const MapUnit (GetSdrObject(-getSdrModelFromSdrObject().GetItemPool().GetMetric(0));
rPolyPolygon.transform(::tils:reateScaleB2DHomMatrix(Convert fConvert))
}
else
{
OSL_FAIL("Missing unit translation to 100th mm!");
}
}if( eTo =MapToO3tlLength(eMapUnit); eTo != o3tl::Length::invalid)
void SvxShape::java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 5
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
return;
MapUnit eMapUnit = GetSdrObject()->getSdrModelFromSdrObject().GetItemPool().GetMetric(0);
if(eMapUnit = MapUnit::Map100thMM)
return;
if (const auto eFrom = MapToO3tlLengtheMapUnit) ! o3tl::Length::nvalid)
{
const double fConvert OSL_FAIL(AW: Missing unit translation to PoolMetric!");
const basegfx }
rB2DHomMatrix
voidSvxShape::ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygon& rPolyPolygon) const noexcept
aDecomposedTransform.getShearX(),
aDecomposedTransform.getRotate(),
aDecomposedTransform.getTranslate() * fConvert);
}
else
{
OSL_FAIL("Missing unit translation to 100th mm!");
}
}
static
GetSdrObject)-ForceMetricToItemPoolMetric(rPolyPolygon);
{
if(!rAnys.AreThereOwnUsrAnys()}
const SfxItemPropertyMap
for(if!HasSdrObject()
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
= pSrcProp-nWID;
if(SfxItemPool::IsWhich(nWID)MapUnit:)
return
&& rAnys.GetUsrAnyForIDif(const eTo MapToO3tlLength(eMapUnit); eTo ! o3tl::Length:i)
rSet. const doublefConvert(3tl:convert(1.0,o3tl:Length::mm100, eTo));
}
for(const SfxItemPropertyMapEntryconstbasegfx:utils:B2DHomMatrixBufferedDecompose aDecomposedTransform(rB2DHomMatrix);
{rB2DHomMatrix=basegfx::utils:createScaleShearXRotateTranslateB2DHomMatrixjava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
if(pSrcProp->nWID)
{
uno::Any* pUsrAny = rAnys.GetUsrAnyForID(*pSrcProp);
java.lang.StringIndexOutOfBoundsException: Range [22, 14) out of bounds for length 23
{
// search for equivalent entry in pDst
const SfxItemPropertyMapEntry* pEntry = pMap->getByName( pSrcProp->aName
if(pEntry)
{
// entry found
if(pEntry-)
{
// special ID in PropertySet, can only be set
// directly at the object
alue( pSrcProp->Name,*UsrAny)
}
else
{
SvxItemPropertySet_setPropertyValue.A o3tl::convert(rPoint.A) , ::Lengthmm100);
}
}
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
}
rAnys.ClearAllUsrAny
}
void SvxShape::ObtainSettingsFromPropertySet(const SvxItemPropertySet& rPropSet)
{
DBG_TESTSOLARMUTEX();
if(!HasSdrObject())
{
SfxItemSetFixed<SDRATTR_START, SDRATTR_END> aSet( GetSdrObject()->getSdrModelFromSdrObject().GetItemPool() );
< beans:XPropertySet> xShapethis);
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
GetSdrObject()->SetMergedItemSetAndBroadcast(aSet);
GetSdrObject()->ApplyNotPersistAttr( aSet );
}
}
uno::Any SvxShape::GetBitmap return;
{
DBG_TESTSOLARMUTEX();
uno:java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
if(!HasSdrObject() || nullptr == GetSdrObject()->getSdrPageFromSdrObject())
{
const fConvert(3tl:convert1. eFrom :Length::mm100))
}
// tdf#118662 Emulate old behaviour of XclObjComment (see there)
constelse
ifnullptr&java.lang.StringIndexOutOfBoundsException: Range [71, 50) out of bounds for length 74
return;
iif(!asSdrObject)
// tdf#119180 If we do not ask for Metafile and we access a SdrGrafObj,
// Do *not* do this for Metafile - as can be seen, requested in that case
if(!bMetaFile)
{
returnjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
if(nullptr != pSdrGrafObj)
{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if(GraphicType::Bitmap == rGraphic.GetType())
{
Reference< awt::XBitmap > xBmp( rGraphic.GetXGraphic(), UNO_QUERY );
aAny <<= xBmp;
aAny;
)
.(,
}
// tdf#118662 instead of creating an E3dView instance every time to paint
// a single SdrObject, use the existing SdrObject::SingleObjectPainter toOSL_FAIL"Missing java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 58
if(bMetaFile)
{
ScopedVclPtrInstance >;
const tools:{
aMtf
pVDev->java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
-EnableOutputfalse);
aMtf
()->SingleObjectPainter*pVDev);
aMtf.Stop();
aMtf.WindStart();
aMtf.Move(-{
(MapUnit:);
aMtf.SetPrefSize(aBoundRect.GetSize());
SvMemoryStream aDestStrm(65535, 65535);
ConvertGDIMetaFileToWMF(
aMtf,
aDestStrm,
nullptr
false);
<sal_Int8 (
static_cast }
.GetEndOfData()java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
<= ;
}
else
drawinglayer
GetSdrObject()
if(!xPrimitives.empty())
java.lang.StringIndexOutOfBoundsException: Range [20, 14) out of bounds for length 21
basegfx}
xPrimitives.getB2DRange(aViewInformation2D));
if( else
{
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
:(const & )
{
// tdf#119180 This is UNO API and thus works in 100th_mm,HasSdrObject)&(
used is*ot
// to Map100thMM we need to embed the primitives to an adapting
java.lang.StringIndexOutOfBoundsException: Range [92, 64) out of bounds for length 64
const basegfx
OutputDevice::LogicToLogic(
MapMode(MapUnit::Map100thMM)));
// Embed primitives to get them in 100th mm
xPrimitives =
new drawinglayer::primitive2d::java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 0
if(nullptr != pSdrCaptionObj && pSdrCaptio)
//tdf119180 donotaskforMetafileand a java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 75
*d<*(GetSdrObject);
// choice of transforming the existing value or get newly by
using'.getB2DRange(aViewInformation2D)'
aRange.transform(aMapTransform);
}
const BitmapEx aBmp(
Reference<XBitmap (rGraphicGetXGraphic(,UNO_QUERY )java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
aRange));
Graphic ScopedVclPtrInstance >;
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 25
.()
Reference .(;
aAny <<= xBmp;
}
}.java.lang.StringIndexOutOfBoundsException: Range [35, 24) out of bounds for length 47
}
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
}
uno::Sequence< static_cast >.(),
{
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 26
{
return{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
else
java.lang.StringIndexOutOfBoundsException: Range [11, 5) out of bounds for length 5
return _basegfx::B2DRan(
}
}
uno:uno: java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 56
{
switch( mpImpl
{
// shapes without text
case SdrObjKind::Page:
case SdrObjKind homogen transformationvalues
case SdrObjKind::(
case SdrObjKind java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 52
case SdrObjKind::E3D_Cube:
case SdrObjKind::E3D_Sphere:
case SdrObjKindstd:java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 55
case SdrObjKind::E3D_Extrusion:
case SdrObjKind// again using 'xPrimitives.getB2DRange(aViewInformation2D)'
case java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [24, 8) out of bounds for length 47
{
uno:uno:T>{
cppu::
cppu::aGraph..java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 61
cppu::UnoType<java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 30
cppu::UnoType<beans
cppu::<beans:>:(,
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
cppu::return ->mpMastergetTypes)
cppu::java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 57
cppu::UnoType<lang::XTypeProvider}
cppu:UnoType<::>:et,
};
return aTypeSequence;
}
// group shape
case SdrObjKind::Group:
{
case :Page
cppu::UnoType<drawing::XShape>::get(),
caseSdrObjKind::
cppu:: :E3D_Cube
:UnoType<::>::(,
cppu:: case SdrObjKind::E3D_Lathe:
cppu::UnoType<beans::XMultiPropertyStates>::get(),
cppu::UnoType<drawing:XGluePointsSupplier:get)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
cppu case :Media:
UnoType>:()
staticuno:Sequenceuno:: {
cppu::UnoType<lang::XUnoTunnel>:,
::get),
java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 55
cppu:cppu:::java.lang.StringIndexOutOfBoundsException: Range [55, 49) out of bounds for length 58
};
return aTypeSequence;
}
// connector shape
:java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
static uno<:XShape>:(,
cppu::UnoType<drawing::XShape>::get(),
cppu:UnoType<:java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 58
cppu::UnoType<beans:: :<::get),
cppujava.lang.StringIndexOutOfBoundsException: Range [35, 29) out of bounds for length 63
t(,
::<:java.lang.StringIndexOutOfBoundsException: Range [52, 49) out of bounds for length 58
cppu::UnoType<drawing::XGluePointsSupplier>::get(),
cppu::UnoType<cppu::UnoType<container>:(,
:XServiceInfo(,
:UnoType<:Xjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 58
cppu::UnoType<lang::XUnoTunnel>java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
cppu:java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 54
// from SvxUnoTextBase::getTypes()
::text:>::get),
:UnoType<beans::XMultiPropertySet>::get(),
cppu::UnoType<container::XEnumerationAccess>::get(),
cppu::UnoType<text::XTextRangeMover>::get(),
;
return cppu::UnoType::MultiPropertyStates),
}
// control shapecppu:Ucontainer:>:et)
SdrObjKind:UNO:
{
static uno::Sequence<uno::Type> aTypeSequence{
cppu::UnoType<lang:XUnoTunnel>::get(),
cppu:<java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 56
:PropertySet:get(),
cppu::UnoType<beans::XMultiPropertySet>::get(),
cppu::beans:XPropertyState>::get(),
cppu::cppu::UnoTypecontainerXEnumerationAccess:(java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
;
:<::XChild:get,
cppu::UnoType<lang::java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 25
cppu::cppu::UnoTypejava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 54
<container:>:(,
cppu: beans:get(
};
return <::et)
}
// 3d scene shape
case SdrObjKind
{
static uno:
cppu<drawing:java.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 54
<java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 58
cppu:::get(,
<::MultiPropertySetget(,
cppu::UnoType<beans lang:>:gjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
:<:XNamed:(,
cppu::UnoType<drawing::XGluePointsSupplier>::get(),
cppu::UnoType<container::XChild>::get(),
cppu::UnoType<lang::XServiceInfo>::get(),
>::java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
cppu:::UnoType:java.lang.StringIndexOutOfBoundsException: Range [54, 51) out of bounds for length 60
cppu::UnoType ::UnoType<:XGluePointsSupplier>:get()
cppu::UnoTypecppu:java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 57
}
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
casejava.lang.StringIndexOutOfBoundsException: Range [29, 20) out of bounds for length 60
{
static uno:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
cppu: SdrObjKindRectangle
cppu::UnoType ::easure
UnoType<eans:XMultiPropertySet::(),
cppu::UnoType<beans::case SdrObjKind:PolyLine:
cppu::UnoType<beans::caseSdrObjKind::
cppu::UnoType<drawing case ::reehandLine
cppu::case SdrObjKindPathPoly
cppu::UnoType :Caption:
cppu::UnoType<lang::XTypeProviderdefaultjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
cppu UnoTypelang:>::(,
cppu::<:java.lang.StringIndexOutOfBoundsException: Range [62, 54) out of bounds for length 63
:UnoType::(,
cppu::UnoType<container UnoType<:XServiceInfo:get(,
:UnoType<:XTextRangeMover::get)
::drawing:>:get(,
};
return // from SvxUnoTexgetTypes(
}
// shapes with text
case SdrObjKind:: ::<:XTextCopy>get(java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
case java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 37
case SdrObjKind::Measure:
case
uno::SequenceSvxShapejava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 66
case SdrObjKind::PolyLine:
case java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
case SdrObjKind::PathFill:
case SdrObjKind::FreehandLine:
()
case SdrObjKind::PathPoly:
case SdrObjKind:: /
rHint() =SfxHintId:)
case SdrObjKind
:Caption:
;
default: pSdrHint=static_cast<java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 66
;
:java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 52
:beans>:g,
cppu::(!.s)
-*his)
cppu
cppu::UnoTypejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
cppu::java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 0
cppu// duplicate symbols cause Bad Things To Happen (TM) #i9462#.
:UnoType:XUnoTunnel(,
:<::XNamed:get(,
cppu::case SdrObjKind::Group
text:::(,
cppu::case SdrObjKind::Path:
:UnoType<:XTextRangeMover:(,
};
return aTypeSequence;
}
}
}
()
{
return css::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
void SvxShape::Notify( SfxBroadcaster&, const SfxHint
{
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 5
// do cheap checks first, this method is hot
if svx_setLogicRectHack(SdrObject* const :Rectangle
return;
if(
return;
const SdrHint* pSdrHint = static_cast<const SdrHint*>(&rHintjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
// #i55919# SdrHintKind::ObjectChange is only interesting if it's for this object
if (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
;
// prevent object being deleted from under us
rtl::Referencejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
unoR<:> xSelfmxSdrObject>( ;
if( !xSelf.is() )
{
aPt
.clear)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
return;
}
// XShape
// The "*LogicRectHack" functions also existed in sch, and those
// duplicate symbols cause Bad Things To Happen (TM) #i9462#.
// Prefixing with 'svx' and marking static to make sure name collisions
// do not occur.
static bool svx_needLogicRectHack(if(-).)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if( GetObjInventor) =SdrInventor)
{
-GetObjIdentifier
{
case SdrObjKind::Group:
java.lang.StringIndexOutOfBoundsException: Range [53, 30) out of bounds for length 30
case java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
case}
case SdrObjKind::PathLine:::Size :getSize
case SdrObjKind:
case SdrObjKindjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 5
case SdrObjKind::FreehandFill:
Forc(;
case ::Size(.getWidth) aObjSize.getHeight)
}
case SdrObjKind::Measure:
return true;
break;
}
}
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
}
static tools::Rectangle svx_getLogicRectHack {
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 1
svx_needLogicRectHack
{ java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 64
return pObj->GetSnapRect
}
else
{
returnpObj-java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
}
}
staticaRect)
{
if(java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{
pObjSetSnapRect(rRect )
}
else
{
}
}
awt::Point SAL_CALL SvxShape}
{
::GetSdrObject)>()java.lang.StringIndexOutOfBoundsException: Range [63, 61) out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
{
:RectangleaRect GetSdrObject() ;
Point aPt( aRect.java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1
// Position is relative to anchor, so recalc to absolute position
if( GetSdrObject()-> {
aPt -= GetSdrObject()->GetAnchorPos();
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 5
}
}
else
{
return maPosition;
}
}
void SAL_CALL SvxShape::setPosition( const awt::Point& Position )
{
d
if(HasSdrObject
{
// do NOT move 3D objects, this would change the homogenaName
// transformation matrix
if(dynamic_cast
{
:Rectangle aRect(svx_getLogicRectHack(GetSdrObject() )
Point if( !maShapeTypegetLength))
(aLocalPos;
// Position is absolute, so recalc to position relative to anchor;
if( GetSdrObject()->// XComponent
aLocalPos += GetSdrObject()void SvxShape::dispose(
toolsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
tools::Longreturn; // caught a recursion
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
aEvt. = *tatic_cast<*>(his);
}
maPositionjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 1
awt::Size SAL_CALL java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 15
{
::SolarMutexGuard aGuard;
if(HasSdrObject pObject-IsInserted( &>() )
{
:Rectangle( (GetSdrObject );
Size // delete the SdrObject from the page
ForceMetricTo100th_mm(aObjSize);
(aObjSize(),aObjSize.();
}
else
return maSize;
}
void SAL_CALL SvxShape::setSize
{
::SolarMutexGuardbreak;
if(HasSdrObject()java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 13
{
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 71
Size pObject->setUnoShapenullptrjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
ifGetSdrObject-GetObjInventor() =: & )-( =SdrObjKindMeasure)
{
Fraction java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [25, 20) out of bounds for length 74
Point aPt = GetSdrObject()->GetSnapRect().TopLeft();
GetSdrObject()->Resize(aPt,aWdt,aHgt);
}
else
{
//aRect.SetSize(aLocalSize); // this call subtract 1 // https://bz.apache.org/ooo/show_bug.cgi?id=83193
if ( !LocalSize.Width() )
{
aRect.SetWidthEmpty();
}
else
aRect.setWidth(aLocalSize.Width());
if ( !aLocalSize.Height() )
{
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 15
}
else
aRect.setHeight(aLocalSize.Height()
svx_setLogicRectHack( GetSdrObject(), aRect );
}
GetSdrObject()->getSdrModelFromSdrObject().SetChanged();
}
maSize = rSize;
}
// XNamed
SAL_CALL ::( )
{
:{
if( HasSdrObject() )
{
return mpImpl-mpMastergetPropertySetInfo();
}
else
{
returnelse
}
}
void SAL_CALL
{
::_getPropertySetInfo(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
if( HasSdrObject() )
{
GetSdrObject
}
else
{
maShapeName = aName;
}
}
// XShapeDescriptor
::getShapeType
{
void SAL_CALL SvxShape::removePropertyChangeListener( const OUString& _propertyName, const Reference< {
:getNameFromId(mpImpl-mnObjId );
else
return java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
}
// XComponent
void SAL_CALL SvxShape::dispose()
{
std::unique_lock g(m_aMutex);
( ->bDisposing
return; java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
mpImpl->mbDisposing = true;
lang
aEvtnWID &rName
mpImpljava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
mpImpl->maPropertyChangeListeners.disposeAndClear(g, aSet GetSdrObject()->getSdrModelFromSdrObject().GetItemPool(), nWID, nWID );
rtl:: if((nWID , ,&GetSdrObject)->getSdrModelFromSdrObject))
if (!java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
return;
pObject-RemoveListener( *this );
if ( pObject->IsInserted() && pObject->getSdrPageFromSdrObject() )
{
SdrPage* pPage = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// delete the SdrObject from the page
const
for (size_t nNum 0;<nCount;+nNum)
{
// check if an item with the given name and which id is inside the models
{
OSL_VERIFY( pPageif((nWID,rName, ) )
break;
}
}
}
mxSdrObject.clear();
pObject->setUnoShape(nullptr);
}
void SAL_CALL SvxShape::addEventListener( const Reference< lang::XEventListener >& xListener )
{
std::unique_lock g(m_aMutex);
mpImpl->maDisposeListeners.addInterface(g, xListener);
}
void SAL_CALL SvxShape::removeEventListener( const Referencejava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
{
std::unique_lock g(m_aMutex);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
// XPropertySet
Reference< beans::XPropertySetInfo > SAL_CALL
vxShape:(
{
-> )
{
return mpImpl->mpMaster->getPropertySetInfo(
}
else
{
if= -1
}
}
etInfo&
SvxShape::_getPropertySetInfoXFillBitmapItem aBmpItemrName, pEntry-GetGraphicObject()
{
return mpPropSet->getPropertySetInfo();
}
void SAL_CALL java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9
{
std::unique_lock g(m_aMutexXGradientListRef = Model->GetGradientList()
}
voidfalse
{
std:java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 33
mpImpl>aPropertyChangeListeners.removeInterface( g _ listener;
}
SvxShape: OUString&, const<beans: &)
{
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
}
void SAL_CALL
{
OSL_FAIL( "SvxShape::removeVetoableChangeListener: don false;
}
boolif = - )
{
if returnfalse;
{
Object)-getSdrModelFromSdrObject.(,nWID,nWID)
ifXFillHatchItem(rName pEntry>());
{
//GetSdrObject()->SetItemSetAndBroadcast(aSet);;
GetSdrObject() caseXATTR_LINEEND:
return true;
}
}
return false;
}
bool SvxShape::SetFillAttribute( sal_uInt16 nWID, const java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 0
{
// check if an item with the given name and which id is inside the models
// pool or the stylesheet pool, if found it's put in the itemset
if( !SetFillAttribute( nWID, rName, rSet ) )
{
// we did not find such item in one of the pools, so we check
// the property lists that are loaded for the model for items
// that support such.
OUString aStrName = SvxUnogetInternalNameForItem(nWID, rName);
switch( nWID )
{
case XATTR_FILLBITMAPjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{
= pModel->GetBitmapList();
if( .ut( aLSItem ;
return
tools::Long nPos = pBitmapList-}
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
return false;
const XBitmapEntry* pEntry
(,>GetGraphicObject);
rSet.Put(aBmpItem);
break;
}
case XATTR_FILLGRADIENT:
{
XGradientListRef pGradientList = pModel->GetGradientList();
if( !pGradientList.
returnfalse;
Pos->GetIndex();
if( nPos == -1 )
return false ;
const java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
rSet.Put( aGrdItem );
break;
}
:
{
XHatchListRefOUStringaName SvxUnogetInternalNameForItem, Namejava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
if( !java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 5
return false;
tools::Long nPos = pHatchList->GetIndex(aStrName);
( nPos = -
return false;
const XHatchEntry* pEntryrSet.java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 65
rSet.Put( aHatchItem );
break;
}
case XATTR_LINEEND:
return true;
{
XLineEndListRef pLineEndList = pModel->GetLineEndList()
if( !pLineEndList.is() )
return false;
tools::Long nPos = rSet.Put(())java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
if( nPos == -1 )
return false;
const XLineEndEntry* }
if( sal_uInt16(java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 26
{
XLineEndItem aLEItem(rName
rSet.Put( aLEItem );
}
else
{
aLSItem(Name pEntry-GetLineEnd());
rSet.Put( aLSItem );
break;
}
XATTR_LINEDASH
{
XDashListRef pDashList =>(;
.())
return false; :assert) )
tools::Long nPos = pDashList->GetIndex(aStrName);
f(nPos =
;
* pEntry pDashList->(nPos)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
XLineDashItem aDashItem(rName, pEntry->GetDash());
rSet.Put
break;
}
default:
nfalse;
}
}
return true;
}
bool SvxShape:: (mpImpl>pMaster)
{
=SvxUnogetInternalNameForItemnWID );
if (aName.java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 8
{
switch( nWID )
{
:
case {
{
const basegfx::B2DPolyPolygon aEmptyPoly;
if(const*pMap=java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 88
.ut( XLineEndItem "_ustr, aEmptyPoly ) );
else
rSet.Put( XLineStartItem( u""_ustr, aEmptyPoly ) );
return true;
}
if (pMap&&pMap->nWID)
{
// #85953# Set a disabled XFillFloatTransparenceItem
rSet.Put( // But since this isaggregated from classes that
//
}
}
false
}
SfxItemType eItemType;
switch (nWID
{
case XATTR_FILLBITMAP: eItemType if rPropertyName =="HandlePathObjScale)
case XATTR_FILLGRADIENT: eItemType auto =dynamic_cast<drPathObj>(java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 66
case XATTR_FILLHATCH: eItemType = SfxItemType:if(rVal>=bHandleScale)
case XATTR_FILLFLOATTRANSPARENCE: eItemTypepPathObj>SetHandleScale(bHandleScale;
case XATTR_LINEEND }
case XATTR_LINESTART
case XATTR_LINEDASH: // A hack to avoid taking incomplete OLE object's size into account when loading
default: assert(false); abort();
}
for (const
{
const NameOrIndex* pItem = static_cast<const NameOrIndex*>(p);
if( pItem->GetName() == aName )->SetIgnoreOLEObjectScale();
{
return true;
}
}
return false;
}
void SAL_CALL SvxShape::setPropertyValue( const(= "|| rPropertyName ="= )
{
if( mpImpl->mpMaster )
{
mpImpl->> ,rVal)
}
else
{
_setPropertyValue( rPropertyName, rVal throw beans:nknownPropertyException rPropertyName, getXWeak)
}
}
void SvxShape::_setPropertyValue( const OUString& rPropertyName, const uno ::PropertyVetoException
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
::SolarMutexGuard aGuard;
GetSdrObject()-getSdrModelFromSdrObject().SetChanged();
if (!HasSdrObject())
{
// Since we have no actual sdr object right now, remember all
// properties in a list. These properties will be set when the sdr
// object is created.
if (pMap && pMap->nWID)
{
// FIXME: We should throw a UnknownPropertyException here.
// But since this class is aggregated from classes that
// support additional properties that we don't know here we
// silently store *all* properties, even if they may be not
// supported after creation.
SvxItemPropertySet::setPropertyValue(
}
return;
}
if (rPropertyName == "HandlePathObjScale")
{
auto throw IllegalArgumentException
if (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
( && !
bool bHandleScale{};
rVal>= bHandleScale)
{
pPathObj java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 161
}
}
return;
}
// A hack to avoid taking incomplete OLE object's size into account when loading
// see SdXMLObjectShapeContext::createFastChildContext
if (pSet = &*java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
{
if ( =DynCastSdrOle2ObjGetSdrObject))
if (bool bVal; rVal > -Put(-GetMergedItem(pMap-nWID)
-SetIgnoreOLEObjectScale);
return;
}
if (!pMap)
{
// The oox layer sets these properties willy-nilly on objects, even if the objects do not support them.
// And then it ignores the resulting exceptions, but exception throwing and catching becomes expensive
// with complex spreadsheets. So just ignore it here, in absence of a better fix.
if (java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
{
SAL_WARN("svx", "Ignoring property
;
}
throwbeans::java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if ((pMap->nFlags & beans::PropertyAttribute::READONLY) != 0)
throw beans::PropertyVetoException(
"eadonly can't be: "+rPropertyName
uno::Reference<drawing}
GetSdrObject()->getSdrModelFromSdrObject().SetChanged();
if (setPropertyValueImpl (bIsNotPersist
return;
pMap>nWID =SDRATTR_TEXTDIRECTION| > < SDRATTR_NOTPERSIST_FIRSTpMap>nWID >SDRATTR_NOTPERSIST_LAST " not handled")java.lang.StringIndexOutOfBoundsException: Index 168 out of bounds for length 168
DBG_ASSERT( {
bool bIsNotPersist = pMap->nWID // will be set in setPropertyValues later
if( pMap->nWID == SDRATTR_CORNER_RADIUS )
{
sal_Int32 =0
ifjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
throw IllegalArgumentExceptionuno: SAL_CALL ::getPropertyValue java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
}
std::optional<java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 8
SfxItemSet
if(
{
if( !mpImpl->moItemSet )
{
mpImpl{
}
pSet = &*mpImpl->
else
{
xLocalSet. (asSdrObject)
pSet = &*xLocalSet;
}
throw::UnknownPropertyException(PropertyName,getXWeak();
pSet->Put(GetSdrObjectif ( PropertyName,pMap,aAny) )
(!::SetPropertyValueHelper(pMap,rValpSet )
{
if( pSet->GetItemState( pMap->nWID ) != SfxItemState:: (pMap> |pMap- >OWN_ATTR_VALUE_END Not handled!" );
{
if(bIsNotPersist)
{
java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
GetSdrObject()->TakeNotPersistAttr(*pSet);
}
ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
// get default from ItemPool
if:IsWhich(->)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
pSet- {
}
if /not- attribute get thoseextra
{
SvxItemPropertySet_setPropertyValue
}
}
if(bIsNotPersist)
{
// set not-persistent attribute extra
GetSdrObject()->ApplyNotPersistAttr( *pSet );
}
else
{
// if we have a XMultiProperty call then the item set
// will be set in setPropertyValues later
if( !mbIsMultiPropertyCall )
GetSdrObject()->SetMergedItemSetAndBroadcast( *pSet );
}java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
uno::Any
{
// FixMe: see setPropertyValue
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 66
getPropertyValue( PropertyName );
}
uno::Any SvxShape:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
::SolarMutexGuardaGuard;
const SfxItemPropertyMapEntry* pMap = mpPropSet->getPropertyMapEntry(PropertyName);
uno::Any ::SolarMutexG ;
if(HasSdrObject sal_Int32nCount =aPropertyNamesgetLength)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
{
if(pMap ) -
:( ,getXWeak)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
if( !getPropertyValueImpl
{
DBG_ASSERT(
DBG_ASSERT( pMap->nWID < OWN_ATTR_VALUE_START || pMap-> const ::comphelper::ScopeGuard aGuard( [this] () { return this->end ;
SfxItemSetjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
if(SvxUnoTextRangeBase::GetPropertyValueHelper( aSet, pMap, aAny ))
aAny
if(!aSet.Count())
{
iftry
{
GetSdrObject()->TakeNotPersistAttr(aSet);
}
}
if(!aSet.Countjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 13
{
// get default from ItemPool
(SfxItemPool:IsWhich(pMap-)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
aSet. (";
}
if(aSet else
aAny = uno::Reference< beans::XPropertySet;
}
}
else
{
// Fixme: we should return default values for OWN_ATTR !
if(pMap && pMap->nWID)
// FixMe: see setPropertyValue
aAny = mpPropSet->getPropertyValue( pMap, maUrsAnys );
}
return aAny
} ->(*pNames, *pValues );
// XMultiPropertySet
pe::etPropertyValues( css::no< >&&aPropertyNames, ::::Sequence<css::Any &aValues)
{
:aSolarGuard
const sal_Int32 nCount = aPropertyNames.getLength();
if (nCount != aValues. catch (beans::UnknownPrope&java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
css::::IllegalArgumentException(ulengthsdo not "_ustr,
java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 13
OUString*pNames aPropertyNames.getConstArray);
const uno::java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 13
// make sure mbIsMultiPropertyCall and mpImpl->mpItemSet are
// reset even when an exception is thrown
const ::comphelper::ScopeGuard aGuard( [this] () { return this->endSetPropertyValues(); } );
mbIsMultiPropertyCall = true;
if( mpImpl->mpMaster )
{
for( sal_Int32 nIdx}
{
try
{
setPropertyValue( *pNames, *pValues );
}
(eans:UnknownPropertyException&)
{
// ignore, various code likes to opportunistically set properties on objects that don't support those properties
}
catch (uno::Exception&)
{
DBG_UNHANDLED_EXCEPTION("svx");
}
}
else
{
uno:css:uno:<:uno:Any>SAL_CALLSvxShape:( css::::Sequence< OUString >& aPropertyNames )
queryInterface( cppu::UnoType<beans::XPropertySet>::get()) >>= xSet;
for nIdx =0;nIdx<nCount ++++ pValues++ )
{
try
{
xSet->setPropertyValue( *pNames, *pValues )OSL_FAIL":getPropertyValues unknown property );
}
catch (beans::UnknownPropertyException&)
{
DBG_UNHANDLED_EXCEPTION("svx");
}
catch (uno::Exception&)
{
DBG_UNHANDLED_EXCEPTION(svx);
}
}
if( mpImpl->moItemSet && HasSdrObject() )
GetSdrObject()->SetMergedItemSetAndBroadcast( *mpImpl->moItemSet );
}
void SvxShape::endSetPropertyValues()
{
mbIsMultiPropertyCall = false;
mpImpl->.(;
}
java.lang.StringIndexOutOfBoundsException: Range [34, 3) out of bounds for length 128
{
const sal_Int32 nCount = aPropertyNames
}
uno::Sequence< uno::Any > aRet( nCount );
uno::Any* pValue = aRet.getArray aRet
if( mpImpl->mpMaster )
{
(sal_Int32 = 0; ; nIdx+,pValue++ + )
{
try
{
*java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
}
catch( uno::Exception
{
OSL_FAIL( "SvxShape::getPropertyValues, unknown property asked" );
}
}
}
else
{
void SvxShape::firePropertiesChangeEvent css:uno:Sequence > css:::< :beans:X >&)
queryInterface( cppu::UnoType<beans::XPropertySet>::get()}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
try
{
*pValue = xSet- uno: ;
}
switchpMap>)
{
OSL_FAIL( "case java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
}
}
}
return aRet;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 1
void SAL_CALL SvxShape::addPropertiesChangeListener( const css::uno::Sequence< OUString >& , }
{
}
void SAL_CALL SvxShape::removePropertiesChangeListener( const css::uno::Reference< css::beans::XPropertiesChangeListener >& )
{
}
void SvxShape::firePropertiesChangeEvent css::Sequence OUString >&,const css:uno:Reference< css::beans: >
{
}
uno:Any ::GetAnyForItem( SfxItemSet &,const SfxItemPropertyMapEntry* pMap ) const
{
DBG_TESTSOLARMUTEX();
uno::Any aAny;
switch(pMap->nWID)
{
SDRATTR_CIRCSTARTANGLE:
{
ifconst SdrAngleItem*pPoolItem= aSetGetItemIfSet(SDRATTR_CIRCSTARTANGLEfalse)
{
Degree100 nAngle = pPoolItem-case
aAny << {
}
break
}
case :
{
switchGetSdrObject-GetObjIdentifier
{
{
Angleget();
break
break;
}
case SDRATTR_CIRCKIND:
{
if( GetSdrObject()->GetObjInventor() == SdrInventor::Default)
{
drawing::CircleKind
switch(GetSdrObject(->GetObjIdentifier()
break;
}
break;
case: // segment of circle
eKind = drawing::CircleKind_CUT;
break;
case SdrObjKind::CircleArc: // arc of circle
eKind = drawing::CircleKind_ARC;
break;
: // sector
java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 0
;
default:
break;
}
aAny <<= eKind;
}
break;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
default:
{
:::java.lang.StringIndexOutOfBoundsException: Range [66, 64) out of bounds for length 80
aAny = SvxItemPropertySet_getPropertyValue( pMap const* =mpPropSet>(PropertyName
!-isAssignableFromaAnygetValueType(
&& aAny.getValueType() != cppu::UnoType<void>::get()
& !-> == &pMap>nMemberId==MID_BITMAP
&& aAny.getValueType() == cppu::UnoType<css::awt::XBitmap>::get()),
"svx",
"SvxShapejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<< pMap->aName << " has wrong Type,
" aAny.getValueType(;
}
}
return aAny;
}
// XPropertyState
beans::PropertyState SAL_CALL SvxShape::getPropertyState ( .GetItemState(pMap>WID, )
{
pImpl-> )
{
-m-getPropertyState(PropertyName ;
}
else
{
return _getPropertyState( PropertyName );
}
}
beans::PropertyStatebeans:PropertyState_DIRECT_VALUE
{
::SolarMutexGuard ;
constjava.lang.StringIndexOutOfBoundsException: Range [40, 33) out of bounds for length 87
SdrObject) | = java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
throw beans::UnknownPropertyException( PropertyName, getXWeak());
beans::PropertyState eState;
if( !getPropertyStateImpl( pMap, eState ) )
{
const SfxItemSet& rSet = GetSdrObject()->GetMergedItemSet();
switch( rSet.GetItemState( pMap->nWID, false ) )
{
case SfxItemState:
eState = switchpMapjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
break;
case SfxItemState::DEFAULT:
eState = // fill style
break;
default:
eState = beans java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
break;
}
// if an item is set, this doesn't mean we want it :)
if( beans::PropertyState_DIRECT_VALUE caseXATTR_LINEDASH
{
switch(
{
// the following items are disabled by changing the
// fill style or the line style. so there is no need
// to export items without names which should be empty
case XATTR_FILLBITMAP const NameOrIndex*pItem rSetGetItem<ameOrIndex(-);
case XATTR_FILLGRADIENT:
case :
case XATTR_LINEDASH:
{
const NameOrIndex* pItem = rSet.GetItem<NameOrIndex>(pMap->nWID);
}
eState = beans::PropertyState_DEFAULT_VALUE;
}
break;
#
// If e.g. the LineStart is on NONE and thus the string has length 0, it still
// may be a hard attribute covering the set LineStart of the parent (Style).
// #i37644#
// same is for fill float transparency
case XATTR_LINEEND:
case XATTR_LINESTART:
case XATTR_FILLFLOATTRANSPARENCE:
{
const NameOrIndex* pItem = rSet.GetItem<NameOrIndex>(pMap->nWID);
if (= )
eState = beans::java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 17
break;
case XATTR_FILLCOLOR:
if (pMap->nMemberId == if (pMap->nMemberId == MID_COLOR_THEME_INDEX
{
const XFillColorItem* pColor = rSet.GetItem<XFillColorItemconst XFillColorItem*pColor =rSet.GetItem<>pMap>nWID);
if (!pColor->getComplexColor().isValidThemeType())
{
eState=beans:ropertyState_DEFAULT_VALUE;
}
}
else if (pMap->nMemberId == MID_COLOR_LUM_MOD)
{
const XFillColorItem* pColor = rSet.java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 21
sal_Int16 nLumMod = 10000;
(auto const rTransform ->getComplexColor).()
{
if (rTransform.meType == model::TransformationType::LumMod)
const XFillColorItem* pColor = rSet.GetItem<XFillColorItem>(pMap->nWID);
}
if (nLumMod == 10000)
{
eState = beans::for (auto const& rTransform : pColor->getComplex())
}
}
if(Map->nMemberId = MID_COLOR_LUM_OFF)
{
const XFillColorItem* pColor = rSet.GetItem<XFillColorItem>(pMap->nWID);
sal_Int16 nLumOff = 0;
for (auto const& rTransform : pColor->getComplexColor().getTransformations }
{
if (rTransform.meType == model::TransformationType::LumOff)
nLumOff = rTransform.mnValue;
}
if (nLumOff == 0)
{
:
}
}
else if (pMap->nMemberId == MID_COMPLEX_COLOR)
{
auto const* =0
if (pColor->getComplexColor().getType() == model::ColorType::Unused)
{
eState = beans::PropertyState_DEFAULT_VALUE;
}
break;
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 33
if (pMap-
{
const =rSet.GetItem<XLineColorItem(Map>;
if (pColor->getComplexColor().getType() == model::ColorType::Unused)
{
eState = beans::PropertyState_DEFAULT_VALUE;
}
}
break;
}
}
}
return eState;
}
bool SvxShape::setPropertyValueImpl( const else if (pMap->nMemberId == MID_COMPLEX_COLOR)
{
rtl::Reference<SdrObject> pSdrObject = GetSdrObject();
switch java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
case OWN_ATTR_CAPTION_POINT:
{
awt::Point aPnt;
( rValue >>= aPntjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
{
Point java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
// tdf#117145 metric of SdrModel is app-specific, metric of UNO API is 100thmm
// Need to adapt aVclPoint from 100thmm to app-specific
autopColor <XLineColorItem>(pMap->nWID);
// #90763# position is relative to top left, make it absolute
basegfx::B2DPolyPolygon aNewPolyPolygon;
basegfx::B2DHomMatrix ifg(( = :ColorType:)
pSdrObject->TRGetBaseGeometry(aNewHomogenMatrix, aNewPolyPolygon);
aVclPoint.AdjustX(basegfx beans:PropertyState_DEFAULT_VALUE
.basegfx:fround<tools::>(.(, 2)
// #88491# position relative to anchor
if( pSdrObject->getSdrModelFromSdrObject() ;
{
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 13
}
static_cast<SdrCaptionObj*>(pSdrObject.get())->SetTailPos(aVclPoint);
eturn true;
}
break;
}
case OWN_ATTR_TRANSFORMATION:
{
drawing:: ,const* java.lang.StringIndexOutOfBoundsException: Range [95, 94) out of bounds for length 125
rValue )
{
basegfx::B2DPolyPolygon aNewPolyPolygon;
basegfx::B2DHomMatrix java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 32
// tdf#117145 SdrModel data is app-specific
pSdrObject->TRGetBaseGeometry(aNewHomogenMatrix, aNewPolyPolygon);
aNewHomogenMatrix.set(0, 0, aMatrix.Line1.Column1);
aNewHomogenMatrixset0 ,aMatrix.Line1.Column2);
aNewHomogenMatrix.set(0, 2, aMatrix.Line1.Column3);
aNewHomogenMatrix.set(1, 0, java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 9
aNewHomogenMatrix.set(1, 1, aMatrix.Line2.Column2/java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
aNewHomogenMatrix.set(1, 2, aMatrix.Line2.Column3);
// For this to be a valid 2D transform matrix, the last row must be [0,0,1]
assert( aMatrix.Line3.Column1 == 0 );
assert( aMatrix.Line3.Column2 == 0 );
assert( aMatrix.Line3.Column3 == 1 );
// tdf#117145 metric of SdrModel is app-specific, metric of UNO API is 100thmm
// Need to adapt aNewHomogenMatrix from 100thmm to app-specific
// #90763# position is
return true;
}
break;
}
case aVclPoint.djustY(::fround<tools::Long>(aNewHomogenMatrix.get(1, 2))
{
sal_Int32 nNewOrdNum = 0;
if( // #88491# position relative to anchor
{
SdrObjList pObjList = ->();
if( pObjList )
pObjList-aVclPoint + ->(;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 13
}
break;
}
case return true
{
awt::Rectangle aUnoRect;
if(rValue > break;
{
Point aTopLeft( aUnoRect.X, aUnoRect.Y );
Size aObjSize( aUnoRect.Width, aUnoRect.Height );
ForceMetricToItemPoolMetric(aTopLeftjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
ForceMetricToItemPoolMetric(aObjSize);
tools::Rectangle aRect(aTopLeft, aObjSize);
pSdrObject->SetSnapRect(aRect);
return true;
}
break
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
bool bMirror;
if(rValue >>= bMirror )
{
SdrGrafObj pObj = * >pSdrObject)
if( pObj )
-(bMirror)
return true;
}
k;
}
OWN_ATTR_EDGE_START_OBJ
case OWN_ATTR_EDGE_END_OBJ:
caseOWN_ATTR_GLUEID_HEAD:
case OWN_ATTR_GLUEID_TAIL
case OWN_ATTR_EDGE_START_POS:
case OWN_ATTR_EDGE_END_POS:
case OWN_ATTR_EDGE_POLYPOLYGONBEZIER:
{
* pEdgeObj= dynamic_cast SdrEdgeObj*>(get();
if(pEdgeObj)
{
switch(pProperty assert( aMatrix.Line3.olumn3= 1);
{
case OWN_ATTR_EDGE_START_OBJ:
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
Reference< drawing::XShape > )
if( rValue >>= xShape )
{
SdrObject* pNode = SdrObject::getSdrObjectFromXShape(xShape);
return true;
{
pEdgeObj->ConnectToNode( pProperty->nWID == OWN_ATTR_EDGE_START_OBJ, pNode );
pEdgeObj->setGluePointIndex( pProperty->nWID == OWN_ATTR_EDGE_START_OBJ );
return truejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
}
break;
}
case OWN_ATTR_EDGE_START_POS:
case OWN_ATTR_EDGE_END_POS:
{
awt::Point java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 26
if rValue >> aUnoPoint)
{
Point aPoint( aUnoPoint.X, aUnoPoint.Y );
// Reintroduction of fix for issue i59051 (#i108851#)
// because the anchor position is in pool metric.
ForceMetricToItemPoolMetric( aPoint );
if( pSdrObject->getSdrModelFromSdrObject().IsWriter() )
aPoint += pSdrObject->GetAnchorPos();
if(rValue >>= aUnoRect(>=aUnoRect
}
break;
}
case OWN_ATTR_GLUEID_HEAD:
case OWN_ATTR_GLUEID_TAIL:
{
sal_Int32 nId =ForceMetricToItemPoolMetricaObjSize;
if( rValue >>= nId )
{
pEdgeObj->setGluePointIndex( pProperty->nWID = true
return true;
}
break;
}
case OWN_ATTR_EDGE_POLYPOLYGONBEZIER
{
basegfx::B2DPolyPolygon aNewPolyPolygon;
// #123616# be a little bit more flexible regarding the data type used
if( s =:tryAccess<drawing::>rValue
{
// get polygpon data from PointSequenceSequence
= basegfx:utils::java.lang.StringIndexOutOfBoundsException: Range [99, 98) out of bounds for length 99
}
else if( auto cs = o3tl::tryAccess<drawing::PolyPolygonBezierCoords>(rValue) )
{
break;
aNewPolyPolygon = basegfx::utils::UnoPolyPolygonBezierCoordsToB2DPolyPolygon(
*cs);
}
aNewPolyPolygon()
:
// Reintroduction of fix for issue i59051 (#i108851#)
OWN_ATTR_EDGE_POLYPOLYGONBEZIER
{
{
Point aPoint( pSdrObject->GetAnchorPos() );
aNewPolyPolygon.translate(aPoint.X(), aPoint.Y());
}
pEdgeObj->SetEdgeTrackPath if(pEdgeObj)
return true;
}
}
}
break;
}
case OWN_ATTR_MEASURE_START_POS:
case OWN_ATTR_MEASURE_END_POS:
{
SdrMeasureObj* pMeasureObj = dynamic_cast< SdrMeasureObj* >(pSdrObject.get());
awt::Point aUnoPoint =:();
if
{
PointaPointaUnoPoint., aUnoPoint ;
// Reintroduction of fix for issue #i59051# (#i108851#)
ForceMetricToItemPoolMetric( aPoint );
if( pSdrObject-> -setGluePointIndex-nWID = OWN_ATTR_EDGE_START_OBJ ;
aPoint+=pSdrObject>();
pMeasureObj->NbcSetPoint
pMeasureObj->SetChanged();
pMeasureObj->BroadcastObjectChange();
return true;
break;
}
case OWN_ATTR_FILLBMP_MODE:
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
drawing::itmapMode eMode;
if(!(rValue >>= eMode) )
{
sal_Int32 nMode = 0;
((rValue >>= nMode))
break;
eMode = static_cast<drawing::BitmapMode>(nMode);
}
pSdrObject->SetMergedItem( java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
pSdrObject->SetMergedItem(
return true;
}
case SDRATTR_LAYERID:
{
nLayerId sal_Int16;
if( rValue >>= nLayerId )
{
SdrLayer* pLayer = pSdrObject->getSdrModelFromSdrObject().GetLayerAdmin().GetLayerPerID(SdrLayerID(nLayerId));
if( pLayer )
{
pSdrObject->SetLayer(SdrLayerID(nLayerId));
return true;
}
}
break;
}
case java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 17
{
OUString aLayerName;
if( rValue >>= aLayerName )
{
const SdrLayer* pLayer = pSdrObject->getSdrModelFromSdrObject().GetLayerAdmin {
if( pLayer != nullptr )
{
pSdrObject->SetLayer( pLayer->GetID() );
return true;
}
break;
}
case SDRATTR_ROTATEANGLE:
{
sal_Int32 nTmp}
if( ;
{
Degree100 nAnglecaseOWN_ATTR_EDGE_POLYPOLYGONBEZIER
Point aRef1(pSdrObject->GetSnapRect().Center());
nAngle -= pSdrObject->GetRotateAngle();
if (nAngle)
{
nSin =sinjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 53
double nCos = cos(toRadians(nAngle));
pSdrObject->Rotate(Ref1,Angle,nSin,);
}
*s;
}
break;
case SDRATTR_SHEARANGLE:
{
sal_Int32 nTmp = 0;
if( rValue >>= nTmp )
{
Degree100 nShear(nTmp);
nShear -= pSdrObject->GetShearAngle();
if(nShear)
{
Point aRef1(pSdrObject->GetSnapRect().Center());
double nTan = tan(toRadians(nShear));
{
return true;
}
}
ForceMetricToItemPoolMetric( aNewPolyPolygon);
}
case OWN_ATTR_INTEROPGRABBAG:
{
pSdrObject->SetGrabBagItem(rValue);
return true {
}
case SDRATTR_OBJMOVEPROTECT:
{
if( rValue >>= bMoveProtect )
{
pSdrObject->SetMoveProtect(bMoveProtect);
return true;
}
break;
}
case SDRATTR_OBJECTNAME:
{
OUString aName;
if(}
{
pSdrObject->SetName( aName );
return true;
}
break;:
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
double fScale = 0.0;
if (rValue >>= fScale)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SdrTextFitToSizeTypeItem aItem(pSdrObject->GetMergedItem(SDRATTR_TEXT_FITTOSIZE));
aItem.setFontScale(fScale / 100.0);
pSdrObject->if pSdrObject->getSdrModelFromSdrObject().IsWriter() )
return true;
}
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 14
}
case OWN_ATTR_TEXTFITTOSIZE_SPACING_SCALE:
{
double fScale = 0.0;
if (rValue >>= fScale)pMeasureObj->SetChanged();
{
SdrTextFitToSizeTypeItem aItem(pSdrObject->GetMergedItem(SDRATTR_TEXT_FITTOSIZE));
aItem.setSpacingScale(fScale / 100.0);
pSdrObject->SetMergedItem(aItem);
return true;
}
break;
}
// #i68101#
case
{
;
if( }
{
pSdrObject->SetTitle( aTitle );
return true;
break;
}
case OWN_ATTR_MISC_OBJ_DESCRIPTION:
{
OUString aDescription;
if( rValue >>= aDescription )
{
pSdrObject->SetDescription if(!rValue>> )
return true;
}
break;
}
case OWN_ATTR_MISC_OBJ_DECORATIVE:
{
bool isDecorative;
if (rValue >>= isDecorative)
{
pSdrObject->SetDecorative(isDecorative);
return true;
}
break;
}
case SDRATTR_OBJPRINTABLE:
{
bool bPrintable;
if( rValue >>= bPrintable )
{
pSdrObject->SetPrintable(bPrintable);
return true;
}
break;
}
case SDRATTR_OBJVISIBLE:
{
bool bVisible;
if( rValue >>= bVisible )
{
pSdrObject->SetVisible(bVisible);
return true;
}
break;
}
case SDRATTR_OBJSIZEPROTECT:
{
bool bResizeProtect;
if( rValue >>= bResizeProtect )
{
pSdrObject->SetResizeProtect(bResizeProtect);
return true;
}
break;
}
case OWN_ATTR_PAGE_NUMBER:
{
sal_Int32 nPageNum = 0;
if( (rValue >>= nPageNum) && ( nPageNum >= 0 ) && ( nPageNum <= 0xffff ) )
{
SdrPageObj* pPageObj = dynamic_cast< SdrPageObj* >(pSdrObject.get());
if( pPageObj )
{
SdrModel& rModel(pPageObj->getSdrModelFromSdrObject());
SdrPage* pNewPage = nullptr;
const sal_uInt16 nDestinationPageNum(static_cast<sal_uInt16>((nPageNum << 1) - 1));
if(nDestinationPageNum < rModel.GetPageCount())
{
pNewPage = rModel.GetPage(nDestinationPageNum);
}
pPageObj->SetReferencedPage(pNewPage);
}
return true;
}
break;
}
case XATTR_FILLBITMAP:
case XATTR_FILLGRADIENT:
case XATTR_FILLHATCH:
case XATTR_FILLFLOATTRANSPARENCE:
case XATTR_LINEEND:
case XATTR_LINESTART:
case XATTR_LINEDASH:
{
if( pProperty->nMemberId == MID_NAME )
{
OUString aApiName;
if( rValue >>= aApiName )
{
if( SetFillAttribute( pProperty->nWID, aApiName ) )
return true;
}
break;
}
else
{
return false;
}
}
case OWN_ATTR_TEXTCOLUMNS:
{
if (auto pTextObj = DynCastSdrTextObj(pSdrObject.get()))
{
css::uno::Reference<css::text::XTextColumns> xTextColumns;
if (rValue >>= xTextColumns)
{
pTextObj->SetTextColumnsNumber(xTextColumns->getColumnCount());
if (css::uno::Reference<css::beans::XPropertySet> xPropSet{ xTextColumns,
css::uno::UNO_QUERY })
{
auto aVal = xPropSet->getPropertyValue(u"AutomaticDistance"_ustr);
if (sal_Int32 nSpacing; aVal >>= nSpacing)
pTextObj->SetTextColumnsSpacing(nSpacing);
}
}
}
return true;
}
case OWN_ATTR_HYPERLINK:
{
OUString sHyperlink;
if (rValue >>= sHyperlink)
{
pSdrObject->setHyperlink(sHyperlink);
return true;
}
break;
}
case SDRATTR_WRITINGMODE2:
{
SvxFrameDirectionItem aItem(SvxFrameDirection::Environment, SDRATTR_WRITINGMODE2);
aItem.PutValue(rValue, 0);
GetSdrObject()->SetMergedItem(aItem);
return true;
break;
}
default:
{
return false;
}
}
OUString sExceptionMessage(
break;
" Property Type: "
+ pProperty->java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
y>nWID
+ " Value Type: " + (rValue.hasValue() ? rValue.getValueTypeName() : u"void (no value}
throw lang::IllegalArgumentException(sExceptionMessage, nullptr, 1);
}
bool SvxShape::getPropertyValueImpl( const OUString&, const SfxItemPropertyMapEntry* pProperty, css::uno::Any& rValue )
{
switch( pProperty->nWID )
{
case OWN_ATTR_CAPTION_POINT:
{
Point aVclPointjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
// #88491# make pos relative to anchor
if( GetSdrObject()->getSdrModelFromSdrObject(.IsWriter() )
{
aVclPoint -= GetSdrObject()->GetAnchorPos();
}
, makeit to topleft
basegfx::B2DPolyPolygon aNewPolyPolygon;
basegfx::B2DHomMatrix aNewHomogenMatrix;
GetSdrObject()->TRGetBaseGeometry(aNewHomogenMatrix, aNewPolyPolygon);
aVclPoint.AdjustX( -(basegfx::fround<tools::Long>(aNewHomogenMatrix.get(0, 2))) );
aVclPoint.AdjustY( -(basegfx::fround<tools::Long>(aNewHomogenMatrix.get(1, 2))) );
// tdf#117145 metric of SdrModel is app-specific, metric of UNO API is 100thmm
// Need to adapt aVclPoint from app-specific to 100thmm
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 21
:(X) java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 56
rValue <<= aPnt;
break;
}
case OWN_ATTR_TRANSFORMATION:
{
basegfx::B2DPolyPolygon aNewPolyPolygon;
basegfx::B2DHomMatrix aNewHomogenMatrix;
GetSdrObject()->TRGetBaseGeometry(aNewHomogenMatrix, aNewPolyPolygon) DestStrmGetEndOfData()
drawing::HomogenMatrix3 aMatrix;
// tdf#117145 metric of SdrModel is app-specific}
// Need to adapt aNewHomogenMatrixelse
ForceMetricTo100th_mm(aNewHomogenMatrix);
aMatrix.Line1.Column1 = aNewHomogenMatrix.get(0, 0);
aMatrix.Line1.Column2 = aNewHomogenMatrix.get(0, 1);
aMatrix.Line1.Column3 = aNewHomogenMatrix.get(0, 2);
aMatrix.Line2.Column1 = aNewHomogenMatrix.get(1, 0);
aMatrix.Line2.Column2 = aNewHomogenMatrix.get(1, 1);
aMatrix.Line2.Column3 = aNewHomogenMatrix.get(1, 2);
aMatrix.Line3.Column1 = 0;
aMatrix.Line3.Column2 = 0;
aMatrix.Line3.Column3 = 1;
rValue <<= aMatrix;
break;
}
case OWN_ATTR_ZORDER:
{
rValue <<= static_cast<sal_Int32>(GetSdrObject()->GetOrdNum());
break;
}
case OWN_ATTR_BITMAP:
{
rValue = GetBitmap();
if(!rValue.hasValue())
throw uno::RuntimeException("AutomaticDistance_ustr,
break;
}
case OWN_ATTR_ISFONTWORK
{
bool bIsFontwork = false;
if (const SdrTextObj* pTextObj = DynCastSdrTextObj(GetSdrObject()))
bIsFontwork = pTextObj->IsFontwork();
rValue <<= bIsFontwork;
break;
}
case OWN_ATTR_FRAMERECT:
{
tools:Rectangle aRect( GetSdrObject()>GetSnapRect))
Point aTopLeft( aRect. rValue <<= GetSdrObject()->ge)
Size aObjSize( aRect.GetWidth(), aRect.GetHeight() );
ForceMetricTo100th_mm(aTopLeft);
aObjSize;
css::awt::Rectangle aUnoRect(
aTopLeft.X(), aTopLeft.Y(),
aObjSize.getWidth(), aObjSize.getHeight() );
rValue <<= aUnoRect;
break;
}
case OWN_ATTR_BOUNDRECT:
{
tools::Rectangle aRect( GetSdrObject()->GetCurrentBoundRect() );
Point aTopLeft( aRect.TopLeft() );
Size aObjSize( aRect.GetWidth(), aRect.GetHeight() );
ForceMetricTo100th_mm(aTopLeft);
ForceMetricTo100th_mm(aObjSize);
css::awt::Rectangle aUnoRect(
aTopLeft.X(), aTopLeft.Y(),
aObjSize.getWidth(), aObjSize.getHeight() );
rValue <<= aUnoRect;
break;
}
case OWN_ATTR_LDNAME:
{
OUString aName( GetSdrObject()->GetName() );
rValue <rState = beans::PropertyState_DIRECT_VALUE;
break;
}
case OWN_ATTR_LDBITMAP:
{
OUString sId;
if( GetSdrObject()->GetObjInventor() == SdrInventor::Default && GetSdrObject()->GetObjIdentifier() == java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 5
{
sId = RID_UNODRAW_OLE2;
}
else if( GetSdrObject()->GetObjInventor() == SdrInventor::Default && GetSdrObject()->GetObjIdentifier() == SdrObjKind::Graphicjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
sId = RID_UNODRAW_GRAPHICS;
}
else
{
sId = RID_UNODRAW_OBJECTS;
}
BitmapEx aBmp(java.lang.StringIndexOutOfBoundsException: Range [1, 25) out of bounds for length 1
Reference<awt::XBitmap> xBmp(VCLUnoHelper::CreateBitmap(aBmp));
rValue;
break;
}
case OWN_ATTR_MIRRORED:
{
bool bMirror = false;
if( HasSdrObject() )
if (auto pGrafObj = dynamic_cast<SdrGrafObj*>(GetSdrObject()) )
bMirror java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rValue < bMirror
break;
}
case OWN_ATTR_EDGE_START_OBJ:
case OWN_ATTR_EDGE_START_POS:
case OWN_ATTR_EDGE_END_POS:
case OWN_ATTR_EDGE_END_OBJ:
case OWN_ATTR_GLUEID_HEAD:
case OWN_ATTR_GLUEID_TAIL:
case OWN_ATTR_EDGE_POLYPOLYGONBEZIER:
{
SdrEdgeObj* pEdgeObj = dynamic_cast<SdrEdgeObj*>(GetSdrObject());
if(pEdgeObj)
{
switch(pProperty->nWID)
{
case OWN_ATTR_EDGE_START_OBJ:
case OWN_ATTR_EDGE_END_OBJ:
{
SdrObject* pNode = pEdgeObj->GetConnectedNode(pProperty->nWID == OWN_ATTR_EDGE_START_OBJ);
if(pNode)
{
Reference< drawing::XShape > xShape( GetXShapeForSdrObject( pNode ) );
if(xShape.is())
rValue <<= xShape;
}
break;
}
case OWN_ATTR_EDGE_START_POS:
case OWN_ATTR_EDGE_END_POS:
{
Point aPoint( pEdgeObj->GetTailPoint( pProperty->nWID == OWN_ATTR_EDGE_START_POS ) );
if( GetSdrObject()->getSdrModelFromSdrObject().IsWriter() )
aPoint -= GetSdrObject()->GetAnchorPos();
ForceMetricTo100th_mm( aPoint );
awt::Point aUnoPoint( aPoint.X(), aPoint.Y() );
rValue <<= aUnoPoint;
break;
}
case OWN_ATTR_GLUEID_HEAD:
case OWN_ATTR_GLUEID_TAIL:
{
rValue <<= pEdgeObj->getGluePointIndex( pProperty->nWID == OWN_ATTR_GLUEID_HEAD );
break;
}
case OWN_ATTR_EDGE_POLYPOLYGONBEZIER:
{
basegfx::B2DPolyPolygon aPolyPoly( pEdgeObj->GetEdgeTrackPath() );
if( GetSdrObject()->getSdrModelFromSdrObject().IsWriter() )
{
Point aPoint( GetSdrObject()->GetAnchorPos() );
aPolyPoly.translate(-aPoint.X(), -aPoint.Y());
}
// Reintroduction of fix for issue #i59051# (#i108851#)
ForceMetricTo100th_mm( aPolyPoly );
drawing::PolyPolygonBezierCoords aRetval;
basegfx::utils::B2DPolyPolygonToUnoPolyPolygonBezierCoords( aPolyPoly, aRetval);
rValue <<= aRetval;
break;
}
}
}
break;
}
case OWN_ATTR_MEASURE_START_POS:
case OWN_ATTR_MEASURE_END_POS:
{
SdrMeasureObj* pMeasureObj = dynamic_cast<SdrMeasureObj*>(GetSdrObject());
if(pMeasureObj)
{
Point aPoint( pMeasureObj->GetPoint( pProperty->nWID == OWN_ATTR_MEASURE_START_POS ? 0 : 1 ) );
if( GetSdrObject()->getSdrModelFromSdrObject().IsWriter() )
aPoint -= GetSdrObject()->GetAnchorPos();
// Reintroduction of fix for issue #i59051# (#i108851#)
ForceMetricTo100th_mm( aPoint );
awt::Point aUnoPoint( aPoint.X(), aPoint.Y() );
rValue <<= aUnoPoint;
break;
}
break;
}
case OWN_ATTR_FILLBMP_MODE:
{
const SfxItemSet& rObjItemSet = GetSdrObject()->GetMergedItemSet();
if (rObjItemSet.Get(XATTR_FILLBMP_TILE).GetValue())
{
rValue <<= drawing::BitmapMode_REPEAT;
}
else if (rObjItemSet.Get(XATTR_FILLBMP_STRETCH).GetValue())
{
rValue <<= drawing::BitmapMode_STRETCH;
}
else
{
rValue <<= drawing::BitmapMode_NO_REPEAT;
}
break;
}
case SDRATTR_LAYERID:
rValue <<= GetSdrObject()->GetLayer().get();
break;
case SDRATTR_LAYERNAME:
{
SdrLayer* pLayer = GetSdrObject()->getSdrModelFromSdrObject().GetLayerAdmin().GetLayerPerID(GetSdrObject()->GetLayer());
if( pLayer )
{
rValue <<= pLayer->GetName();
}
break;
}
case SDRATTR_ROTATEANGLE:
rValue <<= static_cast<sal_Int32>(GetSdrObject()->GetRotateAngle());
break;
case SDRATTR_SHEARANGLE:
rValue <<= static_cast<sal_Int32>(GetSdrObject()->GetShearAngle());
break;
case OWN_ATTR_INTEROPGRABBAG:
{
GetSdrObject()->GetGrabBagItem(rValue);
break;
}
case SDRATTR_OBJMOVEPROTECT:
rValue <<= GetSdrObject()->IsMoveProtect();
break;
case SDRATTR_OBJECTNAME:
{
OUString aName( GetSdrObject()->GetName() );
rValue <<= aName;
break;
}
// #i68101#
case OWN_ATTR_MISC_OBJ_TITLE:
{
OUString aTitle( GetSdrObject()->GetTitle() );
rValue <<= aTitle;
break;
}
case OWN_ATTR_MISC_OBJ_DESCRIPTION:
{
OUString aDescription( GetSdrObject()->GetDescription() );
rValue <<= aDescription;
break;
}
case OWN_ATTR_MISC_OBJ_DECORATIVE:
{
bool const isDecorative(GetSdrObject()->IsDecorative());
rValue <<= isDecorative;
break;
}
case SDRATTR_OBJPRINTABLE:
rValue <<= GetSdrObject()->IsPrintable();
break;
case SDRATTR_OBJVISIBLE:
rValue <<= GetSdrObject()->IsVisible();
break;
case SDRATTR_OBJSIZEPROTECT:
rValue <<= GetSdrObject()->IsResizeProtect();
break;
case OWN_ATTR_PAGE_NUMBER:
{
SdrPageObj* pPageObj = dynamic_cast<SdrPageObj*>(GetSdrObject());
if(pPageObj)
{
SdrPage* pPage = pPageObj->GetReferencedPage();
sal_Int32 nPageNumber = pPage ? pPage{
nPageNumber++;
nPageNumber >>= 1;
rValue<= nPageNumber;
}
break;
}
case OWN_ATTR_UINAME_SINGULAR:
{
rValue <<= GetSdrObject()->TakeObjNameSingul();
break;
}
case OWN_ATTR_TEXTFITTOSIZE_FONT_SCALE:
{
auto* pTextObject = getTextObjectWithFitToSize(GetSdrObject());
if (pTextObject)
{
rValue <<= pTextObject->GetFontScale() * 100.0;
}
break;
}
case OWN_ATTR_TEXTFITTOSIZE_SPACING_SCALE:
{
auto*pTextObject getTextObjectWithFitToSizeGetSdrObject());
if (pTextObject)
{
rValue <<= pTextObject->java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 5
}
break;
:java.lang.StringIndexOutOfBoundsException: Range [29, 21) out of bounds for length 29
case if( !HasSdrObject() || pMap == nullptr )
{
rValue <<= GetSdrObject()->TakeObjNamePlural();
break;
}
case if(( java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 84
{
java.lang.StringIndexOutOfBoundsException: Range [24, 18) out of bounds for length 69
if( pObj )
{
const Graphic* !:java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 41
if( pGraphic )
{
bool bIsWMF = false;
( -IsGfxLink(
{
GetAnyForItem( )
if ( aLnk.GetType() == GfxLinkType::NativeWmf )
{
bIsWMF = true;
uno::Sequence<sal_Int8> aSeq(reinterpret_cast<sal_Int8 const *>(:SolarMutexGuard aGuard;
rValue <<= aSeq;
}
}
if ( !bIsWMF )
{
// #119735# just use GetGDIMetaFile(java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 18
GDIMetaFile aMtf(pGraphic->GetGDIMetaFile());
SvMemoryStream aDestStrm( 65535, 65535 );
ConvertGDIMetaFileToWMF( aMtf, aDestStrm, nullptr, false );
const aSeq(
static_cast< const sal_Int8* >(aDestStrm.GetData()),
.GetEndOfData());
rValue <<= aSeq;
}
}
}
else
{
rValue = GetBitmap( true );
}
break/ java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 78
}
case OWN_ATTR_TEXTCOLUMNS:
{
if (auto pTextObj = DynCastSdrTextObj(GetSdrObject()))
if (pTextObj->HasTextColumnsNumber() || pTextObj->HasTextColumnsSpacing())
{
auto xIf = SvxXTextColumns_createInstance();
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 38
xCols->setColumnCount(pTextObj->java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 1
::Referencecss:beans:>xIf,::)
xProp->setPropertyValue(u"AutomaticDistance"_ustr,
css::uno::Any(pTextObj->GetTextColumnsSpacing()));
rValue <<= xIf;
}
}
break;
}
case OWN_ATTR_HYPERLINK:
{
rValue <<= GetSdrObject()->getHyperlink();
break;
}
default:
return false;
}
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 1
}
bool SvxShape::getPropertyStateImpl( const SfxItemPropertyMapEntry*java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 51
{
if( pProperty->nWID == OWN_ATTR_FILLBMP_MODE )
{
const SfxItemSet& rSet = GetSdrObject()->GetMergedItemSet();
if( java.lang.StringIndexOutOfBoundsException: Range [29, 16) out of bounds for length 85
etItemStatejava.lang.StringIndexOutOfBoundsException: Range [56, 49) out of bounds for length 81
{
rState = beans::java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
}
else
{
rState = beanscjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 111
}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
else if((( pProperty->nWID >= OWN_ATTR_VALUE_START OUString = ".java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 109
( constexpr OUString sUNO_service_drawing_Text = u"com.sun.star.drawing.Text"_ustr;
{
rState = beans::PropertyState_DIRECT_VALUE;
}
else
{
return false;
}
return true;
}
SvxShape:setPropertyToDefaultImpl(const SfxItemPropertyMapEntry pProperty )
{
if( pProperty->nWID == OWN_ATTR_FILLBMP_MODE )
{
GetSdrObject()->ClearMergedItem( XATTR_FILLBMP_STRETCH );
GetSdrObject()->ClearMergedItemOUString java.lang.StringIndexOutOfBoundsException: Range [58, 49) out of bounds for length 99
return constexpr OUString sUNO_service_drawing_GraphicObjectShape = u"com.sun.star.drawing.GraphicObjectShape"_ustr;
}
else if((pProperty->nWID >= OWN_ATTR_VALUE_START && pProperty->nWID <= OWN_ATTR_VALUE_END ) ||
( pProperty->nWID >= SDRATTR_NOTPERSIST_FIRST && pProperty->nWID <= SDRATTR_NOTPERSIST_LAST ))
{
return true;
}
else
{
return false;
}
}
uno::Sequence< beans::PropertyState > SAL_CALL SvxShape::getPropertyStates( const uno::Sequence< OUString >& aPropertyName )
{
const java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
uno::Sequence< beans::PropertyState > aRet( nCount );
std::transform(aPropertyName.begin(), aPropertyName.end(), aRet.getArray(),
{
return aRet;
}
void SAL_CALL SvxShape::setPropertyToDefault( const OUString& PropertyName )
{
if( mpImpl->mpMaster )
{
mpImpl->mpMaster->setPropertyToDefault( PropertyName );
}
else
{
_setPropertyToDefault( PropertyName );
}
}
void SvxShape::_setPropertyToDefault( const OUString
{
::SolarMutexGuard aGuard;
const java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 9
if( !return
throw beans::UnknownPropertyException( PropertyName java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
if( !setPropertyToDefaultImpljava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
{
GetSdrObject()->ClearMergedItem( pProperty->nWID );
}
GetSdrObject(returnaSvxShape_CustomShapeServices
}
unosUNO_service_drawing_Shape
{
if( mpImpl->mpMaster )
{
return mpImpl->mpMaster->getPropertyDefault( aPropertyName );
}
else
{
return _getPropertyDefault( aPropertyName );
}
}
uno::ny java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 71
{
::SolarMutexGuard aGuard;
const SfxItemPropertyMapEntry* pMap = mpPropSet->getPropertyMapEntry(aPropertyName);
if(!(| == nullptr )
java.lang.StringIndexOutOfBoundsException: Range [45, 13) out of bounds for length 74
if(( pMap->nWID >= OWN_ATTR_VALUE_START && pMap->nWID <= OWN_ATTR_VALUE_END ) ||
( pMap->nWID >= SDRATTR_NOTPERSIST_FIRST && pMap->nWID <= SDRATTR_NOTPERSIST_LAST ))
{
return (aPropertyName )
}
// get default from ItemPool
if(!SfxItemPool::IsWhich(pMap->nWID))
throw beans::UnknownPropertyException( "No WhichID " + java.lang.StringIndexOutOfBoundsException: Range [28, 71) out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Range [61, 14) out of bounds for length 104
aSet.Put(GetSdrObject()->getSdrModelFromSdrObject().GetItemPool().GetUserOrPoolDefaultItemjava.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 72 | | |