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)
 
 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 17 of file cellmergeoption.hxx.

Constructor & Destructor Documentation

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::ScCellMergeOption ( SCCOL  nStartCol,
SCROW  nStartRow,
SCCOL  nEndCol,
SCROW  nEndRow,
bool  bCenter = false 
)
explicit

Definition at line 26 of file cellmergeoption.cxx.

Member Function Documentation

ScRange ScCellMergeOption::getFirstSingleRange ( ) const

Definition at line 40 of file cellmergeoption.cxx.

References getSingleRange(), and maTabs.

ScRange ScCellMergeOption::getSingleRange ( SCTAB  nTab) const

Member Data Documentation

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

Definition at line 24 of file cellmergeoption.hxx.

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

SCCOL ScCellMergeOption::mnEndCol

Definition at line 22 of file cellmergeoption.hxx.

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

SCROW ScCellMergeOption::mnEndRow
SCCOL ScCellMergeOption::mnStartCol

Definition at line 20 of file cellmergeoption.hxx.

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

SCROW ScCellMergeOption::mnStartRow

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