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)
 
void SetContentControlAliasButton (SwContentControl *pContentControl, Point aTopLeftPixel)
 

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 31 of file FrameControlsManager.hxx.

Constructor & Destructor Documentation

◆ SwFrameControlsManager()

SwFrameControlsManager::SwFrameControlsManager ( SwEditWin pEditWin)

Definition at line 27 of file FrameControlsManager.cxx.

◆ ~SwFrameControlsManager()

SwFrameControlsManager::~SwFrameControlsManager ( )

Definition at line 32 of file FrameControlsManager.cxx.

Member Function Documentation

◆ dispose()

void SwFrameControlsManager::dispose ( void  )

Definition at line 36 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 53 of file FrameControlsManager.cxx.

References m_aControls.

Referenced by SwPageFrame::DestroyImpl().

◆ RemoveControlsByType()

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

Definition at line 62 of file FrameControlsManager.cxx.

References eType, and m_aControls.

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

◆ SetContentControlAliasButton()

void SwFrameControlsManager::SetContentControlAliasButton ( SwContentControl pContentControl,
Point  aTopLeftPixel 
)

◆ 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 74 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: