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:

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 SwTextNode *pTextNd)
void SetOutlineContentVisibilityButtons ()

Private Attributes

VclPtr< SwEditWinm_pEditWin
std::map< FrameControlType, SwFrameControlPtrMapm_aControls
std::map< const SwTextNode *, const SwContentFrame * > m_aTextNodeContentFrameMap

Detailed Description

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

Definition at line 30 of file FrameControlsManager.hxx.

Constructor & Destructor Documentation

SwFrameControlsManager::SwFrameControlsManager ( SwEditWin pEditWin)

Definition at line 27 of file FrameControlsManager.cxx.

SwFrameControlsManager::~SwFrameControlsManager ( )

Definition at line 33 of file FrameControlsManager.cxx.

Member Function Documentation

void SwFrameControlsManager::dispose ( void  )

Definition at line 37 of file FrameControlsManager.cxx.

References m_aControls, and m_aTextNodeContentFrameMap.

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

Definition at line 55 of file FrameControlsManager.cxx.

References m_aControls.

Referenced by SwPageFrame::DestroyImpl().

void SwFrameControlsManager::RemoveControlsByType ( FrameControlType  eType,
const SwFrame pFrame 
void SwFrameControlsManager::SetHeaderFooterControl ( const SwPageFrame pPageFrame,
FrameControlType  eType,
Point  aOffset 
void SwFrameControlsManager::SetOutlineContentVisibilityButton ( const SwTextNode pTextNd)
void SwFrameControlsManager::SetOutlineContentVisibilityButtons ( )
void SwFrameControlsManager::SetPageBreakControl ( const SwPageFrame pPageFrame)
void SwFrameControlsManager::SetReadonlyControls ( bool  bReadonly)

Definition at line 76 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
std::map<const SwTextNode*, const SwContentFrame*> SwFrameControlsManager::m_aTextNodeContentFrameMap
VclPtr<SwEditWin> SwFrameControlsManager::m_pEditWin

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