LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | List of all members
ScCellMergeOption Struct Reference

#include <cellmergeoption.hxx>

Public Member Functions

 ScCellMergeOption (const ScRange &rRange)
 
SC_DLLPUBLIC ScCellMergeOption (SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, bool bCenter=false)
 
ScRange getSingleRange (SCTAB nTab) const
 
ScRange getFirstSingleRange () const
 

Public Attributes

::std::set< SCTABmaTabs
 
SCCOL mnStartCol
 
SCROW mnStartRow
 
SCCOL mnEndCol
 
SCROW mnEndRow
 
bool mbCenter
 

Detailed Description

Definition at line 16 of file cellmergeoption.hxx.

Constructor & Destructor Documentation

◆ ScCellMergeOption() [1/2]

ScCellMergeOption::ScCellMergeOption ( const ScRange rRange)
explicit

Definition at line 13 of file cellmergeoption.cxx.

References ScRange::aEnd, ScRange::aStart, Col, i, maTabs, Row, and ScAddress::Tab().

◆ ScCellMergeOption() [2/2]

ScCellMergeOption::ScCellMergeOption ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
bool  bCenter = false 
)
explicit

Definition at line 26 of file cellmergeoption.cxx.

Member Function Documentation

◆ getFirstSingleRange()

ScRange ScCellMergeOption::getFirstSingleRange ( ) const

Definition at line 40 of file cellmergeoption.cxx.

References getSingleRange(), and maTabs.

Referenced by ScViewFunc::RemoveMerge().

◆ getSingleRange()

ScRange ScCellMergeOption::getSingleRange ( SCTAB  nTab) const

Member Data Documentation

◆ maTabs

::std::set<SCTAB> ScCellMergeOption::maTabs

◆ mbCenter

bool ScCellMergeOption::mbCenter

Definition at line 23 of file cellmergeoption.hxx.

Referenced by ScUndoMerge::DoChange(), and ScDocFunc::MergeCells().

◆ mnEndCol

SCCOL ScCellMergeOption::mnEndCol

Definition at line 21 of file cellmergeoption.hxx.

Referenced by getSingleRange(), lcl_extendMergeRange(), and ScDocFunc::MergeCells().

◆ mnEndRow

SCROW ScCellMergeOption::mnEndRow

◆ mnStartCol

SCCOL ScCellMergeOption::mnStartCol

Definition at line 19 of file cellmergeoption.hxx.

Referenced by getSingleRange(), lcl_extendMergeRange(), and ScDocFunc::MergeCells().

◆ mnStartRow

SCROW ScCellMergeOption::mnStartRow

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