LibreOffice Module svx (master) 1
|
#include <svx/framelinkarray.hxx>
#include <math.h>
#include <vector>
#include <set>
#include <unordered_set>
#include <algorithm>
#include <svl/itempool.hxx>
#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 | PUTCELL(col, row, cell) mxImpl->PutCell( col, row, cell ) |
#define | ORIGCELL(col, row) mxImpl->GetMergedOriginCell( col, row ) |
#define | LASTCELL(col, row) mxImpl->GetMergedLastCell( col, row ) |
Typedefs | |
typedef std::vector< const 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 (SfxItemPool &rPool, 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 |
const SfxItemInfo | svx::frame::maItemInfos [] |
Definition at line 552 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK | ( | cond, | |
funcname, | |||
error | |||
) | DBG_ASSERT( cond, "svx::frame::Array::" funcname " - " error ) |
Definition at line 544 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK_COL | ( | col, | |
funcname | |||
) | DBG_FRAME_CHECK( (col) < GetColCount(), funcname, "invalid column index" ) |
Definition at line 545 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK_COL_1 | ( | col, | |
funcname | |||
) | DBG_FRAME_CHECK( (col) <= GetColCount(), funcname, "invalid column index" ) |
Definition at line 548 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 547 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK_ROW | ( | row, | |
funcname | |||
) | DBG_FRAME_CHECK( (row) < GetRowCount(), funcname, "invalid row index" ) |
Definition at line 546 of file framelinkarray.cxx.
#define DBG_FRAME_CHECK_ROW_1 | ( | row, | |
funcname | |||
) | DBG_FRAME_CHECK( (row) <= GetRowCount(), funcname, "invalid row index" ) |
Definition at line 549 of file framelinkarray.cxx.
Definition at line 555 of file framelinkarray.cxx.
Definition at line 554 of file framelinkarray.cxx.
Definition at line 553 of file framelinkarray.cxx.
|
private |
Definition at line 54 of file framelinkarray.cxx.
|
private |
Definition at line 52 of file framelinkarray.cxx.
|
private |
Definition at line 49 of file framelinkarray.cxx.
|
private |
Definition at line 50 of file framelinkarray.cxx.
|
private |
Definition at line 53 of file framelinkarray.cxx.
|
private |
Definition at line 51 of file framelinkarray.cxx.
bool mbOverlapX |
Definition at line 68 of file framelinkarray.cxx.
Referenced by svx::frame::ArrayImpl::GetMergedFirstCol(), and svx::frame::ArrayImpl::GetMergedLastCol().
bool mbOverlapY |
Definition at line 69 of file framelinkarray.cxx.
Referenced by svx::frame::ArrayImpl::GetMergedFirstRow(), and svx::frame::ArrayImpl::GetMergedLastRow().
SvxRotateMode meRotMode |
Definition at line 65 of file framelinkarray.cxx.
double mfOrientation |
Definition at line 66 of file framelinkarray.cxx.
sal_Int32 mnAddBottom |
Definition at line 63 of file framelinkarray.cxx.
sal_Int32 mnAddLeft |
Definition at line 60 of file framelinkarray.cxx.
sal_Int32 mnAddRight |
Definition at line 61 of file framelinkarray.cxx.
sal_Int32 mnAddTop |
Definition at line 62 of file framelinkarray.cxx.
|
private |
Definition at line 518 of file framelinkarray.cxx.
Referenced by sdr::table::SvxTableController::executeAction().
|
private |
Definition at line 514 of file framelinkarray.cxx.
|
private |
Definition at line 515 of file framelinkarray.cxx.
|
private |
Definition at line 516 of file framelinkarray.cxx.
|
private |
Definition at line 517 of file framelinkarray.cxx.
|
private |
Definition at line 519 of file framelinkarray.cxx.
Referenced by sdr::table::SvxTableController::executeAction().