20#ifndef INCLUDED_VCL_METAACT_HXX
21#define INCLUDED_VCL_METAACT_HXX
25#include <config_options.h>
93 virtual void Scale(
double fScaleX,
double fScaleY );
123 virtual void Scale(
double fScaleX,
double fScaleY )
override;
151 virtual void Scale(
double fScaleX,
double fScaleY )
override;
182 virtual void Scale(
double fScaleX,
double fScaleY )
override;
213 virtual void Scale(
double fScaleX,
double fScaleY )
override;
240 sal_uInt32 nHorzRound, sal_uInt32 nVertRound );
243 virtual void Scale(
double fScaleX,
double fScaleY )
override;
274 virtual void Scale(
double fScaleX,
double fScaleY )
override;
301 const Point& rStart,
const Point& rEnd );
304 virtual void Scale(
double fScaleX,
double fScaleY )
override;
335 const Point& rStart,
const Point& rEnd );
338 virtual void Scale(
double fScaleX,
double fScaleY )
override;
369 const Point& rStart,
const Point& rEnd );
372 virtual void Scale(
double fScaleX,
double fScaleY )
override;
405 virtual void Scale(
double fScaleX,
double fScaleY )
override;
434 virtual void Scale(
double fScaleX,
double fScaleY )
override;
461 virtual void Scale(
double fScaleX,
double fScaleY )
override;
489 sal_Int32 nIndex, sal_Int32 nLen );
492 virtual void Scale(
double fScaleX,
double fScaleY )
override;
495 const OUString&
GetText()
const {
return maStr; }
497 sal_Int32
GetLen()
const {
return mnLen; }
499 void SetText(
const OUString& rStr) { maStr = rStr; }
501 void SetLen(sal_Int32 rLen) { mnLen = rLen; }
504class UNLESS_MERGELIBS(VCL_DLLPUBLIC) MetaTextArrayAction final :
public MetaAction
511 std::vector<sal_Bool> maKashidaAry;
515 virtual ~MetaTextArrayAction()
override;
518 MetaTextArrayAction();
519 MetaTextArrayAction(
const MetaTextArrayAction& rAction );
520 MetaTextArrayAction(
const Point& rStartPt, OUString aStr,
522 std::vector<sal_Bool> pKashidaAry,
525 MetaTextArrayAction(
const Point& rStartPt, OUString aStr,
536 virtual void Scale(
double fScaleX,
double fScaleY )
override;
538 const Point& GetPoint()
const {
return maStartPt; }
539 const OUString& GetText()
const {
return maStr; }
540 sal_Int32 GetIndex()
const {
return mnIndex; }
541 sal_Int32
GetLen()
const {
return mnLen; }
542 const KernArray& GetDXArray()
const {
return maDXAry; }
543 const std::vector<sal_Bool> & GetKashidaArray()
const {
return maKashidaAry; }
544 void SetPoint(
const Point& rPt) { maStartPt = rPt; }
545 void SetText(
const OUString& rStr) { maStr = rStr; }
546 void SetIndex(sal_Int32 rIndex) {
mnIndex = rIndex; }
547 void SetLen(sal_Int32 rLen) { mnLen = rLen; }
549 void SetKashidaArray(std::vector<sal_Bool> aArray);
576 sal_Int32 nIndex, sal_Int32 nLen );
579 virtual void Scale(
double fScaleX,
double fScaleY )
override;
582 const OUString&
GetText()
const {
return maStr; }
585 sal_Int32
GetLen()
const {
return mnLen; }
587 void SetText(
const OUString& rStr) { maStr = rStr; }
590 void SetLen(sal_uInt32 rLen) { mnLen = rLen; }
617 virtual void Scale(
double fScaleX,
double fScaleY )
override;
620 const OUString&
GetText()
const {
return maStr; }
623 void SetText(
const OUString& rStr) { maStr = rStr; }
654 virtual void Scale(
double fScaleX,
double fScaleY )
override;
690 virtual void Scale(
double fScaleX,
double fScaleY )
override;
722 virtual void Scale(
double fScaleX,
double fScaleY )
override;
732class UNLESS_MERGELIBS(VCL_DLLPUBLIC) MetaBmpScalePartAction final :
public MetaAction
743 MetaBmpScalePartAction();
744 MetaBmpScalePartAction(MetaBmpScalePartAction
const &) =
default;
745 MetaBmpScalePartAction(MetaBmpScalePartAction &&) =
default;
746 MetaBmpScalePartAction &
operator =(MetaBmpScalePartAction
const &) =
delete;
747 MetaBmpScalePartAction &
operator =(MetaBmpScalePartAction &&) =
delete;
749 virtual ~MetaBmpScalePartAction()
override;
754 MetaBmpScalePartAction(
const Point& rDstPt,
const Size& rDstSz,
755 const Point& rSrcPt,
const Size& rSrcSz,
759 virtual void Scale(
double fScaleX,
double fScaleY )
override;
761 const Bitmap& GetBitmap()
const {
return maBmp; }
762 const Point& GetDestPoint()
const {
return maDstPt; }
763 const Size& GetDestSize()
const {
return maDstSz; }
764 const Point& GetSrcPoint()
const {
return maSrcPt; }
765 const Size& GetSrcSize()
const {
return maSrcSz; }
766 void SetBitmap(
const Bitmap& rBmp) { maBmp = rBmp; }
767 void SetDestPoint(
const Point& rPt) { maDstPt = rPt; }
768 void SetDestSize(
const Size& rSz) { maDstSz = rSz; }
769 void SetSrcPoint(
const Point& rPt) { maSrcPt = rPt; }
770 void SetSrcSize(
const Size& rSz) { maSrcSz = rSz; }
795 virtual void Scale(
double fScaleX,
double fScaleY )
override;
828 virtual void Scale(
double fScaleX,
double fScaleY )
override;
839class UNLESS_MERGELIBS(VCL_DLLPUBLIC) MetaBmpExScalePartAction final :
public MetaAction
850 MetaBmpExScalePartAction();
851 MetaBmpExScalePartAction(MetaBmpExScalePartAction
const &) =
default;
852 MetaBmpExScalePartAction(MetaBmpExScalePartAction &&) =
default;
853 MetaBmpExScalePartAction &
operator =(MetaBmpExScalePartAction
const &) =
delete;
854 MetaBmpExScalePartAction &
operator =(MetaBmpExScalePartAction &&) =
delete;
856 virtual ~MetaBmpExScalePartAction()
override;
861 MetaBmpExScalePartAction(
const Point& rDstPt,
const Size& rDstSz,
862 const Point& rSrcPt,
const Size& rSrcSz,
866 virtual void Scale(
double fScaleX,
double fScaleY )
override;
869 const Point& GetDestPoint()
const {
return maDstPt; }
870 const Size& GetDestSize()
const {
return maDstSz; }
871 const Point& GetSrcPoint()
const {
return maSrcPt; }
872 const Size& GetSrcSize()
const {
return maSrcSz; }
873 void SetBitmapEx(
const BitmapEx& rBmpEx) { maBmpEx = rBmpEx; }
874 void SetDestPoint(
const Point& rDstPt) { maDstPt = rDstPt; }
875 void SetDestSize(
const Size& rDstSz) { maDstSz = rDstSz; }
876 void SetSrcPoint(
const Point& rSrcPt) { maSrcPt = rSrcPt; }
877 void SetSrcSize(
const Size& rSrcSz) { maSrcSz = rSrcSz; }
903 const Color& rColor );
906 virtual void Scale(
double fScaleX,
double fScaleY )
override;
938 const Color& rColor );
941 virtual void Scale(
double fScaleX,
double fScaleY )
override;
976 const Point& rSrcPt,
const Size& rSrcSz,
978 const Color& rColor );
981 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1019 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1049 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1079 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1087class UNLESS_MERGELIBS(VCL_DLLPUBLIC) MetaWallpaperAction final :
public MetaAction
1095 MetaWallpaperAction();
1096 MetaWallpaperAction(MetaWallpaperAction
const &) =
default;
1097 MetaWallpaperAction(MetaWallpaperAction &&) =
default;
1098 MetaWallpaperAction &
operator =(MetaWallpaperAction
const &) =
delete;
1099 MetaWallpaperAction &
operator =(MetaWallpaperAction &&) =
delete;
1101 virtual ~MetaWallpaperAction()
override;
1110 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1113 const Wallpaper& GetWallpaper()
const {
return maWallpaper; }
1114 void SetWallpaper(
const Wallpaper& rWallpaper) { maWallpaper = rWallpaper; }
1139 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1168 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1195 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1222 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1435 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1442namespace emfio {
class ScaledFontDetectCorrectHelper; }
1469 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1562 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1597 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1635 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1681 std::unique_ptr<sal_uInt8[]>
1684 SAL_DLLPRIVATE
void ImplInitDynamicData(
const sal_uInt8* pData, sal_uInt32 nDataSize );
1692 explicit MetaCommentAction( OString aComment, sal_Int32 nValue = 0,
const sal_uInt8* pData =
nullptr, sal_uInt32 nDataSize = 0 );
1695 virtual void Scale(
double fScaleX,
double fScaleY )
override;
1706 void SetDataSize(
const sal_Int32 nDataSize) { mnDataSize = nDataSize; }
geometry::RealSize2D maSize
sal_uInt32 GetWidth() const
void SetWidth(sal_uInt32 rWidth)
sal_Int32 GetIndex() const
const OUString & GetText() const
void SetIndex(sal_uInt32 rIndex)
void SetLen(sal_uInt32 rLen)
MetaStretchTextAction(MetaStretchTextAction &&)=default
void SetText(const OUString &rStr)
MetaStretchTextAction(MetaStretchTextAction const &)=default
const Point & GetPoint() const
void SetPoint(const Point &rPt)
const Point & GetPoint() const
MetaTextAction(MetaTextAction const &)=default
void SetIndex(sal_Int32 rIndex)
void SetText(const OUString &rStr)
void SetLen(sal_Int32 rLen)
MetaTextAction(MetaTextAction &&)=default
const OUString & GetText() const
void SetPoint(const Point &rPt)
sal_Int32 GetIndex() const
MetaTextAlignAction(MetaTextAlignAction &&)=default
MetaTextAlignAction(MetaTextAlignAction const &)=default
void SetTextAlign(TextAlign eAlign)
TextAlign GetTextAlign() const
MetaTextColorAction(MetaTextColorAction const &)=default
void SetColor(Color rColor)
MetaTextColorAction(MetaTextColorAction &&)=default
const Color & GetColor() const
void SetColor(Color rColor)
MetaTextFillColorAction(MetaTextFillColorAction &&)=default
MetaTextFillColorAction(MetaTextFillColorAction const &)=default
const Color & GetColor() const
void SetSetting(bool bSet)
MetaTextLanguageAction(MetaTextLanguageAction const &)=default
LanguageType meTextLanguage
LanguageType GetTextLanguage() const
MetaTextLanguageAction(MetaTextLanguageAction &&)=default
void SetTextLanguage(const LanguageType eTextLanguage)
const Point & GetStartPoint() const
tools::Long GetWidth() const
FontLineStyle GetUnderline() const
void SetWidth(tools::Long rWidth)
void SetStartPoint(const Point &rPos)
void SetStrikeout(FontStrikeout eStrikeout)
FontLineStyle GetOverline() const
MetaTextLineAction(MetaTextLineAction &&)=default
FontStrikeout meStrikeout
void SetOverline(FontLineStyle eOverline)
FontLineStyle meUnderline
FontStrikeout GetStrikeout() const
MetaTextLineAction(MetaTextLineAction const &)=default
void SetUnderline(FontLineStyle eUnderline)
MetaTextLineColorAction(MetaTextLineColorAction &&)=default
void SetSetting(bool bSet)
const Color & GetColor() const
MetaTextLineColorAction(MetaTextLineColorAction const &)=default
void SetColor(const Color &rColor)
void SetText(const OUString &rStr)
DrawTextFlags GetStyle() const
MetaTextRectAction(MetaTextRectAction const &)=default
MetaTextRectAction(MetaTextRectAction &&)=default
const tools::Rectangle & GetRect() const
void SetRect(const tools::Rectangle &rRect)
void SetStyle(DrawTextFlags rStyle)
const OUString & GetText() const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
oslInterlockedCount m_nCount
void operator=(SimpleReferenceObject) SAL_DELETED_FUNCTION
void SetAverageFontWidth(tools::Long nWidth)
virtual void SetText(const OUString &rStr) override
std::unique_ptr< sal_Int32[]> pData
css::uno::Reference< css::animations::XAnimationNode > Clone(const css::uno::Reference< css::animations::XAnimationNode > &xSourceNode, const SdPage *pSource=nullptr, const SdPage *pTarget=nullptr)
BitmapEx GetBitmapEx(BitmapEx const &rBitmapEx, DrawModeFlags nDrawMode)
tools::Long GetLen(const Point &rPnt)