LibreOffice Module svx (master) 1
|
Classes | |
class | Array |
Stores frame styles of an array of cells, supports merged ranges. More... | |
struct | ArrayImpl |
class | Style |
Contains the widths of primary and secondary line of a frame style. More... | |
Typedefs | |
typedef std::vector< const Cell * > | CellVec |
Enumerations | |
enum class | RefMode : sal_uInt8 { Centered , Begin , End } |
Specifies how the reference points for frame borders are used. More... | |
Functions | |
static void | lclRecalcCoordVec (std::vector< sal_Int32 > &rCoords, const std::vector< sal_Int32 > &rSizes) |
static void | lclSetMergedRange (SfxItemPool &rPool, CellVec &rCells, sal_Int32 nWidth, sal_Int32 nFirstCol, sal_Int32 nFirstRow, sal_Int32 nLastCol, sal_Int32 nLastRow) |
static void | 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 | 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 | HelperClipLine (basegfx::B2DPoint &rStart, basegfx::B2DVector &rDirection, const basegfx::B2DRange &rClipRange) |
static void | 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 | 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) |
bool | operator> (const Style &rL, const Style &rR) |
Variables | |
const Style | OBJ_STYLE_NONE |
const Cell | OBJ_CELL_NONE |
const SfxItemInfo | maItemInfos [] |
typedef std::vector< const Cell* > svx::frame::CellVec |
Definition at line 105 of file framelinkarray.cxx.
|
strong |
Specifies how the reference points for frame borders are used.
Definition at line 36 of file framelink.hxx.
|
static |
Definition at line 1169 of file framelinkarray.cxx.
References basegfx::utils::clipPolygonOnRange(), basegfx::B2DPolygon::count(), and basegfx::B2DPolygon::getB2DPoint().
Referenced by HelperCreateBLTREntry(), and HelperCreateTLBREntry().
|
static |
prepare geometry line data
check if we need to clip geometry line data and do it
bottom-left and top-right Style Tables
Definition at line 1250 of file framelinkarray.cxx.
References drawinglayer::primitive2d::SdrFrameBorderData::addSdrConnectStyleData(), aDirection, svx::frame::Array::GetCellStyleBottom(), svx::frame::Array::GetCellStyleLeft(), svx::frame::Array::GetCellStyleRight(), svx::frame::Array::GetCellStyleTop(), HelperClipLine(), and svx::frame::Style::IsUsed().
Referenced by svx::frame::Array::CreateB2DPrimitiveRange().
|
static |
Definition at line 1075 of file framelinkarray.cxx.
References drawinglayer::primitive2d::SdrFrameBorderData::addSdrConnectStyleData(), col, svx::frame::Array::GetCellStyleBL(), svx::frame::Array::GetCellStyleBR(), svx::frame::Array::GetCellStyleLeft(), svx::frame::Array::GetCellStyleRight(), svx::frame::Array::GetCellStyleTL(), svx::frame::Array::GetCellStyleTop(), and svx::frame::Array::GetCellStyleTR().
Referenced by svx::frame::Array::CreateB2DPrimitiveRange().
|
static |
prepare geometry line data
check if we need to clip geometry line data and do it
top-left and bottom-right Style Tables
Definition at line 1200 of file framelinkarray.cxx.
References drawinglayer::primitive2d::SdrFrameBorderData::addSdrConnectStyleData(), aDirection, svx::frame::Array::GetCellStyleBottom(), svx::frame::Array::GetCellStyleLeft(), svx::frame::Array::GetCellStyleRight(), svx::frame::Array::GetCellStyleTop(), HelperClipLine(), and svx::frame::Style::IsUsed().
Referenced by svx::frame::Array::CreateB2DPrimitiveRange().
|
static |
Definition at line 1122 of file framelinkarray.cxx.
References drawinglayer::primitive2d::SdrFrameBorderData::addSdrConnectStyleData(), col, svx::frame::Array::GetCellStyleBL(), svx::frame::Array::GetCellStyleBottom(), svx::frame::Array::GetCellStyleBR(), svx::frame::Array::GetCellStyleLeft(), svx::frame::Array::GetCellStyleTL(), svx::frame::Array::GetCellStyleTop(), and svx::frame::Array::GetCellStyleTR().
Referenced by svx::frame::Array::CreateB2DPrimitiveRange().
|
static |
Definition at line 251 of file framelinkarray.cxx.
References DBG_ASSERT.
Referenced by svx::frame::ArrayImpl::GetColPosition(), and svx::frame::ArrayImpl::GetRowPosition().
|
static |
Definition at line 262 of file framelinkarray.cxx.
References Cell, and SfxItemPool::Put().
Referenced by svx::frame::Array::SetMergedRange().
Definition at line 168 of file framelink.hxx.
const SfxItemInfo svx::frame::maItemInfos[] |
Definition at line 339 of file framelinkarray.cxx.
const Cell svx::frame::OBJ_CELL_NONE |
Definition at line 281 of file framelinkarray.cxx.
Referenced by svx::frame::ArrayImpl::GetCell().
const Style svx::frame::OBJ_STYLE_NONE |
Definition at line 280 of file framelinkarray.cxx.
Referenced by svx::frame::Array::GetCellStyleBL(), svx::frame::Array::GetCellStyleBottom(), svx::frame::Array::GetCellStyleBR(), svx::frame::Array::GetCellStyleLeft(), svx::frame::Array::GetCellStyleRight(), svx::frame::Array::GetCellStyleTL(), svx::frame::Array::GetCellStyleTop(), and svx::frame::Array::GetCellStyleTR().