LibreOffice Module vcl (master) 1
Functions | Variables
graphicfilter.cxx File Reference
#include <config_folders.h>
#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertyvalue.hxx>
#include <comphelper/threadpool.hxx>
#include <cppuhelper/implbase.hxx>
#include <tools/fract.hxx>
#include <unotools/configmgr.hxx>
#include <tools/stream.hxx>
#include <tools/urlobj.hxx>
#include <tools/zcodec.hxx>
#include <rtl/crc.h>
#include <fltcall.hxx>
#include <vcl/salctype.hxx>
#include <vcl/filter/PngImageReader.hxx>
#include <vcl/filter/SvmWriter.hxx>
#include <vcl/filter/PngImageWriter.hxx>
#include <vcl/vectorgraphicdata.hxx>
#include <vcl/virdev.hxx>
#include <impgraph.hxx>
#include <vcl/svapp.hxx>
#include <osl/file.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/FilterConfigItem.hxx>
#include <vcl/wmf.hxx>
#include "igif/gifread.hxx"
#include <vcl/pdfread.hxx>
#include "jpeg/jpeg.hxx"
#include "png/png.hxx"
#include "ixbm/xbmread.hxx"
#include <filter/XpmReader.hxx>
#include <filter/TiffReader.hxx>
#include <filter/TiffWriter.hxx>
#include <filter/TgaReader.hxx>
#include <filter/PictReader.hxx>
#include <filter/MetReader.hxx>
#include <filter/RasReader.hxx>
#include <filter/PcxReader.hxx>
#include <filter/EpsReader.hxx>
#include <filter/EpsWriter.hxx>
#include <filter/PsdReader.hxx>
#include <filter/PcdReader.hxx>
#include <filter/PbmReader.hxx>
#include <filter/DxfReader.hxx>
#include <filter/GifWriter.hxx>
#include <filter/BmpReader.hxx>
#include <filter/BmpWriter.hxx>
#include <filter/WebpReader.hxx>
#include <filter/WebpWriter.hxx>
#include <osl/module.hxx>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/io/XActiveDataSource.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/svg/XSVGWriter.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/xml/sax/Writer.hpp>
#include <unotools/ucbstreamhelper.hxx>
#include <rtl/bootstrap.hxx>
#include <tools/svlibrary.h>
#include <comphelper/string.hxx>
#include <unotools/ucbhelper.hxx>
#include <vector>
#include <memory>
#include <mutex>
#include <string_view>
#include <o3tl/string_view.hxx>
#include <vcl/TypeSerializer.hxx>
#include "FilterConfigCache.hxx"
#include "graphicfilter_internal.hxx"
#include <graphic/GraphicFormatDetector.hxx>
#include <graphic/GraphicReader.hxx>
Include dependency graph for graphicfilter.cxx:

Go to the source code of this file.

Functions

static bool supportNativeWebp ()
 
static std::mutexgetListMutex ()
 
sal_uInt8ImplSearchEntry (sal_uInt8 *pSource, sal_uInt8 const *pDest, sal_uLong nComp, sal_uLong nSize)
 
static OUString ImpGetExtension (std::u16string_view rPath)
 
bool isPCT (SvStream &rStream, sal_uLong nStreamPos, sal_uLong nStreamLen)
 
static Graphic ImpGetScaledGraphic (const Graphic &rGraphic, FilterConfigItem &rConfigItem)
 
 IMPL_LINK (GraphicFilter, FilterCallback, ConvertData &, rData, bool)
 

Variables

static std::vector< GraphicFilter * > gaFilterHdlList
 

Function Documentation

◆ getListMutex()

static std::mutex & getListMutex ( )
static

Definition at line 117 of file graphicfilter.cxx.

Referenced by GraphicFilter::ImplInit(), and GraphicFilter::~GraphicFilter().

◆ ImpGetExtension()

static OUString ImpGetExtension ( std::u16string_view  rPath)
static

Definition at line 161 of file graphicfilter.cxx.

References aURL.

Referenced by GraphicFilter::ExportGraphic(), and GraphicFilter::ImpTestOrFindFormat().

◆ ImpGetScaledGraphic()

static Graphic ImpGetScaledGraphic ( const Graphic rGraphic,
FilterConfigItem rConfigItem 
)
static

◆ IMPL_LINK()

IMPL_LINK ( GraphicFilter  ,
FilterCallback  ,
ConvertData ,
rData  ,
bool   
)

◆ ImplSearchEntry()

sal_uInt8 * ImplSearchEntry ( sal_uInt8 pSource,
sal_uInt8 const *  pDest,
sal_uLong  nComp,
sal_uLong  nSize 
)

Definition at line 144 of file graphicfilter.cxx.

References i.

Referenced by GraphicDescriptor::ImpDetectEPS().

◆ isPCT()

bool isPCT ( SvStream rStream,
sal_uLong  nStreamPos,
sal_uLong  nStreamLen 
)

◆ supportNativeWebp()

static bool supportNativeWebp ( )
static

Variable Documentation

◆ gaFilterHdlList

std::vector< GraphicFilter* > gaFilterHdlList
static

Definition at line 115 of file graphicfilter.cxx.

Referenced by GraphicFilter::ImplInit(), and GraphicFilter::~GraphicFilter().