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

#include <swddetbl.hxx>

Inheritance diagram for SwDDETable:
Collaboration diagram for SwDDETable:

Public Member Functions

 SwDDETable (SwTable &rTable, SwDDEFieldType *pDDEType, bool bUpdate=true)
 Ctor moves all lines/boxes from a SwTable into itself. More...
virtual ~SwDDETable () override
void ChangeContent ()
void NoDDETable ()
SwDDEFieldTypeGetDDEFieldType ()
const SwDDEFieldTypeGetDDEFieldType () const
- Public Member Functions inherited from SwTable
 SwTable ()
virtual ~SwTable () override
 SwTable (const SwTable &rTable)
virtual const SwTableDynCastTable () const override
SwHTMLTableLayoutGetHTMLTableLayout ()
const SwHTMLTableLayoutGetHTMLTableLayout () const
void SetHTMLTableLayout (std::shared_ptr< SwHTMLTableLayout > const &r)
sal_uInt16 IncGrfsThatResize ()
sal_uInt16 DecGrfsThatResize ()
void LockModify ()
void UnlockModify ()
void SetTableModel (bool bNew)
bool IsNewModel () const
const OUString & GetTableStyleName () const
 Return the table style name of this table. More...
void SetTableStyleName (const OUString &rName)
 Set the new table style name for this table. More...
sal_uInt16 GetRowsToRepeat () const
void SetRowsToRepeat (sal_uInt16 nNumOfRows)
bool IsHeadline (const SwTableLine &rLine) const
SwTableLinesGetTabLines ()
const SwTableLinesGetTabLines () const
SwTableFormatGetFrameFormat ()
SwTableFormatGetFrameFormat () const
void GetTabCols (SwTabCols &rToFill, const SwTableBox *pStart, bool bHidden=false, bool bCurRowOnly=false) const
void SetTabCols (const SwTabCols &rNew, const SwTabCols &rOld, const SwTableBox *pStart, bool bCurRowOnly)
void CreateSelection (const SwPaM &rPam, SwSelBoxes &rBoxes, const SearchType eSearchType, bool bProtect) const
 void SwTable::CreateSelection(..) fills the selection structure with table cells for a given SwPaM, ie. More...
void CreateSelection (const SwNode *pStart, const SwNode *pEnd, SwSelBoxes &rBoxes, const SearchType eSearchType, bool bProtect) const
 void SwTable::CreateSelection(..) fills the selection structure with table cells for given start and end nodes inside a table More...
void ExpandSelection (SwSelBoxes &rBoxes) const
 SwTable::ExpandSelection(..) adds all boxes to the box selections which are overlapped by it. More...
std::unique_ptr< SwSaveRowSpanCleanUpTopRowSpan (sal_uInt16 nSplitLine)
void RestoreRowSpan (const SwSaveRowSpan &)
void CleanUpBottomRowSpan (sal_uInt16 nDelLines)
bool Merge (SwDoc *pDoc, const SwSelBoxes &rBoxes, const SwSelBoxes &rMerged, SwTableBox *pMergeBox, SwUndoTableMerge *pUndo)
bool SplitRow (SwDoc &rDoc, const SwSelBoxes &rBoxes, sal_uInt16 nCnt, bool bSameHeight)
bool PrepareMerge (const SwPaM &rPam, SwSelBoxes &rBoxes, SwSelBoxes &rMerged, SwTableBox **ppMergeBox, SwUndoTableMerge *pUndo)
 SwTable::PrepareMerge(..) some preparation for the coming Merge(..) More...
void ExpandColumnSelection (SwSelBoxes &rBoxes, tools::Long &rMin, tools::Long &rMax) const
 void SwTable::ExpandColumnSelection(..) adds cell to the give selection to assure that at least one cell of every row is part of the selection. More...
void PrepareDeleteCol (tools::Long nMin, tools::Long nMax)
 SwTable::PrepareDeleteCol(..) adjusts the widths of the neighbour cells of a cell selection for an upcoming (column) deletion. More...
bool InsertCol (SwDoc &, const SwSelBoxes &rBoxes, sal_uInt16 nCnt, bool bBehind)
bool InsertRow (SwDoc *, const SwSelBoxes &rBoxes, sal_uInt16 nCnt, bool bBehind)
 SwTable::InsertRow(..) inserts one or more rows before or behind the selected boxes. More...
void PrepareDelBoxes (const SwSelBoxes &rBoxes)
 SwTable::PrepareDelBoxes(..) adjusts the row span attributes for an upcoming deletion of table cells and invalidates the layout of these cells. More...
bool DeleteSel (SwDoc *, const SwSelBoxes &rBoxes, const SwSelBoxes *pMerged, SwUndo *pUndo, const bool bDelMakeFrames, const bool bCorrBorder)
bool SplitCol (SwDoc &rDoc, const SwSelBoxes &rBoxes, sal_uInt16 nCnt)
void FindSuperfluousRows (SwSelBoxes &rBoxes)
void CheckRowSpan (SwTableLine *&rpLine, bool bUp) const
 SwTable::CheckRowSpan(..) looks for the next line without an overlapping to the previous line. More...
SwTableSortBoxesGetTabSortBoxes ()
const SwTableSortBoxesGetTabSortBoxes () const
const SwTableBoxGetTableBox (const OUString &rName, const bool bPerformValidCheck=false) const
bool MakeCopy (SwDoc &, const SwPosition &, const SwSelBoxes &, bool bCpyName=false, const OUString &rStyleName="") const
bool InsTable (const SwTable &rCpyTable, const SwNodeIndex &, SwUndoTableCpyTable *pUndo)
 Copy Table into this Box. More...
bool InsTable (const SwTable &rCpyTable, const SwSelBoxes &, SwUndoTableCpyTable *pUndo)
bool InsNewTable (const SwTable &rCpyTable, const SwSelBoxes &, SwUndoTableCpyTable *pUndo)
void CopyHeadlineIntoTable (SwTableNode &rTableNd)
SwTableBoxGetTableBox (SwNodeOffset nSttIdx)
const SwTableBoxGetTableBox (SwNodeOffset nSttIdx) const
bool IsTableComplex () const
bool IsTableComplexForChart (std::u16string_view aSel) const
virtual bool GetInfo (SfxPoolItem &) const override
void GCLines ()
SwTableNodeGetTableNode () const
void SetTableNode (SwTableNode *pNode)
void SetRefObject (SwServerObject *)
const SwServerObjectGetObject () const
SwServerObjectGetObject ()
void UpdateCharts () const
TableChgMode GetTableChgMode () const
void SetTableChgMode (TableChgMode eMode)
bool SetColWidth (SwTableBox &rCurrentBox, TableChgWidthHeightType eType, SwTwips nAbsDiff, SwTwips nRelDiff, std::unique_ptr< SwUndo > *ppUndo)
bool SetRowHeight (SwTableBox &rCurrentBox, TableChgWidthHeightType eType, SwTwips nAbsDiff, SwTwips nRelDiff, std::unique_ptr< SwUndo > *ppUndo)
void RegisterToFormat (SwFormat &rFormat)
void CheckConsistency () const
bool HasLayout () const
bool CanConvertSubtables () const
void ConvertSubtables ()
bool IsDeleted () const
bool HasDeletedRow () const
bool IsEmpty () const
- Public Member Functions inherited from SwClient
 SwClient ()
 SwClient (SwClient &&) noexcept
virtual ~SwClient () override
std::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
void CheckRegistrationFormat (SwFormat &rOld)
const SwModifyGetRegisteredIn () const
SwModifyGetRegisteredIn ()
void EndListeningAll ()
void StartListeningToSameModifyAs (const SwClient &)
virtual bool GetInfo (SfxPoolItem &) const
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
virtual const SwCellFrameDynCastCellFrame () const
virtual const SwTabFrameDynCastTabFrame () const
virtual const SwRowFrameDynCastRowFrame () const
virtual const SwTableDynCastTable () const

Private Member Functions

virtual void SwClientNotify (const SwModify &, const SfxHint &) override

Private Attributes

sw::WriterMultiListener m_aDepends

Additional Inherited Members

- Public Types inherited from SwTable
enum  SearchType {
- Static Public Member Functions inherited from SwTable
static sal_uInt16 GetBoxNum (OUString &rStr, bool bFirst=false, const bool bPerformValidCheck=false)
static SwSelBoxesSelLineFromBox (const SwTableBox *pBox, SwSelBoxes &rBoxes, bool bToTop=true)
static SwTableFindTable (SwFrameFormat const *const pFormat)
virtual void SwClientNotify (const SwModify &, const SfxHint &) override
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
SwModifyGetRegisteredInNonConst () const
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint)=0
- Protected Attributes inherited from SwTable
SwTableLines m_aLines
SwTableSortBoxes m_TabSortContentBoxes
tools::SvRef< SwServerObjectm_xRefObj
std::shared_ptr< SwHTMLTableLayoutm_xHTMLLayout
TableChgMode m_eTableChgMode
sal_uInt16 m_nGraphicsThatResize
sal_uInt16 m_nRowsToRepeat
OUString maTableStyleName
 Name of the table style to be applied on this table. More...
bool m_bModifyLocked:1
bool m_bNewModel:1

Detailed Description

Definition at line 26 of file swddetbl.hxx.

Constructor & Destructor Documentation

◆ SwDDETable()

SwDDETable::SwDDETable ( SwTable rTable,
SwDDEFieldType pDDEType,
bool  bUpdate = true 

◆ ~SwDDETable()

SwDDETable::~SwDDETable ( )

Member Function Documentation

◆ ChangeContent()

void SwDDETable::ChangeContent ( )

◆ GetDDEFieldType() [1/2]

SwDDEFieldType * SwDDETable::GetDDEFieldType ( )

Definition at line 179 of file ddetbl.cxx.

References m_pDDEType.

Referenced by GetDDEFieldType().

◆ GetDDEFieldType() [2/2]

const SwDDEFieldType * SwDDETable::GetDDEFieldType ( ) const

Definition at line 47 of file swddetbl.hxx.

References GetDDEFieldType().

◆ NoDDETable()

void SwDDETable::NoDDETable ( )

◆ SwClientNotify()

void SwDDETable::SwClientNotify ( const SwModify rModify,
const SfxHint rHint 

Member Data Documentation

◆ m_aDepends

sw::WriterMultiListener SwDDETable::m_aDepends

Definition at line 28 of file swddetbl.hxx.

Referenced by SwDDETable(), and ~SwDDETable().

◆ m_pDDEType

SwDDEFieldType* SwDDETable::m_pDDEType

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