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

#include <tablemgr.hxx>

Collaboration diagram for SwTableFUNC:
[legend]

Public Member Functions

 SwTableFUNC (SwWrtShell *pShell)
 
 ~SwTableFUNC ()
 
void InitTabCols ()
 
void ColWidthDlg (weld::Window *pParent)
 
SwTwips GetColWidth (sal_uInt16 nNum) const
 
SwTwips GetMaxColWidth (sal_uInt16 nNum) const
 
void SetColWidth (sal_uInt16 nNum, SwTwips nWidth)
 
sal_uInt16 GetColCount () const
 
sal_uInt16 GetCurColNum () const
 
SwWrtShellGetShell () const
 
void UpdateChart ()
 
css::uno::Reference< css::frame::XModel > InsertChart (css::uno::Reference< css::chart2::data::XDataProvider > const &rxDataProvider, bool bFillWithData, const OUString &rCellRange, SwFlyFrameFormat **ppFlyFrameFormat=nullptr)
 

Private Member Functions

SAL_DLLPRIVATE int GetRightSeparator (int nNum) const
 

Private Attributes

SwFrameFormat *const pFormat
 
SwWrtShellpSh
 
SwTabCols aCols
 

Detailed Description

Definition at line 44 of file tablemgr.hxx.

Constructor & Destructor Documentation

SwTableFUNC::SwTableFUNC ( SwWrtShell pShell)

Definition at line 169 of file tablemgr.cxx.

SwTableFUNC::~SwTableFUNC ( )

Definition at line 175 of file tablemgr.cxx.

Member Function Documentation

void SwTableFUNC::ColWidthDlg ( weld::Window pParent)
sal_uInt16 SwTableFUNC::GetColCount ( ) const
SwTwips SwTableFUNC::GetColWidth ( sal_uInt16  nNum) const
sal_uInt16 SwTableFUNC::GetCurColNum ( ) const

Definition at line 330 of file tablemgr.cxx.

References aCols, SwFEShell::GetCurTabColNum(), i, SwTabCols::IsHidden(), nPos, and pSh.

Referenced by SwTableWidthDlg::SwTableWidthDlg().

SwTwips SwTableFUNC::GetMaxColWidth ( sal_uInt16  nNum) const

Definition at line 99 of file tablemgr.cxx.

References aCols, SwTabCols::Count(), GetColCount(), GetColWidth(), and MINLAY.

int SwTableFUNC::GetRightSeparator ( int  nNum) const
private

Definition at line 349 of file tablemgr.cxx.

References aCols, GetColCount(), i, and SwTabCols::IsHidden().

Referenced by GetColWidth(), and SetColWidth().

SwWrtShell* SwTableFUNC::GetShell ( ) const
inline

Definition at line 65 of file tablemgr.hxx.

Referenced by SwTableWidthDlg::SwTableWidthDlg().

void SwTableFUNC::InitTabCols ( )

Definition at line 161 of file tablemgr.cxx.

References aCols, SwFEShell::GetTabCols(), pFormat, and pSh.

Referenced by SwTableWidthDlg::Apply(), and ColWidthDlg().

uno::Reference< frame::XModel > SwTableFUNC::InsertChart ( css::uno::Reference< css::chart2::data::XDataProvider > const &  rxDataProvider,
bool  bFillWithData,
const OUString &  rCellRange,
SwFlyFrameFormat **  ppFlyFrameFormat = nullptr 
)
void SwTableFUNC::SetColWidth ( sal_uInt16  nNum,
SwTwips  nWidth 
)
void SwTableFUNC::UpdateChart ( )

Member Data Documentation

SwTabCols SwTableFUNC::aCols
private
SwFrameFormat* const SwTableFUNC::pFormat
private

Definition at line 46 of file tablemgr.hxx.

Referenced by InitTabCols().

SwWrtShell* SwTableFUNC::pSh
private

Definition at line 47 of file tablemgr.hxx.

Referenced by GetCurColNum(), InitTabCols(), InsertChart(), SetColWidth(), and UpdateChart().


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