LibreOffice Module svx (master) 1
Functions | Variables
_xoutbmp.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <comphelper/base64.hxx>
#include <comphelper/graphicmimetype.hxx>
#include <tools/debug.hxx>
#include <vcl/virdev.hxx>
#include <sfx2/docfile.hxx>
#include <svx/xoutbmp.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/cvtgrf.hxx>
#include <memory>
#include <com/sun/star/beans/XPropertySet.hpp>
Include dependency graph for _xoutbmp.cxx:

Go to the source code of this file.

Functions

static OUString match (std::u16string_view filter, const OUString &expected, bool matchEmpty=true)
 
static OUString isKnownVectorFormat (const Graphic &rGraphic, std::u16string_view rFilter)
 
static OUString isKnownRasterFormat (const GfxLink &rLink, std::u16string_view rFilter)
 

Variables

constexpr OUStringLiteral FORMAT_SVG = u"svg"
 
constexpr OUStringLiteral FORMAT_WMF = u"wmf"
 
constexpr OUStringLiteral FORMAT_EMF = u"emf"
 
constexpr OUStringLiteral FORMAT_PDF = u"pdf"
 
constexpr OUStringLiteral FORMAT_BMP = u"bmp"
 
constexpr OUStringLiteral FORMAT_GIF = u"gif"
 
constexpr OUStringLiteral FORMAT_JPG = u"jpg"
 
constexpr OUStringLiteral FORMAT_PNG = u"png"
 
constexpr OUStringLiteral FORMAT_TIF = u"tif"
 
constexpr OUStringLiteral FORMAT_WEBP = u"webp"
 

Function Documentation

◆ isKnownRasterFormat()

static OUString isKnownRasterFormat ( const GfxLink rLink,
std::u16string_view  rFilter 
)
static

◆ isKnownVectorFormat()

static OUString isKnownVectorFormat ( const Graphic rGraphic,
std::u16string_view  rFilter 
)
static

◆ match()

static OUString match ( std::u16string_view  filter,
const OUString &  expected,
bool  matchEmpty = true 
)
static

Definition at line 112 of file _xoutbmp.cxx.

Referenced by isKnownRasterFormat(), and isKnownVectorFormat().

Variable Documentation

◆ FORMAT_BMP

constexpr OUStringLiteral FORMAT_BMP = u"bmp"
constexpr

Definition at line 40 of file _xoutbmp.cxx.

Referenced by isKnownRasterFormat(), and XOutBitmap::WriteGraphic().

◆ FORMAT_EMF

constexpr OUStringLiteral FORMAT_EMF = u"emf"
constexpr

Definition at line 37 of file _xoutbmp.cxx.

Referenced by isKnownVectorFormat().

◆ FORMAT_GIF

constexpr OUStringLiteral FORMAT_GIF = u"gif"
constexpr

Definition at line 41 of file _xoutbmp.cxx.

Referenced by isKnownRasterFormat(), and XOutBitmap::WriteGraphic().

◆ FORMAT_JPG

constexpr OUStringLiteral FORMAT_JPG = u"jpg"
constexpr

Definition at line 42 of file _xoutbmp.cxx.

Referenced by isKnownRasterFormat().

◆ FORMAT_PDF

constexpr OUStringLiteral FORMAT_PDF = u"pdf"
constexpr

Definition at line 38 of file _xoutbmp.cxx.

Referenced by isKnownVectorFormat().

◆ FORMAT_PNG

constexpr OUStringLiteral FORMAT_PNG = u"png"
constexpr

Definition at line 43 of file _xoutbmp.cxx.

Referenced by isKnownRasterFormat(), and XOutBitmap::WriteGraphic().

◆ FORMAT_SVG

constexpr OUStringLiteral FORMAT_SVG = u"svg"
constexpr

Definition at line 35 of file _xoutbmp.cxx.

Referenced by isKnownVectorFormat().

◆ FORMAT_TIF

constexpr OUStringLiteral FORMAT_TIF = u"tif"
constexpr

Definition at line 44 of file _xoutbmp.cxx.

Referenced by isKnownRasterFormat().

◆ FORMAT_WEBP

constexpr OUStringLiteral FORMAT_WEBP = u"webp"
constexpr

Definition at line 45 of file _xoutbmp.cxx.

Referenced by isKnownRasterFormat().

◆ FORMAT_WMF

constexpr OUStringLiteral FORMAT_WMF = u"wmf"
constexpr

Definition at line 36 of file _xoutbmp.cxx.

Referenced by isKnownVectorFormat().