LibreOffice Module vcl (master)  1
Classes | Macros | Functions | Variables
impgraph.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <comphelper/fileformat.h>
#include <comphelper/processfactory.hxx>
#include <tools/fract.hxx>
#include <tools/vcompat.hxx>
#include <tools/urlobj.hxx>
#include <tools/stream.hxx>
#include <ucbhelper/content.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <unotools/tempfile.hxx>
#include <vcl/outdev.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/virdev.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/graph.hxx>
#include <vcl/metaact.hxx>
#include <impgraph.hxx>
#include <com/sun/star/ucb/CommandAbortedException.hpp>
#include <com/sun/star/ucb/ContentCreationException.hpp>
#include <com/sun/star/graphic/XPrimitive2D.hpp>
#include <vcl/dibtools.hxx>
#include <map>
#include <memory>
#include <vcl/gdimetafiletools.hxx>
#include <TypeSerializer.hxx>
#include <vcl/pdfread.hxx>
Include dependency graph for impgraph.cxx:

Go to the source code of this file.

Classes

struct  ImpSwapFile
 
class  ReaderData
 

Macros

#define GRAPHIC_MTFTOBMP_MAXEXT   2048
 
#define GRAPHIC_STREAMBUFSIZE   8192UL
 
#define SYS_WINMETAFILE   0x00000003L
 
#define SYS_WNTMETAFILE   0x00000004L
 
#define SYS_OS2METAFILE   0x00000005L
 
#define SYS_MACMETAFILE   0x00000006L
 
#define GRAPHIC_FORMAT_50   COMPAT_FORMAT( 'G', 'R', 'F', '5' )
 
#define NATIVE_FORMAT_50   COMPAT_FORMAT( 'N', 'A', 'T', '5' )
 

Functions

const sal_uInt32 nPdfMagic ((sal_uInt32('p')<< 24)|(sal_uInt32('d')<< 16)|(sal_uInt32('f')<< 8)|sal_uInt32('0'))
 
void ReadImpGraphic (SvStream &rIStm, ImpGraphic &rImpGraphic)
 
void WriteImpGraphic (SvStream &rOStm, const ImpGraphic &rImpGraphic)
 

Variables

static std::map< BitmapChecksum, std::shared_ptr< std::vector< sal_Int8 > > > sPdfDataCache
 

Macro Definition Documentation

#define GRAPHIC_FORMAT_50   COMPAT_FORMAT( 'G', 'R', 'F', '5' )

Definition at line 58 of file impgraph.cxx.

Referenced by ImpGraphic::ImplReadEmbedded(), and ImpGraphic::ImplWriteEmbedded().

#define GRAPHIC_MTFTOBMP_MAXEXT   2048

Definition at line 50 of file impgraph.cxx.

Referenced by ImpGraphic::ImplGetBitmap().

#define GRAPHIC_STREAMBUFSIZE   8192UL

Definition at line 51 of file impgraph.cxx.

Referenced by ImpGraphic::ImplSwapIn(), and ImpGraphic::ImplSwapOut().

#define NATIVE_FORMAT_50   COMPAT_FORMAT( 'N', 'A', 'T', '5' )

Definition at line 59 of file impgraph.cxx.

Referenced by ReadImpGraphic(), and WriteImpGraphic().

#define SYS_MACMETAFILE   0x00000006L

Definition at line 56 of file impgraph.cxx.

Referenced by ImpGraphic::ImplReadEmbedded().

#define SYS_OS2METAFILE   0x00000005L

Definition at line 55 of file impgraph.cxx.

Referenced by ImpGraphic::ImplReadEmbedded().

#define SYS_WINMETAFILE   0x00000003L

Definition at line 53 of file impgraph.cxx.

Referenced by ImpGraphic::ImplReadEmbedded().

#define SYS_WNTMETAFILE   0x00000004L

Definition at line 54 of file impgraph.cxx.

Referenced by ImpGraphic::ImplReadEmbedded().

Function Documentation

const sal_uInt32 nPdfMagic ( (sal_uInt32('p')<< 24)|(sal_uInt32('d')<< 16)|(sal_uInt32('f')<< 8)|sal_uInt32('0')  )

Referenced by ReadImpGraphic(), and WriteImpGraphic().

void ReadImpGraphic ( SvStream rIStm,
ImpGraphic rImpGraphic 
)
void WriteImpGraphic ( SvStream rOStm,
const ImpGraphic rImpGraphic 
)

Variable Documentation

std::map<BitmapChecksum, std::shared_ptr<std::vector<sal_Int8> > > sPdfDataCache
static

Definition at line 1767 of file impgraph.cxx.