|
LibreOffice Module vcl (master) 1
|
#include <sal/log.hxx>#include <osl/diagnose.h>#include <osl/thread.h>#include <tools/fract.hxx>#include <tools/stream.hxx>#include <o3tl/safeint.hxx>#include <vcl/TypeSerializer.hxx>#include <vcl/dibtools.hxx>#include <vcl/filter/SvmReader.hxx>#include <vcl/lineinfo.hxx>#include <vcl/metaact.hxx>#include <vcl/virdev.hxx>#include "SvmConverter.hxx"#include <boost/rational.hpp>#include <algorithm>#include <memory>#include <stack>#include <string.h>Go to the source code of this file.
Macros | |
| #define | LF_FACESIZE 32 |
Functions | |
| static void | ImplReadRect (SvStream &rIStm, tools::Rectangle &rRect) |
| static bool | ImplReadPoly (SvStream &rIStm, tools::Polygon &rPoly) |
| static bool | ImplReadPolyPoly (SvStream &rIStm, tools::PolyPolygon &rPolyPoly) |
| static void | ImplReadColor (SvStream &rIStm, Color &rColor) |
| static bool | ImplReadMapMode (SvStream &rIStm, MapMode &rMapMode) |
| static void | ImplReadUnicodeComment (sal_uInt32 nStrmPos, SvStream &rIStm, OUString &rString) |
| static void | ImplSkipActions (SvStream &rIStm, sal_uLong nSkipCount) |
| static void | ImplReadExtendedPolyPolygonAction (SvStream &rIStm, tools::PolyPolygon &rPolyPoly) |
| static void | lcl_error (SvStream &rIStm, const SvStreamEndian &nOldFormat, sal_uInt64 nPos) |
| bool | TestImportSVM (SvStream &rStream) |
| #define LF_FACESIZE 32 |
Definition at line 275 of file SvmConverter.cxx.
Definition at line 101 of file SvmConverter.cxx.
References SvStream::ReadInt16(), Color::SetBlue(), Color::SetGreen(), and Color::SetRed().
Referenced by SVMConverter::ImplConvertFromSVM1().
|
static |
Definition at line 173 of file SvmConverter.cxx.
References a, tools::PolyPolygon::Clear(), tools::PolyPolygon::Insert(), tools::GenericTypeSerializer::readPoint(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::remainingSize(), SAL_WARN, and tools::Polygon::SetFlags().
Referenced by SVMConverter::ImplConvertFromSVM1().
Definition at line 110 of file SvmConverter.cxx.
References SvStream::good(), SvStream::ReadInt16(), SvStream::ReadInt32(), tools::GenericTypeSerializer::readPoint(), and SAL_WARN.
Referenced by SVMConverter::ImplConvertFromSVM1().
|
static |
Definition at line 55 of file SvmConverter.cxx.
References SvStream::good(), i, SvStream::ReadInt32(), tools::GenericTypeSerializer::readPoint(), SvStream::remainingSize(), and SAL_WARN.
Referenced by SVMConverter::ImplConvertFromSVM1(), and ImplReadPolyPoly().
|
static |
Definition at line 79 of file SvmConverter.cxx.
References SvStream::good(), i, ImplReadPoly(), tools::PolyPolygon::Insert(), and SvStream::ReadInt32().
Referenced by SVMConverter::ImplConvertFromSVM1().
|
static |
Definition at line 43 of file SvmConverter.cxx.
References tools::GenericTypeSerializer::readPoint().
Referenced by SVMConverter::ImplConvertFromSVM1().
|
static |
Definition at line 139 of file SvmConverter.cxx.
References GDI_UNICODE_COMMENT, nType, read_uInt16s_ToOUString(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), SvStream::Seek(), and SvStream::Tell().
Referenced by SVMConverter::ImplConvertFromSVM1().
Definition at line 160 of file SvmConverter.cxx.
References SvStream::good(), i, nType, SvStream::ReadInt16(), SvStream::ReadInt32(), and SvStream::SeekRel().
Referenced by SVMConverter::ImplConvertFromSVM1().
|
static |
Definition at line 277 of file SvmConverter.cxx.
References nPos, SvStream::Seek(), SvStream::SetEndian(), SvStream::SetError(), and SVSTREAM_FILEFORMAT_ERROR.
Referenced by SVMConverter::ImplConvertFromSVM1().
| bool TestImportSVM | ( | SvStream & | rStream | ) |
Definition at line 1272 of file SvmConverter.cxx.
References GDIMetaFile::Play(), and SvmReader::Read().