LibreOffice Module vcl (master)  1
Classes | Macros | Typedefs | Functions | Variables
graphicfilter.cxx File Reference
#include <config_folders.h>
#include <sal/log.hxx>
#include <osl/mutex.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/threadpool.hxx>
#include <ucbhelper/content.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 <vcl/dibtools.hxx>
#include <vcl/fltcall.hxx>
#include <vcl/salctype.hxx>
#include <vcl/pngread.hxx>
#include <vcl/pngwrite.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 "ixbm/xbmread.hxx"
#include "ixpm/xpmread.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 <com/sun/star/ucb/CommandAbortedException.hpp>
#include <com/sun/star/ucb/ContentCreationException.hpp>
#include <unotools/ucbstreamhelper.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/instance.hxx>
#include <tools/svlibrary.h>
#include <comphelper/string.hxx>
#include <vector>
#include <memory>
#include "FilterConfigCache.hxx"
#include "graphicfilter_internal.hxx"
#include <graphic/GraphicFormatDetector.hxx>
Include dependency graph for graphicfilter.cxx:

Go to the source code of this file.

Classes

class  ImpFilterOutputStream
 
struct  ImpFilterLibCacheEntry
 
class  ImpFilterLibCache
 
struct  GraphicImportContext
 Contains a stream and other associated data to import pixels into a Graphic. More...
 
class  GraphicImportTask
 Graphic import worker that gets executed on a thread. More...
 

Macros

#define PMGCHUNG_msOG   0x6d734f47
 

Typedefs

typedef ::std::vector< GraphicFilter * > FilterList_impl
 

Functions

::osl::Mutex & getListMutex ()
 
static bool DirEntryExists (const INetURLObject &rObj)
 
static void KillDirEntry (const OUString &rMainUrl)
 
sal_uInt8ImplSearchEntry (sal_uInt8 *pSource, sal_uInt8 const *pDest, sal_uLong nComp, sal_uLong nSize)
 
static OUString ImpGetExtension (const OUString &rPath)
 
bool isPCT (SvStream &rStream, sal_uLong nStreamPos, sal_uLong nStreamLen)
 
bool ImpPeekGraphicFormat (SvStream &rStream, OUString &rFormatExtension, bool bTest)
 
static Graphic ImpGetScaledGraphic (const Graphic &rGraphic, FilterConfigItem &rConfigItem)
 
static OUString ImpCreateFullFilterPath (const OUString &rPath, const OUString &rFilterName)
 
 IMPL_LINK (GraphicFilter, FilterCallback, ConvertData &, rData, bool)
 

Variables

static FilterList_implpFilterHdlList = nullptr
 

Macro Definition Documentation

#define PMGCHUNG_msOG   0x6d734f47

Typedef Documentation

typedef ::std::vector< GraphicFilter* > FilterList_impl

Definition at line 77 of file graphicfilter.cxx.

Function Documentation

static bool DirEntryExists ( const INetURLObject rObj)
static
::osl::Mutex& getListMutex ( )
static

Definition at line 80 of file graphicfilter.cxx.

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

static OUString ImpCreateFullFilterPath ( const OUString &  rPath,
const OUString &  rFilterName 
)
static
static OUString ImpGetExtension ( const OUString &  rPath)
static

Definition at line 168 of file graphicfilter.cxx.

References INetURLObject::GetFileExtension().

Referenced by GraphicFilter::ImpTestOrFindFormat().

static Graphic ImpGetScaledGraphic ( const Graphic rGraphic,
FilterConfigItem rConfigItem 
)
static
IMPL_LINK ( GraphicFilter  ,
FilterCallback  ,
ConvertData ,
rData  ,
bool   
)
sal_uInt8* ImplSearchEntry ( sal_uInt8 pSource,
sal_uInt8 const *  pDest,
sal_uLong  nComp,
sal_uLong  nSize 
)
bool ImpPeekGraphicFormat ( SvStream rStream,
OUString &  rFormatExtension,
bool  bTest 
)
bool isPCT ( SvStream rStream,
sal_uLong  nStreamPos,
sal_uLong  nStreamLen 
)
static void KillDirEntry ( const OUString &  rMainUrl)
static

Variable Documentation

FilterList_impl* pFilterHdlList = nullptr
static

Definition at line 78 of file graphicfilter.cxx.

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