LibreOffice Module svx (master) 1
|
#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 <basegfx/polygon/b2dpolygonclipper.hxx>
Go to the source code of this file.
Classes | |
struct | svx::frame::ArrayImpl |
Namespaces | |
namespace | svx |
namespace | 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 ) |
#define | LASTCELL(col, row) mxImpl->GetMergedLastCell( col, row ) |
Typedefs | |
typedef std::vector< Cell > | svx::frame::CellVec |
Functions | |
static void | svx::frame::lclRecalcCoordVec (std::vector< sal_Int32 > &rCoords, const std::vector< sal_Int32 > &rSizes) |
static void | svx::frame::lclSetMergedRange (CellVec &rCells, sal_Int32 nWidth, sal_Int32 nFirstCol, sal_Int32 nFirstRow, sal_Int32 nLastCol, sal_Int32 nLastRow) |
static void | svx::frame::HelperCreateHorizontalEntry (const Array &rArray, const Style &rStyle, sal_Int32 col, sal_Int32 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, sal_Int32 col, sal_Int32 row, const basegfx::B2DPoint &rOrigin, const basegfx::B2DVector &rX, const basegfx::B2DVector &rY, drawinglayer::primitive2d::SdrFrameBorderDataVector &rData, bool bLeft, const Color *pForceColor) |
static void | svx::frame::HelperClipLine (basegfx::B2DPoint &rStart, basegfx::B2DVector &rDirection, const basegfx::B2DRange &rClipRange) |
static void | svx::frame::HelperCreateTLBREntry (const Array &rArray, const Style &rStyle, drawinglayer::primitive2d::SdrFrameBorderDataVector &rData, const basegfx::B2DPoint &rOrigin, const basegfx::B2DVector &rX, const basegfx::B2DVector &rY, sal_Int32 nColLeft, sal_Int32 nColRight, sal_Int32 nRowTop, sal_Int32 nRowBottom, const Color *pForceColor, const basegfx::B2DRange *pClipRange) |
static void | svx::frame::HelperCreateBLTREntry (const Array &rArray, const Style &rStyle, drawinglayer::primitive2d::SdrFrameBorderDataVector &rData, const basegfx::B2DPoint &rOrigin, const basegfx::B2DVector &rX, const basegfx::B2DVector &rY, sal_Int32 nColLeft, sal_Int32 nColRight, sal_Int32 nRowTop, sal_Int32 nRowBottom, const Color *pForceColor, const basegfx::B2DRange *pClipRange) |
Variables | |
const Style | svx::frame::OBJ_STYLE_NONE |
const Cell | svx::frame::OBJ_CELL_NONE |
#define CELL | ( | col, | |
row | |||
) | mxImpl->GetCell( col, row ) |
Definition at line 492 of file framelinkarray.cxx.
#define CELLACC | ( | col, | |
row | |||
) | mxImpl->GetCellAcc( col, row ) |
Definition at line 493 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK | ( | cond, | |
funcname, | |||
error | |||
) | DBG_ASSERT( cond, "svx::frame::Array::" funcname " - " error ) |
Definition at line 484 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK_COL | ( | col, | |
funcname | |||
) | DBG_FRAME_CHECK( (col) < GetColCount(), funcname, "invalid column index" ) |
Definition at line 485 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK_COL_1 | ( | col, | |
funcname | |||
) | DBG_FRAME_CHECK( (col) <= GetColCount(), funcname, "invalid column index" ) |
Definition at line 488 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK_COLROW | ( | col, | |
row, | |||
funcname | |||
) | DBG_FRAME_CHECK( ((col) < GetColCount()) && ((row) < GetRowCount()), funcname, "invalid cell index" ) |
Definition at line 487 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK_ROW | ( | row, | |
funcname | |||
) | DBG_FRAME_CHECK( (row) < GetRowCount(), funcname, "invalid row index" ) |
Definition at line 486 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK_ROW_1 | ( | row, | |
funcname | |||
) | DBG_FRAME_CHECK( (row) <= GetRowCount(), funcname, "invalid row index" ) |
Definition at line 489 of file framelinkarray.cxx.
#define LASTCELL | ( | col, | |
row | |||
) | mxImpl->GetMergedLastCell( col, row ) |
Definition at line 495 of file framelinkarray.cxx.
#define ORIGCELL | ( | col, | |
row | |||
) | mxImpl->GetMergedOriginCell( col, row ) |
Definition at line 494 of file framelinkarray.cxx.
|
private |
Definition at line 51 of file framelinkarray.cxx.
|
private |
Definition at line 49 of file framelinkarray.cxx.
|
private |
Definition at line 46 of file framelinkarray.cxx.
|
private |
Definition at line 47 of file framelinkarray.cxx.
|
private |
Definition at line 50 of file framelinkarray.cxx.
|
private |
Definition at line 48 of file framelinkarray.cxx.
bool mbMergeOrig |
Definition at line 65 of file framelinkarray.cxx.
Referenced by svx::frame::Array::MirrorSelfX().
bool mbOverlapX |
Definition at line 66 of file framelinkarray.cxx.
Referenced by svx::frame::ArrayImpl::GetMergedFirstCol(), and svx::frame::ArrayImpl::GetMergedLastCol().
bool mbOverlapY |
Definition at line 67 of file framelinkarray.cxx.
Referenced by svx::frame::ArrayImpl::GetMergedFirstRow(), and svx::frame::ArrayImpl::GetMergedLastRow().
SvxRotateMode meRotMode |
Definition at line 62 of file framelinkarray.cxx.
double mfOrientation |
Definition at line 63 of file framelinkarray.cxx.
sal_Int32 mnAddBottom |
Definition at line 60 of file framelinkarray.cxx.
sal_Int32 mnAddLeft |
Definition at line 57 of file framelinkarray.cxx.
sal_Int32 mnAddRight |
Definition at line 58 of file framelinkarray.cxx.
sal_Int32 mnAddTop |
Definition at line 59 of file framelinkarray.cxx.
|
private |
Definition at line 458 of file framelinkarray.cxx.
Referenced by sdr::table::SvxTableController::executeAction().
|
private |
Definition at line 454 of file framelinkarray.cxx.
|
private |
Definition at line 455 of file framelinkarray.cxx.
|
private |
Definition at line 456 of file framelinkarray.cxx.
|
private |
Definition at line 457 of file framelinkarray.cxx.
|
private |
Definition at line 459 of file framelinkarray.cxx.
Referenced by sdr::table::SvxTableController::executeAction().