LibreOffice Module svx (master) 1
|
#include <xoutbmp.hxx>
Static Public Member Functions | |
static Graphic | MirrorGraphic (const Graphic &rGraphic, const BmpMirrorFlags nMirrorFlags) |
static Animation | MirrorAnimation (const Animation &rAnimation, bool bHMirr, bool bVMirr) |
static ErrCode | WriteGraphic (const Graphic &rGraphic, OUString &rFileName, const OUString &rFilterName, const XOutFlags nFlags, const Size *pMtfSize_100TH_MM=nullptr, const css::uno::Sequence< css::beans::PropertyValue > *pFilterData=nullptr, OUString *pMediaType=nullptr) |
static bool | GraphicToBase64 (const Graphic &rGraphic, OUString &rOUString, bool bAddPrefix=true, ConvertDataFormat aTargetFormat=ConvertDataFormat::Unknown) |
static ErrCode | ExportGraphic (const Graphic &rGraphic, const INetURLObject &rURL, GraphicFilter &rFilter, const sal_uInt16 nFormat, const css::uno::Sequence< css::beans::PropertyValue > *pFilterData) |
Definition at line 53 of file xoutbmp.hxx.
|
static |
Definition at line 402 of file _xoutbmp.cxx.
References SfxMedium::Commit(), DBG_ASSERT, ERRCODE_GRFILTER_IOERROR, ERRCODE_NONE, GraphicFilter::ExportGraphic(), SfxMedium::GetError(), INetURLObject::GetMainURL(), SfxMedium::GetOutStream(), INetURLObject::GetProtocol(), and INetURLObject::NONE.
Referenced by WriteGraphic().
|
static |
Definition at line 355 of file _xoutbmp.cxx.
References aMimeType, comphelper::Base64::encode(), GraphicConverter::Export(), SvMemoryStream::GetData(), Graphic::GetGfxLink(), comphelper::GraphicMimeTypeHelper::GetMimeTypeForConvertDataFormat(), GfxLink::GetType(), SAL_WARN, and SvMemoryStream::TellEnd().
|
static |
Definition at line 49 of file _xoutbmp.cxx.
References Animation::Count(), Animation::Get(), Animation::GetDisplaySizePixel(), Size::Height(), i, AnimationFrame::maBitmapEx, AnimationFrame::maPositionPixel, AnimationFrame::maSizePixel, BitmapEx::Mirror(), nCount, Animation::Replace(), Point::setX(), Point::setY(), Size::Width(), Point::X(), and Point::Y().
Referenced by MirrorGraphic().
|
static |
Definition at line 87 of file _xoutbmp.cxx.
References Graphic::GetAnimation(), Graphic::GetBitmapEx(), Graphic::IsAnimated(), BitmapEx::Mirror(), and MirrorAnimation().
Referenced by WriteGraphic().
|
static |
Definition at line 170 of file _xoutbmp.cxx.
References aName, aStr, aURL, COL_BLACK(), SfxMedium::Commit(), DBG_ASSERT, DontAddExtension, DontExpandFilename, Graphic::Draw(), ERRCODE_GRFILTER_FILTERERROR, ERRCODE_NONE, ExportGraphic(), FORMAT_BMP, FORMAT_GIF, FORMAT_PNG, Graphic::GetBitmapEx(), Graphic::GetChecksum(), GfxLink::GetData(), GfxLink::GetDataSize(), SfxMedium::GetError(), GraphicFilter::GetExportFormatMediaType(), GraphicFilter::GetExportFormatNumberForShortName(), GraphicFilter::GetExportFormatShortName(), Graphic::GetGfxLink(), GraphicFilter::GetGraphicFilter(), SfxMedium::GetOutStream(), Graphic::GetType(), Graphic::getVectorGraphicData(), Graphic::GetXGraphic(), GRFILTER_FORMAT_NOTFOUND, Graphic::IsAnimated(), Graphic::IsGfxLink(), isKnownRasterFormat(), isKnownVectorFormat(), Graphic::IsTransparent(), MirrorGraphic(), MirrorHorz, MirrorVert, INetURLObject::NONE, UseGifIfPossible, UseGifIfSensible, UseNativeIfPossible, SvStream::WriteBytes(), and com::sun::star::beans::XPropertySet.
Referenced by ExternalToolEdit::Edit().