LibreOffice Module svx (master) 1
Classes | Typedefs | Enumerations | Functions | Variables
svx::frame Namespace Reference

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< CellCellVec
 

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 (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
 

Typedef Documentation

◆ CellVec

typedef std::vector< Cell > svx::frame::CellVec

Definition at line 100 of file framelinkarray.cxx.

Enumeration Type Documentation

◆ RefMode

enum class svx::frame::RefMode : sal_uInt8
strong

Specifies how the reference points for frame borders are used.

Enumerator
Centered 

Frame borders are drawn centered to the reference points.

Begin 

The reference points specify the begin of the frame border width.

The result is that horizontal lines are drawn below, and vertical lines
are drawn right of the reference points.
End 

The reference points specify the end of the frame border width.

The result is that horizontal lines are drawn above, and vertical lines
are drawn left of the reference points.

Definition at line 36 of file framelink.hxx.

Function Documentation

◆ HelperClipLine()

static void svx::frame::HelperClipLine ( basegfx::B2DPoint rStart,
basegfx::B2DVector rDirection,
const basegfx::B2DRange rClipRange 
)
static

◆ HelperCreateBLTREntry()

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 
)
static

◆ HelperCreateHorizontalEntry()

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

◆ HelperCreateTLBREntry()

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

◆ HelperCreateVerticalEntry()

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

◆ lclRecalcCoordVec()

static void svx::frame::lclRecalcCoordVec ( std::vector< sal_Int32 > &  rCoords,
const std::vector< sal_Int32 > &  rSizes 
)
static

◆ lclSetMergedRange()

static void svx::frame::lclSetMergedRange ( CellVec rCells,
sal_Int32  nWidth,
sal_Int32  nFirstCol,
sal_Int32  nFirstRow,
sal_Int32  nLastCol,
sal_Int32  nLastRow 
)
static

Definition at line 232 of file framelinkarray.cxx.

References Cell.

Referenced by svx::frame::Array::MirrorSelfX(), and svx::frame::Array::SetMergedRange().

◆ operator>()

bool svx::frame::operator> ( const Style rL,
const Style rR 
)
inline

Definition at line 168 of file framelink.hxx.

Variable Documentation

◆ OBJ_CELL_NONE

const Cell svx::frame::OBJ_CELL_NONE

Definition at line 249 of file framelinkarray.cxx.

Referenced by svx::frame::ArrayImpl::GetCell().

◆ OBJ_STYLE_NONE

const Style svx::frame::OBJ_STYLE_NONE