LibreOffice Module xmloff (master) 1
Macros | Functions | Variables
bordrhdl.cxx File Reference
#include "bordrhdl.hxx"
#include <sax/tools/converter.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmlement.hxx>
#include <rtl/ustrbuf.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/table/BorderLine2.hpp>
#include <com/sun/star/table/BorderLineStyle.hpp>
#include <limits.h>
Include dependency graph for bordrhdl.cxx:

Go to the source code of this file.

Macros

#define DEF_LINE_WIDTH_0   1
 
#define DEF_LINE_WIDTH_1   35
 
#define DEF_LINE_WIDTH_2   88
 
#define SVX_XML_BORDER_WIDTH_THIN   0
 
#define SVX_XML_BORDER_WIDTH_MIDDLE   1
 
#define SVX_XML_BORDER_WIDTH_THICK   2
 

Functions

static void lcl_frmitems_setXMLBorderStyle (table::BorderLine2 &rBorderLine, sal_uInt16 nStyle)
 

Variables

SvXMLEnumMapEntry< sal_uInt16 > const pXML_BorderStyles []
 
SvXMLEnumMapEntry< sal_uInt16 > const pXML_NamedBorderWidths []
 
sal_uInt16 const aBorderWidths []
 

Macro Definition Documentation

◆ DEF_LINE_WIDTH_0

#define DEF_LINE_WIDTH_0   1

Definition at line 35 of file bordrhdl.cxx.

◆ DEF_LINE_WIDTH_1

#define DEF_LINE_WIDTH_1   35

Definition at line 36 of file bordrhdl.cxx.

◆ DEF_LINE_WIDTH_2

#define DEF_LINE_WIDTH_2   88

Definition at line 37 of file bordrhdl.cxx.

◆ SVX_XML_BORDER_WIDTH_MIDDLE

#define SVX_XML_BORDER_WIDTH_MIDDLE   1

Definition at line 40 of file bordrhdl.cxx.

◆ SVX_XML_BORDER_WIDTH_THICK

#define SVX_XML_BORDER_WIDTH_THICK   2

Definition at line 41 of file bordrhdl.cxx.

◆ SVX_XML_BORDER_WIDTH_THIN

#define SVX_XML_BORDER_WIDTH_THIN   0

Definition at line 39 of file bordrhdl.cxx.

Function Documentation

◆ lcl_frmitems_setXMLBorderStyle()

static void lcl_frmitems_setXMLBorderStyle ( table::BorderLine2 &  rBorderLine,
sal_uInt16  nStyle 
)
static

Definition at line 78 of file bordrhdl.cxx.

Referenced by XMLBorderHdl::importXML().

Variable Documentation

◆ aBorderWidths

sal_uInt16 const aBorderWidths[]
Initial value:
=
{
}
#define DEF_LINE_WIDTH_0
Definition: bordrhdl.cxx:35
#define DEF_LINE_WIDTH_2
Definition: bordrhdl.cxx:37
#define DEF_LINE_WIDTH_1
Definition: bordrhdl.cxx:36

Definition at line 71 of file bordrhdl.cxx.

Referenced by XMLBorderHdl::importXML().

◆ pXML_BorderStyles

SvXMLEnumMapEntry<sal_uInt16> const pXML_BorderStyles[]
Initial value:
=
{
{ XML_NONE, table::BorderLineStyle::NONE },
{ XML_HIDDEN, table::BorderLineStyle::NONE },
{ XML_SOLID, table::BorderLineStyle::SOLID },
{ XML_DOUBLE, table::BorderLineStyle::DOUBLE },
{ XML_DOUBLE_THIN, table::BorderLineStyle::DOUBLE_THIN },
{ XML_DOTTED, table::BorderLineStyle::DOTTED },
{ XML_DASHED, table::BorderLineStyle::DASHED },
{ XML_GROOVE, table::BorderLineStyle::ENGRAVED },
{ XML_RIDGE, table::BorderLineStyle::EMBOSSED },
{ XML_INSET, table::BorderLineStyle::INSET },
{ XML_OUTSET, table::BorderLineStyle::OUTSET },
{ XML_FINE_DASHED, table::BorderLineStyle::FINE_DASHED },
{ XML_DASH_DOT, table::BorderLineStyle::DASH_DOT },
{ XML_DASH_DOT_DOT, table::BorderLineStyle::DASH_DOT_DOT },
}

Definition at line 43 of file bordrhdl.cxx.

Referenced by XMLBorderHdl::importXML().

◆ pXML_NamedBorderWidths

SvXMLEnumMapEntry<sal_uInt16> const pXML_NamedBorderWidths[]
Initial value:
=
{
}
#define SVX_XML_BORDER_WIDTH_MIDDLE
Definition: bordrhdl.cxx:40
#define SVX_XML_BORDER_WIDTH_THIN
Definition: bordrhdl.cxx:39
#define SVX_XML_BORDER_WIDTH_THICK
Definition: bordrhdl.cxx:41

Definition at line 62 of file bordrhdl.cxx.

Referenced by XMLBorderHdl::importXML().