LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
SVMConverter Class Reference

Converts old SVGDI aka SVM1 format data to current VCLMTF aka SVM2 format metafile data. More...

#include <SvmConverter.hxx>

Public Member Functions

 SVMConverter (SvStream &rIStm, GDIMetaFile &rMtf)
 

Private Member Functions

 SVMConverter (const SVMConverter &)=delete
 
SVMConverteroperator= (const SVMConverter &)=delete
 

Static Private Member Functions

static void ImplConvertFromSVM1 (SvStream &rIStm, GDIMetaFile &rMtf)
 

Detailed Description

Converts old SVGDI aka SVM1 format data to current VCLMTF aka SVM2 format metafile data.

Definition at line 74 of file SvmConverter.hxx.

Constructor & Destructor Documentation

◆ SVMConverter() [1/2]

SVMConverter::SVMConverter ( SvStream rIStm,
GDIMetaFile rMtf 
)

Definition at line 235 of file SvmConverter.cxx.

References SvStream::GetError(), and ImplConvertFromSVM1().

◆ SVMConverter() [2/2]

SVMConverter::SVMConverter ( const SVMConverter )
privatedelete

Member Function Documentation

◆ ImplConvertFromSVM1()

void SVMConverter::ImplConvertFromSVM1 ( SvStream rIStm,
GDIMetaFile rMtf 
)
staticprivate

Definition at line 284 of file SvmConverter.cxx.

References a, aData, GDIMetaFile::AddAction(), vcl::ALL, aName, aStr, tools::Rectangle::Center(), COL_TRANSPARENT(), tools::PolyPolygon::Count(), Dash, GDI_ARC_ACTION, GDI_BITMAP_ACTION, GDI_BITMAPSCALE_ACTION, GDI_BITMAPSCALEPART_ACTION, GDI_CLIPREGION_ACTION, GDI_COMMENT_COMMENT, GDI_ELLIPSE_ACTION, GDI_EXTENDEDPOLYGON_ACTION, GDI_FILLBRUSH_ACTION, GDI_FLOATTRANSPARENT_COMMENT, GDI_FONT_ACTION, GDI_GRADIENT_ACTION, GDI_GRADIENTEX_COMMENT, GDI_HATCH_COMMENT, GDI_HIGHLIGHTRECT_ACTION, GDI_INVERTRECT_ACTION, GDI_ISECTCLIPREGION_ACTION, GDI_LINE_ACTION, GDI_LINECAP_ACTION, GDI_LINEDASHDOT_ACTION, GDI_LINEJOIN_ACTION, GDI_MAPMODE_ACTION, GDI_MOVECLIPREGION_ACTION, GDI_PEN_ACTION, GDI_PIE_ACTION, GDI_PIXEL_ACTION, GDI_POINT_ACTION, GDI_POLYGON_ACTION, GDI_POLYLINE_ACTION, GDI_POLYPOLYGON_ACTION, GDI_POP_ACTION, GDI_PUSH_ACTION, GDI_RASTEROP_ACTION, GDI_RECT_ACTION, GDI_REFPOINT_COMMENT, GDI_STRETCHTEXT_ACTION, GDI_TEXT_ACTION, GDI_TEXTARRAY_ACTION, GDI_TEXTLINE_COMMENT, GDI_TEXTLINECOLOR_COMMENT, GDI_TRANSPARENT_COMMENT, GDI_UNICODE_COMMENT, GDIMetaFile::GetAction(), GDIMetaFile::GetActionSize(), vcl::Font::GetAlignment(), vcl::Font::GetCharSet(), vcl::Font::GetColor(), SvStream::GetEndian(), SvStream::GetError(), vcl::Font::GetFillColor(), tools::Rectangle::GetHeight(), MetaPolyLineAction::GetLineInfo(), tools::PolyPolygon::GetObject(), MetaPolyPolygonAction::GetPolyPolygon(), SvStream::GetStreamCharSet(), tools::Rectangle::GetWidth(), SvStream::good(), i, ImplReadColor(), ImplReadExtendedPolyPolygonAction(), ImplReadMapMode(), ImplReadPoly(), ImplReadPolyPoly(), ImplReadRect(), ImplReadUnicodeComment(), ImplSkipActions(), tools::PolyPolygon::Insert(), vcl::Region::Intersect(), Invert, vcl::Font::IsTransparent(), ITALIC_NONE, ITALIC_NORMAL, lcl_error(), LF_FACESIZE, vcl::LINECOLOR, LINESTYLE_NONE, o3tl::make_unsigned(), nBorder, nCount, nIndex, NONE, nPos, nType, nValue, nVersion, OverPaint, vcl::RASTEROP, SvmReader::Read(), read_uInt16_lenPrefixed_uInt8s_ToOString(), read_uInt8s_ToOString(), SvStream::ReadBytes(), SvStream::ReadCharAsBool(), tools::GenericTypeSerializer::readColor(), ReadDIB(), TypeSerializer::readGradient(), ReadHatch(), SvStream::ReadInt16(), SvStream::ReadInt32(), tools::GenericTypeSerializer::readPoint(), ReadPolyPolygon(), tools::GenericTypeSerializer::readSize(), SvStream::ReadUChar(), SvStream::ReadUInt32(), SvStream::remainingSize(), GDIMetaFile::ReplaceAction(), KernArray::resize(), SAL_MAX_ENUM, SAL_WARN, SAL_WARN_IF, SvStream::Seek(), SvStream::SeekRel(), KernArray::set(), vcl::Font::SetAlignment(), Gradient::SetAngle(), Gradient::SetBorder(), vcl::Font::SetCharSet(), vcl::Font::SetColor(), SvStream::SetEndian(), Gradient::SetEndIntensity(), SvStream::SetError(), vcl::Font::SetFamily(), vcl::Font::SetFamilyName(), vcl::Font::SetFillColor(), vcl::Font::SetFontSize(), Size::setHeight(), vcl::Font::SetItalic(), Gradient::SetOfsX(), Gradient::SetOfsY(), vcl::Font::SetOrientation(), vcl::Font::SetOutline(), vcl::Font::SetPitch(), GDIMetaFile::SetPrefMapMode(), GDIMetaFile::SetPrefSize(), vcl::Font::SetShadow(), Gradient::SetStartIntensity(), vcl::Font::SetStrikeout(), vcl::Font::SetTransparent(), vcl::Font::SetUnderline(), vcl::Font::SetWeight(), Size::setWidth(), KernArray::size(), Solid, SVSTREAM_FILEFORMAT_ERROR, SvStream::Tell(), WEIGHT_BOLD, WEIGHT_DONTKNOW, WEIGHT_LIGHT, WEIGHT_NORMAL, and Xor.

Referenced by SVMConverter().

◆ operator=()

SVMConverter & SVMConverter::operator= ( const SVMConverter )
privatedelete

The documentation for this class was generated from the following files: