LibreOffice Module svx (master)  1
Classes | Namespaces | Macros | Typedefs | Functions | Variables
framelinkarray.cxx File Reference
#include <svx/framelinkarray.hxx>
#include <math.h>
#include <vector>
#include <set>
#include <algorithm>
#include <tools/debug.hxx>
#include <tools/gen.hxx>
#include <vcl/canvastools.hxx>
#include <svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
Include dependency graph for framelinkarray.cxx:

Go to the source code of this file.

Classes

struct  svx::frame::ArrayImpl
 

Namespaces

 svx::frame
 

Macros

#define DBG_FRAME_CHECK(cond, funcname, error)    DBG_ASSERT( cond, "svx::frame::Array::" funcname " - " error )
 
#define DBG_FRAME_CHECK_COL(col, funcname)    DBG_FRAME_CHECK( (col) < GetColCount(), funcname, "invalid column index" )
 
#define DBG_FRAME_CHECK_ROW(row, funcname)    DBG_FRAME_CHECK( (row) < GetRowCount(), funcname, "invalid row index" )
 
#define DBG_FRAME_CHECK_COLROW(col, row, funcname)    DBG_FRAME_CHECK( ((col) < GetColCount()) && ((row) < GetRowCount()), funcname, "invalid cell index" )
 
#define DBG_FRAME_CHECK_COL_1(col, funcname)    DBG_FRAME_CHECK( (col) <= GetColCount(), funcname, "invalid column index" )
 
#define DBG_FRAME_CHECK_ROW_1(row, funcname)    DBG_FRAME_CHECK( (row) <= GetRowCount(), funcname, "invalid row index" )
 
#define CELL(col, row)    mxImpl->GetCell( col, row )
 
#define CELLACC(col, row)    mxImpl->GetCellAcc( col, row )
 
#define ORIGCELL(col, row)    mxImpl->GetMergedOriginCell( col, row )
 

Typedefs

typedef std::vector< Cellsvx::frame::CellVec
 

Functions

static void svx::frame::lclRecalcCoordVec (std::vector< tools::Long > &rCoords, const std::vector< tools::Long > &rSizes)
 
static void svx::frame::lclSetMergedRange (CellVec &rCells, size_t nWidth, size_t nFirstCol, size_t nFirstRow, size_t nLastCol, size_t nLastRow)
 
static void svx::frame::HelperCreateHorizontalEntry (const Array &rArray, const Style &rStyle, size_t col, size_t row, const basegfx::B2DPoint &rOrigin, const basegfx::B2DVector &rX, const basegfx::B2DVector &rY, drawinglayer::primitive2d::SdrFrameBorderDataVector &rData, bool bUpper, const Color *pForceColor)
 
static void svx::frame::HelperCreateVerticalEntry (const Array &rArray, const Style &rStyle, size_t col, size_t row, const basegfx::B2DPoint &rOrigin, const basegfx::B2DVector &rX, const basegfx::B2DVector &rY, drawinglayer::primitive2d::SdrFrameBorderDataVector &rData, bool bLeft, const Color *pForceColor)
 

Variables

const Style svx::frame::OBJ_STYLE_NONE
 
const Cell svx::frame::OBJ_CELL_NONE
 

Macro Definition Documentation

#define CELL (   col,
  row 
)    mxImpl->GetCell( col, row )
#define CELLACC (   col,
  row 
)    mxImpl->GetCellAcc( col, row )
#define DBG_FRAME_CHECK (   cond,
  funcname,
  error 
)    DBG_ASSERT( cond, "svx::frame::Array::" funcname " - " error )
#define DBG_FRAME_CHECK_COL (   col,
  funcname 
)    DBG_FRAME_CHECK( (col) < GetColCount(), funcname, "invalid column index" )
#define DBG_FRAME_CHECK_COL_1 (   col,
  funcname 
)    DBG_FRAME_CHECK( (col) <= GetColCount(), funcname, "invalid column index" )

Definition at line 418 of file framelinkarray.cxx.

Referenced by svx::frame::Array::GetColPosition().

#define DBG_FRAME_CHECK_COLROW (   col,
  row,
  funcname 
)    DBG_FRAME_CHECK( ((col) < GetColCount()) && ((row) < GetRowCount()), funcname, "invalid cell index" )
#define DBG_FRAME_CHECK_ROW (   row,
  funcname 
)    DBG_FRAME_CHECK( (row) < GetRowCount(), funcname, "invalid row index" )
#define DBG_FRAME_CHECK_ROW_1 (   row,
  funcname 
)    DBG_FRAME_CHECK( (row) <= GetRowCount(), funcname, "invalid row index" )

Definition at line 419 of file framelinkarray.cxx.

Referenced by svx::frame::Array::GetRowPosition().

#define ORIGCELL (   col,
  row 
)    mxImpl->GetMergedOriginCell( col, row )

Variable Documentation

Style maBLTR

Definition at line 44 of file framelinkarray.cxx.

Style maBottom

Definition at line 42 of file framelinkarray.cxx.

Style maLeft

Definition at line 39 of file framelinkarray.cxx.

Style maRight

Definition at line 40 of file framelinkarray.cxx.

Style maTLBR

Definition at line 43 of file framelinkarray.cxx.

Style maTop

Definition at line 41 of file framelinkarray.cxx.

bool mbMergeOrig

Definition at line 55 of file framelinkarray.cxx.

Referenced by svx::frame::Array::MirrorSelfX().

bool mbOverlapX
bool mbOverlapY
SvxRotateMode meRotMode

Definition at line 52 of file framelinkarray.cxx.

double mfOrientation

Definition at line 53 of file framelinkarray.cxx.

tools::Long mnAddBottom

Definition at line 50 of file framelinkarray.cxx.

Referenced by svx::frame::Array::SetAddMergedBottomSize().

tools::Long mnAddLeft

Definition at line 47 of file framelinkarray.cxx.

Referenced by svx::frame::Array::SetAddMergedLeftSize().

tools::Long mnAddRight

Definition at line 48 of file framelinkarray.cxx.

Referenced by svx::frame::Array::SetAddMergedRightSize().

tools::Long mnAddTop

Definition at line 49 of file framelinkarray.cxx.

Referenced by svx::frame::Array::SetAddMergedTopSize().

size_t mnCol

Definition at line 388 of file framelinkarray.cxx.

Referenced by sdr::table::SvxTableController::executeAction().

size_t mnFirstCol

Definition at line 384 of file framelinkarray.cxx.

size_t mnFirstRow

Definition at line 385 of file framelinkarray.cxx.

size_t mnLastCol

Definition at line 386 of file framelinkarray.cxx.

size_t mnLastRow

Definition at line 387 of file framelinkarray.cxx.

size_t mnRow

Definition at line 389 of file framelinkarray.cxx.

Referenced by sdr::table::SvxTableController::executeAction().