LibreOffice Module sw (master) 1
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.

Namespaces

namespace  editeng
 

Functions

bool sw_frmitems_parseXMLBorder (std::u16string_view 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

◆ sw_frmitems_MergeXMLHoriPos()

void sw_frmitems_MergeXMLHoriPos ( SvxGraphicPosition ePos,
SvxGraphicPosition  eHori 
)

Definition at line 237 of file xmlithlp.cxx.

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

Referenced by SvXMLImportItemMapper::PutXMLValue().

◆ sw_frmitems_MergeXMLVertPos()

void sw_frmitems_MergeXMLVertPos ( SvxGraphicPosition ePos,
SvxGraphicPosition  eVert 
)

Definition at line 267 of file xmlithlp.cxx.

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

Referenced by SvXMLImportItemMapper::PutXMLValue().

◆ sw_frmitems_parseXMLBorder()

bool sw_frmitems_parseXMLBorder ( std::u16string_view  rValue,
const SvXMLUnitConverter rUnitConverter,
bool &  rHasStyle,
sal_uInt16 &  rStyle,
bool &  rHasWidth,
sal_uInt16 &  rWidth,
sal_uInt16 &  rNamedWidth,
bool &  rHasColor,
Color rColor 
)

◆ sw_frmitems_setXMLBorder() [1/2]

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 
)

◆ sw_frmitems_setXMLBorder() [2/2]

void sw_frmitems_setXMLBorder ( std::unique_ptr< editeng::SvxBorderLine > &  rpLine,
sal_uInt16  nWidth,
sal_uInt16  nOutWidth,
sal_uInt16  nInWidth,
sal_uInt16  nDistance 
)

Variable Documentation

◆ aXML_KeepTogetherType

const struct SvXMLEnumMapEntry< sal_uInt16 > aXML_KeepTogetherType[]
extern

Definition at line 326 of file xmlithlp.cxx.

Referenced by SvXMLExportItemMapper::exportXML().

◆ aXMLTableAlignMap

const struct SvXMLEnumMapEntry< sal_Int16 > aXMLTableAlignMap[]
extern

◆ aXMLTableVAlignMap

const struct SvXMLEnumMapEntry< sal_Int16 > aXMLTableVAlignMap[]
extern

◆ psXML_BorderStyles

const struct SvXMLEnumMapEntry< sal_uInt16 > psXML_BorderStyles[]
extern

Definition at line 43 of file xmlithlp.cxx.

Referenced by sw_frmitems_parseXMLBorder().

◆ psXML_BreakType

const struct SvXMLEnumMapEntry< sal_uInt16 > psXML_BreakType[]
extern

◆ psXML_BrushHoriPos

const struct SvXMLEnumMapEntry< SvxGraphicPosition > psXML_BrushHoriPos[]
extern

Definition at line 223 of file xmlithlp.cxx.

Referenced by SvXMLImportItemMapper::PutXMLValue().

◆ psXML_BrushRepeat

const struct SvXMLEnumMapEntry< SvxGraphicPosition > psXML_BrushRepeat[]
extern

Definition at line 215 of file xmlithlp.cxx.

Referenced by SvXMLImportItemMapper::PutXMLValue().

◆ psXML_BrushVertPos

const struct SvXMLEnumMapEntry< SvxGraphicPosition > psXML_BrushVertPos[]
extern

Definition at line 230 of file xmlithlp.cxx.

Referenced by SvXMLImportItemMapper::PutXMLValue().

◆ psXML_NamedBorderWidths

const struct SvXMLEnumMapEntry< sal_uInt16 > psXML_NamedBorderWidths[]
extern

Definition at line 62 of file xmlithlp.cxx.

Referenced by sw_frmitems_parseXMLBorder().