LibreOffice Module sc (master)  1
Typedefs | Functions | Variables
vbaborders.cxx File Reference
#include "vbaborders.hxx"
#include <sal/macros.h>
#include <cppuhelper/implbase.hxx>
#include <ooo/vba/excel/XlBordersIndex.hpp>
#include <ooo/vba/excel/XlBorderWeight.hpp>
#include <ooo/vba/excel/XlLineStyle.hpp>
#include <ooo/vba/excel/XlColorIndex.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/table/TableBorder.hpp>
#include <com/sun/star/table/XCellRange.hpp>
#include <com/sun/star/table/XColumnRowRange.hpp>
#include "vbapalette.hxx"
Include dependency graph for vbaborders.cxx:

Go to the source code of this file.

Typedefs

typedef ::cppu::WeakImplHelper< container::XIndexAccess > RangeBorders_Base
 
typedef InheritedHelperInterfaceWeakImpl< excel::XBorder > ScVbaBorder_Base
 

Functions

static uno::Reference< container::XIndexAccess > rangeToBorderIndexAccess (const uno::Reference< table::XCellRange > &xRange, const uno::Reference< uno::XComponentContext > &xContext, const ScVbaPalette &rPalette)
 
static bool lcl_areAllLineWidthsSame (const table::TableBorder &maTableBorder, bool bIsCell)
 

Variables

const sal_Int16 supportedIndexTable [] = { XlBordersIndex::xlEdgeLeft, XlBordersIndex::xlEdgeTop, XlBordersIndex::xlEdgeBottom, XlBordersIndex::xlEdgeRight, XlBordersIndex::xlDiagonalDown, XlBordersIndex::xlDiagonalUp, XlBordersIndex::xlInsideVertical, XlBordersIndex::xlInsideHorizontal }
 
constexpr OUStringLiteral sTableBorder = u"TableBorder"
 
const sal_Int32 OOLineThin = 35
 
const sal_Int32 OOLineMedium = 88
 
const sal_Int32 OOLineThick = 141
 
const sal_Int32 OOLineHairline = 2
 

Typedef Documentation

typedef ::cppu::WeakImplHelper<container::XIndexAccess > RangeBorders_Base

Definition at line 38 of file vbaborders.cxx.

Definition at line 39 of file vbaborders.cxx.

Function Documentation

static bool lcl_areAllLineWidthsSame ( const table::TableBorder &  maTableBorder,
bool  bIsCell 
)
static

Definition at line 483 of file vbaborders.cxx.

Referenced by ScVbaBorders::getLineStyle().

static uno::Reference< container::XIndexAccess > rangeToBorderIndexAccess ( const uno::Reference< table::XCellRange > &  xRange,
const uno::Reference< uno::XComponentContext > &  xContext,
const ScVbaPalette rPalette 
)
static

Definition at line 359 of file vbaborders.cxx.

Variable Documentation

const sal_Int32 OOLineHairline = 2

Definition at line 51 of file vbaborders.cxx.

const sal_Int32 OOLineMedium = 88

Definition at line 49 of file vbaborders.cxx.

const sal_Int32 OOLineThick = 141

Definition at line 50 of file vbaborders.cxx.

const sal_Int32 OOLineThin = 35

Definition at line 48 of file vbaborders.cxx.

constexpr OUStringLiteral sTableBorder = u"TableBorder"

Definition at line 45 of file vbaborders.cxx.

Referenced by ScVbaBorders::getLineStyle().

const sal_Int16 supportedIndexTable[] = { XlBordersIndex::xlEdgeLeft, XlBordersIndex::xlEdgeTop, XlBordersIndex::xlEdgeBottom, XlBordersIndex::xlEdgeRight, XlBordersIndex::xlDiagonalDown, XlBordersIndex::xlDiagonalUp, XlBordersIndex::xlInsideVertical, XlBordersIndex::xlInsideHorizontal }