LibreOffice Module xmloff (master)  1
Enumerations | Functions | Variables
XMLBackgroundImageContext.cxx File Reference
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/drawing/BitmapMode.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <tools/debug.hxx>
#include <sax/tools/converter.hxx>
#include <xmloff/xmltkmap.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlimp.hxx>
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmlement.hxx>
#include <xmloff/XMLBase64ImportContext.hxx>
#include <XMLBackgroundImageContext.hxx>
Include dependency graph for XMLBackgroundImageContext.cxx:

Go to the source code of this file.

Enumerations

enum  SvXMLTokenMapAttrs
 

Functions

static void lcl_xmlbic_MergeHoriPos (GraphicLocation &ePos, GraphicLocation eHori)
 
static void lcl_xmlbic_MergeVertPos (GraphicLocation &ePos, GraphicLocation eVert)
 

Variables

const SvXMLTokenMapEntry aBGImgAttributesAttrTokenMap []
 
const SvXMLEnumMapEntry< GraphicLocation > psXML_BrushHoriPos []
 
const SvXMLEnumMapEntry< GraphicLocation > psXML_BrushVertPos []
 

Enumeration Type Documentation

Definition at line 48 of file XMLBackgroundImageContext.cxx.

Function Documentation

static void lcl_xmlbic_MergeHoriPos ( GraphicLocation &  ePos,
GraphicLocation  eHori 
)
static

Definition at line 90 of file XMLBackgroundImageContext.cxx.

References DBG_ASSERT.

Referenced by XMLBackgroundImageContext::ProcessAttrs().

static void lcl_xmlbic_MergeVertPos ( GraphicLocation &  ePos,
GraphicLocation  eVert 
)
static

Definition at line 130 of file XMLBackgroundImageContext.cxx.

References DBG_ASSERT.

Referenced by XMLBackgroundImageContext::ProcessAttrs().

Variable Documentation

const SvXMLTokenMapEntry aBGImgAttributesAttrTokenMap[]
Initial value:
=
{
{ XML_NAMESPACE_XLINK, XML_HREF, XML_TOK_BGIMG_HREF },
{ XML_NAMESPACE_XLINK, XML_TYPE, XML_TOK_BGIMG_TYPE },
{ XML_NAMESPACE_XLINK, XML_ACTUATE, XML_TOK_BGIMG_ACTUATE },
{ XML_NAMESPACE_XLINK, XML_SHOW, XML_TOK_BGIMG_SHOW },
{ XML_NAMESPACE_STYLE, XML_POSITION, XML_TOK_BGIMG_POSITION },
{ XML_NAMESPACE_STYLE, XML_REPEAT, XML_TOK_BGIMG_REPEAT },
{ XML_NAMESPACE_STYLE, XML_FILTER_NAME, XML_TOK_BGIMG_FILTER },
{ XML_NAMESPACE_DRAW, XML_OPACITY, XML_TOK_BGIMG_OPACITY },
}
constexpr sal_uInt16 XML_NAMESPACE_STYLE
Definition: xmlnmspe.hxx:30
#define XML_TOKEN_MAP_END
Definition: xmltkmap.hxx:33
constexpr sal_uInt16 XML_NAMESPACE_DRAW
Definition: xmlnmspe.hxx:33
constexpr sal_uInt16 XML_NAMESPACE_XLINK
Definition: xmlnmspe.hxx:35

Definition at line 62 of file XMLBackgroundImageContext.cxx.

const SvXMLEnumMapEntry<GraphicLocation> psXML_BrushHoriPos[]
Initial value:
=
{
{ XML_LEFT, GraphicLocation_LEFT_MIDDLE },
{ XML_RIGHT, GraphicLocation_RIGHT_MIDDLE },
{ XML_TOKEN_INVALID, GraphicLocation(0) }
}

Definition at line 76 of file XMLBackgroundImageContext.cxx.

const SvXMLEnumMapEntry<GraphicLocation> psXML_BrushVertPos[]
Initial value:
=
{
{ XML_TOP, GraphicLocation_MIDDLE_TOP },
{ XML_BOTTOM, GraphicLocation_MIDDLE_BOTTOM },
{ XML_TOKEN_INVALID, GraphicLocation(0) }
}

Definition at line 83 of file XMLBackgroundImageContext.cxx.