LibreOffice Module vcl (master) 1
|
#include <SvmReader.hxx>
Static Public Member Functions | |
static rtl::Reference< MetaAction > | DefaultHandler () |
Private Member Functions | |
void | ReadColor (::Color &rColor) |
Private Attributes | |
SvStream & | mrStream |
Definition at line 26 of file SvmReader.hxx.
SvmReader::SvmReader | ( | SvStream & | rIStm | ) |
Definition at line 60 of file SvmReader.cxx.
rtl::Reference< MetaAction > SvmReader::ArcHandler | ( | ) |
Definition at line 430 of file SvmReader.cxx.
References mrStream, tools::GenericTypeSerializer::readPoint(), and tools::GenericTypeSerializer::readRectangle().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::BmpExHandler | ( | ) |
Definition at line 910 of file SvmReader.cxx.
References mrStream, ReadDIBBitmapEx(), and tools::GenericTypeSerializer::readPoint().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::BmpExScaleHandler | ( | ) |
Definition at line 927 of file SvmReader.cxx.
References mrStream, ReadDIBBitmapEx(), tools::GenericTypeSerializer::readPoint(), and tools::GenericTypeSerializer::readSize().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::BmpExScalePartHandler | ( | ) |
Definition at line 948 of file SvmReader.cxx.
References mrStream, ReadDIBBitmapEx(), tools::GenericTypeSerializer::readPoint(), and tools::GenericTypeSerializer::readSize().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::BmpHandler | ( | ) |
Definition at line 846 of file SvmReader.cxx.
References mrStream, ReadDIB(), and tools::GenericTypeSerializer::readPoint().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::BmpScaleHandler | ( | ) |
Definition at line 863 of file SvmReader.cxx.
References mrStream, ReadDIB(), tools::GenericTypeSerializer::readPoint(), and tools::GenericTypeSerializer::readSize().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::BmpScalePartHandler | ( | ) |
Definition at line 884 of file SvmReader.cxx.
References mrStream, ReadDIB(), tools::GenericTypeSerializer::readPoint(), and tools::GenericTypeSerializer::readSize().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::ChordHandler | ( | ) |
Definition at line 472 of file SvmReader.cxx.
References mrStream, tools::GenericTypeSerializer::readPoint(), and tools::GenericTypeSerializer::readRectangle().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::ClipRegionHandler | ( | ) |
Definition at line 1104 of file SvmReader.cxx.
References mrStream, SvStream::ReadCharAsBool(), and vcl::ReadRegion().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::CommentHandler | ( | ) |
Definition at line 1413 of file SvmReader.cxx.
References mrStream, nValue, pData, read_uInt16_lenPrefixed_uInt8s_ToOString(), SvStream::ReadBytes(), SvStream::ReadInt32(), SvStream::ReadUInt32(), SvStream::remainingSize(), SAL_INFO, and SAL_WARN.
Referenced by MetaActionHandler().
|
static |
Definition at line 1476 of file SvmReader.cxx.
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::EllipseHandler | ( | ) |
Definition at line 415 of file SvmReader.cxx.
References mrStream, and tools::GenericTypeSerializer::readRectangle().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::EPSHandler | ( | ) |
Definition at line 1372 of file SvmReader.cxx.
References mrStream, Read(), TypeSerializer::readGfxLink(), tools::GenericTypeSerializer::readPoint(), and tools::GenericTypeSerializer::readSize().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::FillColorHandler | ( | ) |
Definition at line 305 of file SvmReader.cxx.
References mrStream, SvStream::ReadCharAsBool(), and ReadColor().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::FloatTransparentHandler | ( | ImplMetaReadData * | pData | ) |
Definition at line 1316 of file SvmReader.cxx.
References a, VersionCompatRead::GetVersion(), mrStream, pData, Read(), SvStream::ReadDouble(), TypeSerializer::readGradient(), tools::GenericTypeSerializer::readPoint(), tools::GenericTypeSerializer::readSize(), SvStream::ReadUInt16(), SvStream::remainingSize(), and SAL_WARN.
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::FontHandler | ( | ImplMetaReadData * | pData | ) |
Definition at line 1248 of file SvmReader.cxx.
References vcl::Font::GetCharSet(), mrStream, pData, and ReadFont().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::GradientExHandler | ( | ) |
Definition at line 1058 of file SvmReader.cxx.
References mrStream, TypeSerializer::readGradient(), and ReadPolyPolygon().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::GradientHandler | ( | ) |
Definition at line 1040 of file SvmReader.cxx.
References mrStream, TypeSerializer::readGradient(), and tools::GenericTypeSerializer::readRectangle().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::HatchHandler | ( | ) |
Definition at line 1075 of file SvmReader.cxx.
References mrStream, ReadHatch(), and ReadPolyPolygon().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::ISectRectClipRegionHandler | ( | ) |
Definition at line 1120 of file SvmReader.cxx.
References mrStream, and tools::GenericTypeSerializer::readRectangle().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::ISectRegionClipRegionHandler | ( | ) |
Definition at line 1134 of file SvmReader.cxx.
References mrStream, and vcl::ReadRegion().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::LayoutModeHandler | ( | ) |
Definition at line 1450 of file SvmReader.cxx.
References mrStream, and SvStream::ReadUInt32().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::LineColorHandler | ( | ) |
Definition at line 289 of file SvmReader.cxx.
References mrStream, SvStream::ReadCharAsBool(), and ReadColor().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::LineHandler | ( | ) |
Definition at line 368 of file SvmReader.cxx.
References VersionCompatRead::GetVersion(), mrStream, ReadLineInfo(), and tools::GenericTypeSerializer::readPoint().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::MapModeHandler | ( | ) |
Definition at line 1234 of file SvmReader.cxx.
References mrStream, and TypeSerializer::readMapMode().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::MaskHandler | ( | ) |
Definition at line 974 of file SvmReader.cxx.
References mrStream, ReadDIB(), and tools::GenericTypeSerializer::readPoint().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::MaskScaleHandler | ( | ) |
Definition at line 991 of file SvmReader.cxx.
References mrStream, ReadDIB(), tools::GenericTypeSerializer::readPoint(), and tools::GenericTypeSerializer::readSize().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::MaskScalePartHandler | ( | ) |
Definition at line 1011 of file SvmReader.cxx.
References mrStream, ReadColor(), ReadDIB(), tools::GenericTypeSerializer::readPoint(), and tools::GenericTypeSerializer::readSize().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::MetaActionHandler | ( | ImplMetaReadData * | pData | ) |
Definition at line 154 of file SvmReader.cxx.
References ARC, ArcHandler(), BMP, BMPEX, BmpExHandler(), BMPEXSCALE, BmpExScaleHandler(), BMPEXSCALEPART, BmpExScalePartHandler(), BmpHandler(), BMPSCALE, BmpScaleHandler(), BMPSCALEPART, BmpScalePartHandler(), CHORD, ChordHandler(), CLIPREGION, ClipRegionHandler(), COMMENT, CommentHandler(), DefaultHandler(), ELLIPSE, EllipseHandler(), EPS, EPSHandler(), FILLCOLOR, FillColorHandler(), FLOATTRANSPARENT, FloatTransparentHandler(), FONT, FontHandler(), GRADIENT, GRADIENTEX, GradientExHandler(), GradientHandler(), HATCH, HatchHandler(), ISECTRECTCLIPREGION, ISectRectClipRegionHandler(), ISECTREGIONCLIPREGION, ISectRegionClipRegionHandler(), LAYOUTMODE, LayoutModeHandler(), LINE, LINECOLOR, LineColorHandler(), LineHandler(), MAPMODE, MapModeHandler(), MASK, MaskHandler(), MASKSCALE, MaskScaleHandler(), MASKSCALEPART, MaskScalePartHandler(), MOVECLIPREGION, MoveClipRegionHandler(), mrStream, NONE, nType, OVERLINECOLOR, OverlineColorHandler(), pData, PIE, PieHandler(), PIXEL, PixelHandler(), POINT, PointHandler(), POLYGON, PolygonHandler(), POLYLINE, PolyLineHandler(), POLYPOLYGON, PolyPolygonHandler(), POP, PopHandler(), PUSH, PushHandler(), RASTEROP, RasterOpHandler(), SvStream::ReadUInt16(), RECT, RectHandler(), REFPOINT, RefPointHandler(), ROUNDRECT, RoundRectHandler(), STRETCHTEXT, StretchTextHandler(), TEXT, TEXTALIGN, TextAlignHandler(), TEXTARRAY, TextArrayHandler(), TEXTCOLOR, TextColorHandler(), TEXTFILLCOLOR, TextFillColorHandler(), TextHandler(), TEXTLANGUAGE, TextLanguageHandler(), TEXTLINE, TEXTLINECOLOR, TextLineColorHandler(), TextLineHandler(), TEXTRECT, TextRectHandler(), Transparent, TransparentHandler(), WALLPAPER, and WallpaperHandler().
Referenced by Read().
rtl::Reference< MetaAction > SvmReader::MoveClipRegionHandler | ( | ) |
Definition at line 1146 of file SvmReader.cxx.
References mrStream, and SvStream::ReadInt32().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::OverlineColorHandler | ( | ) |
Definition at line 1205 of file SvmReader.cxx.
References mrStream, SvStream::ReadCharAsBool(), and ReadColor().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::PieHandler | ( | ) |
Definition at line 451 of file SvmReader.cxx.
References mrStream, tools::GenericTypeSerializer::readPoint(), and tools::GenericTypeSerializer::readRectangle().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::PixelHandler | ( | ) |
Definition at line 350 of file SvmReader.cxx.
References mrStream, ReadColor(), and tools::GenericTypeSerializer::readPoint().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::PointHandler | ( | ) |
Definition at line 336 of file SvmReader.cxx.
References mrStream, and tools::GenericTypeSerializer::readPoint().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::PolygonHandler | ( | ) |
Definition at line 522 of file SvmReader.cxx.
References VersionCompatRead::GetVersion(), mrStream, tools::Polygon::Read(), ReadPolygon(), and SvStream::ReadUChar().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::PolyLineHandler | ( | ) |
Definition at line 493 of file SvmReader.cxx.
References VersionCompatRead::GetVersion(), mrStream, tools::Polygon::Read(), ReadLineInfo(), ReadPolygon(), and SvStream::ReadUChar().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::PolyPolygonHandler | ( | ) |
Definition at line 544 of file SvmReader.cxx.
References tools::PolyPolygon::Count(), VersionCompatRead::GetVersion(), i, mrStream, nIndex, tools::Polygon::Read(), ReadPolyPolygon(), SvStream::ReadUInt16(), SvStream::remainingSize(), tools::PolyPolygon::Replace(), and SAL_WARN.
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::PopHandler | ( | ) |
Definition at line 1277 of file SvmReader.cxx.
References mrStream.
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::PushHandler | ( | ) |
Definition at line 1264 of file SvmReader.cxx.
References mrStream, and SvStream::ReadUInt16().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::RasterOpHandler | ( | ) |
Definition at line 1286 of file SvmReader.cxx.
References mrStream, and SvStream::ReadUInt16().
Referenced by MetaActionHandler().
SvStream & SvmReader::Read | ( | GDIMetaFile & | rMetaFile, |
ImplMetaReadData * | pData = nullptr |
||
) |
Definition at line 65 of file SvmReader.cxx.
References GDIMetaFile::AddAction(), GDIMetaFile::Clear(), COMMENT, SvStream::eof(), MetaCommentAction::GetComment(), SvStream::GetEndian(), SvStream::GetError(), SvStream::good(), MetaActionHandler(), mrStream, nCount, pData, SvStream::ReadBytes(), TypeSerializer::readMapMode(), tools::GenericTypeSerializer::readSize(), SvStream::ReadUInt32(), SAL_WARN, SvStream::Seek(), SvStream::SetEndian(), SvStream::SetError(), GDIMetaFile::SetPrefMapMode(), GDIMetaFile::SetPrefSize(), SVSTREAM_FILEFORMAT_ERROR, SvStream::Tell(), and GDIMetaFile::UseCanvas().
Referenced by EPSHandler(), FloatTransparentHandler(), TransferableHelper::getTransferData2(), SVMConverter::ImplConvertFromSVM1(), TypeSerializer::readGraphic(), ImpGraphic::swapInGraphic(), and TestImportSVM().
|
private |
Definition at line 282 of file SvmReader.cxx.
References ColorTransparency, mrStream, and SvStream::ReadUInt32().
Referenced by FillColorHandler(), LineColorHandler(), MaskScalePartHandler(), OverlineColorHandler(), PixelHandler(), TextColorHandler(), TextFillColorHandler(), and TextLineColorHandler().
rtl::Reference< MetaAction > SvmReader::RectHandler | ( | ) |
Definition at line 322 of file SvmReader.cxx.
References mrStream, and tools::GenericTypeSerializer::readRectangle().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::RefPointHandler | ( | ) |
Definition at line 1395 of file SvmReader.cxx.
References mrStream, SvStream::ReadCharAsBool(), and tools::GenericTypeSerializer::readPoint().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::RoundRectHandler | ( | ) |
Definition at line 395 of file SvmReader.cxx.
References mrStream, tools::GenericTypeSerializer::readRectangle(), and SvStream::ReadUInt32().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::StretchTextHandler | ( | const ImplMetaReadData * | pData | ) |
Definition at line 735 of file SvmReader.cxx.
References aStr, VersionCompatRead::GetVersion(), mrStream, pData, read_uInt16_lenPrefixed_uInt16s_ToOUString(), tools::GenericTypeSerializer::readPoint(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), SvStream::ReadUniOrByteString(), and SAL_WARN.
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::TextAlignHandler | ( | ) |
Definition at line 1221 of file SvmReader.cxx.
References mrStream, and SvStream::ReadUInt16().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::TextArrayHandler | ( | const ImplMetaReadData * | pData | ) |
Definition at line 630 of file SvmReader.cxx.
References aStr, KernArray::clear(), KernArray::empty(), VersionCompatRead::GetVersion(), i, mrStream, pData, KernArray::push_back(), read_uInt16_lenPrefixed_uInt16s_ToOUString(), SvStream::ReadInt32(), tools::GenericTypeSerializer::readPoint(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), SvStream::ReadUniOrByteString(), sal_False, and SAL_WARN.
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::TextColorHandler | ( | ) |
Definition at line 1160 of file SvmReader.cxx.
References mrStream, and ReadColor().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::TextFillColorHandler | ( | ) |
Definition at line 1173 of file SvmReader.cxx.
References mrStream, SvStream::ReadCharAsBool(), and ReadColor().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::TextHandler | ( | const ImplMetaReadData * | pData | ) |
Definition at line 590 of file SvmReader.cxx.
References aStr, VersionCompatRead::GetVersion(), mrStream, pData, read_uInt16_lenPrefixed_uInt16s_ToOUString(), tools::GenericTypeSerializer::readPoint(), SvStream::ReadUInt16(), SvStream::ReadUniOrByteString(), and SAL_WARN.
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::TextLanguageHandler | ( | ) |
Definition at line 1463 of file SvmReader.cxx.
References mrStream, and SvStream::ReadUInt16().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::TextLineColorHandler | ( | ) |
Definition at line 1189 of file SvmReader.cxx.
References mrStream, SvStream::ReadCharAsBool(), and ReadColor().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::TextLineHandler | ( | ) |
Definition at line 808 of file SvmReader.cxx.
References VersionCompatRead::GetVersion(), mrStream, SvStream::ReadInt32(), tools::GenericTypeSerializer::readPoint(), SvStream::ReadUInt32(), SAL_MAX_ENUM, and SAL_WARN.
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::TextRectHandler | ( | const ImplMetaReadData * | pData | ) |
Definition at line 778 of file SvmReader.cxx.
References aStr, VersionCompatRead::GetVersion(), utl::ConfigManager::IsFuzzing(), mrStream, pData, read_uInt16_lenPrefixed_uInt16s_ToOUString(), tools::GenericTypeSerializer::readRectangle(), SvStream::ReadUInt16(), and SvStream::ReadUniOrByteString().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::TransparentHandler | ( | ) |
Definition at line 1300 of file SvmReader.cxx.
References mrStream, ReadPolyPolygon(), and SvStream::ReadUInt16().
Referenced by MetaActionHandler().
rtl::Reference< MetaAction > SvmReader::WallpaperHandler | ( | ) |
Definition at line 1091 of file SvmReader.cxx.
References mrStream, and ReadWallpaper().
Referenced by MetaActionHandler().
|
private |
Definition at line 29 of file SvmReader.hxx.
Referenced by ArcHandler(), BmpExHandler(), BmpExScaleHandler(), BmpExScalePartHandler(), BmpHandler(), BmpScaleHandler(), BmpScalePartHandler(), ChordHandler(), ClipRegionHandler(), CommentHandler(), EllipseHandler(), EPSHandler(), FillColorHandler(), FloatTransparentHandler(), FontHandler(), GradientExHandler(), GradientHandler(), HatchHandler(), ISectRectClipRegionHandler(), ISectRegionClipRegionHandler(), LayoutModeHandler(), LineColorHandler(), LineHandler(), MapModeHandler(), MaskHandler(), MaskScaleHandler(), MaskScalePartHandler(), MetaActionHandler(), MoveClipRegionHandler(), OverlineColorHandler(), PieHandler(), PixelHandler(), PointHandler(), PolygonHandler(), PolyLineHandler(), PolyPolygonHandler(), PopHandler(), PushHandler(), RasterOpHandler(), Read(), ReadColor(), RectHandler(), RefPointHandler(), RoundRectHandler(), StretchTextHandler(), TextAlignHandler(), TextArrayHandler(), TextColorHandler(), TextFillColorHandler(), TextHandler(), TextLanguageHandler(), TextLineColorHandler(), TextLineHandler(), TextRectHandler(), TransparentHandler(), and WallpaperHandler().