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

A container for the Header/Footer, or PageBreak 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())
 

Private Attributes

VclPtr< SwEditWinm_pEditWin
 
std::map< FrameControlType, SwFrameControlPtrMapm_aControls
 

Detailed Description

A container for the Header/Footer, or PageBreak controls.

Definition at line 28 of file FrameControlsManager.hxx.

Constructor & Destructor Documentation

SwFrameControlsManager::SwFrameControlsManager ( SwEditWin pEditWin)

Definition at line 23 of file FrameControlsManager.cxx.

SwFrameControlsManager::~SwFrameControlsManager ( )

Definition at line 29 of file FrameControlsManager.cxx.

Member Function Documentation

void SwFrameControlsManager::dispose ( void  )

Definition at line 33 of file FrameControlsManager.cxx.

References m_aControls.

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

Definition at line 65 of file FrameControlsManager.cxx.

References m_aControls.

Referenced by SwWrtShell::SetShowHeaderFooterSeparator().

void SwFrameControlsManager::RemoveControls ( const SwFrame pFrame)

Definition at line 50 of file FrameControlsManager.cxx.

References m_aControls.

Referenced by SwPageFrame::DestroyImpl().

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

Definition at line 59 of file FrameControlsManager.cxx.

References m_aControls.

Referenced by SwPageFrame::PaintBreak().

void SwFrameControlsManager::SetHeaderFooterControl ( const SwPageFrame pPageFrame,
FrameControlType  eType,
Point  aOffset 
)
void SwFrameControlsManager::SetPageBreakControl ( const SwPageFrame pPageFrame)
void SwFrameControlsManager::SetReadonlyControls ( bool  bReadonly)

Definition at line 71 of file FrameControlsManager.cxx.

References m_aControls.

Referenced by SwWrtShell::SetReadonlyOption().

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

Member Data Documentation

std::map< FrameControlType, SwFrameControlPtrMap > SwFrameControlsManager::m_aControls
private
VclPtr<SwEditWin> SwFrameControlsManager::m_pEditWin
private

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