LibreOffice Module svx (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdrPageWindow Class Reference

#include <sdrpagewindow.hxx>

Classes

struct  Impl
 

Public Member Functions

 SdrPageWindow (SdrPageView &rNewPageView, SdrPaintWindow &rPaintWindow)
 
 ~SdrPageWindow ()
 
SdrPageViewGetPageView () const
 
SdrPaintWindowGetPaintWindow () const
 
const SdrPaintWindowGetOriginalPaintWindow () const
 
css::uno::Reference< css::awt::XControlContainer > const & GetControlContainer (bool _bCreateIfNecessary=true) const
 
rtl::Reference< sdr::overlay::OverlayManager > const & GetOverlayManager () const
 
SdrPaintWindowpatchPaintWindow (SdrPaintWindow &rPaintWindow)
 
void unpatchPaintWindow (SdrPaintWindow *pPreviousPaintWindow)
 
void PrePaint ()
 
void PrepareRedraw (const vcl::Region &rReg)
 
void RedrawAll (sdr::contact::ViewObjectContactRedirector *pRedirector)
 
void RedrawLayer (const SdrLayerID *pId, sdr::contact::ViewObjectContactRedirector *pRedirector, basegfx::B2IRectangle const *)
 
void InvalidatePageWindow (const basegfx::B2DRange &rRange)
 
const sdr::contact::ObjectContactGetObjectContact () const
 
sdr::contact::ObjectContactGetObjectContact ()
 
bool HasObjectContact () const
 determines whether there already exists an ObjectContact More...
 
void ResetObjectContact ()
 
void SetDesignMode (bool _bDesignMode) const
 sets all elements in the view which support a design and an alive mode into the given mode More...
 

Private Member Functions

 SdrPageWindow (const SdrPageWindow &)=delete
 
SdrPageWindowoperator= (const SdrPageWindow &)=delete
 

Private Attributes

std::unique_ptr< ImplmpImpl
 

Detailed Description

Definition at line 46 of file sdrpagewindow.hxx.

Constructor & Destructor Documentation

◆ SdrPageWindow() [1/2]

SdrPageWindow::SdrPageWindow ( const SdrPageWindow )
privatedelete

◆ SdrPageWindow() [2/2]

SdrPageWindow::SdrPageWindow ( SdrPageView rNewPageView,
SdrPaintWindow rPaintWindow 
)

Definition at line 122 of file sdrpagewindow.cxx.

◆ ~SdrPageWindow()

SdrPageWindow::~SdrPageWindow ( )

Member Function Documentation

◆ GetControlContainer()

uno::Reference< awt::XControlContainer > const & SdrPageWindow::GetControlContainer ( bool  _bCreateIfNecessary = true) const

◆ GetObjectContact() [1/2]

sdr::contact::ObjectContact & SdrPageWindow::GetObjectContact ( )

◆ GetObjectContact() [2/2]

const sdr::contact::ObjectContact & SdrPageWindow::GetObjectContact ( ) const

◆ GetOriginalPaintWindow()

const SdrPaintWindow * SdrPageWindow::GetOriginalPaintWindow ( ) const

◆ GetOverlayManager()

rtl::Reference< sdr::overlay::OverlayManager > const & SdrPageWindow::GetOverlayManager ( ) const

◆ GetPageView()

SdrPageView & SdrPageWindow::GetPageView ( ) const

◆ GetPaintWindow()

SdrPaintWindow & SdrPageWindow::GetPaintWindow ( ) const

◆ HasObjectContact()

bool SdrPageWindow::HasObjectContact ( ) const

determines whether there already exists an ObjectContact

Definition at line 508 of file sdrpagewindow.cxx.

References mpImpl.

Referenced by PrePaint(), and PrepareRedraw().

◆ InvalidatePageWindow()

void SdrPageWindow::InvalidatePageWindow ( const basegfx::B2DRange rRange)

◆ operator=()

SdrPageWindow & SdrPageWindow::operator= ( const SdrPageWindow )
privatedelete

◆ patchPaintWindow()

SdrPaintWindow * SdrPageWindow::patchPaintWindow ( SdrPaintWindow rPaintWindow)

Definition at line 168 of file sdrpagewindow.cxx.

References mpImpl.

Referenced by SdrPageView::DrawLayer().

◆ PrePaint()

void SdrPageWindow::PrePaint ( )

◆ PrepareRedraw()

void SdrPageWindow::PrepareRedraw ( const vcl::Region rReg)

◆ RedrawAll()

void SdrPageWindow::RedrawAll ( sdr::contact::ViewObjectContactRedirector pRedirector)

◆ RedrawLayer()

void SdrPageWindow::RedrawLayer ( const SdrLayerID pId,
sdr::contact::ViewObjectContactRedirector pRedirector,
basegfx::B2IRectangle const *  pPageFrame 
)

◆ ResetObjectContact()

void SdrPageWindow::ResetObjectContact ( )

Definition at line 514 of file sdrpagewindow.cxx.

References mpImpl.

Referenced by SdrView::SetMasterPagePaintCaching(), and ~SdrPageWindow().

◆ SetDesignMode()

void SdrPageWindow::SetDesignMode ( bool  _bDesignMode) const

sets all elements in the view which support a design and an alive mode into the given mode

Definition at line 523 of file sdrpagewindow.cxx.

References DBG_ASSERT, GetObjectContact(), and sdr::contact::ObjectContactOfPageView::SetUNOControlsDesignMode().

Referenced by SdrPageView::SetDesignMode().

◆ unpatchPaintWindow()

void SdrPageWindow::unpatchPaintWindow ( SdrPaintWindow pPreviousPaintWindow)

Definition at line 191 of file sdrpagewindow.cxx.

References mpImpl.

Referenced by SdrPageView::DrawLayer().

Member Data Documentation

◆ mpImpl

std::unique_ptr<Impl> SdrPageWindow::mpImpl
private

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