LibreOffice Module sd (master) 1
|
#include <unopage.hxx>
Public Member Functions | |
SdDrawPage (SdXImpressDocument *pModel, SdPage *pInPage) | |
virtual | ~SdDrawPage () noexcept 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 |
css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL | getMasterPage () override |
virtual void SAL_CALL | setMasterPage (const css::uno::Reference< css::drawing::XDrawPage > &xMasterPage) override |
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL | getNotesPage () override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual void SAL_CALL | add (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual void SAL_CALL | remove (const css::uno::Reference< css::drawing::XShape > &xShape) override |
Public Member Functions inherited from SdGenericDrawPage | |
SdGenericDrawPage (SdXImpressDocument *pModel, SdPage *pInPage, const SvxItemPropertySet *pSet) | |
virtual | ~SdGenericDrawPage () noexcept override |
bool | isValid () const |
SdPage * | GetPage () const |
SdXImpressDocument * | GetModel () const |
virtual sal_Int64 SAL_CALL | getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override |
virtual rtl::Reference< SdrObject > | CreateSdrObject_ (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual css::uno::Reference< css::drawing::XShape > | CreateShape (SdrObject *pObj) const override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | release () noexcept override |
css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) override |
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL | combine (const css::uno::Reference< css::drawing::XShapes > &xShapes) override |
virtual void SAL_CALL | split (const css::uno::Reference< css::drawing::XShape > &xGroup) override |
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL | bind (const css::uno::Reference< css::drawing::XShapes > &xShapes) override |
virtual void SAL_CALL | unbind (const css::uno::Reference< css::drawing::XShape > &xShape) 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::uno::Reference< css::container::XNameAccess > SAL_CALL | getLinks () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Reference< css::animations::XAnimationNode > SAL_CALL | getAnimationNode () override |
virtual css::uno::Reference< css::office::XAnnotation > SAL_CALL | createAndInsertAnnotation () override |
virtual void SAL_CALL | removeAnnotation (const css::uno::Reference< css::office::XAnnotation > &annotation) override |
virtual css::uno::Reference< css::office::XAnnotationEnumeration > SAL_CALL | createAnnotationEnumeration () override |
Public Member Functions inherited from SvxFmDrawPage | |
SvxFmDrawPage (SdrPage *pPage) | |
virtual | ~SvxFmDrawPage () noexcept override |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &aType) override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL | getForms () override |
virtual sal_Bool SAL_CALL | hasForms () override |
Public Member Functions inherited from SvxDrawPage | |
SvxDrawPage (SdrPage *pPage) | |
virtual | ~SvxDrawPage () noexcept override |
SdrPage * | GetSdrPage () const |
rtl::Reference< SdrObject > | CreateSdrObject (const css::uno::Reference< css::drawing::XShape > &xShape, bool bBeginning=false) noexcept |
virtual rtl::Reference< SdrObject > | CreateSdrObject_ (const css::uno::Reference< css::drawing::XShape > &xShape) |
virtual css::uno::Reference< css::drawing::XShape > | CreateShape (SdrObject *pObj) const |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | add (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual void SAL_CALL | remove (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual void SAL_CALL | addTop (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual void SAL_CALL | addBottom (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual void SAL_CALL | sort (const css::uno::Sequence< sal_Int32 > &sortOrder) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Reference< css::drawing::XShapeGroup > SAL_CALL | group (const css::uno::Reference< css::drawing::XShapes > &xShapes) override |
virtual void SAL_CALL | ungroup (const css::uno::Reference< css::drawing::XShapeGroup > &aGroup) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
Public Member Functions inherited from SdUnoSearchReplaceShape | |
SdUnoSearchReplaceShape (css::drawing::XDrawPage *xPage) noexcept | |
this class implements a search or replace operation on a given page or a given sdrobj More... | |
virtual | ~SdUnoSearchReplaceShape () noexcept |
virtual css::uno::Reference< css::util::XReplaceDescriptor > SAL_CALL | createReplaceDescriptor () override |
virtual sal_Int32 SAL_CALL | replaceAll (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
virtual css::uno::Reference< css::util::XSearchDescriptor > SAL_CALL | createSearchDescriptor () override |
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL | findAll (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | findFirst (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | findNext (const css::uno::Reference< css::uno::XInterface > &xStartAt, const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
Static Public Member Functions | |
static OUString | getPageApiName (SdPage const *pPage) |
static OUString | getPageApiNameFromUiName (const OUString &rUIName) |
static OUString | getUiNameFromPageApiName (const OUString &rApiName) |
Static Public Member Functions inherited from SdGenericDrawPage | |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () noexcept |
Static Public Member Functions inherited from SvxDrawPage | |
static void | GetTypeAndInventor (SdrObjKind &rType, SdrInventor &rInventor, const OUString &aName) noexcept |
static rtl::Reference< SvxShape > | CreateShapeByTypeAndInventor (SdrObjKind nType, SdrInventor nInventor, SdrObject *pObj, SvxDrawPage *pPage=nullptr, OUString const &referer=OUString()) |
Private Member Functions | |
virtual void | setBackground (const css::uno::Any &rValue) override |
virtual void | getBackground (css::uno::Any &rValue) override |
Private Attributes | |
css::uno::Sequence< css::uno::Type > | maTypeSequence |
Additional Inherited Members | |
Protected Member Functions inherited from SdGenericDrawPage | |
virtual void | setBackground (const css::uno::Any &rValue) |
virtual void | getBackground (css::uno::Any &rValue) |
OUString | getBookmarkURL () const |
void | setBookmarkURL (std::u16string_view rURL) |
void | SetLeftBorder (sal_Int32 nValue) |
void | SetRightBorder (sal_Int32 nValue) |
void | SetUpperBorder (sal_Int32 nValue) |
void | SetLowerBorder (sal_Int32 nValue) |
void | SetWidth (sal_Int32 nWidth) |
void | SetHeight (sal_Int32 nHeight) |
bool | IsImpressDocument () const |
virtual void | disposing () noexcept override |
css::uno::Any | getNavigationOrder () |
void | setNavigationOrder (const css::uno::Any &rValue) |
void | throwIfDisposed () const |
virtual rtl::Reference< SdrObject > | CreateSdrObject_ (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual css::uno::Reference< css::drawing::XShape > | CreateShape (SdrObject *pObj) const override |
Protected Member Functions inherited from SvxDrawPage | |
void | SelectObjectsInView (const css::uno::Reference< css::drawing::XShapes > &aShapes, SdrPageView *pPageView) noexcept |
void | SelectObjectInView (const css::uno::Reference< css::drawing::XShape > &xShape, SdrPageView *pPageView) noexcept |
virtual void | disposing () noexcept |
Protected Member Functions inherited from SdUnoSearchReplaceShape | |
css::uno::Reference< css::text::XTextRange > | Search (const css::uno::Reference< css::text::XTextRange > &xText, SdUnoSearchReplaceDescriptor *pDescr) |
bool | Search (const OUString &rText, sal_Int32 &nStartPos, sal_Int32 &nEndPos, SdUnoSearchReplaceDescriptor *pDescr) noexcept |
css::uno::Reference< css::drawing::XShape > | GetNextShape (const css::uno::Reference< css::container::XIndexAccess > &xShapes, const css::uno::Reference< css::drawing::XShape > &xCurrentShape) noexcept |
this method returns the shape that follows xCurrentShape in the shape collection xShapes. More... | |
css::uno::Reference< css::drawing::XShape > | GetCurrentShape () const noexcept |
Static Protected Member Functions inherited from SdUnoSearchReplaceShape | |
static ESelection | GetSelection (const css::uno::Reference< css::text::XTextRange > &xTextRange) noexcept |
static css::uno::Reference< css::drawing::XShape > | GetShape (const css::uno::Reference< css::text::XTextRange > &xTextRange) noexcept |
Protected Attributes inherited from SvxDrawPage | |
cppu::OBroadcastHelper | mrBHelper |
SdrPage * | mpPage |
SdrModel * | mpModel |
std::unique_ptr< SdrView > | mpView |
Definition at line 160 of file unopage.hxx.
SdDrawPage::SdDrawPage | ( | SdXImpressDocument * | pModel, |
SdPage * | pInPage | ||
) |
Definition at line 2060 of file unopage.cxx.
|
overridevirtualnoexcept |
Definition at line 2065 of file unopage.cxx.
|
overridevirtualnoexcept |
Definition at line 2093 of file unopage.cxx.
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2446 of file unopage.cxx.
References SvxDrawPage::add().
|
overrideprivatevirtual |
std::exception |
Reimplemented from SdGenericDrawPage.
Definition at line 2547 of file unopage.cxx.
References SfxItemSet::Get(), SdrPageProperties::GetItemSet(), GetItemSet(), SdGenericDrawPage::GetModel(), SdGenericDrawPage::GetPage(), SdrPage::getSdrPageProperties(), and XATTR_FILLSTYLE().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2429 of file unopage.cxx.
References Any, and SvxDrawPage::getByIndex().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2424 of file unopage.cxx.
References SvxDrawPage::getCount().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2435 of file unopage.cxx.
References SvxDrawPage::getElementType().
Reimplemented from SvxFmDrawPage.
Definition at line 2146 of file unopage.cxx.
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2236 of file unopage.cxx.
|
overridevirtual |
Definition at line 2346 of file unopage.cxx.
References SdGenericDrawPage::GetPage(), SdrPage::getUnoPage(), SvxDrawPage::mpPage, SdGenericDrawPage::throwIfDisposed(), and SdrPage::TRG_GetMasterPage().
|
overridevirtual |
Definition at line 2336 of file unopage.cxx.
References SdGenericDrawPage::GetPage(), getPageApiName(), and SdGenericDrawPage::throwIfDisposed().
|
overridevirtual |
Definition at line 2405 of file unopage.cxx.
References SdXImpressDocument::GetDoc(), SdGenericDrawPage::GetModel(), SdDrawDocument::GetSdPage(), SdrPage::getUnoPage(), SvxDrawPage::mpPage, Notes, and SdGenericDrawPage::throwIfDisposed().
|
static |
Definition at line 2151 of file unopage.cxx.
References getPageApiName().
Referenced by SdDrawPagesAccess::getByName(), SdDrawPagesAccess::getElementNames(), getName(), and SdDrawPagesAccess::hasByName().
|
static |
Definition at line 2192 of file unopage.cxx.
References getPageApiNameFromUiName().
Referenced by SdGenericDrawPage::getBookmarkURL(), and SdXShape::getPropertyValue().
|
overridevirtual |
Reimplemented from SdGenericDrawPage.
Definition at line 2241 of file unopage.cxx.
References comphelper::concatSequences(), SdGenericDrawPage::getSupportedServiceNames(), SdGenericDrawPage::IsImpressDocument(), SdGenericDrawPage::throwIfDisposed(), and u.
Reimplemented from SvxFmDrawPage.
Definition at line 2106 of file unopage.cxx.
References aTypes, comphelper::concatSequences(), comphelper::containerToSequence(), SdGenericDrawPage::GetPage(), SdPage::GetPageKind(), SvxFmDrawPage::getTypes(), Handout, SdGenericDrawPage::IsImpressDocument(), maTypeSequence, Standard, and SdGenericDrawPage::throwIfDisposed().
|
static |
Definition at line 2230 of file unopage.cxx.
References getUiNameFromPageApiNameImpl().
Referenced by SdGenericDrawPage::setBookmarkURL(), and SdXShape::setPropertyValue().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2440 of file unopage.cxx.
References SvxDrawPage::hasElements().
|
overridevirtual |
Reimplemented from SdGenericDrawPage.
Definition at line 2075 of file unopage.cxx.
References Any, Handout, SdGenericDrawPage::IsImpressDocument(), SvxDrawPage::mpPage, p, and SdGenericDrawPage::queryAggregation().
|
overridevirtual |
Reimplemented from SdGenericDrawPage.
Definition at line 2070 of file unopage.cxx.
References Any, and SdGenericDrawPage::queryInterface().
|
overridevirtualnoexcept |
Reimplemented from SdGenericDrawPage.
Definition at line 2098 of file unopage.cxx.
References SvxDrawPage::release().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2451 of file unopage.cxx.
References SdGenericDrawPage::GetPage(), SdrObject::getSdrObjectFromXShape(), SvxDrawPage::remove(), SdPage::RemovePresObj(), SdrObject::SetUserCall(), and SdGenericDrawPage::throwIfDisposed().
|
overrideprivatevirtual |
css::lang::IllegalArgumentException |
Reimplemented from SdGenericDrawPage.
Definition at line 2467 of file unopage.cxx.
References SdrPage::ActionChanged(), aProperties, aPropName, SdrPageProperties::ClearItem(), SfxItemSet::Count(), SdUnoPageBackground::fillItemSet(), SdGenericDrawPage::GetModel(), SdGenericDrawPage::GetPage(), SdrPage::getSdrPageProperties(), SvxDrawPage::mpPage, SdrPageProperties::PutItem(), and SdrPageProperties::PutItemSet().
|
overridevirtual |
Definition at line 2367 of file unopage.cxx.
References SdXImpressDocument::GetDoc(), SdPage::GetLayoutName(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdGenericDrawPage::GetModel(), SdPage::GetOrientation(), SdrPage::GetPageNum(), SdrPage::GetRightBorder(), SdDrawDocument::GetSdPage(), SvxDrawPage::GetSdrPage(), SdrPage::GetSize(), SdrPage::GetUpperBorder(), SdGenericDrawPage::isValid(), SvxDrawPage::mpPage, Notes, SdrPage::SetBorder(), SdPage::SetLayoutName(), SdXImpressDocument::SetModified(), SdrPage::SetOrientation(), SdrPage::SetSize(), SdGenericDrawPage::throwIfDisposed(), SdrPage::TRG_ClearMasterPage(), SdrPage::TRG_GetMasterPage(), and SdrPage::TRG_SetMasterPage().
|
overridevirtual |
Definition at line 2261 of file unopage.cxx.
References aName, DBG_ASSERT, eMode, SdXImpressDocument::GetDoc(), SdXImpressDocument::GetDocShell(), SdGenericDrawPage::GetModel(), SdGenericDrawPage::GetPage(), SdrPage::GetPageNum(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), sd::DrawDocShell::GetViewShell(), Notes, Page, SdResId(), sEmptyPageName, SdXImpressDocument::SetModified(), SdPage::SetName(), o3tl::starts_with(), SdGenericDrawPage::throwIfDisposed(), and o3tl::toInt32().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2255 of file unopage.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 165 of file unopage.hxx.
Referenced by getTypes().