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  Cell
 
class  MergedCellIterator
 
class  Style
 Contains the widths of primary and secondary line of a frame style. More...
 

Typedefs

typedef std::vector< CellCellVec
 

Enumerations

enum  RefMode {
  RefMode::Centered,
  RefMode::Begin,
  RefMode::End
}
 Specifies how the reference points for frame borders are used. More...
 

Functions

static void lclRecalcCoordVec (std::vector< long > &rCoords, const std::vector< long > &rSizes)
 
static void lclSetMergedRange (CellVec &rCells, size_t nWidth, size_t nFirstCol, size_t nFirstRow, size_t nLastCol, size_t nLastRow)
 
static void 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 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)
 
bool operator> (const Style &rL, const Style &rR)
 

Variables

static const Style OBJ_STYLE_NONE
 
static const Cell OBJ_CELL_NONE
 

Typedef Documentation

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

Definition at line 84 of file framelinkarray.cxx.

Enumeration Type Documentation

enum svx::frame::RefMode
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 39 of file framelink.hxx.

Function Documentation

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
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 
)
static
static void svx::frame::lclRecalcCoordVec ( std::vector< long > &  rCoords,
const std::vector< long > &  rSizes 
)
static
static void svx::frame::lclSetMergedRange ( CellVec rCells,
size_t  nWidth,
size_t  nFirstCol,
size_t  nFirstRow,
size_t  nLastCol,
size_t  nLastRow 
)
static
bool svx::frame::operator> ( const Style rL,
const Style rR 
)
inline

Definition at line 194 of file framelink.hxx.

Variable Documentation

const Cell svx::frame::OBJ_CELL_NONE
static

Definition at line 181 of file framelinkarray.cxx.

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

const Style svx::frame::OBJ_STYLE_NONE
static