LibreOffice Module vcl (master) 1
|
#include <SvmWriter.hxx>
Static Public Member Functions | |
static BitmapChecksum | GetChecksum (const GDIMetaFile &rMetaFile) |
Private Member Functions | |
void | WriteColor (::Color aColor) |
Private Attributes | |
SvStream & | mrStream |
Definition at line 27 of file SvmWriter.hxx.
SvmWriter::SvmWriter | ( | SvStream & | rIStm | ) |
Definition at line 28 of file SvmWriter.cxx.
void SvmWriter::ActionHandler | ( | const MetaAction * | pAction | ) |
Definition at line 804 of file SvmWriter.cxx.
References MetaAction::GetType(), mrStream, and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::ArcHandler | ( | const MetaArcAction * | pAction | ) |
Definition at line 868 of file SvmWriter.cxx.
References MetaArcAction::GetEndPoint(), MetaArcAction::GetRect(), MetaArcAction::GetStartPoint(), MetaAction::GetType(), mrStream, tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeRectangle(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::BmpExHandler | ( | const MetaBmpExAction * | pAction | ) |
Definition at line 1096 of file SvmWriter.cxx.
References BitmapEx::GetBitmap(), MetaBmpExAction::GetBitmapEx(), MetaBmpExAction::GetPoint(), MetaAction::GetType(), Bitmap::IsEmpty(), mrStream, WriteDIBBitmapEx(), tools::GenericTypeSerializer::writePoint(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::BmpExScaleHandler | ( | const MetaBmpExScaleAction * | pAction | ) |
Definition at line 1108 of file SvmWriter.cxx.
References BitmapEx::GetBitmap(), MetaBmpExScaleAction::GetBitmapEx(), MetaBmpExScaleAction::GetPoint(), MetaBmpExScaleAction::GetSize(), MetaAction::GetType(), Bitmap::IsEmpty(), mrStream, WriteDIBBitmapEx(), tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeSize(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::BmpExScalePartHandler | ( | const MetaBmpExScalePartAction * | pAction | ) |
Definition at line 1121 of file SvmWriter.cxx.
References BitmapEx::GetBitmap(), MetaBmpExScalePartAction::GetBitmapEx(), MetaBmpExScalePartAction::GetDestPoint(), MetaBmpExScalePartAction::GetDestSize(), MetaBmpExScalePartAction::GetSrcPoint(), MetaBmpExScalePartAction::GetSrcSize(), MetaAction::GetType(), Bitmap::IsEmpty(), mrStream, WriteDIBBitmapEx(), tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeSize(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::BmpHandler | ( | const MetaBmpAction * | pAction | ) |
Definition at line 1056 of file SvmWriter.cxx.
References MetaBmpAction::GetBitmap(), MetaBmpAction::GetPoint(), MetaAction::GetType(), Bitmap::IsEmpty(), mrStream, WriteDIB(), tools::GenericTypeSerializer::writePoint(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::BmpScaleHandler | ( | const MetaBmpScaleAction * | pAction | ) |
Definition at line 1068 of file SvmWriter.cxx.
References MetaBmpScaleAction::GetBitmap(), MetaBmpScaleAction::GetPoint(), MetaBmpScaleAction::GetSize(), MetaAction::GetType(), Bitmap::IsEmpty(), mrStream, WriteDIB(), tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeSize(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::BmpScalePartHandler | ( | const MetaBmpScalePartAction * | pAction | ) |
Definition at line 1081 of file SvmWriter.cxx.
References MetaBmpScalePartAction::GetBitmap(), MetaBmpScalePartAction::GetDestPoint(), MetaBmpScalePartAction::GetDestSize(), MetaBmpScalePartAction::GetSrcPoint(), MetaBmpScalePartAction::GetSrcSize(), MetaAction::GetType(), Bitmap::IsEmpty(), mrStream, WriteDIB(), tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeSize(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::ChordHandler | ( | const MetaChordAction * | pAction | ) |
Definition at line 890 of file SvmWriter.cxx.
References MetaChordAction::GetEndPoint(), MetaChordAction::GetRect(), MetaChordAction::GetStartPoint(), MetaAction::GetType(), mrStream, tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeRectangle(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::ClipRegionHandler | ( | const MetaClipRegionAction * | pAction | ) |
Definition at line 1221 of file SvmWriter.cxx.
References MetaClipRegionAction::GetRegion(), MetaAction::GetType(), MetaClipRegionAction::IsClipping(), mrStream, SvStream::WriteBool(), vcl::WriteRegion(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::CommentHandler | ( | const MetaCommentAction * | pAction | ) |
Definition at line 1424 of file SvmWriter.cxx.
References MetaCommentAction::GetComment(), MetaCommentAction::GetData(), MetaCommentAction::GetDataSize(), MetaAction::GetType(), MetaCommentAction::GetValue(), mrStream, write_uInt16_lenPrefixed_uInt8s_FromOString(), SvStream::WriteBytes(), SvStream::WriteInt32(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().
Referenced by MetaActionHandler().
void SvmWriter::EllipseHandler | ( | const MetaEllipseAction * | pAction | ) |
Definition at line 859 of file SvmWriter.cxx.
References MetaEllipseAction::GetRect(), MetaAction::GetType(), mrStream, tools::GenericTypeSerializer::writeRectangle(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::EPSHandler | ( | const MetaEPSAction * | pAction | ) |
Definition at line 1399 of file SvmWriter.cxx.
References MetaEPSAction::GetLink(), MetaEPSAction::GetPoint(), MetaEPSAction::GetSize(), MetaEPSAction::GetSubstitute(), MetaAction::GetType(), mrStream, Write(), TypeSerializer::writeGfxLink(), tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeSize(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::FillColorHandler | ( | const MetaFillColorAction * | pAction | ) |
Definition at line 1259 of file SvmWriter.cxx.
References MetaFillColorAction::GetColor(), MetaAction::GetType(), MetaFillColorAction::IsSetting(), mrStream, SvStream::WriteBool(), WriteColor(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::FloatTransparentHandler | ( | const MetaFloatTransparentAction * | pAction | ) |
Definition at line 1364 of file SvmWriter.cxx.
References basegfx::BColor::getBlue(), MetaFloatTransparentAction::GetGDIMetaFile(), MetaFloatTransparentAction::GetGradient(), basegfx::BColor::getGreen(), MetaFloatTransparentAction::GetPoint(), basegfx::BColor::getRed(), MetaFloatTransparentAction::GetSize(), MetaFloatTransparentAction::getSVGTransparencyColorStops(), MetaAction::GetType(), mrStream, Write(), SvStream::WriteDouble(), TypeSerializer::writeGradient(), tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeSize(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::FontHandler | ( | const MetaFontAction * | pAction, |
ImplMetaWriteData * | pData | ||
) |
Definition at line 1313 of file SvmWriter.cxx.
References vcl::Font::GetCharSet(), MetaFontAction::GetFont(), MetaAction::GetType(), mrStream, pData, WriteFont(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
|
static |
Definition at line 72 of file SvmWriter.cxx.
References BCToBCOA(), BITMAP_CHECKSUM_SIZE, BMP, BMPEX, BMPEXSCALE, BMPEXSCALEPART, BMPSCALE, BMPSCALEPART, CLIPREGION, EPS, GDIMetaFile::GetAction(), GDIMetaFile::GetActionSize(), vcl::Region::GetAsB2DPolyPolygon(), MetaBmpAction::GetBitmap(), MetaBmpScaleAction::GetBitmap(), MetaBmpScalePartAction::GetBitmap(), MetaMaskAction::GetBitmap(), MetaMaskScaleAction::GetBitmap(), MetaMaskScalePartAction::GetBitmap(), MetaBmpExAction::GetBitmapEx(), MetaBmpExScaleAction::GetBitmapEx(), MetaBmpExScalePartAction::GetBitmapEx(), Bitmap::GetChecksum(), BitmapEx::GetChecksum(), MetaMaskAction::GetColor(), MetaMaskScaleAction::GetColor(), MetaMaskScalePartAction::GetColor(), SvMemoryStream::GetData(), GfxLink::GetData(), GfxLink::GetDataSize(), MetaBmpScalePartAction::GetDestPoint(), MetaBmpExScalePartAction::GetDestPoint(), MetaMaskScalePartAction::GetDestPoint(), MetaBmpScalePartAction::GetDestSize(), MetaBmpExScalePartAction::GetDestSize(), MetaMaskScalePartAction::GetDestSize(), MetaEPSAction::GetLink(), MetaBmpAction::GetPoint(), MetaBmpScaleAction::GetPoint(), MetaBmpExAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaMaskAction::GetPoint(), MetaMaskScaleAction::GetPoint(), MetaClipRegionAction::GetRegion(), MetaBmpScaleAction::GetSize(), MetaBmpExScaleAction::GetSize(), MetaMaskScaleAction::GetSize(), MetaBmpScalePartAction::GetSrcPoint(), MetaBmpExScalePartAction::GetSrcPoint(), MetaMaskScalePartAction::GetSrcPoint(), MetaBmpScalePartAction::GetSrcSize(), MetaBmpExScalePartAction::GetSrcSize(), MetaMaskScalePartAction::GetSrcSize(), SvStream::GetStreamCharSet(), MetaAction::GetType(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), vcl::Region::HasPolyPolygonOrB2DPolyPolygon(), Size::Height(), i, MetaClipRegionAction::IsClipping(), MASK, MASKSCALE, MASKSCALEPART, ImplMetaWriteData::meActualCharSet, MetaActionHandler(), SvStream::Seek(), SvStream::Tell(), vcl_get_checksum(), Size::Width(), Point::X(), and Point::Y().
Referenced by ImpGraphic::getChecksum().
void SvmWriter::GradientExHandler | ( | const MetaGradientExAction * | pAction | ) |
Definition at line 1186 of file SvmWriter.cxx.
References tools::PolyPolygon::AdaptiveSubdivide(), MetaGradientExAction::GetGradient(), MetaGradientExAction::GetPolyPolygon(), MetaAction::GetType(), mrStream, TypeSerializer::writeGradient(), WritePolyPolygon(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::GradientHandler | ( | const MetaGradientAction * | pAction | ) |
Definition at line 1177 of file SvmWriter.cxx.
References MetaGradientAction::GetGradient(), MetaGradientAction::GetRect(), MetaAction::GetType(), mrStream, TypeSerializer::writeGradient(), tools::GenericTypeSerializer::writeRectangle(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::HatchHandler | ( | const MetaHatchAction * | pAction | ) |
Definition at line 1200 of file SvmWriter.cxx.
References tools::PolyPolygon::AdaptiveSubdivide(), MetaHatchAction::GetHatch(), MetaHatchAction::GetPolyPolygon(), MetaAction::GetType(), mrStream, WriteHatch(), WritePolyPolygon(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::ISectRectClipRegionHandler | ( | const MetaISectRectClipRegionAction * | pAction | ) |
Definition at line 1229 of file SvmWriter.cxx.
References MetaISectRectClipRegionAction::GetRect(), MetaAction::GetType(), mrStream, tools::GenericTypeSerializer::writeRectangle(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::ISectRegionClipRegionHandler | ( | const MetaISectRegionClipRegionAction * | pAction | ) |
Definition at line 1237 of file SvmWriter.cxx.
References MetaISectRegionClipRegionAction::GetRegion(), MetaAction::GetType(), mrStream, vcl::WriteRegion(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::LayoutModeHandler | ( | const MetaLayoutModeAction * | pAction | ) |
Definition at line 1435 of file SvmWriter.cxx.
References MetaLayoutModeAction::GetLayoutMode(), MetaAction::GetType(), mrStream, SvStream::WriteUInt16(), and SvStream::WriteUInt32().
Referenced by MetaActionHandler().
void SvmWriter::LineColorHandler | ( | const MetaLineColorAction * | pAction | ) |
Definition at line 1251 of file SvmWriter.cxx.
References MetaLineColorAction::GetColor(), MetaAction::GetType(), MetaLineColorAction::IsSetting(), mrStream, SvStream::WriteBool(), WriteColor(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::LineHandler | ( | const MetaLineAction * | pAction | ) |
Definition at line 826 of file SvmWriter.cxx.
References MetaLineAction::GetEndPoint(), MetaLineAction::GetLineInfo(), MetaLineAction::GetStartPoint(), MetaAction::GetType(), mrStream, WriteLineInfo(), tools::GenericTypeSerializer::writePoint(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::MapModeHandler | ( | const MetaMapModeAction * | pAction | ) |
Definition at line 1305 of file SvmWriter.cxx.
References MetaMapModeAction::GetMapMode(), MetaAction::GetType(), mrStream, TypeSerializer::writeMapMode(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::MaskHandler | ( | const MetaMaskAction * | pAction | ) |
Definition at line 1136 of file SvmWriter.cxx.
References MetaMaskAction::GetBitmap(), MetaMaskAction::GetPoint(), MetaAction::GetType(), Bitmap::IsEmpty(), mrStream, WriteDIB(), tools::GenericTypeSerializer::writePoint(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::MaskScaleHandler | ( | const MetaMaskScaleAction * | pAction | ) |
Definition at line 1148 of file SvmWriter.cxx.
References MetaMaskScaleAction::GetBitmap(), MetaMaskScaleAction::GetPoint(), MetaMaskScaleAction::GetSize(), MetaAction::GetType(), Bitmap::IsEmpty(), mrStream, WriteDIB(), tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeSize(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::MaskScalePartHandler | ( | const MetaMaskScalePartAction * | pAction | ) |
Definition at line 1161 of file SvmWriter.cxx.
References MetaMaskScalePartAction::GetBitmap(), MetaMaskScalePartAction::GetColor(), MetaMaskScalePartAction::GetDestPoint(), MetaMaskScalePartAction::GetDestSize(), MetaMaskScalePartAction::GetSrcPoint(), MetaMaskScalePartAction::GetSrcSize(), MetaAction::GetType(), Bitmap::IsEmpty(), mrStream, WriteColor(), WriteDIB(), tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeSize(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::MetaActionHandler | ( | MetaAction * | pAction, |
ImplMetaWriteData * | pData | ||
) |
Definition at line 419 of file SvmWriter.cxx.
References ActionHandler(), ARC, ArcHandler(), BMP, BMPEX, BmpExHandler(), BMPEXSCALE, BmpExScaleHandler(), BMPEXSCALEPART, BmpExScalePartHandler(), BmpHandler(), BMPSCALE, BmpScaleHandler(), BMPSCALEPART, BmpScalePartHandler(), CHORD, ChordHandler(), CLIPREGION, ClipRegionHandler(), COMMENT, CommentHandler(), ELLIPSE, EllipseHandler(), EPS, EPSHandler(), FILLCOLOR, FillColorHandler(), FLOATTRANSPARENT, FloatTransparentHandler(), FONT, FontHandler(), MetaAction::GetType(), 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(), NONE, nType, OVERLINECOLOR, OverlineColorHandler(), pData, PIE, PieHandler(), PIXEL, PixelHandler(), POINT, PointHandler(), POLYGON, PolygonHandler(), POLYLINE, PolyLineHandler(), POLYPOLYGON, PolyPolygonHandler(), POP, PopHandler(), PUSH, PushHandler(), RASTEROP, RasterOpHandler(), 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 GetChecksum(), and Write().
void SvmWriter::MoveClipRegionHandler | ( | const MetaMoveClipRegionAction * | pAction | ) |
Definition at line 1244 of file SvmWriter.cxx.
References MetaMoveClipRegionAction::GetHorzMove(), MetaAction::GetType(), MetaMoveClipRegionAction::GetVertMove(), mrStream, SvStream::WriteInt32(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::OverlineColorHandler | ( | const MetaOverlineColorAction * | pAction | ) |
Definition at line 1290 of file SvmWriter.cxx.
References MetaOverlineColorAction::GetColor(), MetaAction::GetType(), MetaOverlineColorAction::IsSetting(), mrStream, SvStream::WriteBool(), WriteColor(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::PieHandler | ( | const MetaPieAction * | pAction | ) |
Definition at line 879 of file SvmWriter.cxx.
References MetaPieAction::GetEndPoint(), MetaPieAction::GetRect(), MetaPieAction::GetStartPoint(), MetaAction::GetType(), mrStream, tools::GenericTypeSerializer::writePoint(), tools::GenericTypeSerializer::writeRectangle(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::PixelHandler | ( | const MetaPixelAction * | pAction | ) |
Definition at line 809 of file SvmWriter.cxx.
References MetaPixelAction::GetColor(), MetaPixelAction::GetPoint(), MetaAction::GetType(), mrStream, WriteColor(), tools::GenericTypeSerializer::writePoint(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::PointHandler | ( | const MetaPointAction * | pAction | ) |
Definition at line 818 of file SvmWriter.cxx.
References MetaPointAction::GetPoint(), MetaAction::GetType(), mrStream, tools::GenericTypeSerializer::writePoint(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::PolygonHandler | ( | const MetaPolygonAction * | pAction | ) |
Definition at line 919 of file SvmWriter.cxx.
References tools::Polygon::AdaptiveSubdivide(), MetaPolygonAction::GetPolygon(), MetaAction::GetType(), tools::Polygon::HasFlags(), mrStream, tools::Polygon::Write(), SvStream::WriteBool(), WritePolygon(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::PolyLineHandler | ( | const MetaPolyLineAction * | pAction | ) |
Definition at line 901 of file SvmWriter.cxx.
References tools::Polygon::AdaptiveSubdivide(), MetaPolyLineAction::GetLineInfo(), MetaPolyLineAction::GetPolygon(), MetaAction::GetType(), tools::Polygon::HasFlags(), mrStream, tools::Polygon::Write(), SvStream::WriteBool(), WriteLineInfo(), WritePolygon(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::PolyPolygonHandler | ( | const MetaPolyPolygonAction * | pAction | ) |
Definition at line 935 of file SvmWriter.cxx.
References tools::Polygon::AdaptiveSubdivide(), tools::PolyPolygon::Count(), tools::PolyPolygon::GetObject(), MetaPolyPolygonAction::GetPolyPolygon(), MetaAction::GetType(), tools::Polygon::HasFlags(), i, mrStream, tools::Polygon::Write(), WritePolygon(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::PopHandler | ( | const MetaPopAction * | pAction | ) |
Definition at line 1330 of file SvmWriter.cxx.
References MetaAction::GetType(), mrStream, and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::PushHandler | ( | const MetaPushAction * | pAction | ) |
Definition at line 1323 of file SvmWriter.cxx.
References MetaPushAction::GetFlags(), MetaAction::GetType(), mrStream, and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::RasterOpHandler | ( | const MetaRasterOpAction * | pAction | ) |
Definition at line 1336 of file SvmWriter.cxx.
References MetaRasterOpAction::GetRasterOp(), MetaAction::GetType(), mrStream, and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::RectHandler | ( | const MetaRectAction * | pAction | ) |
Definition at line 840 of file SvmWriter.cxx.
References MetaRectAction::GetRect(), MetaAction::GetType(), mrStream, tools::GenericTypeSerializer::writeRectangle(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::RefPointHandler | ( | const MetaRefPointAction * | pAction | ) |
Definition at line 1414 of file SvmWriter.cxx.
References MetaRefPointAction::GetRefPoint(), MetaAction::GetType(), MetaRefPointAction::IsSetting(), mrStream, SvStream::WriteBool(), tools::GenericTypeSerializer::writePoint(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::RoundRectHandler | ( | const MetaRoundRectAction * | pAction | ) |
Definition at line 849 of file SvmWriter.cxx.
References MetaRoundRectAction::GetHorzRound(), MetaRoundRectAction::GetRect(), MetaAction::GetType(), MetaRoundRectAction::GetVertRound(), mrStream, tools::GenericTypeSerializer::writeRectangle(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().
Referenced by MetaActionHandler().
void SvmWriter::StretchTextHandler | ( | const MetaStretchTextAction * | pAction, |
const ImplMetaWriteData * | pData | ||
) |
Definition at line 1011 of file SvmWriter.cxx.
References MetaStretchTextAction::GetIndex(), MetaStretchTextAction::GetLen(), MetaStretchTextAction::GetPoint(), MetaStretchTextAction::GetText(), MetaAction::GetType(), MetaStretchTextAction::GetWidth(), mrStream, pData, write_uInt16_lenPrefixed_uInt16s_FromOUString(), tools::GenericTypeSerializer::writePoint(), SvStream::WriteUInt16(), SvStream::WriteUInt32(), and SvStream::WriteUniOrByteString().
Referenced by MetaActionHandler().
void SvmWriter::TextAlignHandler | ( | const MetaTextAlignAction * | pAction | ) |
Definition at line 1298 of file SvmWriter.cxx.
References MetaTextAlignAction::GetTextAlign(), MetaAction::GetType(), mrStream, and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::TextArrayHandler | ( | const MetaTextArrayAction * | pAction, |
const ImplMetaWriteData * | pData | ||
) |
Definition at line 983 of file SvmWriter.cxx.
References KernArray::empty(), MetaTextArrayAction::GetDXArray(), MetaTextArrayAction::GetIndex(), MetaTextArrayAction::GetKashidaArray(), MetaTextArrayAction::GetLen(), MetaTextArrayAction::GetPoint(), MetaTextArrayAction::GetText(), MetaAction::GetType(), i, mrStream, pData, write_uInt16_lenPrefixed_uInt16s_FromOUString(), SvStream::WriteInt32(), tools::GenericTypeSerializer::writePoint(), SvStream::WriteUChar(), SvStream::WriteUInt16(), SvStream::WriteUInt32(), and SvStream::WriteUniOrByteString().
Referenced by MetaActionHandler().
void SvmWriter::TextColorHandler | ( | const MetaTextColorAction * | pAction | ) |
Definition at line 1267 of file SvmWriter.cxx.
References MetaTextColorAction::GetColor(), MetaAction::GetType(), mrStream, WriteColor(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::TextFillColorHandler | ( | const MetaTextFillColorAction * | pAction | ) |
Definition at line 1274 of file SvmWriter.cxx.
References MetaTextFillColorAction::GetColor(), MetaAction::GetType(), MetaTextFillColorAction::IsSetting(), mrStream, SvStream::WriteBool(), WriteColor(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::TextHandler | ( | const MetaTextAction * | pAction, |
const ImplMetaWriteData * | pData | ||
) |
Definition at line 969 of file SvmWriter.cxx.
References MetaTextAction::GetIndex(), MetaTextAction::GetLen(), MetaTextAction::GetPoint(), MetaTextAction::GetText(), MetaAction::GetType(), mrStream, pData, write_uInt16_lenPrefixed_uInt16s_FromOUString(), tools::GenericTypeSerializer::writePoint(), SvStream::WriteUInt16(), and SvStream::WriteUniOrByteString().
Referenced by MetaActionHandler().
void SvmWriter::TextLanguageHandler | ( | const MetaTextLanguageAction * | pAction | ) |
Definition at line 1442 of file SvmWriter.cxx.
References MetaTextLanguageAction::GetTextLanguage(), MetaAction::GetType(), mrStream, and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::TextLineColorHandler | ( | const MetaTextLineColorAction * | pAction | ) |
Definition at line 1282 of file SvmWriter.cxx.
References MetaTextLineColorAction::GetColor(), MetaAction::GetType(), MetaTextLineColorAction::IsSetting(), mrStream, SvStream::WriteBool(), WriteColor(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::TextLineHandler | ( | const MetaTextLineAction * | pAction | ) |
Definition at line 1040 of file SvmWriter.cxx.
References MetaTextLineAction::GetOverline(), MetaTextLineAction::GetStartPoint(), MetaTextLineAction::GetStrikeout(), MetaAction::GetType(), MetaTextLineAction::GetUnderline(), MetaTextLineAction::GetWidth(), mrStream, SvStream::WriteInt32(), tools::GenericTypeSerializer::writePoint(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().
Referenced by MetaActionHandler().
void SvmWriter::TextRectHandler | ( | const MetaTextRectAction * | pAction, |
const ImplMetaWriteData * | pData | ||
) |
Definition at line 1027 of file SvmWriter.cxx.
References MetaTextRectAction::GetRect(), MetaTextRectAction::GetStyle(), MetaTextRectAction::GetText(), MetaAction::GetType(), mrStream, pData, write_uInt16_lenPrefixed_uInt16s_FromOUString(), tools::GenericTypeSerializer::writeRectangle(), SvStream::WriteUInt16(), and SvStream::WriteUniOrByteString().
Referenced by MetaActionHandler().
void SvmWriter::TransparentHandler | ( | const MetaTransparentAction * | pAction | ) |
Definition at line 1343 of file SvmWriter.cxx.
References tools::PolyPolygon::AdaptiveSubdivide(), MetaTransparentAction::GetPolyPolygon(), MetaTransparentAction::GetTransparence(), MetaAction::GetType(), mrStream, WritePolyPolygon(), and SvStream::WriteUInt16().
Referenced by MetaActionHandler().
void SvmWriter::WallpaperHandler | ( | const MetaWallpaperAction * | pAction | ) |
Definition at line 1213 of file SvmWriter.cxx.
References MetaAction::GetType(), MetaWallpaperAction::GetWallpaper(), mrStream, SvStream::WriteUInt16(), and WriteWallpaper().
Referenced by MetaActionHandler().
SvStream & SvmWriter::Write | ( | const GDIMetaFile & | rMetaFile | ) |
Definition at line 38 of file SvmWriter.cxx.
References GDIMetaFile::GetActionSize(), SvStream::GetCompressMode(), SvStream::GetEndian(), GDIMetaFile::GetPrefMapMode(), GDIMetaFile::GetPrefSize(), SvStream::GetStreamCharSet(), ImplMetaWriteData::meActualCharSet, MetaActionHandler(), mrStream, SvStream::SetEndian(), SvStream::WriteBytes(), TypeSerializer::writeMapMode(), tools::GenericTypeSerializer::writeSize(), and SvStream::WriteUInt32().
Referenced by EPSHandler(), GraphicFilter::ExportGraphic(), FloatTransparentHandler(), TransferableHelper::SetGDIMetaFile(), ImpGraphic::swapOutGraphic(), and TypeSerializer::writeGraphic().
|
private |
Definition at line 33 of file SvmWriter.cxx.
References mrStream, and SvStream::WriteUInt32().
Referenced by FillColorHandler(), LineColorHandler(), MaskScalePartHandler(), OverlineColorHandler(), PixelHandler(), TextColorHandler(), TextFillColorHandler(), and TextLineColorHandler().
|
private |
Definition at line 30 of file SvmWriter.hxx.
Referenced by ActionHandler(), 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(), MoveClipRegionHandler(), OverlineColorHandler(), PieHandler(), PixelHandler(), PointHandler(), PolygonHandler(), PolyLineHandler(), PolyPolygonHandler(), PopHandler(), PushHandler(), RasterOpHandler(), RectHandler(), RefPointHandler(), RoundRectHandler(), StretchTextHandler(), TextAlignHandler(), TextArrayHandler(), TextColorHandler(), TextFillColorHandler(), TextHandler(), TextLanguageHandler(), TextLineColorHandler(), TextLineHandler(), TextRectHandler(), TransparentHandler(), WallpaperHandler(), Write(), and WriteColor().