85 std::chrono::high_resolution_clock::time_point
maLastUsed;
100 void setPrepared(
bool bAnimated, const
Size* pSizeHint);
106 bool operator==( const
ImpGraphic& rImpGraphic ) const;
107 bool operator!=( const
ImpGraphic& rImpGraphic )
const {
return !( *
this == rImpGraphic ); }
111 return maGraphicExternalLink.
msURL;
116 maGraphicExternalLink.
msURL = rOriginURL;
123 return mpGraphicID->getIDString();
126 void createSwapInfo();
127 void restoreFromSwapInfo();
129 void clearGraphics();
133 void setDefaultType();
134 bool isSupportedGraphic()
const;
136 bool isTransparent()
const;
138 bool isAnimated()
const;
141 bool isAvailable()
const;
142 bool makeAvailable();
147 const BitmapEx& getBitmapExRef()
const;
151 Size getSizePixel()
const;
153 Size getPrefSize()
const;
154 void setPrefSize(
const Size& rPrefSize );
156 MapMode getPrefMapMode()
const;
157 void setPrefMapMode(
const MapMode& rPrefMapMode );
162 const Point& rDestPt )
const;
164 const Point& rDestPt,
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);
190 std::shared_ptr<GraphicReader>&
getContext() {
return mpContext;}
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 OUString getSwapFileURL()
const;
222 void updateFromLoadedGraphic(
ImpGraphic* graphic);
sal_uInt64 BitmapChecksum
std::shared_ptr< GraphicReader > mpContext
OUString const & getOriginURL() const
sal_uInt32 mnAnimationLoopCount
bool isDummyContext() const
std::unique_ptr< Animation > mpAnimation
bool isSwappedOut() const
std::shared_ptr< ImpSwapFile > mpSwapFile
void setOriginURL(OUString const &rOriginURL)
bool isAlpha(sal_Unicode c, bool bCompatible)
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
void setDummyContext(bool value)
Size maExPrefSize
If maBitmapEx is empty, this preferred size will be set on it when it gets initialized.
std::shared_ptr< GfxLink > mpGfxLink
std::chrono::high_resolution_clock::time_point maLastUsed
std::unique_ptr< GraphicID > mpGraphicID
std::shared_ptr< VectorGraphicData > maVectorGraphicData
GraphicType getType() const
std::shared_ptr< GraphicReader > & getContext()
GraphicExternalLink maGraphicExternalLink