LibreOffice Module sd (master) 1
|
#include <unopage.hxx>
Public Member Functions | |
SdMasterPage (SdXImpressDocument *pModel, SdPage *pInPage) | |
virtual | ~SdMasterPage () 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 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 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 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 |
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 | |
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()) |
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 223 of file unopage.hxx.
SdMasterPage::SdMasterPage | ( | SdXImpressDocument * | pModel, |
SdPage * | pInPage | ||
) |
Definition at line 2661 of file unopage.cxx.
|
overridevirtualnoexcept |
Definition at line 2666 of file unopage.cxx.
|
overridevirtualnoexcept |
Definition at line 2699 of file unopage.cxx.
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 3045 of file unopage.cxx.
References SvxDrawPage::add().
|
overrideprivatevirtual |
std::exception |
Reimplemented from SdGenericDrawPage.
Definition at line 2912 of file unopage.cxx.
References SfxItemSet::Count(), Exception, SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), SfxStyleSheetBase::GetItemSet(), GetItemSet(), SdGenericDrawPage::GetModel(), getName(), SdrPage::getSdrModelFromSdrPage(), SdrModel::GetStyleSheetPool(), SdGenericDrawPage::IsImpressDocument(), SvxDrawPage::mpPage, SD_LT_SEPARATOR, STR_LAYOUT_BACKGROUND, sUNO_PseudoSheet_Background, TOOLS_WARN_EXCEPTION, and XATTR_FILLSTYLE().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2809 of file unopage.cxx.
References Any, SvxDrawPage::getByIndex(), and SdGenericDrawPage::throwIfDisposed().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2800 of file unopage.cxx.
References SvxDrawPage::getCount(), and SdGenericDrawPage::throwIfDisposed().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2794 of file unopage.cxx.
References SvxDrawPage::getElementType().
Reimplemented from SvxFmDrawPage.
Definition at line 2751 of file unopage.cxx.
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2757 of file unopage.cxx.
|
overridevirtual |
Definition at line 3010 of file unopage.cxx.
References SdGenericDrawPage::GetPage(), SvxDrawPage::mpPage, SD_LT_SEPARATOR, and SdGenericDrawPage::throwIfDisposed().
Referenced by getBackground(), and setBackground().
|
overridevirtual |
Definition at line 3026 of file unopage.cxx.
References SdXImpressDocument::GetDoc(), SdDrawDocument::GetMasterSdPage(), SdGenericDrawPage::GetModel(), SdrPage::getUnoPage(), SvxDrawPage::mpPage, Notes, and SdGenericDrawPage::throwIfDisposed().
|
overridevirtual |
Reimplemented from SdGenericDrawPage.
Definition at line 2762 of file unopage.cxx.
References comphelper::concatSequences(), SdGenericDrawPage::getSupportedServiceNames(), Handout, SvxDrawPage::mpPage, SdGenericDrawPage::throwIfDisposed(), and u.
Reimplemented from SvxFmDrawPage.
Definition at line 2712 of file unopage.cxx.
References aTypes, comphelper::concatSequences(), comphelper::containerToSequence(), SdGenericDrawPage::GetPage(), SdPage::GetPageKind(), SvxFmDrawPage::getTypes(), Handout, SdGenericDrawPage::IsImpressDocument(), maTypeSequence, SvxDrawPage::mpPage, Standard, and SdGenericDrawPage::throwIfDisposed().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2782 of file unopage.cxx.
References SdrObjList::GetObjCount(), SvxDrawPage::mpPage, and SdGenericDrawPage::throwIfDisposed().
|
overridevirtual |
Reimplemented from SdGenericDrawPage.
Definition at line 2676 of file unopage.cxx.
References SdGenericDrawPage::GetPage(), Handout, SdGenericDrawPage::IsImpressDocument(), SdGenericDrawPage::queryAggregation(), and SdGenericDrawPage::throwIfDisposed().
|
overridevirtual |
Reimplemented from SdGenericDrawPage.
Definition at line 2671 of file unopage.cxx.
References Any, and SdGenericDrawPage::queryInterface().
|
overridevirtualnoexcept |
Reimplemented from SdGenericDrawPage.
Definition at line 2704 of file unopage.cxx.
References SvxDrawPage::release().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 3050 of file unopage.cxx.
References SdGenericDrawPage::GetPage(), SdrObject::getSdrObjectFromXShape(), SvxDrawPage::remove(), SdPage::RemovePresObj(), and SdGenericDrawPage::throwIfDisposed().
|
overrideprivatevirtual |
css::lang::IllegalArgumentException |
Reimplemented from SdGenericDrawPage.
Definition at line 2819 of file unopage.cxx.
References SdrPage::ActionChanged(), aProperties, aPropName, Exception, SdUnoPageBackground::fillItemSet(), SfxStyleSheetBasePool::Find(), SfxStyleSheetBase::GetItemSet(), SdGenericDrawPage::GetModel(), getName(), SdGenericDrawPage::GetPage(), SdrPage::getSdrModelFromSdrPage(), SdrPage::getSdrPageProperties(), SdrModel::GetStyleSheetPool(), ImplGetPageBackgroundPropertySet(), SdGenericDrawPage::IsImpressDocument(), SvxDrawPage::mpPage, SfxItemSet::Put(), SdrPageProperties::PutItemSet(), SD_LT_SEPARATOR, STR_LAYOUT_BACKGROUND, sUNO_PseudoSheet_Background, and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Definition at line 2971 of file unopage.cxx.
References eMode, SdXImpressDocument::GetDoc(), SdXImpressDocument::GetDocShell(), SdGenericDrawPage::GetModel(), SdGenericDrawPage::GetPage(), SdDrawDocument::GetPageByName(), sd::DrawDocShell::GetViewShell(), MasterPage, SvxDrawPage::mpPage, Notes, SdDrawDocument::RenameLayoutTemplate(), SDRPAGE_NOTFOUND, SdXImpressDocument::SetModified(), SdPage::SetName(), and SdGenericDrawPage::throwIfDisposed().
|
overridevirtual |
Reimplemented from SvxDrawPage.
Definition at line 2776 of file unopage.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 227 of file unopage.hxx.
Referenced by getTypes().