LibreOffice Module svx (master) 1
|
#include <unoshape.hxx>
Public Member Functions | |
SvxShape (SdrObject *pObj) | |
SvxShape (SdrObject *pObject, o3tl::span< const SfxItemPropertyMapEntry > pEntries, const SvxItemPropertySet *pPropertySet) | |
virtual | ~SvxShape () noexcept override |
void | ObtainSettingsFromPropertySet (const SvxItemPropertySet &rPropSet) |
virtual void | Create (SdrObject *pNewOpj, SvxDrawPage *pNewPage) |
void | InvalidateSdrObject () |
SdrObject * | GetSdrObject () const |
bool | HasSdrObject () const |
void | SetShapeType (const OUString &ShapeType) |
css::uno::Any | GetBitmap (bool bMetaFile=false) const |
void | notifyPropertyChange (svx::ShapePropertyProviderId eProp) |
void | registerProvider (svx::ShapePropertyProviderId eProp, std::unique_ptr< svx::PropertyValueProvider > provider) |
void | setShapeKind (SdrObjKind nKind) |
SdrObjKind | 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) noexcept override |
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 |
Public Member Functions inherited from cppu::WeakAggImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 > | |
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_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakAggObject | |
OWeakAggObject () | |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
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 |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Public Member Functions inherited from SfxListener | |
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 |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
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 noexcept |
void | ForceMetricToItemPoolMetric (Point &rPoint) const noexcept |
void | ForceMetricToItemPoolMetric (Size &rPoint) const noexcept |
void | ForceMetricTo100th_mm (Pair &rPoint) const noexcept |
void | ForceMetricTo100th_mm (Point &rPoint) const noexcept |
void | ForceMetricTo100th_mm (Size &rPoint) const noexcept |
void | ForceMetricToItemPoolMetric (basegfx::B2DPolyPolygon &rPolyPolygon) const noexcept |
void | ForceMetricTo100th_mm (basegfx::B2DPolyPolygon &rPolyPolygon) const noexcept |
void | ForceMetricToItemPoolMetric (basegfx::B2DHomMatrix &rB2DHomMatrix) const noexcept |
void | ForceMetricTo100th_mm (basegfx::B2DHomMatrix &rB2DHomMatrix) const noexcept |
css::uno::Any | GetAnyForItem (SfxItemSet const &aSet, const SfxItemPropertyMapEntry *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... | |
o3tl::span< 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 SfxItemPropertyMapEntry *pProperty, const css::uno::Any &rValue) |
virtual bool | getPropertyValueImpl (const OUString &rName, const SfxItemPropertyMapEntry *pProperty, css::uno::Any &rValue) |
virtual bool | getPropertyStateImpl (const SfxItemPropertyMapEntry *pProperty, css::beans::PropertyState &rState) |
virtual bool | setPropertyToDefaultImpl (const SfxItemPropertyMapEntry *pProperty) |
Protected Member Functions inherited from cppu::OWeakAggObject | |
virtual | ~OWeakAggObject () SAL_OVERRIDE |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Private Member Functions | |
SVX_DLLPRIVATE void | impl_initFromSdrObject () |
initializes SdrObj-dependent members. More... | |
SVX_DLLPRIVATE void | impl_construct () |
CTOR-Impl. More... | |
Private Attributes | |
std::mutex | m_aMutex |
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 |
const SvxItemPropertySet * | mpPropSet |
SvxItemPropertySetUsrAnys | maUrsAnys |
o3tl::span< const SfxItemPropertyMapEntry > | maPropMapEntries |
rtl::Reference< SdrObject > | mxSdrObject |
sal_uInt16 | mnLockCount |
used from the XActionLockable interface More... | |
Friends | |
class | SvxDrawPage |
class | SvxShapeConnector |
class | SdXShape |
Additional Inherited Members | |
Protected Attributes inherited from cppu::OWeakAggObject | |
css::uno::WeakReferenceHelper | xDelegator |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 99 of file unoshape.hxx.
SvxShape::SvxShape | ( | SdrObject * | pObj | ) |
css::uno::RuntimeException |
Definition at line 195 of file unoshape.cxx.
References impl_construct(), maSize, and pObject.
SvxShape::SvxShape | ( | SdrObject * | pObject, |
o3tl::span< const SfxItemPropertyMapEntry > | pEntries, | ||
const SvxItemPropertySet * | pPropertySet | ||
) |
css::uno::RuntimeException |
Definition at line 208 of file unoshape.cxx.
References impl_construct(), maSize, and pObject.
|
overridevirtualnoexcept |
Definition at line 221 of file unoshape.cxx.
References DBG_ASSERT, SfxListener::EndListening(), SfxListener::EndListeningAll(), mnLockCount, mpImpl, and mxSdrObject.
uno::Any SvxShape::_getPropertyDefault | ( | const OUString & | aPropertyName | ) |
css::beans::UnknownPropertyException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Definition at line 3075 of file unoshape.cxx.
References GetAnyForItem(), SvxItemPropertySet::getPropertyMapEntry(), getPropertyValue(), GetSdrObject(), HasSdrObject(), SfxItemPool::IsWhich(), mpPropSet, SfxItemPropertyMapEntry::nWID, SfxItemSet::Put(), 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 1270 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 1903 of file unoshape.cxx.
References XColorItem::getComplexColor(), SfxItemSet::GetItem(), SfxItemSet::GetItemState(), SdrObject::GetMergedItemSet(), NameOrIndex::GetName(), SvxItemPropertySet::getPropertyMapEntry(), getPropertyStateImpl(), model::ComplexColor::getSchemeType(), GetSdrObject(), model::ComplexColor::getTransformations(), model::ComplexColor::getType(), HasSdrObject(), model::LumMod, model::LumOff, MID_COLOR_LUM_MOD, MID_COLOR_LUM_OFF, MID_COLOR_THEME_INDEX, MID_COMPLEX_COLOR, mpPropSet, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, rSet, model::Unknown, model::Unused, XATTR_FILLBITMAP(), XATTR_FILLCOLOR(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_LINECOLOR(), 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 1626 of file unoshape.cxx.
References SfxItemSet::Count(), DBG_ASSERT, GetAnyForItem(), SvxItemPropertySet::getPropertyMapEntry(), SvxItemPropertySet::getPropertyValue(), getPropertyValueImpl(), GetSdrObject(), HasSdrObject(), SfxItemPool::IsWhich(), maUrsAnys, mpPropSet, SfxItemPropertyMapEntry::nWID, SfxItemSet::Put(), 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 3213 of file unoshape.cxx.
References aSeq, Caption, CircleArc, CircleCut, CircleOrEllipse, CircleSection, CustomShape, Default, Edge, FmForm, FreehandFill, FreehandLine, SdrObject::GetObjIdentifier(), GetSdrObject(), Graphic, Group, HasSdrObject(), Line, Measure, Media, OLE2, OLEPluginFrame, OutlineText, Page, PathFill, PathLine, PathPoly, PathPolyLine, Polygon, PolyLine, Rectangle, 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_RotationDescriptor, 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, sUNO_service_style_ParagraphPropertiesComplex, Text, TitleText, and UNO.
Referenced by getSupportedServiceNames().
uno::Sequence< uno::Type > const & SvxShape::_getTypes | ( | ) |
css::uno::RuntimeException |
Definition at line 748 of file unoshape.cxx.
References Caption, CircleOrEllipse, CustomShape, E3D_Cube, E3D_Extrusion, E3D_Lathe, E3D_Polygon, E3D_Scene, E3D_Sphere, Edge, FreehandFill, FreehandLine, cppu::UnoType< typename T >::get(), Graphic, Group, Line, Measure, Media, mpImpl, OLE2, OLE2Applet, OLE2Plugin, OLEPluginFrame, Page, PathFill, PathLine, PathPoly, PathPolyLine, Polygon, PolyLine, Rectangle, Table, Text, and UNO.
Referenced by getTypes().
void SvxShape::_setPropertyToDefault | ( | const OUString & | PropertyName | ) |
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Definition at line 3045 of file unoshape.cxx.
References SdrObject::ClearMergedItem(), SvxItemPropertySet::getPropertyMapEntry(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), HasSdrObject(), mpPropSet, SfxItemPropertyMapEntry::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 1490 of file unoshape.cxx.
References SdrObject::ApplyNotPersistAttr(), DBG_ASSERT, SfxItemSet::GetItemState(), SvxItemPropertySet::getPropertyMapEntry(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), HasSdrObject(), SfxItemPool::IsWhich(), maUrsAnys, mbIsMultiPropertyCall, mpImpl, mpPropSet, SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nWID, SfxItemSet::Put(), SAL_WARN_IF, SDRATTR_CORNER_RADIUS(), SDRATTR_NOTPERSIST_FIRST(), SDRATTR_NOTPERSIST_LAST(), SDRATTR_TEXTDIRECTION(), SdrModel::SetChanged(), SdrPathObj::SetHandleScale(), SdrObject::SetMergedItemSetAndBroadcast(), SvxItemPropertySet::setPropertyValue(), setPropertyValueImpl(), SvxItemPropertySet_setPropertyValue(), and SdrObject::TakeNotPersistAttr().
Referenced by setPropertyValue().
|
overridevirtual |
Definition at line 3707 of file unoshape.cxx.
References DBG_ASSERT, lock(), and mnLockCount.
|
overridevirtual |
Definition at line 1240 of file unoshape.cxx.
|
overridevirtual |
Definition at line 1797 of file unoshape.cxx.
|
overridevirtual |
Definition at line 1276 of file unoshape.cxx.
|
overridevirtual |
Definition at line 1290 of file unoshape.cxx.
|
virtual |
Reimplemented in SvxShapeText, SvxShapeGroup, Svx3DSceneObject, SvxPluginShape, SvxAppletShape, and SvxFrameShape.
Definition at line 361 of file unoshape.cxx.
References DBG_TESTSOLARMUTEX, SfxListener::EndListening(), GetSdrObject(), SdrObject::GetUserCall(), HasSdrObject(), impl_initFromSdrObject(), maPosition, maShapeName, maSize, mbIsMultiPropertyCall, mpImpl, mpPropSet, mxSdrObject, ObtainSettingsFromPropertySet(), SdrObject::SetName(), setPosition(), setSize(), SdrObject::SetUserCall(), and SfxListener::StartListening().
Referenced by SvxDrawPage::add(), Svx3DSceneObject::add(), SvxDrawPage::addBottom(), Svx3DSceneObject::addShape(), SvxShapeGroup::addShape(), SvxShapeText::Create(), SvxShapeGroup::Create(), Svx3DSceneObject::Create(), SvxPluginShape::Create(), SvxAppletShape::Create(), and SvxFrameShape::Create().
|
overridevirtual |
Definition at line 1200 of file unoshape.cxx.
References SfxListener::EndListening(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), m_aMutex, mpImpl, mxSdrObject, nCount, cppu::OWeakAggObject::OWeakAggObject(), pObject, and SdrObjList::RemoveObject().
|
protected |
Definition at line 1747 of file unoshape.cxx.
References mbIsMultiPropertyCall, and mpImpl.
Referenced by setPropertyValues().
|
overridevirtual |
Definition at line 1805 of file unoshape.cxx.
|
protectednoexcept |
Definition at line 516 of file unoshape.cxx.
References o3tl::convert(), basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), DBG_TESTSOLARMUTEX, basegfx::utils::B2DHomMatrixBufferedDecompose::getRotate(), basegfx::utils::B2DHomMatrixBufferedDecompose::getScale(), basegfx::utils::B2DHomMatrixBufferedDecompose::getShearX(), basegfx::utils::B2DHomMatrixBufferedDecompose::getTranslate(), o3tl::invalid, MapToO3tlLength(), and o3tl::mm100.
|
protectednoexcept |
Definition at line 495 of file unoshape.cxx.
References o3tl::convert(), basegfx::utils::createScaleB2DHomMatrix(), DBG_TESTSOLARMUTEX, o3tl::invalid, MapToO3tlLength(), and o3tl::mm100.
|
protectednoexcept |
Definition at line 474 of file unoshape.cxx.
References o3tl::convert(), DBG_TESTSOLARMUTEX, o3tl::invalid, MapToO3tlLength(), and o3tl::mm100.
Referenced by getPosition(), SvxCustomShape::getPosition(), getPropertyValueImpl(), SvxShapePolyPolygon::getPropertyValueImpl(), and getSize().
|
inlineprotectednoexcept |
Definition at line 113 of file unoshape.hxx.
References ForceMetricTo100th_mm().
Referenced by ForceMetricTo100th_mm().
|
inlineprotectednoexcept |
Definition at line 114 of file unoshape.hxx.
References ForceMetricTo100th_mm().
Referenced by ForceMetricTo100th_mm().
|
protectednoexcept |
Definition at line 448 of file unoshape.cxx.
References o3tl::convert(), basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), DBG_TESTSOLARMUTEX, basegfx::utils::B2DHomMatrixBufferedDecompose::getRotate(), basegfx::utils::B2DHomMatrixBufferedDecompose::getScale(), basegfx::utils::B2DHomMatrixBufferedDecompose::getShearX(), basegfx::utils::B2DHomMatrixBufferedDecompose::getTranslate(), o3tl::invalid, MapToO3tlLength(), and o3tl::mm100.
|
protectednoexcept |
Definition at line 439 of file unoshape.cxx.
References DBG_TESTSOLARMUTEX.
|
protectednoexcept |
Definition at line 418 of file unoshape.cxx.
References o3tl::convert(), DBG_TESTSOLARMUTEX, o3tl::invalid, MapToO3tlLength(), and o3tl::mm100.
Referenced by setPosition(), setPropertyValueImpl(), SvxShapePolyPolygon::setPropertyValueImpl(), and setSize().
|
inlineprotectednoexcept |
Definition at line 110 of file unoshape.hxx.
References ForceMetricToItemPoolMetric().
Referenced by ForceMetricToItemPoolMetric().
|
inlineprotectednoexcept |
Definition at line 111 of file unoshape.hxx.
References ForceMetricToItemPoolMetric().
Referenced by ForceMetricToItemPoolMetric().
|
protected |
Definition at line 1810 of file unoshape.cxx.
References SfxItemPropertyMapEntry::aType, CircleArc, CircleCut, CircleOrEllipse, CircleSection, DBG_TESTSOLARMUTEX, Default, o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), SfxItemSet::GetItemIfSet(), GetSdrObject(), nValue, SfxItemPropertyMapEntry::nWID, 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 604 of file unoshape.cxx.
References aSeq, ConvertGDIMetaFileToWMF(), drawinglayer::convertPrimitive2DContainerToBitmapEx(), DBG_TESTSOLARMUTEX, drawinglayer::primitive2d::Primitive2DContainer::getB2DRange(), SvMemoryStream::GetData(), SvMemoryStream::GetEndOfData(), SdrGrafObj::GetGraphic(), BitmapEx::GetPrefMapMode(), BitmapEx::GetPrefSize(), GetSdrObject(), tools::Rectangle::GetSize(), Graphic::GetType(), SdrObject::GetViewContact(), sdr::contact::ViewContact::getViewIndependentPrimitive2DContainer(), Graphic::GetXGraphic(), HasSdrObject(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), SdrCaptionObj::isSuppressGetBitmap(), tools::Rectangle::Left(), OutputDevice::LogicToLogic(), GDIMetaFile::Move(), GDIMetaFile::Record(), GDIMetaFile::SetPrefMapMode(), Graphic::SetPrefMapMode(), Graphic::SetPrefSize(), GDIMetaFile::SetPrefSize(), SdrObject::SingleObjectPainter(), GDIMetaFile::Stop(), tools::Rectangle::Top(), basegfx::B2DRange::transform(), and GDIMetaFile::WindStart().
Referenced by getPropertyValueImpl(), and SvxOle2Shape::getPropertyValueImpl().
|
overridevirtual |
Definition at line 3618 of file unoshape.cxx.
References GetSdrObject(), HasSdrObject(), mxGluePoints, and SvxUnoGluePointAccess_createInstance().
|
overridevirtual |
Reimplemented from cppu::WeakAggImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >.
Reimplemented in SvxShapeText, SvxShapeGroup, SvxShapeConnector, SvxShapeControl, Svx3DSceneObject, and SvxCustomShape.
Definition at line 941 of file unoshape.cxx.
|
overridevirtual |
Reimplemented in SvxShapeText.
Definition at line 3151 of file unoshape.cxx.
|
overridevirtual |
Definition at line 1159 of file unoshape.cxx.
References SdrObject::GetName(), GetSdrObject(), HasSdrObject(), and maShapeName.
|
overridevirtual |
Definition at line 3633 of file unoshape.cxx.
References GetSdrObject(), SdrObjList::getSdrObjectFromSdrObjList(), SdrObjList::getSdrPageFromSdrObjList(), SdrPage::getUnoPage(), and SdrObject::getUnoShape().
|
overridevirtual |
Reimplemented in SvxShapeGroup, SvxShapeConnector, SvxShapeControl, and SvxCustomShape.
Definition at line 1047 of file unoshape.cxx.
References ForceMetricTo100th_mm(), SdrObject::GetAnchorPos(), GetSdrObject(), HasSdrObject(), tools::Rectangle::Left(), maPosition, svx_getLogicRectHack(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by SvxShapeGroup::getPosition(), SvxShapeConnector::getPosition(), SvxShapeControl::getPosition(), and SvxCustomShape::getPosition().
|
overridevirtual |
Reimplemented in SvxShapeControl.
Definition at line 3063 of file unoshape.cxx.
References _getPropertyDefault(), and mpImpl.
Referenced by SvxShapeControl::getPropertyDefault().
|
overridevirtual |
Definition at line 3138 of file unoshape.cxx.
|
inlineprotected |
Definition at line 134 of file unoshape.hxx.
|
overridevirtual |
Definition at line 1257 of file unoshape.cxx.
References _getPropertySetInfo(), and mpImpl.
|
overridevirtual |
Reimplemented in SvxShapeControl.
Definition at line 1891 of file unoshape.cxx.
References _getPropertyState(), and mpImpl.
Referenced by SvxShapeControl::getPropertyState().
|
protectedvirtual |
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Reimplemented in SvxShapeText, and SvxMediaShape.
Definition at line 2971 of file unoshape.cxx.
References SfxItemSet::GetItemState(), SdrObject::GetMergedItemSet(), GetSdrObject(), SfxItemPropertyMapEntry::nWID, OWN_ATTR_FILLBMP_MODE, rSet, SDRATTR_NOTPERSIST_FIRST(), SDRATTR_NOTPERSIST_LAST(), SDRATTR_TEXTDIRECTION(), XATTR_FILLBMP_STRETCH(), and XATTR_FILLBMP_TILE().
Referenced by _getPropertyState(), SvxShapeText::getPropertyStateImpl(), and SvxMediaShape::getPropertyStateImpl().
|
overridevirtual |
Definition at line 3021 of file unoshape.cxx.
References nCount.
|
overridevirtual |
Reimplemented in SvxShapeControl, and Svx3DSceneObject.
Definition at line 1617 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 SvxTableShape, SvxShapeText, SvxOle2Shape, SvxShapePolyPolygon, SvxGraphicObject, Svx3DSceneObject, Svx3DCubeObject, Svx3DSphereObject, Svx3DLatheObject, Svx3DExtrudeObject, Svx3DPolygonObject, SvxCustomShape, SvxMediaShape, SvxPluginShape, SvxAppletShape, and SvxFrameShape.
Definition at line 2542 of file unoshape.cxx.
References Point::AdjustX(), Point::AdjustY(), aName, aSeq, basegfx::utils::B2DPolyPolygonToUnoPolyPolygonBezierCoords(), ConvertGDIMetaFileToWMF(), VCLUnoHelper::CreateBitmap(), basegfx::utils::createTranslateB2DHomMatrix(), Default, DynCastSdrTextObj(), ForceMetricTo100th_mm(), basegfx::fround(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), basegfx::B2DHomMatrix::get(), SfxItemSet::Get(), SdrObject::GetAnchorPos(), GetBitmap(), SdrEdgeObj::GetConnectedNode(), SvMemoryStream::GetData(), GfxLink::GetData(), GfxLink::GetDataSize(), GetDescription(), SdrEdgeObj::GetEdgeTrackPath(), SvMemoryStream::GetEndOfData(), Graphic::GetGDIMetaFile(), Graphic::GetGfxLink(), SdrEdgeObj::getGluePointIndex(), SdrObject::GetGrabBagItem(), SdrOle2Obj::GetGraphic(), tools::Rectangle::GetHeight(), Size::getHeight(), SdrObject::getHyperlink(), SdrObject::GetLayer(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdrObject::GetMergedItemSet(), SdrLayer::GetName(), GetName(), SdrPage::GetPageNum(), SdrMeasureObj::GetPoint(), SdrPageObj::GetReferencedPage(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrEdgeObj::GetTailPoint(), SdrTextObj::GetTextColumnsNumber(), SdrTextObj::GetTextColumnsSpacing(), GetTitle(), GfxLink::GetType(), tools::Rectangle::GetWidth(), Size::getWidth(), GetXShapeForSdrObject(), Graphic, HasSdrObject(), SdrTextObj::HasTextColumnsNumber(), SdrTextObj::HasTextColumnsSpacing(), IsDecorative(), SdrTextObj::IsFontwork(), Graphic::IsGfxLink(), SdrObject::IsMoveProtect(), SdrObject::IsPrintable(), SdrObject::IsResizeProtect(), SdrObject::IsVisible(), SdrModel::IsWriter(), SfxItemPropertyMapEntry::nWID, 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_HYPERLINK, 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_DECORATIVE, OWN_ATTR_MISC_OBJ_DESCRIPTION, OWN_ATTR_MISC_OBJ_TITLE, OWN_ATTR_PAGE_NUMBER, OWN_ATTR_TEXTCOLUMNS, OWN_ATTR_TEXTFITTOSIZESCALE, OWN_ATTR_TRANSFORMATION, OWN_ATTR_UINAME_PLURAL, OWN_ATTR_UINAME_SINGULAR, OWN_ATTR_ZORDER, SDRATTR_LAYERID(), SDRATTR_LAYERNAME(), SDRATTR_OBJECTNAME(), SDRATTR_OBJMOVEPROTECT(), SDRATTR_OBJPRINTABLE(), SDRATTR_OBJSIZEPROTECT(), SDRATTR_OBJVISIBLE(), SDRATTR_ROTATEANGLE(), SDRATTR_SHEARANGLE(), sId, SvxXTextColumns_createInstance(), SdrObject::TakeObjNamePlural(), SdrObject::TakeObjNameSingul(), tools::Rectangle::TopLeft(), basegfx::B2DPolyPolygon::transform(), SdrObject::TRGetBaseGeometry(), Point::X(), XATTR_FILLBMP_STRETCH(), XATTR_FILLBMP_TILE(), and Point::Y().
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 |
|
inline |
Definition at line 172 of file unoshape.hxx.
Referenced by _getPropertyDefault(), _getPropertyState(), _getPropertyValue(), _getSupportedServiceNames(), _setPropertyToDefault(), _setPropertyValue(), SvxDrawPage::add(), Svx3DSceneObject::add(), SvxDrawPage::addBottom(), Svx3DSceneObject::addShape(), SvxShapeGroup::addShape(), SvxShapeConnector::connectEnd(), SvxShapeConnector::connectStart(), Create(), SvxCustomShape::createCustomShapeDefaults(), SvxOle2Shape::createLink(), SvxOle2Shape::createObject(), SvxShapeConnector::disconnectBegin(), SvxShapeConnector::disconnectEnd(), 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(), SvxMediaShape::getPropertyStateImpl(), getPropertyValueImpl(), SvxTableShape::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(), SvxPluginShape::getPropertyValueImpl(), SvxAppletShape::getPropertyValueImpl(), SvxFrameShape::getPropertyValueImpl(), SdrObject::getSdrObjectFromXShape(), getSize(), SvxShapeGroup::hasElements(), Svx3DSceneObject::hasElements(), impl_construct(), impl_initFromSdrObject(), SvxTableShape::lock(), ObtainSettingsFromPropertySet(), SvxShapeGroup::remove(), Svx3DSceneObject::remove(), SvxOle2Shape::resetModifiedState(), setAllPropertiesToDefault(), SvxShapeControl::setControl(), SetFillAttribute(), setName(), SvxShapePolyPolygon::SetPolygon(), setPosition(), setPropertyToDefaultImpl(), SvxCustomShape::setPropertyValue(), setPropertyValueImpl(), SvxTableShape::setPropertyValueImpl(), SvxShapeText::setPropertyValueImpl(), SvxOle2Shape::setPropertyValueImpl(), SvxShapePolyPolygon::setPropertyValueImpl(), SvxGraphicObject::setPropertyValueImpl(), Svx3DSceneObject::setPropertyValueImpl(), Svx3DCubeObject::setPropertyValueImpl(), Svx3DSphereObject::setPropertyValueImpl(), Svx3DLatheObject::setPropertyValueImpl(), Svx3DExtrudeObject::setPropertyValueImpl(), Svx3DPolygonObject::setPropertyValueImpl(), SvxMediaShape::setPropertyValueImpl(), SvxPluginShape::setPropertyValueImpl(), SvxAppletShape::setPropertyValueImpl(), SvxFrameShape::setPropertyValueImpl(), setPropertyValues(), setSize(), SvxTableShape::unlock(), and updateShapeKind().
SdrObjKind SvxShape::getShapeKind | ( | ) | const |
Definition at line 256 of file unoshape.cxx.
|
overridevirtual |
Reimplemented in SvxShapeGroup, SvxShapeConnector, and SvxShapeControl.
Definition at line 1189 of file unoshape.cxx.
References UHashMap::getNameFromId(), maShapeType, and mpImpl.
Referenced by SvxShapeGroup::getShapeType(), SvxShapeConnector::getShapeType(), and SvxShapeControl::getShapeType().
|
overridevirtual |
Reimplemented in SvxShapeGroup, SvxShapeConnector, and SvxShapeControl.
Definition at line 1100 of file unoshape.cxx.
References ForceMetricTo100th_mm(), Size::getHeight(), tools::Rectangle::getOpenHeight(), tools::Rectangle::getOpenWidth(), GetSdrObject(), Size::getWidth(), HasSdrObject(), maSize, and svx_getLogicRectHack().
Referenced by SvxShapeGroup::getSize(), SvxShapeConnector::getSize(), and SvxShapeControl::getSize().
|
overridevirtual |
Reimplemented in SvxShapeText, SvxShapeRect, Svx3DSceneObject, Svx3DCubeObject, Svx3DSphereObject, Svx3DLatheObject, Svx3DExtrudeObject, and Svx3DPolygonObject.
Definition at line 3201 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 Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >.
Reimplemented in SvxShapeText, SvxShapeConnector, and SvxShapeControl.
Definition at line 735 of file unoshape.cxx.
References _getTypes(), and mpImpl.
Referenced by SvxShapeText::getTypes(), SvxShapeConnector::getTypes(), and SvxShapeControl::getTypes().
|
inline |
Definition at line 173 of file unoshape.hxx.
Referenced by _getPropertyDefault(), _getPropertyState(), _getPropertyValue(), _getSupportedServiceNames(), _setPropertyToDefault(), _setPropertyValue(), Svx3DSceneObject::add(), Svx3DSceneObject::addShape(), SvxShapeConnector::connectEnd(), Create(), SvxCustomShape::createCustomShapeDefaults(), SvxShapeConnector::disconnectBegin(), SvxShapeConnector::disconnectEnd(), GetBitmap(), SvxShapeGroup::getByIndex(), Svx3DSceneObject::getByIndex(), SvxShapeGroup::getCount(), Svx3DSceneObject::getCount(), getGluePoints(), getName(), SvxShapePolyPolygon::GetPolygon(), SvxShapePolyPolygon::GetPolygonKind(), getPosition(), SvxCustomShape::getPosition(), getPropertyValueImpl(), SvxTableShape::getPropertyValueImpl(), SvxShapePolyPolygon::getPropertyValueImpl(), getSize(), SvxShapeGroup::hasElements(), Svx3DSceneObject::hasElements(), impl_construct(), impl_initFromSdrObject(), SvxTableShape::lock(), ObtainSettingsFromPropertySet(), SvxShapeGroup::remove(), Svx3DSceneObject::remove(), SetFillAttribute(), setName(), SvxShapePolyPolygon::SetPolygon(), setPosition(), SvxTableShape::setPropertyValueImpl(), SvxShapePolyPolygon::setPropertyValueImpl(), SvxGraphicObject::setPropertyValueImpl(), setPropertyValues(), setSize(), and SvxTableShape::unlock().
|
private |
CTOR-Impl.
Definition at line 303 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 318 of file unoshape.cxx.
References CircleArc, CircleCut, CircleOrEllipse, CircleSection, DBG_TESTSOLARMUTEX, Default, E3d, FmForm, SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), GetSdrObject(), HasSdrObject(), cppu::OWeakObject::m_refCount, mpImpl, SdrObject::setUnoShape(), and UNO.
Referenced by Create(), and impl_construct().
void SvxShape::InvalidateSdrObject | ( | ) |
Definition at line 241 of file unoshape.cxx.
References SfxListener::EndListening(), and mxSdrObject.
Referenced by SdrObject::setUnoShape().
|
overridevirtual |
Definition at line 3699 of file unoshape.cxx.
References mnLockCount.
|
protectedvirtual |
called from the XActionLockable interface methods on initial locking
Reimplemented in SvxTableShape, and SvxShapeText.
Definition at line 3687 of file unoshape.cxx.
Referenced by addActionLock(), SvxTableShape::lock(), and setActionLocks().
|
overridevirtualnoexcept |
Reimplemented from SfxListener.
Definition at line 946 of file unoshape.cxx.
References DBG_TESTSOLARMUTEX, dispose(), SdrHint::GetKind(), SdrHint::GetObject(), ModelCleared, and ObjectChange.
void SvxShape::notifyPropertyChange | ( | svx::ShapePropertyProviderId | eProp | ) |
Definition at line 292 of file unoshape.cxx.
References m_aMutex, and mpImpl.
Referenced by SdrObject::notifyShapePropertyChange().
void SvxShape::ObtainSettingsFromPropertySet | ( | const SvxItemPropertySet & | rPropSet | ) |
Definition at line 589 of file unoshape.cxx.
References SdrObject::ApplyNotPersistAttr(), SvxItemPropertySetUsrAnys::AreThereOwnUsrAnys(), DBG_TESTSOLARMUTEX, SvxItemPropertySet::getPropertyMap(), GetSdrObject(), HasSdrObject(), maUrsAnys, mpPropSet, SdrObject::SetMergedItemSetAndBroadcast(), and SvxItemPropertySet_ObtainSettingsFromPropertySet().
Referenced by Create().
|
overridevirtual |
Reimplemented from cppu::WeakAggImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >.
Reimplemented in SvxShapeText, SvxShapeRect, SvxShapeGroup, SvxShapeConnector, SvxShapeControl, Svx3DSceneObject, and SvxCustomShape.
Definition at line 268 of file unoshape.cxx.
References mpImpl, and cppu::WeakAggImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >::queryAggregation().
Referenced by SvxShapeText::queryAggregation(), SvxShapeGroup::queryAggregation(), and Svx3DSceneObject::queryAggregation().
void SvxShape::registerProvider | ( | svx::ShapePropertyProviderId | eProp, |
std::unique_ptr< svx::PropertyValueProvider > | provider | ||
) |
Definition at line 298 of file unoshape.cxx.
References mpImpl.
Referenced by SdrObject::registerProvider().
|
overridevirtual |
Definition at line 3719 of file unoshape.cxx.
References DBG_ASSERT, mnLockCount, and unlock().
|
overridevirtual |
Definition at line 1247 of file unoshape.cxx.
|
overridevirtual |
Definition at line 1801 of file unoshape.cxx.
|
overridevirtual |
Definition at line 1283 of file unoshape.cxx.
|
overridevirtual |
Definition at line 1296 of file unoshape.cxx.
|
overridevirtual |
Definition at line 3745 of file unoshape.cxx.
References mnLockCount, and unlock().
|
overridevirtual |
Definition at line 3731 of file unoshape.cxx.
References lock(), mnLockCount, and unlock().
|
overridevirtual |
Definition at line 3101 of file unoshape.cxx.
References SdrObject::ClearMergedItem(), E3D_Extrusion, E3D_Lathe, SdrObject::GetObjIdentifier(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), Graphic, SdrModel::SetChanged(), and SdrObject::SetMergedItem().
|
protected |
Definition at line 1302 of file unoshape.cxx.
References GetSdrObject(), HasSdrObject(), SetFillAttribute(), and SdrObject::SetMergedItemSetAndBroadcast().
Referenced by SetFillAttribute(), and setPropertyValueImpl().
|
static |
Definition at line 1433 of file unoshape.cxx.
References aName, SfxItemPool::GetItemSurrogates(), NameOrIndex::GetName(), SfxItemSet::GetPool(), p, SfxItemSet::Put(), rSet, SvxUnogetInternalNameForItem(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_LINEEND(), and XATTR_LINESTART().
|
static |
Definition at line 1321 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(), rSet, SetFillAttribute(), SvxUnogetInternalNameForItem(), XATTR_FILLBITMAP(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_LINEDASH(), XATTR_LINEEND(), and XATTR_LINESTART().
void SvxShape::setMaster | ( | SvxShapeMaster * | pMaster | ) |
Definition at line 262 of file unoshape.cxx.
References mpImpl.
|
overridevirtual |
Definition at line 1173 of file unoshape.cxx.
References aName, GetSdrObject(), HasSdrObject(), maShapeName, and SdrObject::SetName().
|
overridevirtual |
Definition at line 3680 of file unoshape.cxx.
|
overridevirtual |
Reimplemented in SvxShapeGroup, SvxShapeConnector, and SvxShapeControl.
Definition at line 1070 of file unoshape.cxx.
References ForceMetricToItemPoolMetric(), SdrObject::GetAnchorPos(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), HasSdrObject(), tools::Rectangle::Left(), maPosition, SdrObject::Move(), Position, SdrModel::SetChanged(), svx_getLogicRectHack(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by Create(), SvxShapeGroup::setPosition(), SvxShapeConnector::setPosition(), and SvxShapeControl::setPosition().
|
overridevirtual |
Definition at line 3131 of file unoshape.cxx.
References setPropertyToDefault().
|
overridevirtual |
Reimplemented in SvxShapeControl.
Definition at line 3033 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 3001 of file unoshape.cxx.
References SdrObject::ClearMergedItem(), GetSdrObject(), SfxItemPropertyMapEntry::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 SvxShapeControl, Svx3DSceneObject, SvxCustomShape, SvxPluginShape, SvxAppletShape, and SvxFrameShape.
Definition at line 1478 of file unoshape.cxx.
References _setPropertyValue(), and mpImpl.
Referenced by SvxOle2Shape::createLink(), SvxOle2Shape::createObject(), SvxShapeControl::setPropertyValue(), SvxCustomShape::setPropertyValue(), SvxPluginShape::setPropertyValue(), SvxAppletShape::setPropertyValue(), SvxFrameShape::setPropertyValue(), and setPropertyValues().
|
protectedvirtual |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Reimplemented in SvxTableShape, SvxShapeText, SvxOle2Shape, SvxShapePolyPolygon, SvxGraphicObject, Svx3DSceneObject, Svx3DCubeObject, Svx3DSphereObject, Svx3DLatheObject, Svx3DExtrudeObject, Svx3DPolygonObject, SvxMediaShape, SvxPluginShape, SvxAppletShape, and SvxFrameShape.
Definition at line 2026 of file unoshape.cxx.
References Point::AdjustX(), Point::AdjustY(), aName, SfxItemPropertyMapEntry::aName, SfxItemPropertyMapEntry::aType, SdrObject::BroadcastObjectChange(), bVisible, SdrEdgeObj::ConnectToNode(), basegfx::B2DPolyPolygon::count(), basegfx::utils::createTranslateB2DHomMatrix(), DynCastSdrTextObj(), eMode, ForceMetricToItemPoolMetric(), basegfx::fround(), basegfx::B2DHomMatrix::get(), SdrLayer::GetID(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::getSdrObjectFromXShape(), MID_NAME, SdrMeasureObj::NbcSetPoint(), nId, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::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_HYPERLINK, OWN_ATTR_INTEROPGRABBAG, OWN_ATTR_MEASURE_END_POS, OWN_ATTR_MEASURE_START_POS, OWN_ATTR_MIRRORED, OWN_ATTR_MISC_OBJ_DECORATIVE, OWN_ATTR_MISC_OBJ_DESCRIPTION, OWN_ATTR_MISC_OBJ_TITLE, OWN_ATTR_PAGE_NUMBER, OWN_ATTR_TEXTCOLUMNS, OWN_ATTR_TEXTFITTOSIZESCALE, OWN_ATTR_TRANSFORMATION, OWN_ATTR_ZORDER, SvxFrameDirectionItem::PutValue(), SDRATTR_LAYERID(), SDRATTR_LAYERNAME(), SDRATTR_OBJECTNAME(), SDRATTR_OBJMOVEPROTECT(), SDRATTR_OBJPRINTABLE(), SDRATTR_OBJSIZEPROTECT(), SDRATTR_OBJVISIBLE(), SDRATTR_ROTATEANGLE(), SDRATTR_SHEARANGLE(), SDRATTR_TEXT_FITTOSIZE(), SDRATTR_WRITINGMODE2(), basegfx::B2DHomMatrix::set(), SdrObject::SetChanged(), SdrEdgeObj::SetEdgeTrackPath(), SdrObjList::SetExistingObjectOrdNum(), SetFillAttribute(), SdrEdgeObj::setGluePointIndex(), SdrTextFitToSizeTypeItem::SetMaxScale(), SdrObject::SetMergedItem(), SdrGrafObj::SetMirrored(), SdrPageObj::SetReferencedPage(), SdrEdgeObj::SetTailPoint(), SdrTextObj::SetTextColumnsNumber(), SdrTextObj::SetTextColumnsSpacing(), toRadians(), basegfx::B2DPolyPolygon::transform(), basegfx::utils::UnoPointSequenceSequenceToB2DPolyPolygon(), basegfx::utils::UnoPolyPolygonBezierCoordsToB2DPolyPolygon(), Point::X(), XATTR_FILLBITMAP(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_LINEDASH(), XATTR_LINEEND(), XATTR_LINESTART(), and Point::Y().
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 SvxPluginShape, SvxAppletShape, and SvxFrameShape.
Definition at line 1684 of file unoshape.cxx.
References DBG_UNHANDLED_EXCEPTION, endSetPropertyValues(), GetSdrObject(), HasSdrObject(), mbIsMultiPropertyCall, mpImpl, nCount, pValues, cppu::WeakAggImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >::queryInterface(), SdrObject::SetMergedItemSetAndBroadcast(), and setPropertyValue().
Referenced by SvxPluginShape::setPropertyValues(), SvxAppletShape::setPropertyValues(), and SvxFrameShape::setPropertyValues().
void SvxShape::setShapeKind | ( | SdrObjKind | nKind | ) |
Definition at line 250 of file unoshape.cxx.
References mpImpl.
Referenced by SvxShapeControl::SvxShapeControl().
|
inline |
Definition at line 175 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 SvxShapeGroup, SvxShapeConnector, and SvxShapeControl.
Definition at line 1116 of file unoshape.cxx.
References tools::Rectangle::Bottom(), Default, ForceMetricToItemPoolMetric(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::GetSnapRect(), HasSdrObject(), Size::Height(), tools::Rectangle::Left(), maSize, Measure, 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 3612 of file unoshape.cxx.
References ServiceName, and cppu::supportsService().
|
protectedvirtual |
called from the XActionLockable interface methods on final unlock
Reimplemented in SvxTableShape, and SvxShapeText.
Definition at line 3693 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 3764 of file unoshape.cxx.
References FreehandFill, FreehandLine, SdrObject::GetObjIdentifier(), GetSdrObject(), Line, mpImpl, nId, PathFill, PathLine, PathPoly, PathPolyLine, Polygon, and PolyLine.
|
friend |
Definition at line 106 of file unoshape.hxx.
|
friend |
Definition at line 104 of file unoshape.hxx.
|
friend |
Definition at line 105 of file unoshape.hxx.
|
private |
Definition at line 315 of file unoshape.hxx.
Referenced by addEventListener(), addPropertyChangeListener(), dispose(), notifyPropertyChange(), removeEventListener(), and removePropertyChangeListener().
|
private |
Definition at line 317 of file unoshape.hxx.
Referenced by Create(), getPosition(), and setPosition().
|
private |
Definition at line 327 of file unoshape.hxx.
|
private |
Definition at line 319 of file unoshape.hxx.
|
private |
Definition at line 318 of file unoshape.hxx.
Referenced by getShapeType().
|
private |
Definition at line 316 of file unoshape.hxx.
|
private |
Definition at line 326 of file unoshape.hxx.
Referenced by _getPropertyValue(), _setPropertyValue(), and ObtainSettingsFromPropertySet().
|
private |
Definition at line 322 of file unoshape.hxx.
Referenced by _setPropertyValue(), Create(), endSetPropertyValues(), and setPropertyValues().
|
private |
used from the XActionLockable interface
Definition at line 330 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 321 of file unoshape.hxx.
Referenced by _getTypes(), _setPropertyValue(), addEventListener(), addPropertyChangeListener(), Create(), dispose(), endSetPropertyValues(), getPropertyDefault(), getPropertySetInfo(), getPropertyState(), getPropertyValue(), Svx3DSceneObject::getPropertyValue(), getPropertyValues(), getShapeType(), getSupportedServiceNames(), getTypes(), impl_construct(), impl_initFromSdrObject(), notifyPropertyChange(), queryAggregation(), registerProvider(), removeEventListener(), removePropertyChangeListener(), setMaster(), setPropertyToDefault(), setPropertyValue(), setPropertyValues(), setShapeKind(), updateShapeKind(), and ~SvxShape().
|
private |
Definition at line 325 of file unoshape.hxx.
Referenced by _getPropertyDefault(), _getPropertySetInfo(), _getPropertyState(), _getPropertyValue(), _setPropertyToDefault(), _setPropertyValue(), Create(), and ObtainSettingsFromPropertySet().
|
private |
Definition at line 324 of file unoshape.hxx.
Referenced by getGluePoints().
|
private |
Definition at line 328 of file unoshape.hxx.
Referenced by Create(), dispose(), InvalidateSdrObject(), and ~SvxShape().