LibreOffice Module vcl (master)
1
|
#include <tools/gen.hxx>
#include <vcl/dllapi.h>
#include <vcl/graph.hxx>
#include <vcl/errcode.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <memory>
#include <optional>
Go to the source code of this file.
Classes | |
class | com::sun::star::uno::Sequence< class > |
struct | o3tl::typed_flags< GraphicFilterImportFlags > |
class | GraphicDescriptor |
struct | FilterErrorEx |
Information about errors during the GraphicFilter operation. More... | |
class | GraphicFilter |
Class to import and export graphic formats. More... | |
Namespaces | |
com::sun::star::beans | |
com::sun::star::uno | |
o3tl | |
Macros | |
#define | ERRCODE_GRFILTER_OPENERROR ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 1) |
#define | ERRCODE_GRFILTER_IOERROR ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 2) |
#define | ERRCODE_GRFILTER_FORMATERROR ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 3) |
#define | ERRCODE_GRFILTER_VERSIONERROR ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 4) |
#define | ERRCODE_GRFILTER_FILTERERROR ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 5) |
#define | ERRCODE_GRFILTER_TOOBIG ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 7) |
#define | GRFILTER_OUTHINT_GREY 1 |
#define | GRFILTER_FORMAT_NOTFOUND (sal_uInt16(0xFFFF)) |
#define | GRFILTER_FORMAT_DONTKNOW (sal_uInt16(0xFFFF)) |
#define | IMP_BMP "SVBMP" |
#define | IMP_MOV "SVMOV" |
#define | IMP_SVMETAFILE "SVMETAFILE" |
#define | IMP_WMF "SVWMF" |
#define | IMP_EMF "SVEMF" |
#define | IMP_GIF "SVIGIF" |
#define | IMP_PNG "SVIPNG" |
#define | IMP_JPEG "SVIJPEG" |
#define | IMP_XBM "SVIXBM" |
#define | IMP_XPM "SVIXPM" |
#define | IMP_SVG "SVISVG" |
#define | IMP_PDF "SVIPDF" |
#define | IMP_TIFF "SVTIFF" |
#define | IMP_TGA "SVTGA" |
#define | IMP_PICT "SVPICT" |
#define | IMP_MET "SVMET" |
#define | IMP_RAS "SVRAS" |
#define | IMP_PCX "SVPCX" |
#define | IMP_EPS "SVIEPS" |
#define | IMP_PSD "SVPSD" |
#define | IMP_PCD "SVPCD" |
#define | IMP_PBM "SVPBM" |
#define | IMP_DXF "SVDXF" |
#define | EXP_BMP "SVBMP" |
#define | EXP_SVMETAFILE "SVMETAFILE" |
#define | EXP_WMF "SVWMF" |
#define | EXP_EMF "SVEMF" |
#define | EXP_JPEG "SVEJPEG" |
#define | EXP_SVG "SVESVG" |
#define | EXP_PDF "SVEPDF" |
#define | EXP_PNG "SVEPNG" |
#define | EXP_TIFF "SVTIFF" |
#define | EXP_EPS "SVEEPS" |
#define | EXP_GIF "SVEGIF" |
#define | BMP_SHORTNAME u"BMP" |
#define | GIF_SHORTNAME u"GIF" |
#define | JPG_SHORTNAME u"JPG" |
#define | MET_SHORTNAME u"MET" |
#define | PCT_SHORTNAME u"PCT" |
#define | PNG_SHORTNAME u"PNG" |
#define | SVM_SHORTNAME u"SVM" |
#define | TIF_SHORTNAME u"TIF" |
#define | WMF_SHORTNAME u"WMF" |
#define | EMF_SHORTNAME u"EMF" |
#define | SVG_SHORTNAME u"SVG" |
#define | PDF_SHORTNAME u"PDF" |
#define BMP_SHORTNAME u"BMP" |
Definition at line 106 of file graphicfilter.hxx.
Referenced by IMPL_LINK(), and GfxLink::LoadNative().
#define EMF_SHORTNAME u"EMF" |
Definition at line 115 of file graphicfilter.hxx.
Referenced by IMPL_LINK().
#define ERRCODE_GRFILTER_FILTERERROR ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 5) |
Definition at line 46 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic(), GraphicFilter::ImportGraphic(), GraphicFilter::ImportGraphics(), GraphicFilter::ImportUnloadedGraphic(), GraphicFilter::LoadGraphic(), GraphicFilter::readDXF(), GraphicFilter::readEPS(), GraphicFilter::readGIF(), GraphicFilter::readJPEG(), GraphicFilter::readMET(), GraphicFilter::readPBM(), GraphicFilter::readPCD(), GraphicFilter::readPCX(), GraphicFilter::readPDF(), GraphicFilter::readPICT(), GraphicFilter::readPNG(), GraphicFilter::readPSD(), GraphicFilter::readRAS(), GraphicFilter::readSVG(), GraphicFilter::readTGA(), GraphicFilter::readTIFF(), GraphicFilter::readWithTypeSerializer(), GraphicFilter::readWMF_EMF(), GraphicFilter::readXBM(), and GraphicFilter::readXPM().
#define ERRCODE_GRFILTER_FORMATERROR ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 3) |
Definition at line 44 of file graphicfilter.hxx.
Referenced by GraphicFilter::CanImportGraphic(), GraphicFilter::ExportGraphic(), GraphicFilter::ImportGraphic(), GraphicFilter::ImpTestOrFindFormat(), and GraphicFilter::LoadGraphic().
#define ERRCODE_GRFILTER_IOERROR ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 2) |
Definition at line 43 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic(), and GraphicFilter::LoadGraphic().
#define ERRCODE_GRFILTER_OPENERROR ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 1) |
Definition at line 42 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), and GraphicFilter::LoadGraphic().
#define ERRCODE_GRFILTER_TOOBIG ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 7) |
Definition at line 47 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), GraphicFilter::ImportUnloadedGraphic(), and GraphicFilter::LoadGraphic().
#define ERRCODE_GRFILTER_VERSIONERROR ErrCode(ErrCodeArea::Vcl, ErrCodeClass::General, 4) |
Definition at line 45 of file graphicfilter.hxx.
Referenced by GraphicFilter::LoadGraphic().
#define EXP_BMP "SVBMP" |
Definition at line 93 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic().
#define EXP_EMF "SVEMF" |
Definition at line 96 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic().
#define EXP_EPS "SVEEPS" |
Definition at line 102 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic().
#define EXP_GIF "SVEGIF" |
Definition at line 103 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic().
#define EXP_JPEG "SVEJPEG" |
Definition at line 97 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic().
#define EXP_PDF "SVEPDF" |
Definition at line 99 of file graphicfilter.hxx.
#define EXP_PNG "SVEPNG" |
Definition at line 100 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic().
#define EXP_SVG "SVESVG" |
Definition at line 98 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic().
#define EXP_SVMETAFILE "SVMETAFILE" |
Definition at line 94 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic().
#define EXP_TIFF "SVTIFF" |
Definition at line 101 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic().
#define EXP_WMF "SVWMF" |
Definition at line 95 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic().
#define GIF_SHORTNAME u"GIF" |
Definition at line 107 of file graphicfilter.hxx.
Referenced by IMPL_LINK(), and GfxLink::LoadNative().
#define GRFILTER_FORMAT_DONTKNOW (sal_uInt16(0xFFFF)) |
Definition at line 52 of file graphicfilter.hxx.
Referenced by GraphicFilter::ExportGraphic(), IMPL_LINK(), GraphicFilter::ImportGraphics(), GraphicFilter::ImportUnloadedGraphic(), GraphicFilter::ImpTestOrFindFormat(), vcl::graphic::loadFromURL(), and GraphicFilter::LoadGraphic().
#define GRFILTER_FORMAT_NOTFOUND (sal_uInt16(0xFFFF)) |
Definition at line 51 of file graphicfilter.hxx.
Referenced by FilterConfigCache::GetExportFormatNumber(), FilterConfigCache::GetExportFormatNumberForMediaType(), FilterConfigCache::GetExportFormatNumberForShortName(), FilterConfigCache::GetExportFormatNumberForTypeName(), FilterConfigCache::GetImportFormatNumber(), FilterConfigCache::GetImportFormatNumberForExtension(), FilterConfigCache::GetImportFormatNumberForShortName(), and FilterConfigCache::GetImportFormatNumberForTypeName().
#define GRFILTER_OUTHINT_GREY 1 |
Definition at line 49 of file graphicfilter.hxx.
#define IMP_BMP "SVBMP" |
Definition at line 69 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), GraphicFilter::ImportUnloadedGraphic(), and GraphicFilter::readWithTypeSerializer().
#define IMP_DXF "SVDXF" |
Definition at line 91 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define IMP_EMF "SVEMF" |
Definition at line 73 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), and GraphicFilter::ImportUnloadedGraphic().
#define IMP_EPS "SVIEPS" |
Definition at line 87 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define IMP_GIF "SVIGIF" |
Definition at line 74 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), and GraphicFilter::ImportUnloadedGraphic().
#define IMP_JPEG "SVIJPEG" |
Definition at line 76 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), GraphicFilter::ImportGraphics(), and GraphicFilter::ImportUnloadedGraphic().
#define IMP_MET "SVMET" |
Definition at line 84 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), and GraphicFilter::ImportUnloadedGraphic().
#define IMP_MOV "SVMOV" |
Definition at line 70 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), GraphicFilter::ImportUnloadedGraphic(), and GraphicFilter::readWithTypeSerializer().
#define IMP_PBM "SVPBM" |
Definition at line 90 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define IMP_PCD "SVPCD" |
Definition at line 89 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define IMP_PCX "SVPCX" |
Definition at line 86 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define IMP_PDF "SVIPDF" |
Definition at line 80 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), and GraphicFilter::ImportUnloadedGraphic().
#define IMP_PICT "SVPICT" |
Definition at line 83 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), and GraphicFilter::ImportUnloadedGraphic().
#define IMP_PNG "SVIPNG" |
Definition at line 75 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), and GraphicFilter::ImportUnloadedGraphic().
#define IMP_PSD "SVPSD" |
Definition at line 88 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define IMP_RAS "SVRAS" |
Definition at line 85 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define IMP_SVG "SVISVG" |
Definition at line 79 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), and GraphicFilter::ImportUnloadedGraphic().
#define IMP_SVMETAFILE "SVMETAFILE" |
Definition at line 71 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define IMP_TGA "SVTGA" |
Definition at line 82 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define IMP_TIFF "SVTIFF" |
Definition at line 81 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), and GraphicFilter::ImportUnloadedGraphic().
#define IMP_WMF "SVWMF" |
Definition at line 72 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic(), and GraphicFilter::ImportUnloadedGraphic().
#define IMP_XBM "SVIXBM" |
Definition at line 77 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define IMP_XPM "SVIXPM" |
Definition at line 78 of file graphicfilter.hxx.
Referenced by GraphicFilter::ImportGraphic().
#define JPG_SHORTNAME u"JPG" |
Definition at line 108 of file graphicfilter.hxx.
Referenced by IMPL_LINK(), and GfxLink::LoadNative().
#define MET_SHORTNAME u"MET" |
Definition at line 109 of file graphicfilter.hxx.
Referenced by IMPL_LINK(), and GfxLink::LoadNative().
#define PCT_SHORTNAME u"PCT" |
Definition at line 110 of file graphicfilter.hxx.
Referenced by IMPL_LINK(), and GfxLink::LoadNative().
#define PDF_SHORTNAME u"PDF" |
Definition at line 117 of file graphicfilter.hxx.
Referenced by GfxLink::LoadNative().
#define PNG_SHORTNAME u"PNG" |
Definition at line 111 of file graphicfilter.hxx.
Referenced by IMPL_LINK(), and GfxLink::LoadNative().
#define SVG_SHORTNAME u"SVG" |
Definition at line 116 of file graphicfilter.hxx.
Referenced by IMPL_LINK(), and GfxLink::LoadNative().
#define SVM_SHORTNAME u"SVM" |
Definition at line 112 of file graphicfilter.hxx.
Referenced by IMPL_LINK().
#define TIF_SHORTNAME u"TIF" |
Definition at line 113 of file graphicfilter.hxx.
Referenced by IMPL_LINK(), and GfxLink::LoadNative().
#define WMF_SHORTNAME u"WMF" |
Definition at line 114 of file graphicfilter.hxx.
Referenced by IMPL_LINK(), and GfxLink::LoadNative().
|
strong |
Enumerator | |
---|---|
NOT | |
BMP | |
GIF | |
JPG | |
PCD | |
PCX | |
PNG | |
TIF | |
XBM | |
XPM | |
PBM | |
PGM | |
PPM | |
RAS | |
TGA | |
PSD | |
EPS | |
DXF | |
MET | |
PCT | |
SVM | |
WMF | |
EMF | |
SVG |
Definition at line 121 of file graphicfilter.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
SetLogsizeForJpeg | |
DontSetLogsizeForJpeg | |
OnlyCreateBitmap |
Only create a bitmap, do not read pixel data. |
UseExistingBitmap |
Read pixel data into an existing bitmap. |
Definition at line 54 of file graphicfilter.hxx.