LibreOffice Module sd (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
SdCustomShow Class Referencefinal

#include <cusshow.hxx>

Public Types

typedef ::std::vector< const SdPage * > PageVec
 

Public Member Functions

 SdCustomShow ()
 
 SdCustomShow (css::uno::Reference< css::uno::XInterface > const &xShow)
 
 ~SdCustomShow ()
 
 SdCustomShow (const SdCustomShow &rShow)
 
SdCustomShowoperator= (const SdCustomShow &rShow)=delete
 
PageVecPagesVector ()
 Provides a direct access to the collection of the SdPage objects. More...
 
void ReplacePage (const SdPage *pOldPage, const SdPage *pNewPage)
 Replaces all occurrences of pOldPage with pNewPage. More...
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
css::uno::Reference< css::uno::XInterface > getUnoCustomShow ()
 

Private Attributes

PageVec maPages
 
OUString aName
 
css::uno::WeakReference< css::uno::XInterface > mxUnoCustomShow
 

Detailed Description

Definition at line 28 of file cusshow.hxx.

Member Typedef Documentation

◆ PageVec

typedef ::std::vector<const SdPage*> SdCustomShow::PageVec

Definition at line 31 of file cusshow.hxx.

Constructor & Destructor Documentation

◆ SdCustomShow() [1/3]

SdCustomShow::SdCustomShow ( )

Definition at line 33 of file cusshow.cxx.

◆ SdCustomShow() [2/3]

SdCustomShow::SdCustomShow ( css::uno::Reference< css::uno::XInterface > const &  xShow)

Definition at line 48 of file cusshow.cxx.

◆ ~SdCustomShow()

SdCustomShow::~SdCustomShow ( )

Definition at line 58 of file cusshow.cxx.

References mxUnoCustomShow.

◆ SdCustomShow() [3/3]

SdCustomShow::SdCustomShow ( const SdCustomShow rShow)

Definition at line 42 of file cusshow.cxx.

References aName, and GetName().

Member Function Documentation

◆ GetName()

const OUString & SdCustomShow::GetName ( ) const
inline

◆ getUnoCustomShow()

uno::Reference< uno::XInterface > SdCustomShow::getUnoCustomShow ( )

Definition at line 66 of file cusshow.cxx.

References createUnoCustomShow(), and mxUnoCustomShow.

Referenced by SdXCustomPresentationAccess::getByName().

◆ operator=()

SdCustomShow & SdCustomShow::operator= ( const SdCustomShow rShow)
delete

◆ PagesVector()

PageVec & SdCustomShow::PagesVector ( )
inline

◆ ReplacePage()

void SdCustomShow::ReplacePage ( const SdPage pOldPage,
const SdPage pNewPage 
)

Replaces all occurrences of pOldPage with pNewPage.

If pNewPage is 0 then removes all occurrences of pOldPage.

Definition at line 79 of file cusshow.cxx.

References maPages.

Referenced by SdDrawDocument::ReplacePageInCustomShows().

◆ SetName()

void SdCustomShow::SetName ( const OUString &  rName)

Definition at line 91 of file cusshow.cxx.

References aName.

Referenced by SdXCustomPresentationAccess::insertByName(), and SdXCustomPresentation::setName().

Member Data Documentation

◆ aName

OUString SdCustomShow::aName
private

Definition at line 35 of file cusshow.hxx.

Referenced by SdCustomShow(), and SetName().

◆ maPages

PageVec SdCustomShow::maPages
private

Definition at line 34 of file cusshow.hxx.

Referenced by ReplacePage().

◆ mxUnoCustomShow

css::uno::WeakReference<css::uno::XInterface> SdCustomShow::mxUnoCustomShow
private

Definition at line 38 of file cusshow.hxx.

Referenced by getUnoCustomShow(), and ~SdCustomShow().


The documentation for this class was generated from the following files: