LibreOffice Module xmloff (master) 1
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 <sal/log.hxx>
#include <sax/tools/converter.hxx>
#include <xmloff/xmltkmap.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlimp.hxx>
#include <xmloff/namespacemap.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.

Functions

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

Variables

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

Function Documentation

◆ lcl_xmlbic_MergeHoriPos()

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

Definition at line 60 of file XMLBackgroundImageContext.cxx.

References DBG_ASSERT, and ePos.

Referenced by XMLBackgroundImageContext::ProcessAttrs().

◆ lcl_xmlbic_MergeVertPos()

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

Definition at line 100 of file XMLBackgroundImageContext.cxx.

References DBG_ASSERT, and ePos.

Referenced by XMLBackgroundImageContext::ProcessAttrs().

Variable Documentation

◆ psXML_BrushHoriPos

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 46 of file XMLBackgroundImageContext.cxx.

Referenced by XMLBackgroundImageContext::ProcessAttrs().

◆ psXML_BrushVertPos

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 53 of file XMLBackgroundImageContext.cxx.

Referenced by XMLBackgroundImageContext::ProcessAttrs().