50namespace rtl {
class OStringBuffer; }
87 std::chrono::high_resolution_clock::time_point
maLastUsed;
95 ImpGraphic(std::shared_ptr<GfxLink> xGfxLink, sal_Int32 nPageIndex = 0);
97 ImpGraphic(
const std::shared_ptr<VectorGraphicData>& rVectorGraphicDataPtr);
102 void setPrepared(
bool bAnimated,
const Size* pSizeHint);
113 return maGraphicExternalLink.
msURL;
118 maGraphicExternalLink.
msURL = rOriginURL;
124 mxGraphicID.emplace(*
this);
125 return mxGraphicID->getIDString();
128 void createSwapInfo();
129 void restoreFromSwapInfo();
131 void clearGraphics();
135 void setDefaultType();
136 bool isSupportedGraphic()
const;
138 bool isTransparent()
const;
140 bool isAnimated()
const;
143 bool isAvailable()
const;
144 bool makeAvailable();
149 const BitmapEx& getBitmapExRef()
const;
153 Size getSizePixel()
const;
155 Size getPrefSize()
const;
156 void setPrefSize(
const Size& rPrefSize );
158 MapMode getPrefMapMode()
const;
159 void setPrefMapMode(
const MapMode& rPrefMapMode );
165 const Size& rDestSize)
const;
168 const Point& rDestPt,
169 const Size& rDestSize,
178 sal_uInt32 getAnimationLoopCount()
const;
182 bool swapInFromStream(
SvStream& rStream);
183 bool swapInGraphic(
SvStream& rStream);
185 bool swapInContent(
SvStream& rStream);
186 bool swapOutContent(
SvStream& rStream);
187 bool swapOutGraphic(
SvStream& rStream);
191 void setContext(
const std::shared_ptr<GraphicReader>& pReader );
194 void setGfxLink(
const std::shared_ptr<GfxLink>& );
195 const std::shared_ptr<GfxLink> & getSharedGfxLink()
const;
197 bool isGfxLink()
const;
201 const std::shared_ptr<VectorGraphicData>& getVectorGraphicData()
const;
204 BitmapEx getVectorGraphicReplacement()
const;
206 bool ensureAvailable ()
const;
208 sal_Int32 getPageNumber()
const;
211 void setValuesForPrefSize(
const Size& rPrefSize);
213 void setValuesForPrefMapMod(
const MapMode& rPrefMapMode);
220 SvStream* getSwapFileStream()
const;
222 void updateFromLoadedGraphic(
const ImpGraphic* graphic);
223 void dumpState(rtl::OStringBuffer &rState);
sal_uInt64 BitmapChecksum
std::shared_ptr< ImpSwapFile > mpSwapFile
bool isSwappedOut() const
std::chrono::high_resolution_clock::time_point maLastUsed
GraphicExternalLink maGraphicExternalLink
std::optional< GraphicID > mxGraphicID
OUString const & getOriginURL() const
std::shared_ptr< GfxLink > mpGfxLink
Size maExPrefSize
If maBitmapEx is empty, this preferred size will be set on it when it gets initialized.
std::shared_ptr< GraphicReader > & getContext()
std::unique_ptr< Animation > mpAnimation
std::shared_ptr< VectorGraphicData > maVectorGraphicData
bool isDummyContext() const
GraphicType getType() const
void setOriginURL(OUString const &rOriginURL)
std::shared_ptr< GraphicReader > mpContext
void setDummyContext(bool value)
bool operator!=(const ImpGraphic &rImpGraphic) const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
bool isAlpha(sal_Unicode c, bool bCompatible)
void dumpState(rtl::OStringBuffer &rState)
ParserContextSharedPtr mpContext
sal_uInt32 mnAnimationLoopCount
bool operator==(const ItalicMatrix &a, const ItalicMatrix &b)