25#include <rtl/ustring.hxx>
29#include <com/sun/star/uno/Reference.hxx>
64 bool bUnlimitedSize =
false,
65 bool bAntiAliase =
false,
66 bool bSnapHorVerLines =
false)
67 : maSizePixel(rSizePixel),
68 mbUnlimitedSize(bUnlimitedSize),
69 mbAntiAliase(bAntiAliase),
70 mbSnapHorVerLines(bSnapHorVerLines)
86 SAL_DLLPRIVATE
void ImplTestRefCount();
92 Graphic(std::shared_ptr<GfxLink>
const & rGfxLink, sal_Int32 nPageIndex = 0);
98 Graphic(
const std::shared_ptr<VectorGraphicData>& rVectorGraphicDataPtr );
101 Graphic(
const css::uno::Reference< css::graphic::XGraphic >& rxGraphic );
113 void SetDefaultType();
114 bool IsSupportedGraphic()
const;
116 bool IsTransparent()
const;
117 bool IsAlpha()
const;
118 bool IsAnimated()
const;
121 bool isAvailable()
const;
122 bool makeAvailable();
131 const BitmapEx& GetBitmapExRef()
const;
136 css::uno::Reference< css::graphic::XGraphic > GetXGraphic()
const;
138 Size GetPrefSize()
const;
139 void SetPrefSize(
const Size& rPrefSize );
141 MapMode GetPrefMapMode()
const;
142 void SetPrefMapMode(
const MapMode& rPrefMapMode );
152 const Size& rDestSize)
const;
153 static void DrawEx(
OutputDevice& rOutDev,
const OUString& rText,
155 const Point& rDestPt,
const Size& rDestSize);
158 const Point& rDestPt,
159 const Size& rDestSize,
168 sal_uInt32 GetAnimationLoopCount()
const;
172 OUString getOriginURL()
const;
173 void setOriginURL(OUString
const & rOriginURL);
175 OString getUniqueID()
const;
177 std::shared_ptr<GraphicReader>& GetReaderContext();
178 void SetReaderContext(
const std::shared_ptr<GraphicReader> &pReader );
179 void SetDummyContext(
bool value);
180 bool IsDummyContext()
const;
182 void SetGfxLink(
const std::shared_ptr<GfxLink>& rGfxLink);
183 const std::shared_ptr<GfxLink> & GetSharedGfxLink()
const;
185 bool IsGfxLink()
const;
187 const std::shared_ptr<VectorGraphicData>& getVectorGraphicData()
const;
190 sal_Int32 getPageNumber()
const;
200 return static_cast<std::size_t
>(rGraphic.
GetChecksum());
sal_uInt64 BitmapChecksum
bool getAntiAliase() const
bool getUnlimitedSize() const
const Size & getSizePixel() const
bool getSnapHorVerLines() const
GraphicConversionParameters(const Size &rSizePixel=Size(), bool bUnlimitedSize=false, bool bAntiAliase=false, bool bSnapHorVerLines=false)
std::shared_ptr< ImpGraphic > mxImpGraphic
BitmapChecksum GetChecksum() const
SAL_DLLPRIVATE ImpGraphic * ImplGetImpGraphic() const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
void Clear(EHistoryType eHistory)
BitmapEx GetBitmapEx(BitmapEx const &rBitmapEx, DrawModeFlags nDrawMode)
std::size_t operator()(Graphic const &rGraphic) const
bool operator==(const ItalicMatrix &a, const ItalicMatrix &b)
bool operator!=(const ItalicMatrix &a, const ItalicMatrix &b)