LibreOffice Module sw (master)  1
Classes | Namespaces | Functions | Variables
xmlithlp.hxx File Reference
#include <sal/types.h>
#include <xmloff/xmlement.hxx>
#include <editeng/brushitem.hxx>
Include dependency graph for xmlithlp.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SvXMLEnumMapEntry< EnumT >
 

Namespaces

 editeng
 

Functions

bool sw_frmitems_parseXMLBorder (const OUString &rValue, const SvXMLUnitConverter &rUnitConverter, bool &rHasStyle, sal_uInt16 &rStyle, bool &rHasWidth, sal_uInt16 &rWidth, sal_uInt16 &rNamedWidth, bool &rHasColor, Color &rColor)
 Define various helper variables and functions for xmlimpit.cxx and xmlexpit.cxx. More...
 
bool sw_frmitems_setXMLBorder (std::unique_ptr< editeng::SvxBorderLine > &rpLine, bool bHasStyle, sal_uInt16 nStyle, bool bHasWidth, sal_uInt16 nWidth, sal_uInt16 nNamedWidth, bool bHasColor, const Color &rColor)
 
void sw_frmitems_setXMLBorder (std::unique_ptr< editeng::SvxBorderLine > &rpLine, sal_uInt16 nWidth, sal_uInt16 nOutWidth, sal_uInt16 nInWidth, sal_uInt16 nDistance)
 
void sw_frmitems_MergeXMLHoriPos (SvxGraphicPosition &ePos, SvxGraphicPosition eHori)
 
void sw_frmitems_MergeXMLVertPos (SvxGraphicPosition &ePos, SvxGraphicPosition eVert)
 

Variables

const struct SvXMLEnumMapEntry< sal_uInt16 > psXML_BorderStyles []
 
const struct SvXMLEnumMapEntry< sal_uInt16 > psXML_NamedBorderWidths []
 
const struct SvXMLEnumMapEntry< SvxGraphicPositionpsXML_BrushRepeat []
 
const struct SvXMLEnumMapEntry< SvxGraphicPositionpsXML_BrushHoriPos []
 
const struct SvXMLEnumMapEntry< SvxGraphicPositionpsXML_BrushVertPos []
 
const struct SvXMLEnumMapEntry< sal_uInt16 > psXML_BreakType []
 
const struct SvXMLEnumMapEntry< sal_Int16 > aXMLTableAlignMap []
 
const struct SvXMLEnumMapEntry< sal_Int16 > aXMLTableVAlignMap []
 
const struct SvXMLEnumMapEntry< sal_uInt16 > aXML_KeepTogetherType []
 

Function Documentation

void sw_frmitems_MergeXMLHoriPos ( SvxGraphicPosition ePos,
SvxGraphicPosition  eHori 
)

Definition at line 243 of file xmlithlp.cxx.

References GPOS_LB, GPOS_LM, GPOS_LT, GPOS_MB, GPOS_MM, GPOS_MT, GPOS_RB, GPOS_RM, and GPOS_RT.

Referenced by SvXMLImportItemMapper::PutXMLValue().

void sw_frmitems_MergeXMLVertPos ( SvxGraphicPosition ePos,
SvxGraphicPosition  eVert 
)

Definition at line 273 of file xmlithlp.cxx.

References GPOS_LB, GPOS_LM, GPOS_LT, GPOS_MB, GPOS_MM, GPOS_MT, GPOS_RB, GPOS_RM, and GPOS_RT.

Referenced by SvXMLImportItemMapper::PutXMLValue().

bool sw_frmitems_parseXMLBorder ( const OUString &  rValue,
const SvXMLUnitConverter rUnitConverter,
bool &  rHasStyle,
sal_uInt16 &  rStyle,
bool &  rHasWidth,
sal_uInt16 &  rWidth,
sal_uInt16 &  rNamedWidth,
bool &  rHasColor,
Color rColor 
)
bool sw_frmitems_setXMLBorder ( std::unique_ptr< editeng::SvxBorderLine > &  rpLine,
bool  bHasStyle,
sal_uInt16  nStyle,
bool  bHasWidth,
sal_uInt16  nWidth,
sal_uInt16  nNamedWidth,
bool  bHasColor,
const Color rColor 
)
void sw_frmitems_setXMLBorder ( std::unique_ptr< editeng::SvxBorderLine > &  rpLine,
sal_uInt16  nWidth,
sal_uInt16  nOutWidth,
sal_uInt16  nInWidth,
sal_uInt16  nDistance 
)

Variable Documentation

const struct SvXMLEnumMapEntry< sal_uInt16 > aXML_KeepTogetherType[]

Definition at line 332 of file xmlithlp.cxx.

Referenced by SvXMLExportItemMapper::exportXML().

const struct SvXMLEnumMapEntry< sal_Int16 > aXMLTableAlignMap[]
const struct SvXMLEnumMapEntry< sal_Int16 > aXMLTableVAlignMap[]
const struct SvXMLEnumMapEntry< sal_uInt16 > psXML_BorderStyles[]

Definition at line 48 of file xmlithlp.cxx.

const struct SvXMLEnumMapEntry< sal_uInt16 > psXML_BreakType[]
const struct SvXMLEnumMapEntry< SvxGraphicPosition > psXML_BrushHoriPos[]

Definition at line 229 of file xmlithlp.cxx.

Referenced by SvXMLImportItemMapper::PutXMLValue().

const struct SvXMLEnumMapEntry< SvxGraphicPosition > psXML_BrushRepeat[]

Definition at line 221 of file xmlithlp.cxx.

Referenced by SvXMLImportItemMapper::PutXMLValue().

const struct SvXMLEnumMapEntry< SvxGraphicPosition > psXML_BrushVertPos[]

Definition at line 236 of file xmlithlp.cxx.

Referenced by SvXMLImportItemMapper::PutXMLValue().

const struct SvXMLEnumMapEntry< sal_uInt16 > psXML_NamedBorderWidths[]

Definition at line 67 of file xmlithlp.cxx.