LibreOffice Module sd (master) 1
|
#include <unoobj.hxx>
Public Member Functions | |
SdXShape (SvxShape *pShape, SdXImpressDocument *pModel) | |
virtual | ~SdXShape () noexcept |
virtual bool | queryAggregation (const css::uno::Type &rType, css::uno::Any &aAny) override |
virtual void | dispose () 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 css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () 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 css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &PropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL | getEvents () override |
virtual bool | queryAggregation (const css::uno::Type &rType, css::uno::Any &aAny)=0 |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo ()=0 |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue)=0 |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName)=0 |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName)=0 |
virtual void SAL_CALL | setPropertyToDefault (const OUString &PropertyName)=0 |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName)=0 |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes ()=0 |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames ()=0 |
virtual void | dispose ()=0 |
Private Member Functions | |
void | SetStyleSheet (const css::uno::Any &rAny) |
css::uno::Any | GetStyleSheet () const |
SdAnimationInfo * | GetAnimationInfo (bool bCreate=false) const |
bool | IsPresObj () const |
checks if this is a presentation object More... | |
bool | IsEmptyPresObj () const |
checks if this presentation object is empty More... | |
void | SetEmptyPresObj (bool bEmpty) |
sets/reset the empty status of a presentation object More... | |
bool | IsMasterDepend () const noexcept |
void | SetMasterDepend (bool bDepend) noexcept |
OUString | GetPlaceholderText () const |
Private Attributes | |
SvxShape * | mpShape |
const SvxItemPropertySet * | mpPropSet |
o3tl::span< const SfxItemPropertyMapEntry > | mpMap |
SdXImpressDocument * | mpModel |
Friends | |
class | SdUnoEventsAccess |
Additional Inherited Members | |
Protected Member Functions inherited from SvxShapeMaster | |
~SvxShapeMaster () | |
Definition at line 33 of file unoobj.hxx.
SdXShape::SdXShape | ( | SvxShape * | pShape, |
SdXImpressDocument * | pModel | ||
) |
Definition at line 247 of file unoobj.cxx.
References mpShape, and SvxShape::setMaster().
|
virtualnoexcept |
Definition at line 261 of file unoobj.cxx.
|
overridevirtualnoexcept |
Definition at line 276 of file unoobj.cxx.
References mpShape.
|
overridevirtual |
Implements SvxShapeMaster.
Definition at line 265 of file unoobj.cxx.
References mpShape, and SvxShape::setMaster().
|
private |
std::exception |
Definition at line 786 of file unoobj.cxx.
References SvxShape::GetSdrObject(), SdDrawDocument::GetShapeUserData(), and mpShape.
Referenced by SdUnoEventsAccess::getByName(), getPropertyValue(), SdUnoEventsAccess::replaceByName(), and setPropertyValue().
|
overridevirtual |
Definition at line 1048 of file unoobj.cxx.
References SdUnoEventsAccess.
|
private |
Definition at line 852 of file unoobj.cxx.
References DBG_ASSERT, SdPage::GetPresObjKind(), SdPage::GetPresObjText(), SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), IsPresObj(), and mpShape.
Referenced by getPropertyValue().
|
overridevirtual |
Implements SvxShapeMaster.
Definition at line 363 of file unoobj.cxx.
References SvxShape::_getPropertyDefault(), SvxItemPropertySet::getPropertyMapEntry(), getPropertyValue(), mpPropSet, and mpShape.
|
overridevirtual |
Implements SvxShapeMaster.
Definition at line 379 of file unoobj.cxx.
References SvxShape::_getPropertySetInfo(), SvxShape::getPropertyMapEntries(), SdXImpressDocument::IsImpressDocument(), mpMap, mpModel, mpShape, and SD_MOD.
|
overridevirtual |
Implements SvxShapeMaster.
Definition at line 331 of file unoobj.cxx.
References SvxShape::_getPropertyState(), SvxItemPropertySet::getPropertyMapEntry(), SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), SdrObject::IsEmptyPresObj(), SdrPage::IsMasterPage(), mpPropSet, and mpShape.
|
overridevirtual |
Implements SvxShapeMaster.
Definition at line 643 of file unoobj.cxx.
References SvxShape::_getPropertyValue(), aName, aURL, GetAnimationInfo(), SdAnimationInfo::GetBookmark(), SdXImpressDocument::GetDoc(), SvxIMapInfo::GetImageMap(), SvxIMapInfo::GetIMapInfo(), SdrObject::GetNavigationPosition(), SdDrawPage::getPageApiNameFromUiName(), SdDrawDocument::GetPageByName(), GetPlaceholderText(), SvxItemPropertySet::getPropertyMapEntry(), SvxShape::GetSdrObject(), GetStyleSheet(), ImplGetSupportedMacroItems(), IsEmptyPresObj(), IsMasterDepend(), IsPresObj(), SdAnimationInfo::maBlueScreen, SdAnimationInfo::mbIsMovie, SdAnimationInfo::mbPlayFull, SdAnimationInfo::meClickAction, SdAnimationInfo::mnVerb, mpModel, mpPropSet, mpShape, nPos, SfxItemPropertyMapEntry::nWID, SDRPAGE_NOTFOUND, SvUnoImageMap_createInstance(), WID_BLUESCREEN, WID_BOOKMARK, WID_CLICKACTION, WID_DIMCOLOR, WID_DIMHIDE, WID_DIMPREV, WID_EFFECT, WID_IMAGEMAP, WID_ISANIMATION, WID_ISEMPTYPRESOBJ, WID_ISPRESOBJ, WID_MASTERDEPEND, WID_NAVORDER, WID_PLACEHOLDERTEXT, WID_PLAYFULL, WID_PRESORDER, WID_SOUNDFILE, WID_SOUNDON, WID_SPEED, WID_STYLE, WID_TEXTEFFECT, and WID_VERB.
Referenced by getPropertyDefault().
|
private |
css::beans::UnknownPropertyException |
Definition at line 1006 of file unoobj.cxx.
References Any, SfxStyleSheetBase::GetFamily(), SvxShape::GetSdrObject(), SdrObject::GetStyleSheet(), SdXImpressDocument::IsImpressDocument(), mpModel, and mpShape.
Referenced by getPropertyValue().
|
overridevirtual |
Implements SvxShapeMaster.
Definition at line 797 of file unoobj.cxx.
References SvxShape::_getSupportedServiceNames(), comphelper::concatSequences(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SvxShape::GetSdrObject(), mpShape, and u.
|
overridevirtual |
Implements SvxShapeMaster.
Definition at line 300 of file unoobj.cxx.
References SvxShape::_getTypes(), aTypes, cppu::UnoType< typename T >::get(), SvxShape::getShapeKind(), SdXImpressDocument::IsImpressDocument(), mpModel, mpShape, nCount, and SD_MOD.
|
private |
checks if this presentation object is empty
Definition at line 836 of file unoobj.cxx.
References SdrTextObj::CanCreateEditOutlinerParaObject(), DynCastSdrTextObj(), SvxShape::GetSdrObject(), SdrObject::IsEmptyPresObj(), and mpShape.
Referenced by getPropertyValue().
|
privatenoexcept |
Definition at line 951 of file unoobj.cxx.
References SvxShape::GetSdrObject(), SdrObject::GetUserCall(), and mpShape.
Referenced by getPropertyValue().
|
private |
checks if this is a presentation object
std::exception |
Definition at line 822 of file unoobj.cxx.
References SdPage::GetPresObjKind(), SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), mpShape, and NONE.
Referenced by GetPlaceholderText(), getPropertyValue(), and SetEmptyPresObj().
|
overridevirtual |
|
overridevirtual |
Definition at line 271 of file unoobj.cxx.
References mpShape.
|
overridevirtualnoexcept |
Definition at line 281 of file unoobj.cxx.
References mpShape.
|
private |
sets/reset the empty status of a presentation object
Definition at line 872 of file unoobj.cxx.
References SdrOle2Obj::ClearGraphic(), DBG_ASSERT, DynCastSdrTextObj(), SdXImpressDocument::GetDoc(), SdDrawDocument::GetInternalOutliner(), SdrObject::GetOutlinerParaObject(), SdPage::GetPresObjKind(), SdPage::GetPresObjText(), SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), SdrModel::GetStyleSheetPool(), SdPage::GetTextStyleSheetForObject(), OutlinerParaObject::IsEffectivelyVertical(), SdrObject::IsEmptyPresObj(), IsPresObj(), mpModel, mpShape, SdrObject::NbcSetOutlinerParaObject(), SdrObject::SetEmptyPresObj(), SdrGrafObj::SetGraphic(), and SdrObject::SetOutlinerParaObject().
Referenced by setPropertyValue().
|
privatenoexcept |
Definition at line 957 of file unoobj.cxx.
References SdrObject::getSdrPageFromSdrObject(), mpShape, and SdrObject::SetUserCall().
Referenced by setPropertyValue().
|
overridevirtual |
Implements SvxShapeMaster.
Definition at line 349 of file unoobj.cxx.
References SvxShape::_setPropertyToDefault(), SvxItemPropertySet::getPropertyMapEntry(), mpPropSet, and mpShape.
|
overridevirtual |
Implements SvxShapeMaster.
Definition at line 404 of file unoobj.cxx.
References SvxShape::_setPropertyValue(), SdrObject::AppendUserData(), GetAnimationInfo(), SdXImpressDocument::GetDoc(), SvxIMapInfo::GetIMapInfo(), SdrObjList::GetObjCount(), SdrObject::GetOrdNum(), SdrObject::getParentSdrObjListFromSdrObject(), SvxItemPropertySet::getPropertyMapEntry(), SvxShape::GetSdrObject(), SdrObject::getSdrObjectFromXShape(), SdrObject::getSdrPageFromSdrObject(), SdrObjGroup::GetSubList(), SdDrawPage::getUiNameFromPageApiName(), SdAnimationInfo::maSoundFile, SdAnimationInfo::mbSoundOn, SdAnimationInfo::meClickAction, SdAnimationInfo::mnVerb, mpModel, mpPropSet, mpShape, SdPage::NbcRemoveObject(), SfxItemPropertyMapEntry::nWID, pObject, SvxMSDffManager::ReadObjText(), SAL_MAX_UINT32, SdAnimationInfo::SetBookmark(), SetEmptyPresObj(), SvxIMapInfo::SetImageMap(), SetMasterDepend(), SdXImpressDocument::SetModified(), SdrObjList::SetObjectNavigationPosition(), SetStyleSheet(), SvUnoImageMap_fillImageMap(), WID_ANIMPATH, WID_BOOKMARK, WID_CLICKACTION, WID_DIMCOLOR, WID_DIMHIDE, WID_DIMPREV, WID_EFFECT, WID_IMAGEMAP, WID_ISANIMATION, WID_ISEMPTYPRESOBJ, WID_LEGACYFRAGMENT, WID_MASTERDEPEND, WID_NAVORDER, WID_PRESORDER, WID_SOUNDFILE, WID_SOUNDON, WID_SPEED, WID_STYLE, WID_TEXTEFFECT, and WID_VERB.
|
private |
css::lang::IllegalArgumentException | |
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Definition at line 977 of file unoobj.cxx.
References SfxViewFrame::GetBindings(), SdXImpressDocument::GetDoc(), SdDrawDocument::GetDocSh(), SfxStyleSheetBase::GetFamily(), SvxShape::GetSdrObject(), SdrObject::GetStyleSheet(), SfxUnoStyleSheet::getUnoStyleSheet(), sd::ViewShell::GetViewFrame(), sd::DrawDocShell::GetViewShell(), SfxBindings::Invalidate(), mpModel, mpShape, and SdrObject::SetStyleSheet().
Referenced by setPropertyValue().
|
friend |
Definition at line 36 of file unoobj.hxx.
Referenced by getEvents().
|
private |
Definition at line 41 of file unoobj.hxx.
Referenced by getPropertySetInfo().
|
private |
Definition at line 42 of file unoobj.hxx.
Referenced by getPropertySetInfo(), getPropertyValue(), GetStyleSheet(), getTypes(), queryAggregation(), SetEmptyPresObj(), setPropertyValue(), and SetStyleSheet().
|
private |
Definition at line 40 of file unoobj.hxx.
Referenced by getPropertyDefault(), getPropertyState(), getPropertyValue(), setPropertyToDefault(), and setPropertyValue().
|
private |
Definition at line 39 of file unoobj.hxx.
Referenced by acquire(), dispose(), GetAnimationInfo(), GetPlaceholderText(), getPropertyDefault(), getPropertySetInfo(), getPropertyState(), getPropertyValue(), GetStyleSheet(), getSupportedServiceNames(), getTypes(), IsEmptyPresObj(), IsMasterDepend(), IsPresObj(), queryInterface(), release(), SetEmptyPresObj(), setPropertyToDefault(), setPropertyValue(), and SetStyleSheet().