LibreOffice Module vcl (master)  1
metaact.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 #ifndef INCLUDED_VCL_METAACT_HXX
21 #define INCLUDED_VCL_METAACT_HXX
22 
23 #include <memory>
24 #include <vcl/dllapi.h>
25 #include <vcl/gradient.hxx>
26 #include <vcl/hatch.hxx>
27 #include <vcl/wall.hxx>
28 #include <vcl/font.hxx>
29 #include <tools/poly.hxx>
30 #include <vcl/bitmapex.hxx>
31 #include <vcl/region.hxx>
32 #include <vcl/outdevstate.hxx>
33 #include <vcl/gdimtf.hxx>
34 #include <vcl/gfxlink.hxx>
35 #include <vcl/lineinfo.hxx>
36 #include <vcl/metaactiontypes.hxx>
38 #include <rtl/ref.hxx>
39 
40 class OutputDevice;
41 class SvStream;
42 enum class DrawTextFlags;
43 
45 {
46  rtl_TextEncoding meActualCharSet;
48 
50  : meActualCharSet(RTL_TEXTENCODING_ASCII_US)
51  , mnParseDepth(0)
52  {}
53 };
54 
56 {
57  rtl_TextEncoding meActualCharSet;
58 
60  meActualCharSet( RTL_TEXTENCODING_ASCII_US )
61  {}
62 };
63 
65 {
66 private:
68 
69 protected:
70  virtual ~MetaAction() override;
71 
72 public:
73  MetaAction();
74  explicit MetaAction( MetaActionType nType );
75  MetaAction( MetaAction const & );
76 
77  virtual void Execute( OutputDevice* pOut );
78 
79  oslInterlockedCount GetRefCount() const { return m_nCount; }
80 
82 
83  virtual void Move( long nHorzMove, long nVertMove );
84  virtual void Scale( double fScaleX, double fScaleY );
85 
86  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData );
87  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData );
88 
89  MetaActionType GetType() const { return mnType; }
90 
91 public:
92  static MetaAction* ReadMetaAction( SvStream& rIStm, ImplMetaReadData* pData );
93 };
94 
96 {
97 private:
100 
101 public:
102  MetaPixelAction();
103  MetaPixelAction(MetaPixelAction const &) = default;
104  MetaPixelAction(MetaPixelAction &&) = default;
105  MetaPixelAction & operator =(MetaPixelAction const &) = delete; // due to MetaAction
106  MetaPixelAction & operator =(MetaPixelAction &&) = delete; // due to MetaAction
107 protected:
108  virtual ~MetaPixelAction() override;
109 public:
110  virtual void Execute( OutputDevice* pOut ) override;
111  virtual rtl::Reference<MetaAction> Clone() override;
112  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
113  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
114 
115  MetaPixelAction( const Point& rPt, const Color& rColor );
116 
117  virtual void Move( long nHorzMove, long nVertMove ) override;
118  virtual void Scale( double fScaleX, double fScaleY ) override;
119 
120  const Point& GetPoint() const { return maPt; }
121  const Color& GetColor() const { return maColor; }
122 };
123 
125 {
126 private:
128 
129 public:
130  MetaPointAction();
131  MetaPointAction(MetaPointAction const &) = default;
132  MetaPointAction(MetaPointAction &&) = default;
133  MetaPointAction & operator =(MetaPointAction const &) = delete; // due to MetaAction
134  MetaPointAction & operator =(MetaPointAction &&) = delete; // due to MetaAction
135 protected:
136  virtual ~MetaPointAction() override;
137 public:
138  virtual void Execute( OutputDevice* pOut ) override;
139  virtual rtl::Reference<MetaAction> Clone() override;
140  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
141  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
142 
143  explicit MetaPointAction( const Point& );
144 
145  virtual void Move( long nHorzMove, long nVertMove ) override;
146  virtual void Scale( double fScaleX, double fScaleY ) override;
147 
148  const Point& GetPoint() const { return maPt; }
149 };
150 
152 {
153 private:
154 
158 
159 public:
160  MetaLineAction();
161  MetaLineAction(MetaLineAction const &) = default;
162  MetaLineAction(MetaLineAction &&) = default;
163  MetaLineAction & operator =(MetaLineAction const &) = delete; // due to MetaAction
164  MetaLineAction & operator =(MetaLineAction &&) = delete; // due to MetaAction
165 protected:
166  virtual ~MetaLineAction() override;
167 public:
168  virtual void Execute( OutputDevice* pOut ) override;
169  virtual rtl::Reference<MetaAction> Clone() override;
170  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
171  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
172 
173  MetaLineAction( const Point& rStart, const Point& rEnd );
174  MetaLineAction( const Point& rStart, const Point& rEnd,
175  const LineInfo& rLineInfo );
176 
177  virtual void Move( long nHorzMove, long nVertMove ) override;
178  virtual void Scale( double fScaleX, double fScaleY ) override;
179 
180  const Point& GetStartPoint() const { return maStartPt; }
181  const Point& GetEndPoint() const { return maEndPt; }
182  const LineInfo& GetLineInfo() const { return maLineInfo; }
183 };
184 
186 {
187 private:
188 
190 
191 public:
192  MetaRectAction();
193  MetaRectAction(MetaRectAction const &) = default;
194  MetaRectAction(MetaRectAction &&) = default;
195  MetaRectAction & operator =(MetaRectAction const &) = delete; // due to MetaAction
196  MetaRectAction & operator =(MetaRectAction &&) = delete; // due to MetaAction
197 protected:
198  virtual ~MetaRectAction() override;
199 public:
200  virtual void Execute( OutputDevice* pOut ) override;
201  virtual rtl::Reference<MetaAction> Clone() override;
202  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
203  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
204 
205  explicit MetaRectAction( const tools::Rectangle& );
206 
207  virtual void Move( long nHorzMove, long nVertMove ) override;
208  virtual void Scale( double fScaleX, double fScaleY ) override;
209 
210  const tools::Rectangle& GetRect() const { return maRect; }
211 };
212 
214 {
215 private:
216 
218  sal_uInt32 mnHorzRound;
219  sal_uInt32 mnVertRound;
220 
221 public:
223  MetaRoundRectAction(MetaRoundRectAction const &) = default;
225  MetaRoundRectAction & operator =(MetaRoundRectAction const &) = delete; // due to MetaAction
226  MetaRoundRectAction & operator =(MetaRoundRectAction &&) = delete; // due to MetaAction
227 protected:
228  virtual ~MetaRoundRectAction() override;
229 public:
230  virtual void Execute( OutputDevice* pOut ) override;
231  virtual rtl::Reference<MetaAction> Clone() override;
232  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
233  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
234 
236  sal_uInt32 nHorzRound, sal_uInt32 nVertRound );
237 
238  virtual void Move( long nHorzMove, long nVertMove ) override;
239  virtual void Scale( double fScaleX, double fScaleY ) override;
240 
241  const tools::Rectangle& GetRect() const { return maRect; }
242  sal_uInt32 GetHorzRound() const { return mnHorzRound; }
243  sal_uInt32 GetVertRound() const { return mnVertRound; }
244 };
245 
247 {
248 private:
249 
251 
252 public:
254  MetaEllipseAction(MetaEllipseAction const &) = default;
255  MetaEllipseAction(MetaEllipseAction &&) = default;
256  MetaEllipseAction & operator =(MetaEllipseAction const &) = delete; // due to MetaAction
257  MetaEllipseAction & operator =(MetaEllipseAction &&) = delete; // due to MetaAction
258 protected:
259  virtual ~MetaEllipseAction() override;
260 public:
261  virtual void Execute( OutputDevice* pOut ) override;
262  virtual rtl::Reference<MetaAction> Clone() override;
263  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
264  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
265 
266  explicit MetaEllipseAction( const tools::Rectangle& );
267 
268  virtual void Move( long nHorzMove, long nVertMove ) override;
269  virtual void Scale( double fScaleX, double fScaleY ) override;
270 
271  const tools::Rectangle& GetRect() const { return maRect; }
272 };
273 
275 {
276 private:
277 
281 
282 public:
283  MetaArcAction();
284  MetaArcAction(MetaArcAction const &) = default;
285  MetaArcAction(MetaArcAction &&) = default;
286  MetaArcAction & operator =(MetaArcAction const &) = delete; // due to MetaAction
287  MetaArcAction & operator =(MetaArcAction &&) = delete; // due to MetaAction
288 protected:
289  virtual ~MetaArcAction() override;
290 public:
291  virtual void Execute( OutputDevice* pOut ) override;
292  virtual rtl::Reference<MetaAction> Clone() override;
293  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
294  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
295 
296  MetaArcAction( const tools::Rectangle& rRect,
297  const Point& rStart, const Point& rEnd );
298 
299  virtual void Move( long nHorzMove, long nVertMove ) override;
300  virtual void Scale( double fScaleX, double fScaleY ) override;
301 
302  const tools::Rectangle& GetRect() const { return maRect; }
303  const Point& GetStartPoint() const { return maStartPt; }
304  const Point& GetEndPoint() const { return maEndPt; }
305 };
306 
308 {
309 private:
310 
314 
315 public:
316  MetaPieAction();
317  MetaPieAction(MetaPieAction const &) = default;
318  MetaPieAction(MetaPieAction &&) = default;
319  MetaPieAction & operator =(MetaPieAction const &) = delete; // due to MetaAction
320  MetaPieAction & operator =(MetaPieAction &&) = delete; // due to MetaAction
321 protected:
322  virtual ~MetaPieAction() override;
323 public:
324  virtual void Execute( OutputDevice* pOut ) override;
325  virtual rtl::Reference<MetaAction> Clone() override;
326  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
327  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
328 
329  MetaPieAction( const tools::Rectangle& rRect,
330  const Point& rStart, const Point& rEnd );
331 
332  virtual void Move( long nHorzMove, long nVertMove ) override;
333  virtual void Scale( double fScaleX, double fScaleY ) override;
334 
335  const tools::Rectangle& GetRect() const { return maRect; }
336  const Point& GetStartPoint() const { return maStartPt; }
337  const Point& GetEndPoint() const { return maEndPt; }
338 };
339 
341 {
342 private:
343 
347 
348 public:
349  MetaChordAction();
350  MetaChordAction(MetaChordAction const &) = default;
351  MetaChordAction(MetaChordAction &&) = default;
352  MetaChordAction & operator =(MetaChordAction const &) = delete; // due to MetaAction
353  MetaChordAction & operator =(MetaChordAction &&) = delete; // due to MetaAction
354 protected:
355  virtual ~MetaChordAction() override;
356 public:
357  virtual void Execute( OutputDevice* pOut ) override;
358  virtual rtl::Reference<MetaAction> Clone() override;
359  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
360  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
361 
362  MetaChordAction( const tools::Rectangle& rRect,
363  const Point& rStart, const Point& rEnd );
364 
365  virtual void Move( long nHorzMove, long nVertMove ) override;
366  virtual void Scale( double fScaleX, double fScaleY ) override;
367 
368  const tools::Rectangle& GetRect() const { return maRect; }
369  const Point& GetStartPoint() const { return maStartPt; }
370  const Point& GetEndPoint() const { return maEndPt; }
371 };
372 
374 {
375 private:
376 
379 
380 public:
382  MetaPolyLineAction(MetaPolyLineAction const &) = default;
384  MetaPolyLineAction & operator =(MetaPolyLineAction const &) = delete; // due to MetaAction
385  MetaPolyLineAction & operator =(MetaPolyLineAction &&) = delete; // due to MetaAction
386 protected:
387  virtual ~MetaPolyLineAction() override;
388 public:
389  virtual void Execute( OutputDevice* pOut ) override;
390  virtual rtl::Reference<MetaAction> Clone() override;
391  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
392  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
393 
394  explicit MetaPolyLineAction( const tools::Polygon& );
395  explicit MetaPolyLineAction( const tools::Polygon&, const LineInfo& );
396 
397  virtual void Move( long nHorzMove, long nVertMove ) override;
398  virtual void Scale( double fScaleX, double fScaleY ) override;
399 
400  const tools::Polygon& GetPolygon() const { return maPoly; }
401  const LineInfo& GetLineInfo() const { return maLineInfo; }
402 };
403 
405 {
406 private:
407 
409 
410 public:
412  MetaPolygonAction(MetaPolygonAction const &) = default;
413  MetaPolygonAction(MetaPolygonAction &&) = default;
414  MetaPolygonAction & operator =(MetaPolygonAction const &) = delete; // due to MetaAction
415  MetaPolygonAction & operator =(MetaPolygonAction &&) = delete; // due to MetaAction
416 protected:
417  virtual ~MetaPolygonAction() override;
418 public:
419  virtual void Execute( OutputDevice* pOut ) override;
420  virtual rtl::Reference<MetaAction> Clone() override;
421  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
422  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
423 
424  explicit MetaPolygonAction( const tools::Polygon& );
425 
426  virtual void Move( long nHorzMove, long nVertMove ) override;
427  virtual void Scale( double fScaleX, double fScaleY ) override;
428 
429  const tools::Polygon& GetPolygon() const { return maPoly; }
430 };
431 
433 {
434 private:
435 
437 
438 public:
440  MetaPolyPolygonAction(MetaPolyPolygonAction const &) = default;
442  MetaPolyPolygonAction & operator =(MetaPolyPolygonAction const &) = delete; // due to MetaAction
443  MetaPolyPolygonAction & operator =(MetaPolyPolygonAction &&) = delete; // due to MetaAction
444 protected:
445  virtual ~MetaPolyPolygonAction() override;
446 public:
447  virtual void Execute( OutputDevice* pOut ) override;
448  virtual rtl::Reference<MetaAction> Clone() override;
449  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
450  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
451 
452  explicit MetaPolyPolygonAction( const tools::PolyPolygon& );
453 
454  virtual void Move( long nHorzMove, long nVertMove ) override;
455  virtual void Scale( double fScaleX, double fScaleY ) override;
456 
457  const tools::PolyPolygon& GetPolyPolygon() const { return maPolyPoly; }
458 };
459 
461 {
462 private:
463 
465  OUString maStr;
466  sal_Int32 mnIndex;
467  sal_Int32 mnLen;
468 
469 public:
470  MetaTextAction();
471  MetaTextAction(MetaTextAction const &) = default;
472  MetaTextAction(MetaTextAction &&) = default;
473  MetaTextAction & operator =(MetaTextAction const &) = delete; // due to MetaAction
474  MetaTextAction & operator =(MetaTextAction &&) = delete; // due to MetaAction
475 protected:
476  virtual ~MetaTextAction() override;
477 public:
478  virtual void Execute( OutputDevice* pOut ) override;
479  virtual rtl::Reference<MetaAction> Clone() override;
480  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
481  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
482 
483  MetaTextAction( const Point& rPt, const OUString& rStr,
484  sal_Int32 nIndex, sal_Int32 nLen );
485 
486  virtual void Move( long nHorzMove, long nVertMove ) override;
487  virtual void Scale( double fScaleX, double fScaleY ) override;
488 
489  const Point& GetPoint() const { return maPt; }
490  const OUString& GetText() const { return maStr; }
491  sal_Int32 GetIndex() const { return mnIndex; }
492  sal_Int32 GetLen() const { return mnLen; }
493 };
494 
496 {
497 private:
498 
500  OUString maStr;
501  std::unique_ptr<long[]>
503  sal_Int32 mnIndex;
504  sal_Int32 mnLen;
505 
506 protected:
507  virtual ~MetaTextArrayAction() override;
508 
509 public:
511  MetaTextArrayAction( const MetaTextArrayAction& rAction );
512  MetaTextArrayAction( const Point& rStartPt, const OUString& rStr,
513  const long* pDXAry, sal_Int32 nIndex,
514  sal_Int32 nLen );
515 
516  virtual void Execute( OutputDevice* pOut ) override;
517 
518  virtual rtl::Reference<MetaAction> Clone() override;
519 
520  virtual void Move( long nHorzMove, long nVertMove ) override;
521  virtual void Scale( double fScaleX, double fScaleY ) override;
522 
523  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
524  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
525 
526  const Point& GetPoint() const { return maStartPt; }
527  const OUString& GetText() const { return maStr; }
528  sal_Int32 GetIndex() const { return mnIndex; }
529  sal_Int32 GetLen() const { return mnLen; }
530  long* GetDXArray() const { return mpDXAry.get(); }
531 };
532 
534 {
535 private:
536 
538  OUString maStr;
539  sal_uInt32 mnWidth;
540  sal_Int32 mnIndex;
541  sal_Int32 mnLen;
542 
543 public:
545  MetaStretchTextAction(MetaStretchTextAction const &) = default;
547  MetaStretchTextAction & operator =(MetaStretchTextAction const &) = delete; // due to MetaAction
548  MetaStretchTextAction & operator =(MetaStretchTextAction &&) = delete; // due to MetaAction
549 protected:
550  virtual ~MetaStretchTextAction() override;
551 public:
552  virtual void Execute( OutputDevice* pOut ) override;
553  virtual rtl::Reference<MetaAction> Clone() override;
554  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
555  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
556 
557  MetaStretchTextAction( const Point& rPt, sal_uInt32 nWidth,
558  const OUString& rStr,
559  sal_Int32 nIndex, sal_Int32 nLen );
560 
561  virtual void Move( long nHorzMove, long nVertMove ) override;
562  virtual void Scale( double fScaleX, double fScaleY ) override;
563 
564  const Point& GetPoint() const { return maPt; }
565  const OUString& GetText() const { return maStr; }
566  sal_uInt32 GetWidth() const { return mnWidth; }
567  sal_Int32 GetIndex() const { return mnIndex; }
568  sal_Int32 GetLen() const { return mnLen; }
569 };
570 
572 {
573 private:
574 
576  OUString maStr;
578 
579 public:
581  MetaTextRectAction(MetaTextRectAction const &) = default;
583  MetaTextRectAction & operator =(MetaTextRectAction const &) = delete; // due to MetaAction
584  MetaTextRectAction & operator =(MetaTextRectAction &&) = delete; // due to MetaAction
585 protected:
586  virtual ~MetaTextRectAction() override;
587 public:
588  virtual void Execute( OutputDevice* pOut ) override;
589  virtual rtl::Reference<MetaAction> Clone() override;
590  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
591  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
592 
593  MetaTextRectAction( const tools::Rectangle& rRect,
594  const OUString& rStr, DrawTextFlags nStyle );
595 
596  virtual void Move( long nHorzMove, long nVertMove ) override;
597  virtual void Scale( double fScaleX, double fScaleY ) override;
598 
599  const tools::Rectangle& GetRect() const { return maRect; }
600  const OUString& GetText() const { return maStr; }
601  DrawTextFlags GetStyle() const { return mnStyle; }
602 };
603 
605 {
606 private:
607 
609  long mnWidth;
613 
614 public:
616  MetaTextLineAction(MetaTextLineAction const &) = default;
618  MetaTextLineAction & operator =(MetaTextLineAction const &) = delete; // due to MetaAction
619  MetaTextLineAction & operator =(MetaTextLineAction &&) = delete; // due to MetaAction
620 protected:
621  virtual ~MetaTextLineAction() override;
622 public:
623  virtual void Execute( OutputDevice* pOut ) override;
624  virtual rtl::Reference<MetaAction> Clone() override;
625  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
626  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
627 
628  MetaTextLineAction( const Point& rPos, long nWidth,
629  FontStrikeout eStrikeout,
630  FontLineStyle eUnderline,
631  FontLineStyle eOverline );
632  virtual void Move( long nHorzMove, long nVertMove ) override;
633  virtual void Scale( double fScaleX, double fScaleY ) override;
634 
635  const Point& GetStartPoint() const { return maPos; }
636  long GetWidth() const { return mnWidth; }
637  FontStrikeout GetStrikeout() const { return meStrikeout; }
638  FontLineStyle GetUnderline() const { return meUnderline; }
639  FontLineStyle GetOverline() const { return meOverline; }
640 };
641 
643 {
644 private:
645 
648 
649 public:
650  MetaBmpAction();
651  MetaBmpAction(MetaBmpAction const &) = default;
652  MetaBmpAction(MetaBmpAction &&) = default;
653  MetaBmpAction & operator =(MetaBmpAction const &) = delete; // due to MetaAction
654  MetaBmpAction & operator =(MetaBmpAction &&) = delete; // due to MetaAction
655 protected:
656  virtual ~MetaBmpAction() override;
657 public:
658  virtual void Execute( OutputDevice* pOut ) override;
659  virtual rtl::Reference<MetaAction> Clone() override;
660  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
661  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
662 
663  MetaBmpAction( const Point& rPt, const Bitmap& rBmp );
664 
665  virtual void Move( long nHorzMove, long nVertMove ) override;
666  virtual void Scale( double fScaleX, double fScaleY ) override;
667 
668  const Bitmap& GetBitmap() const { return maBmp; }
669  const Point& GetPoint() const { return maPt; }
670 };
671 
673 {
674 private:
675 
679 
680 public:
682  MetaBmpScaleAction(MetaBmpScaleAction const &) = default;
684  MetaBmpScaleAction & operator =(MetaBmpScaleAction const &) = delete; // due to MetaAction
685  MetaBmpScaleAction & operator =(MetaBmpScaleAction &&) = delete; // due to MetaAction
686 protected:
687  virtual ~MetaBmpScaleAction() override;
688 public:
689  virtual void Execute( OutputDevice* pOut ) override;
690  virtual rtl::Reference<MetaAction> Clone() override;
691  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
692  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
693 
694  MetaBmpScaleAction( const Point& rPt, const Size& rSz,
695  const Bitmap& rBmp );
696 
697  virtual void Move( long nHorzMove, long nVertMove ) override;
698  virtual void Scale( double fScaleX, double fScaleY ) override;
699 
700  const Bitmap& GetBitmap() const { return maBmp; }
701  const Point& GetPoint() const { return maPt; }
702  const Size& GetSize() const { return maSz; }
703 };
704 
706 {
707 private:
708 
714 
715 public:
719  MetaBmpScalePartAction & operator =(MetaBmpScalePartAction const &) = delete; // due to MetaAction
720  MetaBmpScalePartAction & operator =(MetaBmpScalePartAction &&) = delete; // due to MetaAction
721 protected:
722  virtual ~MetaBmpScalePartAction() override;
723 public:
724  virtual void Execute( OutputDevice* pOut ) override;
725  virtual rtl::Reference<MetaAction> Clone() override;
726  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
727  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
728 
729  MetaBmpScalePartAction( const Point& rDstPt, const Size& rDstSz,
730  const Point& rSrcPt, const Size& rSrcSz,
731  const Bitmap& rBmp );
732 
733  virtual void Move( long nHorzMove, long nVertMove ) override;
734  virtual void Scale( double fScaleX, double fScaleY ) override;
735 
736  const Bitmap& GetBitmap() const { return maBmp; }
737  const Point& GetDestPoint() const { return maDstPt; }
738  const Size& GetDestSize() const { return maDstSz; }
739  const Point& GetSrcPoint() const { return maSrcPt; }
740  const Size& GetSrcSize() const { return maSrcSz; }
741 };
742 
744 {
745 private:
746 
749 
750 public:
751  MetaBmpExAction();
752  MetaBmpExAction(MetaBmpExAction const &) = default;
753  MetaBmpExAction(MetaBmpExAction &&) = default;
754  MetaBmpExAction & operator =(MetaBmpExAction const &) = delete; // due to MetaAction
755  MetaBmpExAction & operator =(MetaBmpExAction &&) = delete; // due to MetaAction
756 protected:
757  virtual ~MetaBmpExAction() override;
758 public:
759  virtual void Execute( OutputDevice* pOut ) override;
760  virtual rtl::Reference<MetaAction> Clone() override;
761  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
762  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
763 
764  MetaBmpExAction( const Point& rPt, const BitmapEx& rBmpEx );
765 
766  virtual void Move( long nHorzMove, long nVertMove ) override;
767  virtual void Scale( double fScaleX, double fScaleY ) override;
768 
769  const BitmapEx& GetBitmapEx() const { return maBmpEx; }
770  const Point& GetPoint() const { return maPt; }
771 };
772 
774 {
775 private:
776 
780 
781 public:
783  MetaBmpExScaleAction(MetaBmpExScaleAction const &) = default;
785  MetaBmpExScaleAction & operator =(MetaBmpExScaleAction const &) = delete; // due to MetaAction
786  MetaBmpExScaleAction & operator =(MetaBmpExScaleAction &&) = delete; // due to MetaAction
787 protected:
788  virtual ~MetaBmpExScaleAction() override;
789 public:
790  virtual void Execute( OutputDevice* pOut ) override;
791  virtual rtl::Reference<MetaAction> Clone() override;
792  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
793  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
794 
795  MetaBmpExScaleAction( const Point& rPt, const Size& rSz,
796  const BitmapEx& rBmpEx ) ;
797 
798  virtual void Move( long nHorzMove, long nVertMove ) override;
799  virtual void Scale( double fScaleX, double fScaleY ) override;
800 
801  const BitmapEx& GetBitmapEx() const { return maBmpEx; }
802  const Point& GetPoint() const { return maPt; }
803  const Size& GetSize() const { return maSz; }
804 };
805 
807 {
808 private:
809 
815 
816 public:
820  MetaBmpExScalePartAction & operator =(MetaBmpExScalePartAction const &) = delete; // due to MetaAction
821  MetaBmpExScalePartAction & operator =(MetaBmpExScalePartAction &&) = delete; // due to MetaAction
822 protected:
823  virtual ~MetaBmpExScalePartAction() override;
824 public:
825  virtual void Execute( OutputDevice* pOut ) override;
826  virtual rtl::Reference<MetaAction> Clone() override;
827  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
828  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
829 
830  MetaBmpExScalePartAction( const Point& rDstPt, const Size& rDstSz,
831  const Point& rSrcPt, const Size& rSrcSz,
832  const BitmapEx& rBmpEx );
833 
834  virtual void Move( long nHorzMove, long nVertMove ) override;
835  virtual void Scale( double fScaleX, double fScaleY ) override;
836 
837  const BitmapEx& GetBitmapEx() const { return maBmpEx; }
838  const Point& GetDestPoint() const { return maDstPt; }
839  const Size& GetDestSize() const { return maDstSz; }
840  const Point& GetSrcPoint() const { return maSrcPt; }
841  const Size& GetSrcSize() const { return maSrcSz; }
842 };
843 
845 {
846 private:
847 
849  Color const maColor;
851 
852 public:
853  MetaMaskAction();
854  MetaMaskAction(MetaMaskAction const &) = default;
855  MetaMaskAction(MetaMaskAction &&) = default;
856  MetaMaskAction & operator =(MetaMaskAction const &) = delete; // due to MetaAction
857  MetaMaskAction & operator =(MetaMaskAction &&) = delete; // due to MetaAction
858 protected:
859  virtual ~MetaMaskAction() override;
860 public:
861  virtual void Execute( OutputDevice* pOut ) override;
862  virtual rtl::Reference<MetaAction> Clone() override;
863  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
864  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
865 
866  MetaMaskAction( const Point& rPt,
867  const Bitmap& rBmp,
868  const Color& rColor );
869 
870  virtual void Move( long nHorzMove, long nVertMove ) override;
871  virtual void Scale( double fScaleX, double fScaleY ) override;
872 
873  const Bitmap& GetBitmap() const { return maBmp; }
874  const Color& GetColor() const { return maColor; }
875  const Point& GetPoint() const { return maPt; }
876 };
877 
879 {
880 private:
881 
883  Color const maColor;
886 
887 public:
889  MetaMaskScaleAction(MetaMaskScaleAction const &) = default;
891  MetaMaskScaleAction & operator =(MetaMaskScaleAction const &) = delete; // due to MetaAction
892  MetaMaskScaleAction & operator =(MetaMaskScaleAction &&) = delete; // due to MetaAction
893 protected:
894  virtual ~MetaMaskScaleAction() override;
895 public:
896  virtual void Execute( OutputDevice* pOut ) override;
897  virtual rtl::Reference<MetaAction> Clone() override;
898  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
899  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
900 
901  MetaMaskScaleAction( const Point& rPt, const Size& rSz,
902  const Bitmap& rBmp,
903  const Color& rColor );
904 
905  virtual void Move( long nHorzMove, long nVertMove ) override;
906  virtual void Scale( double fScaleX, double fScaleY ) override;
907 
908  const Bitmap& GetBitmap() const { return maBmp; }
909  const Color& GetColor() const { return maColor; }
910  const Point& GetPoint() const { return maPt; }
911  const Size& GetSize() const { return maSz; }
912 };
913 
915 {
916 private:
917 
924 
925 public:
929  MetaMaskScalePartAction & operator =(MetaMaskScalePartAction const &) = delete; // due to MetaAction
930  MetaMaskScalePartAction & operator =(MetaMaskScalePartAction &&) = delete; // due to MetaAction
931 protected:
932  virtual ~MetaMaskScalePartAction() override;
933 public:
934  virtual void Execute( OutputDevice* pOut ) override;
935  virtual rtl::Reference<MetaAction> Clone() override;
936  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
937  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
938 
939  MetaMaskScalePartAction( const Point& rDstPt, const Size& rDstSz,
940  const Point& rSrcPt, const Size& rSrcSz,
941  const Bitmap& rBmp,
942  const Color& rColor );
943 
944  virtual void Move( long nHorzMove, long nVertMove ) override;
945  virtual void Scale( double fScaleX, double fScaleY ) override;
946 
947  const Bitmap& GetBitmap() const { return maBmp; }
948  const Color& GetColor() const { return maColor; }
949  const Point& GetDestPoint() const { return maDstPt; }
950  const Size& GetDestSize() const { return maDstSz; }
951  const Point& GetSrcPoint() const { return maSrcPt; }
952  const Size& GetSrcSize() const { return maSrcSz; }
953 };
954 
956 {
957 private:
958 
961 
962 public:
964  MetaGradientAction(MetaGradientAction const &) = default;
966  MetaGradientAction & operator =(MetaGradientAction const &) = delete; // due to MetaAction
967  MetaGradientAction & operator =(MetaGradientAction &&) = delete; // due to MetaAction
968 protected:
969  virtual ~MetaGradientAction() override;
970 public:
971  virtual void Execute( OutputDevice* pOut ) override;
972  virtual rtl::Reference<MetaAction> Clone() override;
973  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
974  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
975 
976  MetaGradientAction( const tools::Rectangle& rRect, const Gradient& rGradient );
977 
978  virtual void Move( long nHorzMove, long nVertMove ) override;
979  virtual void Scale( double fScaleX, double fScaleY ) override;
980 
981  const tools::Rectangle& GetRect() const { return maRect; }
982  const Gradient& GetGradient() const { return maGradient; }
983 };
984 
986 {
987 private:
988 
991 
992 public:
994  MetaGradientExAction(MetaGradientExAction const &) = default;
996  MetaGradientExAction & operator =(MetaGradientExAction const &) = delete; // due to MetaAction
997  MetaGradientExAction & operator =(MetaGradientExAction &&) = delete; // due to MetaAction
998 protected:
999  virtual ~MetaGradientExAction() override;
1000 public:
1001  virtual void Execute( OutputDevice* pOut ) override;
1002  virtual rtl::Reference<MetaAction> Clone() override;
1003  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1004  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1005 
1006  MetaGradientExAction( const tools::PolyPolygon& rPolyPoly, const Gradient& rGradient );
1007 
1008  virtual void Move( long nHorzMove, long nVertMove ) override;
1009  virtual void Scale( double fScaleX, double fScaleY ) override;
1010 
1011  const tools::PolyPolygon& GetPolyPolygon() const { return maPolyPoly; }
1012  const Gradient& GetGradient() const { return maGradient; }
1013 };
1014 
1016 {
1017 private:
1018 
1021 
1022 public:
1023  MetaHatchAction();
1024  MetaHatchAction(MetaHatchAction const &) = default;
1025  MetaHatchAction(MetaHatchAction &&) = default;
1026  MetaHatchAction & operator =(MetaHatchAction const &) = delete; // due to MetaAction
1027  MetaHatchAction & operator =(MetaHatchAction &&) = delete; // due to MetaAction
1028 protected:
1029  virtual ~MetaHatchAction() override;
1030 public:
1031  virtual void Execute( OutputDevice* pOut ) override;
1032  virtual rtl::Reference<MetaAction> Clone() override;
1033  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1034  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1035 
1036  MetaHatchAction( const tools::PolyPolygon& rPolyPoly, const Hatch& rHatch );
1037 
1038  virtual void Move( long nHorzMove, long nVertMove ) override;
1039  virtual void Scale( double fScaleX, double fScaleY ) override;
1040 
1041  const tools::PolyPolygon& GetPolyPolygon() const { return maPolyPoly; }
1042  const Hatch& GetHatch() const { return maHatch; }
1043 };
1044 
1046 {
1047 private:
1048 
1051 
1052 public:
1054  MetaWallpaperAction(MetaWallpaperAction const &) = default;
1056  MetaWallpaperAction & operator =(MetaWallpaperAction const &) = delete; // due to MetaAction
1057  MetaWallpaperAction & operator =(MetaWallpaperAction &&) = delete; // due to MetaAction
1058 protected:
1059  virtual ~MetaWallpaperAction() override;
1060 public:
1061  virtual void Execute( OutputDevice* pOut ) override;
1062  virtual rtl::Reference<MetaAction> Clone() override;
1063  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1064  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1065 
1066  MetaWallpaperAction( const tools::Rectangle& rRect,
1067  const Wallpaper& rPaper );
1068 
1069  virtual void Move( long nHorzMove, long nVertMove ) override;
1070  virtual void Scale( double fScaleX, double fScaleY ) override;
1071 
1072  const tools::Rectangle& GetRect() const { return maRect; }
1073  const Wallpaper& GetWallpaper() const { return maWallpaper; }
1074 };
1075 
1077 {
1078 private:
1079 
1081  bool mbClip;
1082 
1083 public:
1085  MetaClipRegionAction(MetaClipRegionAction const &) = default;
1087  MetaClipRegionAction & operator =(MetaClipRegionAction const &) = delete; // due to MetaAction
1088  MetaClipRegionAction & operator =(MetaClipRegionAction &&) = delete; // due to MetaAction
1089 protected:
1090  virtual ~MetaClipRegionAction() override;
1091 public:
1092  virtual void Execute( OutputDevice* pOut ) override;
1093  virtual rtl::Reference<MetaAction> Clone() override;
1094  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1095  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1096 
1097  MetaClipRegionAction( const vcl::Region& rRegion, bool bClip );
1098 
1099  virtual void Move( long nHorzMove, long nVertMove ) override;
1100  virtual void Scale( double fScaleX, double fScaleY ) override;
1101 
1102  const vcl::Region& GetRegion() const { return maRegion; }
1103  bool IsClipping() const { return mbClip; }
1104 };
1105 
1107 {
1108 private:
1109 
1111 
1112 public:
1116  MetaISectRectClipRegionAction & operator =(MetaISectRectClipRegionAction const &) = delete; // due to MetaAction
1117  MetaISectRectClipRegionAction & operator =(MetaISectRectClipRegionAction &&) = delete; // due to MetaAction
1118 protected:
1119  virtual ~MetaISectRectClipRegionAction() override;
1120 public:
1121  virtual void Execute( OutputDevice* pOut ) override;
1122  virtual rtl::Reference<MetaAction> Clone() override;
1123  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1124  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1125 
1127 
1128  virtual void Move( long nHorzMove, long nVertMove ) override;
1129  virtual void Scale( double fScaleX, double fScaleY ) override;
1130 
1131  const tools::Rectangle& GetRect() const { return maRect; }
1132 };
1133 
1135 {
1136 private:
1137 
1139 
1140 public:
1144  MetaISectRegionClipRegionAction & operator =(MetaISectRegionClipRegionAction const &) = delete; // due to MetaAction
1146 protected:
1147  virtual ~MetaISectRegionClipRegionAction() override;
1148 public:
1149  virtual void Execute( OutputDevice* pOut ) override;
1150  virtual rtl::Reference<MetaAction> Clone() override;
1151  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1152  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1153 
1154  explicit MetaISectRegionClipRegionAction( const vcl::Region& );
1155 
1156  virtual void Move( long nHorzMove, long nVertMove ) override;
1157  virtual void Scale( double fScaleX, double fScaleY ) override;
1158 
1159  const vcl::Region& GetRegion() const { return maRegion; }
1160 };
1161 
1163 {
1164 private:
1165 
1168 
1169 public:
1173  MetaMoveClipRegionAction & operator =(MetaMoveClipRegionAction const &) = delete; // due to MetaAction
1174  MetaMoveClipRegionAction & operator =(MetaMoveClipRegionAction &&) = delete; // due to MetaAction
1175 protected:
1176  virtual ~MetaMoveClipRegionAction() override;
1177 public:
1178  virtual void Execute( OutputDevice* pOut ) override;
1179  virtual rtl::Reference<MetaAction> Clone() override;
1180  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1181  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1182 
1183  MetaMoveClipRegionAction( long nHorzMove, long nVertMove );
1184 
1185  virtual void Scale( double fScaleX, double fScaleY ) override;
1186 
1187  long GetHorzMove() const { return mnHorzMove; }
1188  long GetVertMove() const { return mnVertMove; }
1189 };
1190 
1192 {
1193 private:
1194 
1196  bool mbSet;
1197 
1198 public:
1200  MetaLineColorAction(MetaLineColorAction const &) = default;
1202  MetaLineColorAction & operator =(MetaLineColorAction const &) = delete; // due to MetaAction
1203  MetaLineColorAction & operator =(MetaLineColorAction &&) = delete; // due to MetaAction
1204 protected:
1205  virtual ~MetaLineColorAction() override;
1206 public:
1207  virtual void Execute( OutputDevice* pOut ) override;
1208  virtual rtl::Reference<MetaAction> Clone() override;
1209  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1210  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1211 
1212  MetaLineColorAction( const Color& rColor, bool bSet );
1213 
1214  const Color& GetColor() const { return maColor; }
1215  bool IsSetting() const { return mbSet; }
1216 };
1217 
1219 {
1220 private:
1221 
1223  bool mbSet;
1224 
1225 public:
1227  MetaFillColorAction(MetaFillColorAction const &) = default;
1229  MetaFillColorAction & operator =(MetaFillColorAction const &) = delete; // due to MetaAction
1230  MetaFillColorAction & operator =(MetaFillColorAction &&) = delete; // due to MetaAction
1231 protected:
1232  virtual ~MetaFillColorAction() override;
1233 public:
1234  virtual void Execute( OutputDevice* pOut ) override;
1235  virtual rtl::Reference<MetaAction> Clone() override;
1236  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1237  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1238 
1239  MetaFillColorAction( const Color& rColor, bool bSet );
1240 
1241  const Color& GetColor() const { return maColor; }
1242  bool IsSetting() const { return mbSet; }
1243 };
1244 
1246 {
1247 private:
1248 
1250 
1251 public:
1253  MetaTextColorAction(MetaTextColorAction const &) = default;
1255  MetaTextColorAction & operator =(MetaTextColorAction const &) = delete; // due to MetaAction
1256  MetaTextColorAction & operator =(MetaTextColorAction &&) = delete; // due to MetaAction
1257 protected:
1258  virtual ~MetaTextColorAction() override;
1259 public:
1260  virtual void Execute( OutputDevice* pOut ) override;
1261  virtual rtl::Reference<MetaAction> Clone() override;
1262  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1263  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1264 
1265  explicit MetaTextColorAction( const Color& );
1266 
1267  const Color& GetColor() const { return maColor; }
1268 };
1269 
1271 {
1272 private:
1273 
1275  bool mbSet;
1276 
1277 public:
1281  MetaTextFillColorAction & operator =(MetaTextFillColorAction const &) = delete; // due to MetaAction
1282  MetaTextFillColorAction & operator =(MetaTextFillColorAction &&) = delete; // due to MetaAction
1283 protected:
1284  virtual ~MetaTextFillColorAction() override;
1285 public:
1286  virtual void Execute( OutputDevice* pOut ) override;
1287  virtual rtl::Reference<MetaAction> Clone() override;
1288  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1289  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1290 
1291  MetaTextFillColorAction( const Color& rColor, bool bSet );
1292 
1293  const Color& GetColor() const { return maColor; }
1294  bool IsSetting() const { return mbSet; }
1295 };
1296 
1298 {
1299 private:
1300 
1302  bool mbSet;
1303 
1304 public:
1308  MetaTextLineColorAction & operator =(MetaTextLineColorAction const &) = delete; // due to MetaAction
1309  MetaTextLineColorAction & operator =(MetaTextLineColorAction &&) = delete; // due to MetaAction
1310 protected:
1311  virtual ~MetaTextLineColorAction() override;
1312 public:
1313  virtual void Execute( OutputDevice* pOut ) override;
1314  virtual rtl::Reference<MetaAction> Clone() override;
1315  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1316  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1317 
1318  MetaTextLineColorAction( const Color& rColor, bool bSet );
1319 
1320  const Color& GetColor() const { return maColor; }
1321  bool IsSetting() const { return mbSet; }
1322 };
1323 
1325 {
1326 private:
1327 
1329  bool mbSet;
1330 
1331 public:
1335  MetaOverlineColorAction & operator =(MetaOverlineColorAction const &) = delete; // due to MetaAction
1336  MetaOverlineColorAction & operator =(MetaOverlineColorAction &&) = delete; // due to MetaAction
1337 protected:
1338  virtual ~MetaOverlineColorAction() override;
1339 public:
1340  virtual void Execute( OutputDevice* pOut ) override;
1341  virtual rtl::Reference<MetaAction> Clone() override;
1342  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1343  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1344 
1345  MetaOverlineColorAction( const Color& rColor, bool bSet );
1346 
1347  const Color& GetColor() const { return maColor; }
1348  bool IsSetting() const { return mbSet; }
1349 };
1350 
1352 {
1353 private:
1354 
1356 
1357 public:
1359  MetaTextAlignAction(MetaTextAlignAction const &) = default;
1361  MetaTextAlignAction & operator =(MetaTextAlignAction const &) = delete; // due to MetaAction
1362  MetaTextAlignAction & operator =(MetaTextAlignAction &&) = delete; // due to MetaAction
1363 protected:
1364  virtual ~MetaTextAlignAction() override;
1365 public:
1366  virtual void Execute( OutputDevice* pOut ) override;
1367  virtual rtl::Reference<MetaAction> Clone() override;
1368  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1369  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1370 
1371  explicit MetaTextAlignAction( TextAlign eAlign );
1372 
1373  TextAlign GetTextAlign() const { return maAlign; }
1374 };
1375 
1377 {
1378 private:
1379 
1381 
1382 public:
1384  MetaMapModeAction(MetaMapModeAction const &) = default;
1385  MetaMapModeAction(MetaMapModeAction &&) = default;
1386  MetaMapModeAction & operator =(MetaMapModeAction const &) = delete; // due to MetaAction
1387  MetaMapModeAction & operator =(MetaMapModeAction &&) = delete; // due to MetaAction
1388 protected:
1389  virtual ~MetaMapModeAction() override;
1390 public:
1391  virtual void Execute( OutputDevice* pOut ) override;
1392  virtual rtl::Reference<MetaAction> Clone() override;
1393  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1394  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1395 
1396  explicit MetaMapModeAction( const MapMode& );
1397 
1398  virtual void Scale( double fScaleX, double fScaleY ) override;
1399 
1400  const MapMode& GetMapMode() const { return maMapMode; }
1401 };
1402 
1404 {
1405 private:
1406 
1408 
1409 public:
1410  MetaFontAction();
1411  MetaFontAction(MetaFontAction const &) = default;
1412  MetaFontAction(MetaFontAction &&) = default;
1413  MetaFontAction & operator =(MetaFontAction const &) = delete; // due to MetaAction
1414  MetaFontAction & operator =(MetaFontAction &&) = delete; // due to MetaAction
1415 protected:
1416  virtual ~MetaFontAction() override;
1417 public:
1418  virtual void Execute( OutputDevice* pOut ) override;
1419  virtual rtl::Reference<MetaAction> Clone() override;
1420  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1421  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1422 
1423  explicit MetaFontAction( const vcl::Font& );
1424 
1425  virtual void Scale( double fScaleX, double fScaleY ) override;
1426 
1427  const vcl::Font& GetFont() const { return maFont; }
1428 };
1429 
1431 {
1432 private:
1433 
1435 
1436 public:
1437  MetaPushAction();
1438  MetaPushAction(MetaPushAction const &) = default;
1439  MetaPushAction(MetaPushAction &&) = default;
1440  MetaPushAction & operator =(MetaPushAction const &) = delete; // due to MetaAction
1441  MetaPushAction & operator =(MetaPushAction &&) = delete; // due to MetaAction
1442 protected:
1443  virtual ~MetaPushAction() override;
1444 public:
1445  virtual void Execute( OutputDevice* pOut ) override;
1446  virtual rtl::Reference<MetaAction> Clone() override;
1447  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1448  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1449 
1450  explicit MetaPushAction( PushFlags nFlags );
1451 
1452  PushFlags GetFlags() const { return mnFlags; }
1453 };
1454 
1456 {
1457 public:
1458 
1459  MetaPopAction();
1460  MetaPopAction(MetaPopAction const &) = default;
1461  MetaPopAction(MetaPopAction &&) = default;
1462  MetaPopAction & operator =(MetaPopAction const &) = delete; // due to MetaAction
1463  MetaPopAction & operator =(MetaPopAction &&) = delete; // due to MetaAction
1464 protected:
1465  virtual ~MetaPopAction() override;
1466 public:
1467  virtual void Execute( OutputDevice* pOut ) override;
1468  virtual rtl::Reference<MetaAction> Clone() override;
1469  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1470  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1471 };
1472 
1474 {
1475 private:
1476 
1478 
1479 public:
1481  MetaRasterOpAction(MetaRasterOpAction const &) = default;
1482  MetaRasterOpAction(MetaRasterOpAction &&) = default;
1483  MetaRasterOpAction & operator =(MetaRasterOpAction const &) = delete; // due to MetaAction
1484  MetaRasterOpAction & operator =(MetaRasterOpAction &&) = delete; // due to MetaAction
1485 protected:
1486  virtual ~MetaRasterOpAction() override;
1487 public:
1488  virtual void Execute( OutputDevice* pOut ) override;
1489  virtual rtl::Reference<MetaAction> Clone() override;
1490  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1491  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1492 
1493  explicit MetaRasterOpAction( RasterOp eRasterOp );
1494 
1495  RasterOp GetRasterOp() const { return meRasterOp; }
1496 };
1497 
1499 {
1500 private:
1501 
1503  sal_uInt16 mnTransPercent;
1504 
1505 public:
1507  MetaTransparentAction(MetaTransparentAction const &) = default;
1509  MetaTransparentAction & operator =(MetaTransparentAction const &) = delete; // due to MetaAction
1510  MetaTransparentAction & operator =(MetaTransparentAction &&) = delete; // due to MetaAction
1511 protected:
1512  virtual ~MetaTransparentAction() override;
1513 public:
1514  virtual void Execute( OutputDevice* pOut ) override;
1515  virtual rtl::Reference<MetaAction> Clone() override;
1516  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1517  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1518 
1519  MetaTransparentAction( const tools::PolyPolygon& rPolyPoly, sal_uInt16 nTransPercent );
1520 
1521  virtual void Move( long nHorzMove, long nVertMove ) override;
1522  virtual void Scale( double fScaleX, double fScaleY ) override;
1523 
1524  const tools::PolyPolygon& GetPolyPolygon() const { return maPolyPoly; }
1525  sal_uInt16 GetTransparence() const { return mnTransPercent; }
1526 };
1527 
1529 {
1530 private:
1531 
1536 
1537 public:
1541  MetaFloatTransparentAction & operator =(MetaFloatTransparentAction const &) = delete; // due to MetaAction
1542  MetaFloatTransparentAction & operator =(MetaFloatTransparentAction &&) = delete; // due to MetaAction
1543 protected:
1544  virtual ~MetaFloatTransparentAction() override;
1545 public:
1546  virtual void Execute( OutputDevice* pOut ) override;
1547  virtual rtl::Reference<MetaAction> Clone() override;
1548  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1549  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1550 
1551  MetaFloatTransparentAction( const GDIMetaFile& rMtf, const Point& rPos,
1552  const Size& rSize, const Gradient& rGradient );
1553 
1554  virtual void Move( long nHorzMove, long nVertMove ) override;
1555  virtual void Scale( double fScaleX, double fScaleY ) override;
1556 
1557  const GDIMetaFile& GetGDIMetaFile() const { return maMtf; }
1558  const Point& GetPoint() const { return maPoint; }
1559  const Size& GetSize() const { return maSize; }
1560  const Gradient& GetGradient() const { return maGradient; }
1561 };
1562 
1564 {
1565 private:
1566 
1571 
1572 public:
1573  MetaEPSAction();
1574  MetaEPSAction(MetaEPSAction const &) = default;
1575  MetaEPSAction(MetaEPSAction &&) = default;
1576  MetaEPSAction & operator =(MetaEPSAction const &) = delete; // due to MetaAction
1577  MetaEPSAction & operator =(MetaEPSAction &&) = delete; // due to MetaAction
1578 protected:
1579  virtual ~MetaEPSAction() override;
1580 public:
1581  virtual void Execute( OutputDevice* pOut ) override;
1582  virtual rtl::Reference<MetaAction> Clone() override;
1583  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1584  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1585 
1586  MetaEPSAction( const Point& rPoint, const Size& rSize,
1587  const GfxLink& rGfxLink, const GDIMetaFile& rSubst );
1588 
1589  virtual void Move( long nHorzMove, long nVertMove ) override;
1590  virtual void Scale( double fScaleX, double fScaleY ) override;
1591 
1592  const GfxLink& GetLink() const { return maGfxLink; }
1593  const GDIMetaFile& GetSubstitute() const { return maSubst; }
1594  const Point& GetPoint() const { return maPoint; }
1595  const Size& GetSize() const { return maSize; }
1596 };
1597 
1599 {
1600 private:
1601 
1603  bool mbSet;
1604 
1605 public:
1607  MetaRefPointAction(MetaRefPointAction const &) = default;
1608  MetaRefPointAction(MetaRefPointAction &&) = default;
1609  MetaRefPointAction & operator =(MetaRefPointAction const &) = delete; // due to MetaAction
1610  MetaRefPointAction & operator =(MetaRefPointAction &&) = delete; // due to MetaAction
1611 protected:
1612  virtual ~MetaRefPointAction() override;
1613 public:
1614  virtual void Execute( OutputDevice* pOut ) override;
1615  virtual rtl::Reference<MetaAction> Clone() override;
1616  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1617  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1618 
1619  MetaRefPointAction( const Point& rRefPoint, bool bSet );
1620 
1621  const Point& GetRefPoint() const { return maRefPoint; }
1622  bool IsSetting() const { return mbSet; }
1623 };
1624 
1626 {
1627 private:
1628 
1629  OString maComment;
1630  sal_Int32 mnValue;
1631  sal_uInt32 mnDataSize;
1632  std::unique_ptr<sal_uInt8[]>
1634 
1635  SAL_DLLPRIVATE void ImplInitDynamicData( const sal_uInt8* pData, sal_uInt32 nDataSize );
1636 
1637 protected:
1638  virtual ~MetaCommentAction() override;
1639 
1640 public:
1641  explicit MetaCommentAction();
1642  explicit MetaCommentAction( const MetaCommentAction& rAct );
1643  explicit MetaCommentAction( const OString& rComment, sal_Int32 nValue = 0, const sal_uInt8* pData = nullptr, sal_uInt32 nDataSize = 0 );
1644 
1645  virtual void Move( long nHorzMove, long nVertMove ) override;
1646  virtual void Scale( double fScaleX, double fScaleY ) override;
1647 
1648  virtual void Execute( OutputDevice* pOut ) override;
1649  virtual rtl::Reference<MetaAction> Clone() override;
1650  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1651  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1652 
1653  const OString& GetComment() const { return maComment; }
1654  sal_Int32 GetValue() const { return mnValue; }
1655  sal_uInt32 GetDataSize() const { return mnDataSize; }
1656  const sal_uInt8* GetData() const { return mpData.get(); }
1657 };
1658 
1660 {
1661 private:
1662 
1664 
1665 public:
1667  MetaLayoutModeAction(MetaLayoutModeAction const &) = default;
1669  MetaLayoutModeAction & operator =(MetaLayoutModeAction const &) = delete; // due to MetaAction
1670  MetaLayoutModeAction & operator =(MetaLayoutModeAction &&) = delete; // due to MetaAction
1671 protected:
1672  virtual ~MetaLayoutModeAction() override;
1673 public:
1674  virtual void Execute( OutputDevice* pOut ) override;
1675  virtual rtl::Reference<MetaAction> Clone() override;
1676  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1677  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1678 
1679  explicit MetaLayoutModeAction( ComplexTextLayoutFlags nLayoutMode );
1680 
1681  ComplexTextLayoutFlags GetLayoutMode() const { return mnLayoutMode; }
1682 };
1683 
1685 {
1686 private:
1687 
1689 
1690 public:
1694  MetaTextLanguageAction & operator =(MetaTextLanguageAction const &) = delete; // due to MetaAction
1695  MetaTextLanguageAction & operator =(MetaTextLanguageAction &&) = delete; // due to MetaAction
1696 protected:
1697  virtual ~MetaTextLanguageAction() override;
1698 public:
1699  virtual void Execute( OutputDevice* pOut ) override;
1700  virtual rtl::Reference<MetaAction> Clone() override;
1701  virtual void Write( SvStream& rOStm, ImplMetaWriteData* pData ) override;
1702  virtual void Read( SvStream& rIStm, ImplMetaReadData* pData ) override;
1703 
1705 
1706  LanguageType GetTextLanguage() const { return meTextLanguage; }
1707 };
1708 
1709 #endif // INCLUDED_VCL_METAACT_HXX
1710 
1711 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const Gradient & GetGradient() const
Definition: metaact.hxx:1560
virtual void Execute(OutputDevice *pOut)
Definition: metaact.cxx:168
const LineInfo & GetLineInfo() const
Definition: metaact.hxx:182
GfxLink maGfxLink
Definition: metaact.hxx:1567
DrawTextFlags GetStyle() const
Definition: metaact.hxx:601
const Size & GetDestSize() const
Definition: metaact.hxx:950
Definition: hatch.hxx:44
GDIMetaFile maSubst
Definition: metaact.hxx:1568
const LineInfo & GetLineInfo() const
Definition: metaact.hxx:401
bool IsClipping() const
Definition: metaact.hxx:1103
const Color & GetColor() const
Definition: metaact.hxx:1347
sal_Int32 GetValue() const
Definition: metaact.hxx:1654
const Bitmap & GetBitmap() const
Definition: metaact.hxx:908
sal_Int32 GetLen() const
Definition: metaact.hxx:492
const Point & GetPoint() const
Definition: metaact.hxx:701
LanguageType GetTextLanguage() const
Definition: metaact.hxx:1706
rtl_TextEncoding meActualCharSet
Definition: metaact.hxx:46
Bitmap maBmp
Definition: metaact.hxx:848
const Point & GetEndPoint() const
Definition: metaact.hxx:337
const GDIMetaFile & GetGDIMetaFile() const
Definition: metaact.hxx:1557
const Point & GetSrcPoint() const
Definition: metaact.hxx:739
sal_uInt32 GetVertRound() const
Definition: metaact.hxx:243
const tools::PolyPolygon & GetPolyPolygon() const
Definition: metaact.hxx:1011
Point maEndPt
Definition: metaact.hxx:313
bool IsSetting() const
Definition: metaact.hxx:1294
const Point & GetPoint() const
Definition: metaact.hxx:526
const tools::Rectangle & GetRect() const
Definition: metaact.hxx:241
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
Point maStartPt
Definition: metaact.hxx:312
OUString maStr
Definition: metaact.hxx:465
tools::Rectangle maRect
Definition: metaact.hxx:1049
const Point & GetPoint() const
Definition: metaact.hxx:1594
sal_Int32 mnIndex
Definition: metaact.hxx:466
const Point & GetPoint() const
Definition: metaact.hxx:1558
DrawTextFlags mnStyle
Definition: metaact.hxx:577
const Size & GetSize() const
Definition: metaact.hxx:702
const tools::PolyPolygon & GetPolyPolygon() const
Definition: metaact.hxx:1524
sal_Int32 GetIndex() const
Definition: metaact.hxx:528
tools::PolyPolygon maPolyPoly
Definition: metaact.hxx:436
const Point & GetEndPoint() const
Definition: metaact.hxx:181
const OUString & GetText() const
Definition: metaact.hxx:565
tools::Polygon maPoly
Definition: metaact.hxx:408
Point maEndPt
Definition: metaact.hxx:280
const Size & GetSrcSize() const
Definition: metaact.hxx:740
const Point & GetPoint() const
Definition: metaact.hxx:910
RasterOp GetRasterOp() const
Definition: metaact.hxx:1495
sal_uInt32 mnHorzRound
Definition: metaact.hxx:218
const sal_uInt8 * GetData() const
Definition: metaact.hxx:1656
LineInfo maLineInfo
Definition: metaact.hxx:377
Color const maColor
Definition: metaact.hxx:883
const Point & GetPoint() const
Definition: metaact.hxx:802
const OUString & GetText() const
Definition: metaact.hxx:490
const Color & GetColor() const
Definition: metaact.hxx:874
RasterOp
Definition: vclenum.hxx:191
std::unique_ptr< long[]> mpDXAry
Definition: metaact.hxx:502
const Bitmap & GetBitmap() const
Definition: metaact.hxx:668
long GetWidth() const
Definition: metaact.hxx:636
const vcl::Region & GetRegion() const
Definition: metaact.hxx:1102
oslInterlockedCount GetRefCount() const
Definition: metaact.hxx:79
ComplexTextLayoutFlags mnLayoutMode
Definition: metaact.hxx:1663
const Gradient & GetGradient() const
Definition: metaact.hxx:982
const Point & GetStartPoint() const
Definition: metaact.hxx:303
const Color & GetColor() const
Definition: metaact.hxx:1214
PushFlags
Definition: outdevstate.hxx:38
MetaActionType
const tools::Rectangle & GetRect() const
Definition: metaact.hxx:1131
const tools::PolyPolygon & GetPolyPolygon() const
Definition: metaact.hxx:457
tools::PolyPolygon maPolyPoly
Definition: metaact.hxx:1502
const Size & GetSize() const
Definition: metaact.hxx:803
const tools::Rectangle & GetRect() const
Definition: metaact.hxx:271
FontLineStyle GetUnderline() const
Definition: metaact.hxx:638
const tools::Polygon & GetPolygon() const
Definition: metaact.hxx:429
tools::Rectangle maRect
Definition: metaact.hxx:575
sal_uInt32 GetHorzRound() const
Definition: metaact.hxx:242
const vcl::Region & GetRegion() const
Definition: metaact.hxx:1159
Gradient maGradient
Definition: metaact.hxx:960
const Size & GetSrcSize() const
Definition: metaact.hxx:952
FontStrikeout meStrikeout
Definition: metaact.hxx:610
sal_uInt32 mnDataSize
Definition: metaact.hxx:1631
const tools::Rectangle & GetRect() const
Definition: metaact.hxx:210
FontLineStyle meOverline
Definition: metaact.hxx:612
Bitmap maBmp
Definition: metaact.hxx:646
std::unique_ptr< sal_uInt8[]> mpData
Definition: metaact.hxx:1633
sal_Int32 mnValue
Definition: metaact.hxx:1630
const tools::Polygon & GetPolygon() const
Definition: metaact.hxx:400
Reference< XAnimationNode > Clone(const Reference< XAnimationNode > &xSourceNode, const SdPage *pSource, const SdPage *pTarget)
sal_Int32 mnLen
Definition: metaact.hxx:467
sal_uInt16 GetTransparence() const
Definition: metaact.hxx:1525
const BitmapEx & GetBitmapEx() const
Definition: metaact.hxx:837
virtual void Scale(double fScaleX, double fScaleY)
Definition: metaact.cxx:181
Point maStartPt
Definition: metaact.hxx:156
const Size & GetSize() const
Definition: metaact.hxx:911
const Point & GetDestPoint() const
Definition: metaact.hxx:838
const MapMode & GetMapMode() const
Definition: metaact.hxx:1400
const Point & GetPoint() const
Definition: metaact.hxx:489
bool IsSetting() const
Definition: metaact.hxx:1215
Point maStartPt
Definition: metaact.hxx:279
ComplexTextLayoutFlags
Definition: outdevstate.hxx:66
const BitmapEx & GetBitmapEx() const
Definition: metaact.hxx:769
virtual rtl::Reference< MetaAction > Clone()
Definition: metaact.cxx:172
const tools::Rectangle & GetRect() const
Definition: metaact.hxx:981
const OUString & GetText() const
Definition: metaact.hxx:527
const Bitmap & GetBitmap() const
Definition: metaact.hxx:736
const Color & GetColor() const
Definition: metaact.hxx:1293
const Size & GetSize() const
Definition: metaact.hxx:1559
sal_uInt32 GetWidth() const
Definition: metaact.hxx:566
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
Definition: outdev.hxx:304
rtl_TextEncoding meActualCharSet
Definition: metaact.hxx:57
long * GetDXArray() const
Definition: metaact.hxx:530
const Point & GetEndPoint() const
Definition: metaact.hxx:304
const OUString & GetText() const
Definition: metaact.hxx:600
const Point & GetStartPoint() const
Definition: metaact.hxx:369
const Point & GetSrcPoint() const
Definition: metaact.hxx:840
sal_Int32 GetLen() const
Definition: metaact.hxx:568
const Point & GetPoint() const
Definition: metaact.hxx:770
const Bitmap & GetBitmap() const
Definition: metaact.hxx:873
Wallpaper maWallpaper
Definition: metaact.hxx:1050
DrawTextFlags
Definition: outdev.hxx:144
vcl::Region maRegion
Definition: metaact.hxx:1080
const Bitmap & GetBitmap() const
Definition: metaact.hxx:947
const Point & GetPoint() const
Definition: metaact.hxx:875
FontStrikeout GetStrikeout() const
Definition: metaact.hxx:637
void operator=(SimpleReferenceObject) SAL_DELETED_FUNCTION
const Size & GetSize() const
Definition: metaact.hxx:1595
tools::Rectangle maRect
Definition: metaact.hxx:311
virtual void Read(SvStream &rIStm, ImplMetaReadData *pData)
Definition: metaact.cxx:190
const Bitmap & GetBitmap() const
Definition: metaact.hxx:700
const Point & GetDestPoint() const
Definition: metaact.hxx:737
const tools::Rectangle & GetRect() const
Definition: metaact.hxx:302
const Size & GetDestSize() const
Definition: metaact.hxx:738
PushFlags GetFlags() const
Definition: metaact.hxx:1452
const tools::Rectangle & GetRect() const
Definition: metaact.hxx:368
const tools::PolyPolygon & GetPolyPolygon() const
Definition: metaact.hxx:1041
const GfxLink & GetLink() const
Definition: metaact.hxx:1592
const Point & GetPoint() const
Definition: metaact.hxx:564
bool IsSetting() const
Definition: metaact.hxx:1348
bool IsSetting() const
Definition: metaact.hxx:1242
tools::Rectangle maRect
Definition: metaact.hxx:189
bool IsSetting() const
Definition: metaact.hxx:1321
const Color & GetColor() const
Definition: metaact.hxx:1267
MetaActionType const mnType
Definition: metaact.hxx:67
const Color & GetColor() const
Definition: metaact.hxx:909
const Point & GetStartPoint() const
Definition: metaact.hxx:180
tools::Rectangle maRect
Definition: metaact.hxx:344
const tools::Rectangle & GetRect() const
Definition: metaact.hxx:1072
sal_uInt32 GetDataSize() const
Definition: metaact.hxx:1655
const BitmapEx & GetBitmapEx() const
Definition: metaact.hxx:801
bool IsSetting() const
Definition: metaact.hxx:1622
const Point & GetStartPoint() const
Definition: metaact.hxx:336
tools::PolyPolygon maPolyPoly
Definition: metaact.hxx:989
tools::Rectangle maRect
Definition: metaact.hxx:250
const Point & GetPoint() const
Definition: metaact.hxx:120
BitmapEx maBmpEx
Definition: metaact.hxx:747
const Size & GetSrcSize() const
Definition: metaact.hxx:841
const Color & GetColor() const
Definition: metaact.hxx:948
unsigned char sal_uInt8
vcl::Font maFont
Definition: metaact.hxx:1407
const Point & GetStartPoint() const
Definition: metaact.hxx:635
LineInfo maLineInfo
Definition: metaact.hxx:155
const Gradient & GetGradient() const
Definition: metaact.hxx:1012
const Point & GetPoint() const
Definition: metaact.hxx:148
tools::PolyPolygon maPolyPoly
Definition: metaact.hxx:1019
const Point & GetPoint() const
Definition: metaact.hxx:669
const Point & GetDestPoint() const
Definition: metaact.hxx:949
oslInterlockedCount m_nCount
sal_uInt32 mnVertRound
Definition: metaact.hxx:219
PushFlags mnFlags
Definition: metaact.hxx:1434
tools::Rectangle maRect
Definition: metaact.hxx:959
LanguageType meTextLanguage
Definition: metaact.hxx:1688
const Wallpaper & GetWallpaper() const
Definition: metaact.hxx:1073
MetaActionType GetType() const
Definition: metaact.hxx:89
sal_Int32 mnIndex
Definition: metaact.hxx:503
ComplexTextLayoutFlags GetLayoutMode() const
Definition: metaact.hxx:1681
const Color & GetColor() const
Definition: metaact.hxx:1320
long GetHorzMove() const
Definition: metaact.hxx:1187
const Point & GetEndPoint() const
Definition: metaact.hxx:370
const Hatch & GetHatch() const
Definition: metaact.hxx:1042
const Point & GetSrcPoint() const
Definition: metaact.hxx:951
FontLineStyle GetOverline() const
Definition: metaact.hxx:639
sal_uInt16 mnTransPercent
Definition: metaact.hxx:1503
sal_uInt32 mnWidth
Definition: metaact.hxx:539
const Color & GetColor() const
Definition: metaact.hxx:121
const tools::Rectangle & GetRect() const
Definition: metaact.hxx:335
long GetVertMove() const
Definition: metaact.hxx:1188
const Point & GetRefPoint() const
Definition: metaact.hxx:1621
RasterOp meRasterOp
Definition: metaact.hxx:1477
tools::Rectangle maRect
Definition: metaact.hxx:217
const OString & GetComment() const
Definition: metaact.hxx:1653
TextAlign GetTextAlign() const
Definition: metaact.hxx:1373
virtual void Move(long nHorzMove, long nVertMove)
Definition: metaact.cxx:177
sal_Int32 GetLen() const
Definition: metaact.hxx:529
const Size & GetDestSize() const
Definition: metaact.hxx:839
const Color & GetColor() const
Definition: metaact.hxx:1241
FontLineStyle
virtual void Write(SvStream &rOStm, ImplMetaWriteData *pData)
Definition: metaact.cxx:185
const GDIMetaFile & GetSubstitute() const
Definition: metaact.hxx:1593
tools::Rectangle maRect
Definition: metaact.hxx:278
const vcl::Font & GetFont() const
Definition: metaact.hxx:1427
const tools::Rectangle & GetRect() const
Definition: metaact.hxx:599
FontLineStyle meUnderline
Definition: metaact.hxx:611
sal_Int32 GetIndex() const
Definition: metaact.hxx:567
FontStrikeout
sal_Int32 GetIndex() const
Definition: metaact.hxx:491
tools::Polygon maPoly
Definition: metaact.hxx:378
TextAlign
Color const maColor
Definition: metaact.hxx:849