LibreOffice Module vcl (master)  1
SvmReader.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 <memory>
23 #include <vcl/gdimtf.hxx>
24 
25 class SvStream;
26 
28 {
29 private:
31 
32 protected:
33  void ReadColor(::Color& rColor);
34 
35 public:
36  SvmReader(SvStream& rIStm);
37 
38  SvStream& Read(GDIMetaFile& rMetaFile, ImplMetaReadData* pData = nullptr);
39  rtl::Reference<MetaAction> MetaActionHandler(ImplMetaReadData* pData);
40  rtl::Reference<MetaAction> LineColorHandler();
41  rtl::Reference<MetaAction> FillColorHandler();
42  rtl::Reference<MetaAction> RectHandler();
43  rtl::Reference<MetaAction> PointHandler();
44  rtl::Reference<MetaAction> PixelHandler();
45  rtl::Reference<MetaAction> LineHandler();
46  rtl::Reference<MetaAction> RoundRectHandler();
47  rtl::Reference<MetaAction> EllipseHandler();
48  rtl::Reference<MetaAction> ArcHandler();
49  rtl::Reference<MetaAction> PieHandler();
50  rtl::Reference<MetaAction> ChordHandler();
51  rtl::Reference<MetaAction> PolyLineHandler();
52  rtl::Reference<MetaAction> PolygonHandler();
53  rtl::Reference<MetaAction> PolyPolygonHandler();
54  rtl::Reference<MetaAction> TextHandler(const ImplMetaReadData* pData);
55  rtl::Reference<MetaAction> TextArrayHandler(const ImplMetaReadData* pData);
56  rtl::Reference<MetaAction> StretchTextHandler(const ImplMetaReadData* pData);
57  rtl::Reference<MetaAction> TextRectHandler(const ImplMetaReadData* pData);
58  rtl::Reference<MetaAction> TextLineHandler();
59  rtl::Reference<MetaAction> BmpHandler();
60  rtl::Reference<MetaAction> BmpScaleHandler();
61  rtl::Reference<MetaAction> BmpScalePartHandler();
62  rtl::Reference<MetaAction> BmpExHandler();
63  rtl::Reference<MetaAction> BmpExScaleHandler();
64  rtl::Reference<MetaAction> BmpExScalePartHandler();
65  rtl::Reference<MetaAction> MaskHandler();
66  rtl::Reference<MetaAction> MaskScaleHandler();
67  rtl::Reference<MetaAction> MaskScalePartHandler();
68  rtl::Reference<MetaAction> GradientHandler();
69  rtl::Reference<MetaAction> GradientExHandler();
70  rtl::Reference<MetaAction> HatchHandler();
71  rtl::Reference<MetaAction> WallpaperHandler();
72  rtl::Reference<MetaAction> ClipRegionHandler();
73  rtl::Reference<MetaAction> ISectRectClipRegionHandler();
74  rtl::Reference<MetaAction> ISectRegionClipRegionHandler();
75  rtl::Reference<MetaAction> MoveClipRegionHandler();
76  rtl::Reference<MetaAction> TextColorHandler();
77  rtl::Reference<MetaAction> TextFillColorHandler();
78  rtl::Reference<MetaAction> TextLineColorHandler();
79  rtl::Reference<MetaAction> OverlineColorHandler();
80  rtl::Reference<MetaAction> TextAlignHandler();
81  rtl::Reference<MetaAction> MapModeHandler();
82  rtl::Reference<MetaAction> FontHandler(ImplMetaReadData* pData);
83  rtl::Reference<MetaAction> PushHandler();
84  rtl::Reference<MetaAction> PopHandler();
85  rtl::Reference<MetaAction> RasterOpHandler();
86  rtl::Reference<MetaAction> TransparentHandler();
87  rtl::Reference<MetaAction> FloatTransparentHandler(ImplMetaReadData* pData);
88  rtl::Reference<MetaAction> EPSHandler();
89  rtl::Reference<MetaAction> RefPointHandler();
90  rtl::Reference<MetaAction> CommentHandler();
91  rtl::Reference<MetaAction> LayoutModeHandler();
92  rtl::Reference<MetaAction> TextLanguageHandler();
93  static rtl::Reference<MetaAction> DefaultHandler();
94 };
95 
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SvStream & mrStream
Definition: SvmReader.hxx:30
#define VCL_DLLPUBLIC
Definition: dllapi.h:29