LibreOffice Module svx (master)
1
|
#include <unoshape.hxx>
Public Member Functions | |
SvxShape (SdrObject *pObj) | |
SvxShape (SdrObject *pObject, const SfxItemPropertyMapEntry *pEntries, const SvxItemPropertySet *pPropertySet) | |
virtual | ~SvxShape () override throw () |
void | ObtainSettingsFromPropertySet (const SvxItemPropertySet &rPropSet) |
virtual void | Create (SdrObject *pNewOpj, SvxDrawPage *pNewPage) |
void | TakeSdrObjectOwnership () |
takes the ownership of the SdrObject. More... | |
bool | HasSdrObjectOwnership () const |
void | InvalidateSdrObject () |
SdrObject * | GetSdrObject () const |
bool | HasSdrObject () const |
void | SetShapeType (const OUString &ShapeType) |
css::uno::Any | GetBitmap (bool bMetaFile=false) const |
svx::PropertyChangeNotifier & | getShapePropertyChangeNotifier () |
void | setShapeKind (sal_uInt32 nKind) |
sal_uInt32 | getShapeKind () const |
css::uno::Reference< css::beans::XPropertySetInfo > const & | _getPropertySetInfo () |
same as SetFillAttribute but for property names instead of which ids, and the property found is returned instead of set at the object directly. More... | |
void | _setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) |
css::uno::Any | _getPropertyValue (const OUString &PropertyName) |
css::beans::PropertyState | _getPropertyState (const OUString &PropertyName) |
void | _setPropertyToDefault (const OUString &PropertyName) |
css::uno::Any | _getPropertyDefault (const OUString &aPropertyName) |
css::uno::Sequence< OUString > | _getSupportedServiceNames () |
css::uno::Sequence< css::uno::Type > const & | _getTypes () |
void | setMaster (SvxShapeMaster *pMaster) |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override throw () |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &aType) override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual OUString SAL_CALL | getShapeType () override |
virtual css::awt::Point SAL_CALL | getPosition () override |
virtual void SAL_CALL | setPosition (const css::awt::Point &aPosition) override |
virtual css::awt::Size SAL_CALL | getSize () override |
virtual void SAL_CALL | setSize (const css::awt::Size &aSize) override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName) override |
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &PropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName) override |
virtual void SAL_CALL | setAllPropertiesToDefault () override |
virtual void SAL_CALL | setPropertiesToDefault (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyDefaults (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Reference< css::container::XIndexContainer > SAL_CALL | getGluePoints () override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getParent () override |
virtual void SAL_CALL | setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual sal_Bool SAL_CALL | isActionLocked () override |
virtual void SAL_CALL | addActionLock () override |
virtual void SAL_CALL | removeActionLock () override |
virtual void SAL_CALL | setActionLocks (sal_Int16 nLock) override |
virtual sal_Int16 SAL_CALL | resetActionLocks () override |
![]() | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_OVERRIDE |
![]() | |
OWeakAggObject () | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE |
![]() | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
![]() | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
Static Public Member Functions | |
static bool | SetFillAttribute (sal_uInt16 nWID, const OUString &rName, SfxItemSet &rSet, SdrModel const *pModel) |
static bool | SetFillAttribute (sal_uInt16 nWID, const OUString &rName, SfxItemSet &rSet) |
Protected Member Functions | |
void | ForceMetricToItemPoolMetric (Pair &rPoint) const throw () |
void | ForceMetricToItemPoolMetric (Point &rPoint) const throw () |
void | ForceMetricToItemPoolMetric (Size &rPoint) const throw () |
void | ForceMetricTo100th_mm (Pair &rPoint) const throw () |
void | ForceMetricTo100th_mm (Point &rPoint) const throw () |
void | ForceMetricTo100th_mm (Size &rPoint) const throw () |
void | ForceMetricToItemPoolMetric (basegfx::B2DPolyPolygon &rPolyPolygon) const throw () |
void | ForceMetricTo100th_mm (basegfx::B2DPolyPolygon &rPolyPolygon) const throw () |
void | ForceMetricToItemPoolMetric (basegfx::B2DHomMatrix &rB2DHomMatrix) const throw () |
void | ForceMetricTo100th_mm (basegfx::B2DHomMatrix &rB2DHomMatrix) const throw () |
css::uno::Any | GetAnyForItem (SfxItemSet const &aSet, const SfxItemPropertySimpleEntry *pMap) const |
bool | SetFillAttribute (sal_uInt16 nWID, const OUString &rName) |
virtual void | lock () |
called from the XActionLockable interface methods on initial locking More... | |
virtual void | unlock () |
called from the XActionLockable interface methods on final unlock More... | |
const SfxItemPropertyMapEntry * | getPropertyMapEntries () const |
void | updateShapeKind () |
since polygon shapes can change their kind during editing, we have to recheck it here. More... | |
void | endSetPropertyValues () |
virtual bool | setPropertyValueImpl (const OUString &rName, const SfxItemPropertySimpleEntry *pProperty, const css::uno::Any &rValue) |
virtual bool | getPropertyValueImpl (const OUString &rName, const SfxItemPropertySimpleEntry *pProperty, css::uno::Any &rValue) |
virtual bool | getPropertyStateImpl (const SfxItemPropertySimpleEntry *pProperty, css::beans::PropertyState &rState) |
virtual bool | setPropertyToDefaultImpl (const SfxItemPropertySimpleEntry *pProperty) |
![]() | |
virtual | ~OWeakAggObject () SAL_OVERRIDE |
![]() | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Attributes | |
const SvxItemPropertySet * | mpPropSet |
const SfxItemPropertyMapEntry * | maPropMapEntries |
sal_uInt16 | mnLockCount |
used from the XActionLockable interface More... | |
![]() | |
css::uno::WeakReferenceHelper | xDelegator |
![]() | |
oslInterlockedCount | m_refCount |
![]() | |
::osl::Mutex | maMutex |
Private Member Functions | |
SVX_DLLPRIVATE void | impl_initFromSdrObject () |
initializes SdrObj-dependent members. More... | |
SVX_DLLPRIVATE void | impl_construct () |
CTOR-Impl. More... | |
Private Attributes | |
css::awt::Size | maSize |
css::awt::Point | maPosition |
OUString | maShapeType |
OUString | maShapeName |
std::unique_ptr< SvxShapeImpl > | mpImpl |
these members are used to optimize XMultiProperty calls More... | |
bool | mbIsMultiPropertyCall |
css::uno::WeakReference< css::container::XIndexContainer > | mxGluePoints |
::tools::WeakReference< SdrObject > | mpSdrObjectWeakReference |
Friends | |
class | SvxDrawPage |
class | SvxShapeConnector |
class | SdXShape |
Definition at line 107 of file unoshape.hxx.
SvxShape::SvxShape | ( | SdrObject * | pObj | ) |
css::uno::RuntimeException |
Definition at line 197 of file unoshape.cxx.
References impl_construct(), maMutex, and maSize.
SvxShape::SvxShape | ( | SdrObject * | pObject, |
const SfxItemPropertyMapEntry * | pEntries, | ||
const SvxItemPropertySet * | pPropertySet | ||
) |
css::uno::RuntimeException |
Definition at line 210 of file unoshape.cxx.
References impl_construct(), maMutex, and maSize.
|
overridevirtual |
Definition at line 223 of file unoshape.cxx.
References DBG_ASSERT, SfxListener::EndListening(), SfxListener::EndListeningAll(), SdrObject::Free(), GetSdrObject(), HasSdrObject(), HasSdrObjectOwnership(), mnLockCount, mpImpl, and SdrObject::setUnoShape().
uno::Any SvxShape::_getPropertyDefault | ( | const OUString & | aPropertyName | ) |
css::beans::UnknownPropertyException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Definition at line 3047 of file unoshape.cxx.
References GetAnyForItem(), SvxItemPropertySet::getPropertyMapEntry(), getPropertyValue(), GetSdrObject(), HasSdrObject(), SfxItemPool::IsWhich(), mpPropSet, SfxItemPropertySimpleEntry::nWID, SDRATTR_NOTPERSIST_FIRST(), and SDRATTR_NOTPERSIST_LAST().
Referenced by getPropertyDefault().
Reference< beans::XPropertySetInfo > const & SvxShape::_getPropertySetInfo | ( | ) |
same as SetFillAttribute but for property names instead of which ids, and the property found is returned instead of set at the object directly.
css::uno::RuntimeException |
Definition at line 1400 of file unoshape.cxx.
References SvxItemPropertySet::getPropertySetInfo(), and mpPropSet.
Referenced by getPropertySetInfo().
beans::PropertyState SvxShape::_getPropertyState | ( | const OUString & | PropertyName | ) |
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Definition at line 2013 of file unoshape.cxx.
References SfxItemSet::GetItem(), SfxItemSet::GetItemState(), SdrObject::GetMergedItemSet(), NameOrIndex::GetName(), SvxItemPropertySet::getPropertyMapEntry(), getPropertyStateImpl(), GetSdrObject(), HasSdrObject(), mpPropSet, SfxItemPropertySimpleEntry::nWID, XATTR_FILLBITMAP(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_LINEDASH(), XATTR_LINEEND(), and XATTR_LINESTART().
Referenced by getPropertyState().
uno::Any SvxShape::_getPropertyValue | ( | const OUString & | PropertyName | ) |
css::beans::UnknownPropertyException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Definition at line 1749 of file unoshape.cxx.
References DBG_ASSERT, GetAnyForItem(), SvxItemPropertySet::getPropertyMapEntry(), SvxItemPropertySet::getPropertyValue(), SvxUnoTextRangeBase::GetPropertyValueHelper(), getPropertyValueImpl(), GetSdrObject(), HasSdrObject(), SfxItemPool::IsWhich(), mpPropSet, SfxItemPropertySimpleEntry::nWID, SDRATTR_NOTPERSIST_FIRST(), SDRATTR_NOTPERSIST_LAST(), SDRATTR_TEXTDIRECTION(), and SdrObject::TakeNotPersistAttr().
Referenced by getPropertyValue().
uno::Sequence< OUString > SvxShape::_getSupportedServiceNames | ( | ) |
css::uno::RuntimeException |
Definition at line 3183 of file unoshape.cxx.
References aSeq, Default, FmForm, SdrObject::GetObjIdentifier(), GetSdrObject(), HasSdrObject(), OBJ_CAPTION, OBJ_CARC, OBJ_CCUT, OBJ_CIRC, OBJ_CUSTOMSHAPE, OBJ_EDGE, OBJ_FRAME, OBJ_FREEFILL, OBJ_FREELINE, OBJ_GRAF, OBJ_GRUP, OBJ_LINE, OBJ_MEASURE, OBJ_MEDIA, OBJ_OLE2, OBJ_OUTLINETEXT, OBJ_PAGE, OBJ_PATHFILL, OBJ_PATHLINE, OBJ_PATHPLIN, OBJ_PATHPOLY, OBJ_PLIN, OBJ_POLY, OBJ_RECT, OBJ_SECT, OBJ_TEXT, OBJ_TITLETEXT, OBJ_UNO, sUNO_service_drawing_CaptionShape, sUNO_service_drawing_ClosedBezierShape, sUNO_service_drawing_ConnectorProperties, sUNO_service_drawing_ConnectorShape, sUNO_service_drawing_ControlShape, sUNO_service_drawing_CustomShape, sUNO_service_drawing_CustomShapeProperties, sUNO_service_drawing_EllipseShape, sUNO_service_drawing_FillProperties, sUNO_service_drawing_FrameShape, sUNO_service_drawing_GraphicObjectShape, sUNO_service_drawing_GroupShape, sUNO_service_drawing_LineProperties, sUNO_service_drawing_LineShape, sUNO_service_drawing_MeasureProperties, sUNO_service_drawing_MeasureShape, sUNO_service_drawing_MediaShape, sUNO_service_drawing_OLE2Shape, sUNO_service_drawing_OpenBezierShape, sUNO_service_drawing_PageShape, sUNO_service_drawing_PolyLineShape, sUNO_service_drawing_PolyPolygonBezierDescriptor, sUNO_service_drawing_PolyPolygonDescriptor, sUNO_service_drawing_PolyPolygonShape, sUNO_service_drawing_RectangleShape, sUNO_service_drawing_ShadowProperties, sUNO_service_drawing_Shape, sUNO_service_drawing_Text, sUNO_service_drawing_TextProperties, sUNO_service_drawing_TextShape, sUNO_service_style_CharacterProperties, sUNO_service_style_CharacterPropertiesAsian, sUNO_service_style_CharacterPropertiesComplex, sUNO_service_style_ParagraphProperties, sUNO_service_style_ParagraphPropertiesAsian, and sUNO_service_style_ParagraphPropertiesComplex.
Referenced by getSupportedServiceNames().
uno::Sequence< uno::Type > const & SvxShape::_getTypes | ( | ) |
css::uno::RuntimeException |
Definition at line 828 of file unoshape.cxx.
References E3D_CUBEOBJ_ID, E3D_EXTRUDEOBJ_ID, E3D_INVENTOR_FLAG, E3D_LATHEOBJ_ID, E3D_POLYGONOBJ_ID, E3D_SCENE_ID, E3D_SPHEREOBJ_ID, cppu::UnoType< class >::get(), mpImpl, OBJ_CAPTION, OBJ_CIRC, OBJ_CUSTOMSHAPE, OBJ_EDGE, OBJ_FRAME, OBJ_FREEFILL, OBJ_FREELINE, OBJ_GRAF, OBJ_GRUP, OBJ_LINE, OBJ_MEASURE, OBJ_MEDIA, OBJ_OLE2, OBJ_OLE2_APPLET, OBJ_OLE2_PLUGIN, OBJ_PAGE, OBJ_PATHFILL, OBJ_PATHLINE, OBJ_PATHPLIN, OBJ_PATHPOLY, OBJ_PLIN, OBJ_POLY, OBJ_RECT, OBJ_TABLE, OBJ_TEXT, and OBJ_UNO.
Referenced by getTypes().
void SvxShape::_setPropertyToDefault | ( | const OUString & | PropertyName | ) |
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Definition at line 3017 of file unoshape.cxx.
References SdrObject::ClearMergedItem(), SvxItemPropertySet::getPropertyMapEntry(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), HasSdrObject(), mpPropSet, SfxItemPropertySimpleEntry::nWID, SdrModel::SetChanged(), and setPropertyToDefaultImpl().
Referenced by setPropertyToDefault().
void SvxShape::_setPropertyValue | ( | const OUString & | aPropertyName, |
const css::uno::Any & | aValue | ||
) |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Definition at line 1620 of file unoshape.cxx.
References SdrObject::ApplyNotPersistAttr(), DBG_ASSERT, SfxItemSet::GetItemState(), SvxItemPropertySet::getPropertyMapEntry(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), HasSdrObject(), SfxItemPool::IsWhich(), mbIsMultiPropertyCall, mpImpl, mpPropSet, SfxItemPropertySimpleEntry::nFlags, SfxItemPropertySimpleEntry::nWID, SfxItemSet::Put(), SAL_WARN_IF, SDRATTR_ECKENRADIUS(), SDRATTR_NOTPERSIST_FIRST(), SDRATTR_NOTPERSIST_LAST(), SDRATTR_TEXTDIRECTION(), SdrModel::SetChanged(), SdrObject::SetMergedItemSetAndBroadcast(), SvxItemPropertySet::setPropertyValue(), SvxUnoTextRangeBase::SetPropertyValueHelper(), setPropertyValueImpl(), SvxItemPropertySet_setPropertyValue(), and SdrObject::TakeNotPersistAttr().
Referenced by setPropertyValue().
|
overridevirtual |
Definition at line 3676 of file unoshape.cxx.
References DBG_ASSERT, lock(), and mnLockCount.
|
overridevirtual |
Definition at line 1372 of file unoshape.cxx.
References mpImpl.
|
overridevirtual |
Definition at line 1905 of file unoshape.cxx.
|
overridevirtual |
Definition at line 1406 of file unoshape.cxx.
References SvxShapeMutex::maMutex, and mpImpl.
|
overridevirtual |
Definition at line 1420 of file unoshape.cxx.
|
virtual |
Reimplemented in Svx3DSceneObject, SvxShapeGroup, SvxShapeText, SvxFrameShape, SvxAppletShape, and SvxPluginShape.
Definition at line 396 of file unoshape.cxx.
References DBG_TESTSOLARMUTEX, SfxListener::EndListening(), GetSdrObject(), SdrObject::GetUserCall(), HasSdrObject(), impl_initFromSdrObject(), maPosition, maShapeName, maSize, mbIsMultiPropertyCall, mpImpl, mpPropSet, mpSdrObjectWeakReference, ObtainSettingsFromPropertySet(), tools::WeakReference< reference_type >::reset(), SdrObject::SetName(), setPosition(), setSize(), SdrObject::SetUserCall(), and SfxListener::StartListening().
Referenced by SvxDrawPage::add(), Svx3DSceneObject::add(), SvxDrawPage::addBottom(), SvxShapeGroup::addUnoShape(), SvxPluginShape::Create(), SvxAppletShape::Create(), SvxFrameShape::Create(), SvxShapeText::Create(), SvxShapeGroup::Create(), and Svx3DSceneObject::Create().
Definition at line 1318 of file unoshape.cxx.
References SfxListener::EndListening(), SdrObject::Free(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), HasSdrObject(), HasSdrObjectOwnership(), SdrObject::IsInserted(), mpImpl, nCount, cppu::OWeakAggObject::OWeakAggObject(), SdrObjList::RemoveObject(), and SdrObject::setUnoShape().
|
protected |
Definition at line 1855 of file unoshape.cxx.
References mbIsMultiPropertyCall, and mpImpl.
Referenced by setPropertyValues().
|
overridevirtual |
Definition at line 1913 of file unoshape.cxx.
Definition at line 536 of file unoshape.cxx.
References DBG_TESTSOLARMUTEX, and TWIPS_TO_MM.
Referenced by getPosition(), SvxCustomShape::getPosition(), getPropertyValueImpl(), SvxShapePolyPolygon::getPropertyValueImpl(), and getSize().
Definition at line 140 of file unoshape.hxx.
References ForceMetricTo100th_mm().
Referenced by ForceMetricTo100th_mm().
Definition at line 141 of file unoshape.hxx.
References ForceMetricTo100th_mm().
Referenced by ForceMetricTo100th_mm().
|
protected |
Definition at line 562 of file unoshape.cxx.
References DBG_TESTSOLARMUTEX, and basegfx::B2DHomMatrix::scale().
|
protected |
Definition at line 590 of file unoshape.cxx.
References basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), DBG_TESTSOLARMUTEX, basegfx::utils::B2DHomMatrixBufferedDecompose::getRotate(), basegfx::utils::B2DHomMatrixBufferedDecompose::getScale(), basegfx::utils::B2DHomMatrixBufferedDecompose::getShearX(), and basegfx::utils::B2DHomMatrixBufferedDecompose::getTranslate().
Definition at line 453 of file unoshape.cxx.
References DBG_TESTSOLARMUTEX, and MM_TO_TWIPS.
Referenced by setPosition(), setPropertyValueImpl(), SvxShapePolyPolygon::setPropertyValueImpl(), and setSize().
Definition at line 137 of file unoshape.hxx.
References ForceMetricToItemPoolMetric().
Referenced by ForceMetricToItemPoolMetric().
Definition at line 138 of file unoshape.hxx.
References ForceMetricToItemPoolMetric().
Referenced by ForceMetricToItemPoolMetric().
|
protected |
Definition at line 478 of file unoshape.cxx.
References DBG_TESTSOLARMUTEX, and basegfx::B2DHomMatrix::scale().
|
protected |
Definition at line 506 of file unoshape.cxx.
References basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), DBG_TESTSOLARMUTEX, basegfx::utils::B2DHomMatrixBufferedDecompose::getRotate(), basegfx::utils::B2DHomMatrixBufferedDecompose::getScale(), basegfx::utils::B2DHomMatrixBufferedDecompose::getShearX(), and basegfx::utils::B2DHomMatrixBufferedDecompose::getTranslate().
|
protected |
Definition at line 1918 of file unoshape.cxx.
References SfxItemPropertySimpleEntry::aType, DBG_TESTSOLARMUTEX, Default, cppu::UnoType< class >::get(), o3tl::strong_int< UNDERLYING_TYPE, PHANTOM_TYPE >::get(), SfxItemSet::GetItemState(), GetSdrObject(), GetValue, nValue, SfxItemPropertySimpleEntry::nWID, OBJ_CARC, OBJ_CCUT, OBJ_CIRC, OBJ_SECT, SDRATTR_CIRCENDANGLE(), SDRATTR_CIRCKIND(), SDRATTR_CIRCSTARTANGLE(), and SvxItemPropertySet_getPropertyValue().
Referenced by _getPropertyDefault(), and _getPropertyValue().
uno::Any SvxShape::GetBitmap | ( | bool | bMetaFile = false | ) | const |
css::uno::RuntimeException |
Definition at line 684 of file unoshape.cxx.
References aSeq, ConvertGDIMetaFileToWMF(), convertPrimitive2DSequenceToBitmapEx(), DBG_TESTSOLARMUTEX, drawinglayer::primitive2d::Primitive2DContainer::getB2DRange(), SvMemoryStream::GetData(), SvMemoryStream::GetEndOfData(), SdrGrafObj::GetGraphic(), BitmapEx::GetPrefMapMode(), BitmapEx::GetPrefSize(), GetSdrObject(), tools::Rectangle::GetSize(), Graphic::GetXGraphic(), HasSdrObject(), SdrCaptionObj::isSuppressGetBitmap(), tools::Rectangle::Left(), OutputDevice::LogicToLogic(), GDIMetaFile::Move(), GDIMetaFile::Record(), Graphic::SetPrefMapMode(), GDIMetaFile::SetPrefMapMode(), Graphic::SetPrefSize(), GDIMetaFile::SetPrefSize(), SdrObject::SingleObjectPainter(), GDIMetaFile::Stop(), tools::Rectangle::Top(), and GDIMetaFile::WindStart().
Referenced by getPropertyValueImpl(), and SvxOle2Shape::getPropertyValueImpl().
|
overridevirtual |
Definition at line 3587 of file unoshape.cxx.
References GetSdrObject(), HasSdrObject(), mxGluePoints, and SvxUnoGluePointAccess_createInstance().
|
overridevirtual |
Reimplemented from cppu::WeakAggImplHelper12< class, class, class, class, class, class, class, class, class, class, class, class >.
Reimplemented in SvxCustomShape, Svx3DSceneObject, SvxShapeControl, SvxShapeConnector, SvxShapeGroup, and SvxShapeText.
Definition at line 1021 of file unoshape.cxx.
|
overridevirtual |
Reimplemented in SvxShapeText.
Definition at line 3121 of file unoshape.cxx.
|
overridevirtual |
Definition at line 1277 of file unoshape.cxx.
References SdrObject::GetName(), GetSdrObject(), HasSdrObject(), and maShapeName.
|
overridevirtual |
Definition at line 3602 of file unoshape.cxx.
References GetSdrObject(), SdrObjList::getSdrObjectFromSdrObjList(), SdrObjList::getSdrPageFromSdrObjList(), SdrPage::getUnoPage(), and SdrObject::getUnoShape().
|
overridevirtual |
Reimplemented in SvxCustomShape, SvxShapeControl, SvxShapeConnector, and SvxShapeGroup.
Definition at line 1157 of file unoshape.cxx.
References ForceMetricTo100th_mm(), SdrObject::GetAnchorPos(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), HasSdrObject(), SdrModel::IsWriter(), tools::Rectangle::Left(), maPosition, Point, svx_getLogicRectHack(), and tools::Rectangle::Top().
Referenced by SvxShapeGroup::getPosition(), SvxShapeConnector::getPosition(), SvxShapeControl::getPosition(), and SvxCustomShape::getPosition().
|
overridevirtual |
Reimplemented in SvxShapeControl.
Definition at line 3035 of file unoshape.cxx.
References _getPropertyDefault(), and mpImpl.
Referenced by SvxShapeControl::getPropertyDefault(), and getPropertyDefaults().
|
overridevirtual |
Definition at line 3108 of file unoshape.cxx.
References getPropertyDefault().
|
inlineprotected |
Definition at line 164 of file unoshape.hxx.
|
overridevirtual |
Definition at line 1387 of file unoshape.cxx.
References _getPropertySetInfo(), and mpImpl.
|
overridevirtual |
Reimplemented in SvxShapeControl.
Definition at line 2001 of file unoshape.cxx.
References _getPropertyState(), and mpImpl.
Referenced by SvxShapeControl::getPropertyState(), and getPropertyStates().
|
protectedvirtual |
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Reimplemented in SvxShapeText.
Definition at line 2943 of file unoshape.cxx.
References SfxItemSet::GetItemState(), SdrObject::GetMergedItemSet(), GetSdrObject(), SfxItemPropertySimpleEntry::nWID, OWN_ATTR_FILLBMP_MODE, SDRATTR_NOTPERSIST_FIRST(), SDRATTR_NOTPERSIST_LAST(), SDRATTR_TEXTDIRECTION(), XATTR_FILLBMP_STRETCH(), and XATTR_FILLBMP_TILE().
Referenced by _getPropertyState(), and SvxShapeText::getPropertyStateImpl().
|
overridevirtual |
Definition at line 2993 of file unoshape.cxx.
References getPropertyState(), and nCount.
|
overridevirtual |
Reimplemented in SvxShapeControl.
Definition at line 1740 of file unoshape.cxx.
References _getPropertyValue(), and mpImpl.
Referenced by _getPropertyDefault(), SvxOle2Shape::createObject(), SvxShapeControl::getPropertyValue(), and getPropertyValues().
|
protectedvirtual |
css::beans::UnknownPropertyException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Reimplemented in SvxMediaShape, SvxCustomShape, Svx3DPolygonObject, Svx3DExtrudeObject, Svx3DLatheObject, Svx3DSphereObject, Svx3DCubeObject, Svx3DSceneObject, SvxGraphicObject, SvxShapePolyPolygon, SvxOle2Shape, SvxShapeText, SvxTableShape, SvxFrameShape, SvxAppletShape, and SvxPluginShape.
Definition at line 2546 of file unoshape.cxx.
References aName, aSeq, basegfx::utils::B2DPolyPolygonToUnoPolyPolygonBezierCoords(), ConvertGDIMetaFileToWMF(), VCLUnoHelper::CreateBitmap(), basegfx::utils::createTranslateB2DHomMatrix(), Default, ForceMetricTo100th_mm(), basegfx::fround(), basegfx::B2DHomMatrix::get(), SfxItemSet::Get(), SdrObject::GetAnchorPos(), GetBitmap(), SdrEdgeObj::GetConnectedNode(), GfxLink::GetData(), GfxLink::GetDataSize(), SdrEdgeObj::GetEdgeTrackPath(), Graphic::GetGDIMetaFile(), Graphic::GetGfxLink(), SdrEdgeObj::getGluePointIndex(), SdrObject::GetGrabBagItem(), SdrOle2Obj::GetGraphic(), tools::Rectangle::GetHeight(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdrObject::GetMergedItemSet(), SdrLayer::GetName(), SdrObject::GetOrdNum(), SdrPage::GetPageNum(), SdrMeasureObj::GetPoint(), SdrPageObj::GetReferencedPage(), SdrObject::GetRotateAngle(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::GetShearAngle(), SdrEdgeObj::GetTailPoint(), GetTitle(), GfxLink::GetType(), tools::Rectangle::GetWidth(), GetXShapeForSdrObject(), HasSdrObject(), SdrTextObj::IsFontwork(), Graphic::IsGfxLink(), IsMirrored(), SdrObject::IsMoveProtect(), SdrObject::IsPrintable(), SdrObject::IsResizeProtect(), SdrObject::IsVisible(), SdrModel::IsWriter(), SfxItemPropertySimpleEntry::nWID, OBJ_GRAF, OBJ_OLE2, OWN_ATTR_BITMAP, OWN_ATTR_BOUNDRECT, OWN_ATTR_CAPTION_POINT, OWN_ATTR_EDGE_END_OBJ, OWN_ATTR_EDGE_END_POS, OWN_ATTR_EDGE_POLYPOLYGONBEZIER, OWN_ATTR_EDGE_START_OBJ, OWN_ATTR_EDGE_START_POS, OWN_ATTR_FILLBMP_MODE, OWN_ATTR_FRAMERECT, OWN_ATTR_GLUEID_HEAD, OWN_ATTR_GLUEID_TAIL, OWN_ATTR_INTEROPGRABBAG, OWN_ATTR_ISFONTWORK, OWN_ATTR_LDBITMAP, OWN_ATTR_LDNAME, OWN_ATTR_MEASURE_END_POS, OWN_ATTR_MEASURE_START_POS, OWN_ATTR_METAFILE, OWN_ATTR_MIRRORED, OWN_ATTR_MISC_OBJ_DESCRIPTION, OWN_ATTR_MISC_OBJ_TITLE, OWN_ATTR_PAGE_NUMBER, OWN_ATTR_TEXTFITTOSIZESCALE, OWN_ATTR_TRANSFORMATION, OWN_ATTR_UINAME_PLURAL, OWN_ATTR_UINAME_SINGULAR, OWN_ATTR_ZORDER, Point, SDRATTR_LAYERID(), SDRATTR_LAYERNAME(), SDRATTR_OBJECTNAME(), SDRATTR_OBJMOVEPROTECT(), SDRATTR_OBJPRINTABLE(), SDRATTR_OBJSIZEPROTECT(), SDRATTR_OBJVISIBLE(), SDRATTR_ROTATEANGLE(), SDRATTR_SHEARANGLE(), sId, SdrObject::TakeObjNamePlural(), SdrObject::TakeObjNameSingul(), tools::Rectangle::TopLeft(), SdrObject::TRGetBaseGeometry(), XATTR_FILLBMP_STRETCH(), and XATTR_FILLBMP_TILE().
Referenced by _getPropertyValue(), SvxTableShape::getPropertyValueImpl(), SvxShapeText::getPropertyValueImpl(), Svx3DSceneObject::getPropertyValueImpl(), Svx3DCubeObject::getPropertyValueImpl(), Svx3DSphereObject::getPropertyValueImpl(), Svx3DLatheObject::getPropertyValueImpl(), Svx3DExtrudeObject::getPropertyValueImpl(), Svx3DPolygonObject::getPropertyValueImpl(), SvxCustomShape::getPropertyValueImpl(), and SvxMediaShape::getPropertyValueImpl().
|
overridevirtual |
Definition at line 1862 of file unoshape.cxx.
References getPropertyValue(), mpImpl, nCount, and cppu::WeakAggImplHelper12< class, class, class, class, class, class, class, class, class, class, class, class >::queryInterface().
|
inline |
Definition at line 209 of file unoshape.hxx.
References tools::WeakReference< reference_type >::get().
Referenced by _getPropertyDefault(), _getPropertyState(), _getPropertyValue(), _getSupportedServiceNames(), _setPropertyToDefault(), _setPropertyValue(), SvxDrawPage::add(), Svx3DSceneObject::add(), SvxDrawPage::addBottom(), SvxShapeGroup::addUnoShape(), SvxShapeConnector::connectEnd(), SvxShapeConnector::connectStart(), Create(), SvxCustomShape::createCustomShapeDefaults(), SvxOle2Shape::createLink(), SvxOle2Shape::createObject(), SvxShapeConnector::disconnectBegin(), SvxShapeConnector::disconnectEnd(), dispose(), GetAnyForItem(), GetBitmap(), SvxShapeGroup::getByIndex(), Svx3DSceneObject::getByIndex(), SvxOle2Shape::GetClassName_Impl(), SvxShapeControl::getControl(), SvxShapeGroup::getCount(), Svx3DSceneObject::getCount(), getGluePoints(), getName(), getParent(), SvxShapePolyPolygon::GetPolygon(), SvxShapePolyPolygon::GetPolygonKind(), getPosition(), SvxCustomShape::getPosition(), getPropertyStateImpl(), SvxPluginShape::getPropertyValueImpl(), SvxAppletShape::getPropertyValueImpl(), SvxFrameShape::getPropertyValueImpl(), SvxTableShape::getPropertyValueImpl(), getPropertyValueImpl(), SvxShapeText::getPropertyValueImpl(), SvxOle2Shape::getPropertyValueImpl(), SvxShapePolyPolygon::getPropertyValueImpl(), SvxGraphicObject::getPropertyValueImpl(), Svx3DSceneObject::getPropertyValueImpl(), Svx3DCubeObject::getPropertyValueImpl(), Svx3DSphereObject::getPropertyValueImpl(), Svx3DLatheObject::getPropertyValueImpl(), Svx3DExtrudeObject::getPropertyValueImpl(), Svx3DPolygonObject::getPropertyValueImpl(), SvxCustomShape::getPropertyValueImpl(), SvxMediaShape::getPropertyValueImpl(), SdrObject::getSdrObjectFromXShape(), GetSdrObjectFromXShape(), getSize(), SvxShapeGroup::hasElements(), Svx3DSceneObject::hasElements(), impl_construct(), impl_initFromSdrObject(), InvalidateSdrObject(), SvxTableShape::lock(), ObtainSettingsFromPropertySet(), SvxDrawPage::remove(), SvxShapeGroup::remove(), Svx3DSceneObject::remove(), SvxOle2Shape::resetModifiedState(), setAllPropertiesToDefault(), SvxShapeControl::setControl(), SetFillAttribute(), setName(), SvxShapePolyPolygon::SetPolygon(), setPosition(), setPropertyToDefaultImpl(), SvxCustomShape::setPropertyValue(), SvxPluginShape::setPropertyValueImpl(), SvxAppletShape::setPropertyValueImpl(), SvxFrameShape::setPropertyValueImpl(), SvxTableShape::setPropertyValueImpl(), setPropertyValueImpl(), SvxShapeText::setPropertyValueImpl(), SvxOle2Shape::setPropertyValueImpl(), SvxShapePolyPolygon::setPropertyValueImpl(), SvxGraphicObject::setPropertyValueImpl(), Svx3DSceneObject::setPropertyValueImpl(), Svx3DCubeObject::setPropertyValueImpl(), Svx3DSphereObject::setPropertyValueImpl(), Svx3DLatheObject::setPropertyValueImpl(), Svx3DExtrudeObject::setPropertyValueImpl(), Svx3DPolygonObject::setPropertyValueImpl(), SvxMediaShape::setPropertyValueImpl(), setPropertyValues(), setSize(), SvxTableShape::unlock(), updateShapeKind(), and ~SvxShape().
sal_uInt32 SvxShape::getShapeKind | ( | ) | const |
Definition at line 284 of file unoshape.cxx.
References mpImpl.
svx::PropertyChangeNotifier & SvxShape::getShapePropertyChangeNotifier | ( | ) |
Definition at line 331 of file unoshape.cxx.
References mpImpl.
Referenced by SdrObject::getShapePropertyChangeNotifier(), and SdrObject::notifyShapePropertyChange().
|
overridevirtual |
Reimplemented in SvxShapeControl, SvxShapeConnector, and SvxShapeGroup.
Definition at line 1307 of file unoshape.cxx.
References UHashMap::getNameFromId(), maShapeType, and mpImpl.
Referenced by SvxShapeGroup::getShapeType(), SvxShapeConnector::getShapeType(), and SvxShapeControl::getShapeType().
|
overridevirtual |
Reimplemented in SvxShapeControl, SvxShapeConnector, and SvxShapeGroup.
Definition at line 1210 of file unoshape.cxx.
References ForceMetricTo100th_mm(), tools::Rectangle::getHeight(), GetSdrObject(), tools::Rectangle::getWidth(), HasSdrObject(), maSize, and svx_getLogicRectHack().
Referenced by SvxShapeGroup::getSize(), SvxShapeConnector::getSize(), and SvxShapeControl::getSize().
|
overridevirtual |
Reimplemented in Svx3DPolygonObject, Svx3DExtrudeObject, Svx3DLatheObject, Svx3DSphereObject, Svx3DCubeObject, Svx3DSceneObject, SvxShapeRect, and SvxShapeText.
Definition at line 3171 of file unoshape.cxx.
References _getSupportedServiceNames(), and mpImpl.
Referenced by SvxShapeText::getSupportedServiceNames(), SvxShapeRect::getSupportedServiceNames(), Svx3DSceneObject::getSupportedServiceNames(), Svx3DCubeObject::getSupportedServiceNames(), Svx3DSphereObject::getSupportedServiceNames(), Svx3DLatheObject::getSupportedServiceNames(), Svx3DExtrudeObject::getSupportedServiceNames(), and Svx3DPolygonObject::getSupportedServiceNames().
|
overridevirtual |
Reimplemented from cppu::WeakAggImplHelper12< class, class, class, class, class, class, class, class, class, class, class, class >.
Reimplemented in SvxCustomShape, SvxShapeControl, SvxShapeConnector, and SvxShapeText.
Definition at line 815 of file unoshape.cxx.
References _getTypes(), and mpImpl.
Referenced by SvxShapeText::getTypes(), SvxShapeConnector::getTypes(), and SvxShapeControl::getTypes().
|
inline |
Definition at line 210 of file unoshape.hxx.
References tools::WeakReference< reference_type >::is().
Referenced by _getPropertyDefault(), _getPropertyState(), _getPropertyValue(), _getSupportedServiceNames(), _setPropertyToDefault(), _setPropertyValue(), Svx3DSceneObject::add(), SvxShapeGroup::addUnoShape(), SvxShapeConnector::connectEnd(), Create(), SvxCustomShape::createCustomShapeDefaults(), SvxShapeConnector::disconnectBegin(), SvxShapeConnector::disconnectEnd(), dispose(), GetBitmap(), SvxShapeGroup::getByIndex(), Svx3DSceneObject::getByIndex(), SvxShapeGroup::getCount(), Svx3DSceneObject::getCount(), getGluePoints(), getName(), SvxShapePolyPolygon::GetPolygon(), SvxShapePolyPolygon::GetPolygonKind(), getPosition(), SvxCustomShape::getPosition(), SvxTableShape::getPropertyValueImpl(), getPropertyValueImpl(), SvxShapePolyPolygon::getPropertyValueImpl(), getSize(), SvxShapeGroup::hasElements(), Svx3DSceneObject::hasElements(), HasSdrObjectOwnership(), impl_construct(), impl_initFromSdrObject(), InvalidateSdrObject(), SvxTableShape::lock(), ObtainSettingsFromPropertySet(), SvxShapeGroup::remove(), Svx3DSceneObject::remove(), setAllPropertiesToDefault(), SetFillAttribute(), setName(), SvxShapePolyPolygon::SetPolygon(), setPosition(), SvxTableShape::setPropertyValueImpl(), SvxShapePolyPolygon::setPropertyValueImpl(), SvxGraphicObject::setPropertyValueImpl(), setPropertyValues(), setSize(), SvxTableShape::unlock(), and ~SvxShape().
bool SvxShape::HasSdrObjectOwnership | ( | ) | const |
Definition at line 268 of file unoshape.cxx.
References HasSdrObject(), and mpImpl.
Referenced by dispose(), SdrObject::handlePageChange(), SdrObject::impl_setUnoShape(), InvalidateSdrObject(), and ~SvxShape().
|
private |
CTOR-Impl.
Definition at line 337 of file unoshape.cxx.
References GetSdrObject(), HasSdrObject(), impl_initFromSdrObject(), mpImpl, svx::Position, svx::Size, and SfxListener::StartListening().
Referenced by SvxShape().
|
private |
initializes SdrObj-dependent members.
Only to be called when GetSdrObject() != NULL
Definition at line 352 of file unoshape.cxx.
References DBG_TESTSOLARMUTEX, Default, E3d, E3D_INVENTOR_FLAG, FmForm, SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), GetSdrObject(), HasSdrObject(), cppu::OWeakObject::m_refCount, mpImpl, OBJ_CARC, OBJ_CCUT, OBJ_CIRC, OBJ_SECT, OBJ_UNO, and SdrObject::setUnoShape().
Referenced by Create(), and impl_construct().
void SvxShape::InvalidateSdrObject | ( | ) |
Definition at line 255 of file unoshape.cxx.
References SfxListener::EndListening(), GetSdrObject(), HasSdrObject(), HasSdrObjectOwnership(), mpSdrObjectWeakReference, and tools::WeakReference< reference_type >::reset().
Referenced by SdrObject::Free(), and SdrObject::impl_setUnoShape().
|
overridevirtual |
Definition at line 3668 of file unoshape.cxx.
References mnLockCount.
|
protectedvirtual |
called from the XActionLockable interface methods on initial locking
Reimplemented in SvxShapeText, and SvxTableShape.
Definition at line 3656 of file unoshape.cxx.
Referenced by addActionLock(), SvxTableShape::lock(), and setActionLocks().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 1026 of file unoshape.cxx.
References DBG_TESTSOLARMUTEX, dispose(), SdrObject::Free(), SdrHint::GetKind(), SdrHint::GetObject(), SdrObject::getSdrModelFromSdrObject(), SdrObject::getWeakUnoShape(), SdrObject::IsInserted(), ModelCleared, ObjectChange, and SdrObject::setUnoShape().
void SvxShape::ObtainSettingsFromPropertySet | ( | const SvxItemPropertySet & | rPropSet | ) |
Definition at line 669 of file unoshape.cxx.
References SdrObject::ApplyNotPersistAttr(), SvxItemPropertySet::AreThereOwnUsrAnys(), DBG_TESTSOLARMUTEX, SvxItemPropertySet::getPropertyMap(), GetSdrObject(), HasSdrObject(), mpPropSet, SdrObject::SetMergedItemSetAndBroadcast(), and SvxItemPropertySet_ObtainSettingsFromPropertySet().
Referenced by Create().
|
overridevirtual |
Reimplemented from cppu::OWeakAggObject.
Reimplemented in SvxCustomShape, Svx3DSceneObject, SvxShapeControl, SvxShapeConnector, SvxShapeGroup, SvxShapeRect, and SvxShapeText.
Definition at line 296 of file unoshape.cxx.
References mpImpl, and cppu::WeakAggImplHelper12< class, class, class, class, class, class, class, class, class, class, class, class >::queryAggregation().
Referenced by SvxShapeText::queryAggregation(), SvxShapeGroup::queryAggregation(), and Svx3DSceneObject::queryAggregation().
|
overridevirtual |
Definition at line 3688 of file unoshape.cxx.
References DBG_ASSERT, mnLockCount, and unlock().
|
overridevirtual |
Definition at line 1378 of file unoshape.cxx.
References mpImpl.
|
overridevirtual |
Definition at line 1909 of file unoshape.cxx.
|
overridevirtual |
Definition at line 1413 of file unoshape.cxx.
References SvxShapeMutex::maMutex, and mpImpl.
|
overridevirtual |
Definition at line 1426 of file unoshape.cxx.
|
overridevirtual |
Definition at line 3714 of file unoshape.cxx.
References mnLockCount, and unlock().
|
overridevirtual |
Definition at line 3700 of file unoshape.cxx.
References lock(), mnLockCount, and unlock().
|
overridevirtual |
Definition at line 3073 of file unoshape.cxx.
References SdrObject::ClearMergedItem(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), HasSdrObject(), SdrModel::SetChanged(), and SdrObject::SetMergedItem().
|
protected |
Definition at line 1432 of file unoshape.cxx.
References GetSdrObject(), HasSdrObject(), and SdrObject::SetMergedItemSetAndBroadcast().
Referenced by SetFillAttribute(), and setPropertyValueImpl().
|
static |
Definition at line 1451 of file unoshape.cxx.
References SdrModel::GetBitmapList(), XDashEntry::GetDash(), SdrModel::GetDashList(), XGradientEntry::GetGradient(), SdrModel::GetGradientList(), XBitmapEntry::GetGraphicObject(), XHatchEntry::GetHatch(), SdrModel::GetHatchList(), XLineEndEntry::GetLineEnd(), SdrModel::GetLineEndList(), nPos, SfxItemSet::Put(), SetFillAttribute(), SvxUnogetInternalNameForItem(), XATTR_FILLBITMAP(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_LINEDASH(), XATTR_LINEEND(), and XATTR_LINESTART().
|
static |
Definition at line 1563 of file unoshape.cxx.
References aName, SfxItemPool::GetItemSurrogates(), NameOrIndex::GetName(), SfxItemSet::GetPool(), p, SfxItemSet::Put(), SvxUnogetInternalNameForItem(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_LINEEND(), and XATTR_LINESTART().
void SvxShape::setMaster | ( | SvxShapeMaster * | pMaster | ) |
Definition at line 290 of file unoshape.cxx.
References mpImpl.
|
overridevirtual |
Definition at line 1291 of file unoshape.cxx.
References GetSdrObject(), HasSdrObject(), maShapeName, and SdrObject::SetName().
|
overridevirtual |
Definition at line 3649 of file unoshape.cxx.
|
overridevirtual |
Reimplemented in SvxShapeControl, SvxShapeConnector, and SvxShapeGroup.
Definition at line 1180 of file unoshape.cxx.
References ForceMetricToItemPoolMetric(), SdrObject::GetAnchorPos(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), HasSdrObject(), tools::Rectangle::Left(), maPosition, SdrObject::Move(), Point, SdrModel::SetChanged(), svx_getLogicRectHack(), and tools::Rectangle::Top().
Referenced by Create(), SvxShapeGroup::setPosition(), SvxShapeConnector::setPosition(), and SvxShapeControl::setPosition().
|
overridevirtual |
Definition at line 3101 of file unoshape.cxx.
References setPropertyToDefault().
|
overridevirtual |
Reimplemented in SvxShapeControl.
Definition at line 3005 of file unoshape.cxx.
References _setPropertyToDefault(), and mpImpl.
Referenced by setPropertiesToDefault(), and SvxShapeControl::setPropertyToDefault().
|
protectedvirtual |
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Reimplemented in SvxShapeText.
Definition at line 2973 of file unoshape.cxx.
References SdrObject::ClearMergedItem(), GetSdrObject(), SfxItemPropertySimpleEntry::nWID, OWN_ATTR_FILLBMP_MODE, SDRATTR_NOTPERSIST_FIRST(), SDRATTR_NOTPERSIST_LAST(), XATTR_FILLBMP_STRETCH(), and XATTR_FILLBMP_TILE().
Referenced by _setPropertyToDefault(), and SvxShapeText::setPropertyToDefaultImpl().
|
overridevirtual |
Reimplemented in SvxCustomShape, SvxShapeControl, SvxFrameShape, SvxAppletShape, and SvxPluginShape.
Definition at line 1608 of file unoshape.cxx.
References _setPropertyValue(), and mpImpl.
Referenced by SvxOle2Shape::createLink(), SvxOle2Shape::createObject(), SvxPluginShape::setPropertyValue(), SvxAppletShape::setPropertyValue(), SvxFrameShape::setPropertyValue(), SvxShapeControl::setPropertyValue(), SvxCustomShape::setPropertyValue(), and setPropertyValues().
|
protectedvirtual |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Reimplemented in SvxMediaShape, Svx3DPolygonObject, Svx3DExtrudeObject, Svx3DLatheObject, Svx3DSphereObject, Svx3DCubeObject, Svx3DSceneObject, SvxGraphicObject, SvxShapePolyPolygon, SvxOle2Shape, SvxShapeText, SvxTableShape, SvxFrameShape, SvxAppletShape, and SvxPluginShape.
Definition at line 2080 of file unoshape.cxx.
References aName, SfxItemPropertySimpleEntry::aType, SdrObject::BroadcastObjectChange(), bVisible, Center, SdrEdgeObj::ConnectToNode(), basegfx::B2DPolyPolygon::count(), basegfx::utils::createTranslateB2DHomMatrix(), DBG_ASSERT, eMode, F_PI18000, ForceMetricToItemPoolMetric(), basegfx::fround(), basegfx::B2DHomMatrix::get(), o3tl::strong_int< UNDERLYING_TYPE, PHANTOM_TYPE >::get(), SdrObject::GetAnchorPos(), SdrLayer::GetID(), SdrLayerAdmin::GetLayer(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdrObject::getParentSdrObjListFromSdrObject(), SdrObject::GetRotateAngle(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), GetSdrObjectFromXShape(), SdrObject::GetShearAngle(), SdrModel::IsWriter(), MID_NAME, SdrMeasureObj::NbcSetPoint(), nId, SfxItemPropertySimpleEntry::nMemberId, SfxItemPropertySimpleEntry::nWID, OWN_ATTR_CAPTION_POINT, OWN_ATTR_EDGE_END_OBJ, OWN_ATTR_EDGE_END_POS, OWN_ATTR_EDGE_POLYPOLYGONBEZIER, OWN_ATTR_EDGE_START_OBJ, OWN_ATTR_EDGE_START_POS, OWN_ATTR_FILLBMP_MODE, OWN_ATTR_FRAMERECT, OWN_ATTR_GLUEID_HEAD, OWN_ATTR_GLUEID_TAIL, OWN_ATTR_INTEROPGRABBAG, OWN_ATTR_MEASURE_END_POS, OWN_ATTR_MEASURE_START_POS, OWN_ATTR_MIRRORED, OWN_ATTR_MISC_OBJ_DESCRIPTION, OWN_ATTR_MISC_OBJ_TITLE, OWN_ATTR_PAGE_NUMBER, OWN_ATTR_TEXTFITTOSIZESCALE, OWN_ATTR_TRANSFORMATION, OWN_ATTR_ZORDER, Point, SdrObject::Rotate(), SDRATTR_LAYERID(), SDRATTR_LAYERNAME(), SDRATTR_OBJECTNAME(), SDRATTR_OBJMOVEPROTECT(), SDRATTR_OBJPRINTABLE(), SDRATTR_OBJSIZEPROTECT(), SDRATTR_OBJVISIBLE(), SDRATTR_ROTATEANGLE(), SDRATTR_SHEARANGLE(), SDRATTR_TEXT_FITTOSIZE(), basegfx::B2DHomMatrix::set(), SdrObject::SetChanged(), SdrObject::SetDescription(), SdrEdgeObj::SetEdgeTrackPath(), SetFillAttribute(), SdrEdgeObj::setGluePointIndex(), SdrObject::SetGrabBagItem(), SdrObject::SetLayer(), SdrTextFitToSizeTypeItem::SetMaxScale(), SdrObject::SetMergedItem(), SdrGrafObj::SetMirrored(), SdrObject::SetMoveProtect(), SdrObject::SetName(), SdrObjList::SetObjectOrdNum(), tools::Rectangle::SetPos(), SdrObject::SetPrintable(), SdrPageObj::SetReferencedPage(), SdrObject::SetResizeProtect(), tools::Rectangle::SetSize(), SdrObject::SetSnapRect(), SdrEdgeObj::SetTailPoint(), SdrObject::SetTitle(), SdrObject::SetVisible(), SdrObject::Shear(), basegfx::B2DPolyPolygon::transform(), SdrObject::TRGetBaseGeometry(), SdrObject::TRSetBaseGeometry(), basegfx::utils::UnoPointSequenceSequenceToB2DPolyPolygon(), basegfx::utils::UnoPolyPolygonBezierCoordsToB2DPolyPolygon(), XATTR_FILLBITMAP(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_LINEDASH(), XATTR_LINEEND(), and XATTR_LINESTART().
Referenced by _setPropertyValue(), SvxTableShape::setPropertyValueImpl(), SvxShapeText::setPropertyValueImpl(), Svx3DSceneObject::setPropertyValueImpl(), Svx3DCubeObject::setPropertyValueImpl(), Svx3DSphereObject::setPropertyValueImpl(), Svx3DLatheObject::setPropertyValueImpl(), Svx3DExtrudeObject::setPropertyValueImpl(), Svx3DPolygonObject::setPropertyValueImpl(), and SvxMediaShape::setPropertyValueImpl().
|
overridevirtual |
Reimplemented in SvxFrameShape, SvxAppletShape, and SvxPluginShape.
Definition at line 1807 of file unoshape.cxx.
References endSetPropertyValues(), GetSdrObject(), HasSdrObject(), mbIsMultiPropertyCall, mpImpl, nCount, pValues, cppu::WeakAggImplHelper12< class, class, class, class, class, class, class, class, class, class, class, class >::queryInterface(), SdrObject::SetMergedItemSetAndBroadcast(), and setPropertyValue().
Referenced by SvxPluginShape::setPropertyValues(), SvxAppletShape::setPropertyValues(), and SvxFrameShape::setPropertyValues().
void SvxShape::setShapeKind | ( | sal_uInt32 | nKind | ) |
Definition at line 278 of file unoshape.cxx.
References mpImpl.
Referenced by SvxDrawPage::CreateShapeByTypeAndInventor(), and SvxShapeControl::SvxShapeControl().
|
inline |
Definition at line 212 of file unoshape.hxx.
Referenced by SvxPluginShape::Create(), SvxAppletShape::Create(), SvxFrameShape::Create(), SvxUnoDrawingModel::createInstance(), SvxAppletShape::SvxAppletShape(), SvxFrameShape::SvxFrameShape(), SvxMediaShape::SvxMediaShape(), SvxPluginShape::SvxPluginShape(), and SvxTableShape::SvxTableShape().
|
overridevirtual |
Reimplemented in SvxShapeControl, SvxShapeConnector, and SvxShapeGroup.
Definition at line 1226 of file unoshape.cxx.
References tools::Rectangle::Bottom(), Default, ForceMetricToItemPoolMetric(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::GetSnapRect(), HasSdrObject(), Size::Height(), tools::Rectangle::Left(), maPosition, maSize, OBJ_MEASURE, Point, SdrObject::Resize(), tools::Rectangle::Right(), SdrModel::SetChanged(), tools::Rectangle::setHeight(), tools::Rectangle::SetHeightEmpty(), tools::Rectangle::setWidth(), tools::Rectangle::SetWidthEmpty(), svx_getLogicRectHack(), svx_setLogicRectHack(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), and Size::Width().
Referenced by Create(), SvxShapeGroup::setSize(), SvxShapeConnector::setSize(), and SvxShapeControl::setSize().
|
overridevirtual |
Reimplemented in SvxShapeText.
Definition at line 3581 of file unoshape.cxx.
References cppu::supportsService().
void SvxShape::TakeSdrObjectOwnership | ( | ) |
takes the ownership of the SdrObject.
When the shape is disposed, and it has the ownership of its associated SdrObject, then it will delete this object.
Definition at line 249 of file unoshape.cxx.
References mpImpl.
Referenced by SdrObject::impl_setUnoShape().
|
protectedvirtual |
called from the XActionLockable interface methods on final unlock
Reimplemented in SvxShapeText, and SvxTableShape.
Definition at line 3662 of file unoshape.cxx.
Referenced by removeActionLock(), resetActionLocks(), setActionLocks(), and SvxTableShape::unlock().
|
protected |
since polygon shapes can change their kind during editing, we have to recheck it here.
Circle shapes also change their kind, but they are all treated equal so no update is necessary.
Definition at line 3733 of file unoshape.cxx.
References SdrObject::GetObjIdentifier(), GetSdrObject(), mpImpl, nId, OBJ_FREEFILL, OBJ_FREELINE, OBJ_LINE, OBJ_PATHFILL, OBJ_PATHLINE, OBJ_PATHPLIN, OBJ_PATHPOLY, OBJ_PLIN, and OBJ_POLY.
|
friend |
Definition at line 126 of file unoshape.hxx.
|
friend |
Definition at line 124 of file unoshape.hxx.
|
friend |
Definition at line 125 of file unoshape.hxx.
|
private |
Definition at line 113 of file unoshape.hxx.
Referenced by Create(), getPosition(), setPosition(), and setSize().
|
protected |
Definition at line 129 of file unoshape.hxx.
|
private |
Definition at line 115 of file unoshape.hxx.
|
private |
Definition at line 114 of file unoshape.hxx.
Referenced by getShapeType().
|
private |
Definition at line 112 of file unoshape.hxx.
|
private |
Definition at line 119 of file unoshape.hxx.
Referenced by _setPropertyValue(), Create(), endSetPropertyValues(), and setPropertyValues().
|
protected |
used from the XActionLockable interface
Definition at line 162 of file unoshape.hxx.
Referenced by addActionLock(), isActionLocked(), removeActionLock(), resetActionLocks(), setActionLocks(), and ~SvxShape().
|
private |
these members are used to optimize XMultiProperty calls
Definition at line 118 of file unoshape.hxx.
Referenced by _getTypes(), _setPropertyValue(), addEventListener(), addPropertyChangeListener(), Create(), dispose(), endSetPropertyValues(), getPropertyDefault(), getPropertySetInfo(), getPropertyState(), getPropertyValue(), getPropertyValues(), getShapeKind(), getShapePropertyChangeNotifier(), getShapeType(), getSupportedServiceNames(), getTypes(), HasSdrObjectOwnership(), impl_construct(), impl_initFromSdrObject(), queryAggregation(), removeEventListener(), removePropertyChangeListener(), setMaster(), setPropertyToDefault(), setPropertyValue(), setPropertyValues(), setShapeKind(), TakeSdrObjectOwnership(), updateShapeKind(), and ~SvxShape().
|
protected |
Definition at line 128 of file unoshape.hxx.
Referenced by _getPropertyDefault(), _getPropertySetInfo(), _getPropertyState(), _getPropertyValue(), _setPropertyToDefault(), _setPropertyValue(), Create(), and ObtainSettingsFromPropertySet().
|
private |
Definition at line 132 of file unoshape.hxx.
Referenced by Create(), and InvalidateSdrObject().
|
private |
Definition at line 121 of file unoshape.hxx.
Referenced by getGluePoints().