LibreOffice Module vcl (master) 1
SvmWriter.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <vcl/gdimtf.hxx>
23#include <vcl/metaact.hxx>
24
25class SvStream;
26
28{
29private:
31
32 void WriteColor(::Color aColor);
33
34public:
35 SvmWriter(SvStream& rIStm);
36
37 SvStream& Write(const GDIMetaFile& rMetaFile);
38 static BitmapChecksum GetChecksum(const GDIMetaFile& rMetaFile);
39 void MetaActionHandler(MetaAction* pAction, ImplMetaWriteData* pData);
40 void ActionHandler(const MetaAction* pAction);
41 void PixelHandler(const MetaPixelAction* pAction);
42 void PointHandler(const MetaPointAction* pAction);
43 void LineHandler(const MetaLineAction* pAction);
44 void RectHandler(const MetaRectAction* pAction);
45 void RoundRectHandler(const MetaRoundRectAction* pAction);
46 void EllipseHandler(const MetaEllipseAction* pAction);
47 void ArcHandler(const MetaArcAction* pAction);
48 void PieHandler(const MetaPieAction* pAction);
49 void ChordHandler(const MetaChordAction* pAction);
50 void PolyLineHandler(const MetaPolyLineAction* pAction);
51 void PolygonHandler(const MetaPolygonAction* pAction);
52 void PolyPolygonHandler(const MetaPolyPolygonAction* pAction);
53 void TextHandler(const MetaTextAction* pAction, const ImplMetaWriteData* pData);
54 void TextArrayHandler(const MetaTextArrayAction* pAction, const ImplMetaWriteData* pData);
55 void StretchTextHandler(const MetaStretchTextAction* pAction, const ImplMetaWriteData* pData);
56 void TextRectHandler(const MetaTextRectAction* pAction, const ImplMetaWriteData* pData);
57 void TextLineHandler(const MetaTextLineAction* pAction);
58 void BmpHandler(const MetaBmpAction* pAction);
59 void BmpScaleHandler(const MetaBmpScaleAction* pAction);
60 void BmpScalePartHandler(const MetaBmpScalePartAction* pAction);
61 void BmpExHandler(const MetaBmpExAction* pAction);
62 void BmpExScaleHandler(const MetaBmpExScaleAction* pAction);
63 void BmpExScalePartHandler(const MetaBmpExScalePartAction* pAction);
64 void MaskHandler(const MetaMaskAction* pAction);
65 void MaskScaleHandler(const MetaMaskScaleAction* pAction);
66 void MaskScalePartHandler(const MetaMaskScalePartAction* pAction);
67 void GradientHandler(const MetaGradientAction* pAction);
68 void GradientExHandler(const MetaGradientExAction* pAction);
69 void HatchHandler(const MetaHatchAction* pAction);
70 void WallpaperHandler(const MetaWallpaperAction* pAction);
71 void ClipRegionHandler(const MetaClipRegionAction* pAction);
72 void ISectRectClipRegionHandler(const MetaISectRectClipRegionAction* pAction);
73 void ISectRegionClipRegionHandler(const MetaISectRegionClipRegionAction* pAction);
74 void MoveClipRegionHandler(const MetaMoveClipRegionAction* pAction);
75 void LineColorHandler(const MetaLineColorAction* pAction);
76 void FillColorHandler(const MetaFillColorAction* pAction);
77 void TextColorHandler(const MetaTextColorAction* pAction);
78 void TextFillColorHandler(const MetaTextFillColorAction* pAction);
79 void TextLineColorHandler(const MetaTextLineColorAction* pAction);
80 void OverlineColorHandler(const MetaOverlineColorAction* pAction);
81 void TextAlignHandler(const MetaTextAlignAction* pAction);
82 void MapModeHandler(const MetaMapModeAction* pAction);
83 void FontHandler(const MetaFontAction* pAction, ImplMetaWriteData* pData);
84 void PushHandler(const MetaPushAction* pAction);
85 void PopHandler(const MetaPopAction* pAction);
86 void RasterOpHandler(const MetaRasterOpAction* pAction);
87 void TransparentHandler(const MetaTransparentAction* pAction);
88 void FloatTransparentHandler(const MetaFloatTransparentAction* pAction);
89 void EPSHandler(const MetaEPSAction* pAction);
90 void RefPointHandler(const MetaRefPointAction* pAction);
91 void CommentHandler(const MetaCommentAction* pAction);
92 void LayoutModeHandler(const MetaLayoutModeAction* pAction);
93 void TextLanguageHandler(const MetaTextLanguageAction* pAction);
94};
sal_uInt64 BitmapChecksum
Definition: checksum.hxx:30
SvStream & mrStream
Definition: SvmWriter.hxx:30
#define VCL_DLLPUBLIC
Definition: dllapi.h:29