LibreOffice Module svx (master) 1
|
#include <shapeimpl.hxx>
Public Member Functions | |
SvxFrameShape (SdrObject *pObj) | |
virtual | ~SvxFrameShape () noexcept override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override |
virtual void | Create (SdrObject *pNewOpj, SvxDrawPage *pNewPage) override |
virtual OUString | GetAndClearInitialFrameURL () override |
Public Member Functions inherited from SvxOle2Shape | |
SvxOle2Shape (SdrObject *pObj) | |
SvxOle2Shape (SdrObject *pObject, o3tl::span< const SfxItemPropertyMapEntry > pPropertyMap, const SvxItemPropertySet *pPropertySet) | |
virtual | ~SvxOle2Shape () noexcept override |
bool | createObject (const SvGlobalName &aClassName) |
void | createLink (const OUString &aLinkURL) |
virtual OUString | GetAndClearInitialFrameURL () |
Public Member Functions inherited from SvxShapeText | |
SvxShapeText (SdrObject *pObj) | |
SvxShapeText (SdrObject *pObject, o3tl::span< const SfxItemPropertyMapEntry > pPropertyMap, const SvxItemPropertySet *pPropertySet) | |
virtual | ~SvxShapeText () noexcept override |
virtual void | Create (SdrObject *pNewOpj, SvxDrawPage *pNewPage) override |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept 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::text::XTextRange > SAL_CALL | getStart () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getEnd () override |
virtual OUString SAL_CALL | getString () override |
virtual void SAL_CALL | setString (const OUString &aString) override |
virtual sal_Int64 SAL_CALL | getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from SvxShape | |
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 |
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 |
Public Member Functions inherited from SvxUnoTextBase | |
css::uno::Reference< css::text::XTextCursor > | createTextCursorBySelection (const ESelection &rSel) |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursor () override |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursorByRange (const css::uno::Reference< css::text::XTextRange > &aTextPosition) override |
virtual void SAL_CALL | insertString (const css::uno::Reference< css::text::XTextRange > &xRange, const OUString &aString, sal_Bool bAbsorb) override |
virtual void SAL_CALL | insertControlCharacter (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nControlCharacter, sal_Bool bAbsorb) override |
virtual void SAL_CALL | insertTextContent (const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::text::XTextContent > &xContent, sal_Bool bAbsorb) override |
virtual void SAL_CALL | removeTextContent (const css::uno::Reference< css::text::XTextContent > &xContent) override |
virtual OUString SAL_CALL | getString () override |
virtual void SAL_CALL | setString (const OUString &aString) override |
virtual css::uno::Reference< css::text::XText > SAL_CALL | getText () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getStart () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getEnd () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual void SAL_CALL | moveTextRange (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nParagraphs) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | finishParagraph (const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | finishParagraphInsert (const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties, const css::uno::Reference< css::text::XTextRange > &xInsertPosition) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | appendTextPortion (const OUString &Text, const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | insertTextPortion (const OUString &Text, const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties, const css::uno::Reference< css::text::XTextRange > &rTextRange) override |
virtual void SAL_CALL | copyText (const css::uno::Reference< css::text::XTextCopy > &xSource) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Protected Member Functions | |
virtual bool | setPropertyValueImpl (const OUString &rName, const SfxItemPropertyMapEntry *pProperty, const css::uno::Any &rValue) override |
virtual bool | getPropertyValueImpl (const OUString &rName, const SfxItemPropertyMapEntry *pProperty, css::uno::Any &rValue) override |
Protected Member Functions inherited from SvxOle2Shape | |
virtual bool | setPropertyValueImpl (const OUString &rName, const SfxItemPropertyMapEntry *pProperty, const css::uno::Any &rValue) override |
virtual bool | getPropertyValueImpl (const OUString &rName, const SfxItemPropertyMapEntry *pProperty, css::uno::Any &rValue) override |
void | resetModifiedState () |
SvGlobalName | GetClassName_Impl (OUString &rHexCLSID) |
Protected Member Functions inherited from SvxShapeText | |
virtual void | lock () override |
called from the XActionLockable interface methods on initial locking More... | |
virtual void | unlock () override |
called from the XActionLockable interface methods on final unlock More... | |
virtual bool | setPropertyValueImpl (const OUString &rName, const SfxItemPropertyMapEntry *pProperty, const css::uno::Any &rValue) override |
virtual bool | getPropertyValueImpl (const OUString &rName, const SfxItemPropertyMapEntry *pProperty, css::uno::Any &rValue) override |
virtual bool | getPropertyStateImpl (const SfxItemPropertyMapEntry *pProperty, css::beans::PropertyState &rState) override |
virtual bool | setPropertyToDefaultImpl (const SfxItemPropertyMapEntry *pProperty) override |
Protected Member Functions inherited from SvxShape | |
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 () |
Protected Member Functions inherited from SvxUnoTextBase | |
SvxUnoTextBase (const SvxItemPropertySet *_pSet) | |
SvxUnoTextBase (const SvxEditSource *pSource, const SvxItemPropertySet *_pSet, css::uno::Reference< css::text::XText > const &xParent) | |
SvxUnoTextBase (const SvxUnoTextBase &rText) | |
virtual | ~SvxUnoTextBase () noexcept override |
Private Attributes | |
OUString | m_sInitialFrameURL |
Additional Inherited Members | |
Static Public Member Functions inherited from SvxShape | |
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) |
Static Public Member Functions inherited from SvxUnoTextBase | |
static css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames_Static () |
Protected Attributes inherited from cppu::OWeakAggObject | |
css::uno::WeakReferenceHelper | xDelegator |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 68 of file shapeimpl.hxx.
|
explicit |
Definition at line 704 of file unoshap4.cxx.
References pObject, and SvxShape::SetShapeType().
|
overridevirtualnoexcept |
Definition at line 710 of file unoshap4.cxx.
|
overridevirtual |
Reimplemented from SvxShapeText.
Definition at line 721 of file unoshap4.cxx.
References SvxShape::Create(), SvxOle2Shape::createObject(), m_sInitialFrameURL, cppu::OWeakObject::OWeakObject(), SvxShape::SetShapeType(), and SO3_IFRAME_CLASSID.
|
overridevirtual |
Reimplemented from SvxOle2Shape.
Definition at line 714 of file unoshap4.cxx.
References m_sInitialFrameURL.
|
overrideprotectedvirtual |
css::beans::UnknownPropertyException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Reimplemented from SvxOle2Shape.
Definition at line 766 of file unoshap4.cxx.
References SvxOle2Shape::getPropertyValueImpl(), SvxShape::GetSdrObject(), SfxItemPropertyMapEntry::nWID, OWN_ATTR_FRAME_MARGIN_HEIGHT, OWN_ATTR_FRAME_URL, and svt::EmbeddedObjectRef::TryRunningState().
|
overridevirtual |
Reimplemented from SvxShape.
Definition at line 733 of file unoshap4.cxx.
References SvxOle2Shape::resetModifiedState(), and SvxShape::setPropertyValue().
|
overrideprotectedvirtual |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Reimplemented from SvxOle2Shape.
Definition at line 745 of file unoshap4.cxx.
References SvxShape::GetSdrObject(), SfxItemPropertyMapEntry::nWID, OWN_ATTR_FRAME_MARGIN_HEIGHT, OWN_ATTR_FRAME_URL, SvxOle2Shape::setPropertyValueImpl(), and svt::EmbeddedObjectRef::TryRunningState().
|
overridevirtual |
Reimplemented from SvxShape.
Definition at line 739 of file unoshap4.cxx.
References SvxOle2Shape::resetModifiedState(), and SvxShape::setPropertyValues().
|
private |
Definition at line 71 of file shapeimpl.hxx.
Referenced by Create(), and GetAndClearInitialFrameURL().