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

#define DEF_LINE_WIDTH_0   1

Definition at line 35 of file bordrhdl.cxx.

#define DEF_LINE_WIDTH_1   35

Definition at line 36 of file bordrhdl.cxx.

#define DEF_LINE_WIDTH_2   88

Definition at line 37 of file bordrhdl.cxx.

#define SVX_XML_BORDER_WIDTH_MIDDLE   1

Definition at line 40 of file bordrhdl.cxx.

#define SVX_XML_BORDER_WIDTH_THICK   2

Definition at line 41 of file bordrhdl.cxx.

#define SVX_XML_BORDER_WIDTH_THIN   0

Definition at line 39 of file bordrhdl.cxx.

Function Documentation

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

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

Definition at line 71 of file bordrhdl.cxx.

Referenced by XMLBorderHdl::importXML().

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.

SvXMLEnumMapEntry<sal_uInt16> const pXML_NamedBorderWidths[]