LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwFrameControlsManager Class Reference

A container for the Header/Footer, PageBreak, and Outline Content Visibility controls. More...

#include <FrameControlsManager.hxx>

Collaboration diagram for SwFrameControlsManager:
[legend]

Public Member Functions

 SwFrameControlsManager (SwEditWin *pEditWin)
 
 ~SwFrameControlsManager ()
 
void dispose ()
 
SwFrameControlPtr GetControl (FrameControlType eType, const SwFrame *pFrame)
 
void RemoveControls (const SwFrame *pFrame)
 
void RemoveControlsByType (FrameControlType eType, const SwFrame *pFrame)
 
void HideControls (FrameControlType eType)
 
void SetReadonlyControls (bool bReadonly)
 
void SetHeaderFooterControl (const SwPageFrame *pPageFrame, FrameControlType eType, Point aOffset)
 
void SetPageBreakControl (const SwPageFrame *pPageFrame)
 
void SetUnfloatTableButton (const SwFlyFrame *pFlyFrame, bool bShow, Point aTopRightPixel=Point())
 
void SetOutlineContentVisibilityButton (const SwContentFrame *pContentFrame)
 

Private Attributes

VclPtr< SwEditWinm_pEditWin
 
std::map< FrameControlType, SwFrameControlPtrMapm_aControls
 

Detailed Description

A container for the Header/Footer, PageBreak, and Outline Content Visibility controls.

Definition at line 30 of file FrameControlsManager.hxx.

Constructor & Destructor Documentation

◆ SwFrameControlsManager()

SwFrameControlsManager::SwFrameControlsManager ( SwEditWin pEditWin)

Definition at line 26 of file FrameControlsManager.cxx.

◆ ~SwFrameControlsManager()

SwFrameControlsManager::~SwFrameControlsManager ( )

Definition at line 31 of file FrameControlsManager.cxx.

Member Function Documentation

◆ dispose()

void SwFrameControlsManager::dispose ( void  )

Definition at line 35 of file FrameControlsManager.cxx.

References m_aControls.

◆ GetControl()

SwFrameControlPtr SwFrameControlsManager::GetControl ( FrameControlType  eType,
const SwFrame pFrame 
)

◆ HideControls()

void SwFrameControlsManager::HideControls ( FrameControlType  eType)

◆ RemoveControls()

void SwFrameControlsManager::RemoveControls ( const SwFrame pFrame)

Definition at line 52 of file FrameControlsManager.cxx.

References m_aControls.

Referenced by SwPageFrame::DestroyImpl().

◆ RemoveControlsByType()

void SwFrameControlsManager::RemoveControlsByType ( FrameControlType  eType,
const SwFrame pFrame 
)

Definition at line 61 of file FrameControlsManager.cxx.

References eType, and m_aControls.

Referenced by SwEditWin::Command(), SwEditWin::MouseMove(), and SwPageFrame::PaintBreak().

◆ SetHeaderFooterControl()

void SwFrameControlsManager::SetHeaderFooterControl ( const SwPageFrame pPageFrame,
FrameControlType  eType,
Point  aOffset 
)

◆ SetOutlineContentVisibilityButton()

void SwFrameControlsManager::SetOutlineContentVisibilityButton ( const SwContentFrame pContentFrame)

◆ SetPageBreakControl()

void SwFrameControlsManager::SetPageBreakControl ( const SwPageFrame pPageFrame)

◆ SetReadonlyControls()

void SwFrameControlsManager::SetReadonlyControls ( bool  bReadonly)

Definition at line 73 of file FrameControlsManager.cxx.

References m_aControls.

Referenced by SwWrtShell::SetReadonlyOption().

◆ SetUnfloatTableButton()

void SwFrameControlsManager::SetUnfloatTableButton ( const SwFlyFrame pFlyFrame,
bool  bShow,
Point  aTopRightPixel = Point() 
)

Member Data Documentation

◆ m_aControls

std::map< FrameControlType, SwFrameControlPtrMap > SwFrameControlsManager::m_aControls
private

◆ m_pEditWin

VclPtr<SwEditWin> SwFrameControlsManager::m_pEditWin
private

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